-
Global information
- Generated on Wed Jan 3 05:08:31 2024
- Log file: /var/www/pg/daily_logs/sa-prod-db-master/postgresql.log-2024-01-03
- Parsed 17,888 log entries in 4s
- Log start from 2024-01-02 03:18:33 to 2024-01-03 03:10:40
-
Overview
Global Stats
- 80 Number of unique normalized queries
- 1,323 Number of queries
- 9h30m41s Total query duration
- 2024-01-02 03:23:59 First query
- 2024-01-03 02:54:45 Last query
- 11 queries/s at 2024-01-02 05:21:43 Query peak
- 9h30m41s Total query duration
- 0ms Prepare/parse total duration
- 14m38s Bind total duration
- 9h16m2s Execute total duration
- 3,190 Number of events
- 7 Number of unique normalized events
- 1,441 Max number of times the same event was reported
- 0 Number of cancellation
- 1 Total number of automatic vacuums
- 31 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 1,323 Average queries per session
- 9h30m41s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 11 queries/s Query Peak
- 2024-01-02 05:21:43 Date
SELECT Traffic
Key values
- 8 queries/s Query Peak
- 2024-01-02 06:05:31 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 8 queries/s Query Peak
- 2024-01-02 14:36:13 Date
Queries duration
Key values
- 9h30m41s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 02 03 7 0ms 1m31s 31s182ms 38s313ms 48s412ms 1m31s 04 15 0ms 59s146ms 12s223ms 16s558ms 46s347ms 59s146ms 05 98 0ms 4m10s 37s291ms 3m59s 5m51s 9m11s 06 132 0ms 2m21s 23s617ms 2m 2m36s 13m8s 07 82 0ms 3m54s 28s433ms 2m12s 3m56s 4m12s 08 93 0ms 3m18s 31s891ms 2m48s 4m37s 8m30s 09 71 0ms 2m29s 25s916ms 2m12s 2m53s 3m34s 10 50 0ms 3m 42s352ms 2m20s 4m14s 5m39s 11 63 0ms 3m26s 46s211ms 2m42s 4m41s 11m2s 12 44 0ms 2m39s 27s950ms 1m30s 2m32s 4m28s 13 58 0ms 3m2s 27s664ms 1m45s 2m4s 5m15s 14 103 0ms 3m23s 33s209ms 3m13s 4m17s 11m10s 15 108 0ms 3m33s 24s535ms 3m41s 4m5s 7m10s 16 52 0ms 2m8s 18s501ms 1m20s 2m55s 3m23s 17 111 0ms 1m49s 11s739ms 1m26s 1m51s 1m57s 18 71 0ms 2m56s 14s27ms 57s520ms 1m13s 3m12s 19 45 0ms 3m31s 14s831ms 55s916ms 1m20s 3m33s 20 37 0ms 1m40s 12s368ms 42s480ms 50s291ms 2m55s 21 21 0ms 34s136ms 4s459ms 16s280ms 41s670ms 41s670ms 22 17 0ms 22s685ms 6s274ms 15s270ms 50s793ms 50s793ms 23 21 0ms 48s785ms 12s914ms 2m4s 2m4s 2m4s Jan 03 00 9 0ms 1m13s 17s432ms 41s739ms 1m13s 1m13s 01 9 0ms 35s192ms 8s801ms 13s573ms 35s192ms 35s192ms 02 6 0ms 13s558ms 4s48ms 8s42ms 13s558ms 13s558ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 02 03 5 0 42s588ms 1s305ms 38s313ms 1m31s 04 9 0 19s108ms 0ms 16s558ms 59s146ms 05 78 0 44s895ms 1m36s 3m59s 6m38s 06 110 0 26s431ms 1m14s 1m59s 4m20s 07 70 0 31s759ms 1m5s 2m12s 3m56s 08 83 0 35s293ms 1m23s 2m48s 5m7s 09 61 0 27s77ms 41s76ms 2m12s 3m6s 10 39 0 53s280ms 51s5ms 2m20s 5m24s 11 50 0 51s72ms 1m43s 2m42s 5m59s 12 30 0 38s28ms 16s333ms 1m30s 3m49s 13 37 0 37s540ms 48s771ms 1m44s 5m15s 14 42 0 1m 1m57s 2m53s 4m17s 15 58 0 42s545ms 1m20s 3m41s 7m10s 16 23 0 33s889ms 30s436ms 1m15s 3m23s 17 38 0 27s305ms 33s821ms 1m16s 1m49s 18 22 0 35s20ms 41s734ms 50s111ms 3m7s 19 24 0 26s48ms 29s576ms 55s916ms 3m33s 20 17 0 23s95ms 27s697ms 42s480ms 2m55s 21 7 0 8s95ms 3s244ms 7s8ms 41s670ms 22 8 0 6s447ms 5s315ms 11s865ms 22s685ms 23 17 0 14s898ms 2s739ms 2m4s 2m4s Jan 03 00 5 0 29s535ms 30s920ms 41s739ms 1m13s 01 4 0 17s73ms 11s447ms 13s573ms 35s192ms 02 1 0 13s558ms 0ms 0ms 13s558ms 03 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 02 03 0 2 0 0 2s666ms 0ms 0ms 4s65ms 04 0 4 0 0 1s811ms 0ms 0ms 0ms 05 1 17 0 0 8s287ms 0ms 2s829ms 15s347ms 06 0 18 0 0 11s152ms 0ms 0ms 13s957ms 07 1 11 0 0 9s31ms 0ms 0ms 13s156ms 08 0 9 0 0 3s898ms 0ms 0ms 4s164ms 09 0 10 0 0 18s835ms 0ms 0ms 29s655ms 10 0 11 0 0 3s605ms 0ms 0ms 6s120ms 11 0 12 0 0 29s611ms 0ms 0ms 35s347ms 12 0 12 0 0 7s47ms 0ms 0ms 8s608ms 13 0 17 0 0 12s215ms 0ms 0ms 28s388ms 14 0 60 0 0 14s684ms 0ms 6s946ms 1m1s 15 0 50 0 0 3s643ms 1s635ms 6s226ms 33s637ms 16 0 28 0 0 6s447ms 0ms 3s402ms 14s67ms 17 0 72 0 0 3s634ms 1s513ms 11s685ms 21s274ms 18 0 49 0 0 4s602ms 1s699ms 6s614ms 30s198ms 19 0 21 0 0 2s12ms 0ms 1s593ms 4s695ms 20 0 20 0 0 3s250ms 1s183ms 4s446ms 29s915ms 21 0 14 0 0 2s641ms 1s109ms 2s173ms 16s280ms 22 0 7 0 0 6s915ms 0ms 2s758ms 23s506ms 23 0 2 0 0 6s838ms 0ms 0ms 11s832ms Jan 03 00 0 4 0 0 2s303ms 0ms 0ms 5s137ms 01 0 5 0 0 2s183ms 0ms 0ms 8s341ms 02 0 5 0 0 2s147ms 0ms 0ms 8s42ms 03 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jan 02 03 0 7 7.00 0.00% 04 0 15 15.00 0.00% 05 0 98 98.00 0.00% 06 0 132 132.00 0.00% 07 0 82 82.00 0.00% 08 0 93 93.00 0.00% 09 0 71 71.00 0.00% 10 0 50 50.00 0.00% 11 0 63 63.00 0.00% 12 0 44 44.00 0.00% 13 0 58 58.00 0.00% 14 0 103 103.00 0.00% 15 0 108 108.00 0.00% 16 0 52 52.00 0.00% 17 0 111 111.00 0.00% 18 0 71 71.00 0.00% 19 0 45 45.00 0.00% 20 0 37 37.00 0.00% 21 0 21 21.00 0.00% 22 0 17 17.00 0.00% 23 0 21 21.00 0.00% Jan 03 00 0 9 9.00 0.00% 01 0 9 9.00 0.00% 02 0 6 6.00 0.00% 03 0 0 0.00 0.00% Day Hour Count Average / Second Jan 02 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s 23 0 0.00/s Jan 03 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s Day Hour Count Average Duration Average idle time Jan 02 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 20 0 0ms 0ms 21 0 0ms 0ms 22 0 0ms 0ms 23 0 0ms 0ms Jan 03 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
- 0 Mo Distance Peak
- Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jan 02 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 0 0s 0s 0s 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 0 0s 0s 0s 11 0 0s 0s 0s 12 0 0s 0s 0s 13 0 0s 0s 0s 14 0 0s 0s 0s 15 0 0s 0s 0s 16 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 19 0 0s 0s 0s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Jan 03 00 0 0s 0s 0s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jan 02 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 0 0 0s 0s 07 0 0 0 0 0s 0s 08 0 0 0 0 0s 0s 09 0 0 0 0 0s 0s 10 0 0 0 0 0s 0s 11 0 0 0 0 0s 0s 12 0 0 0 0 0s 0s 13 0 0 0 0 0s 0s 14 0 0 0 0 0s 0s 15 0 0 0 0 0s 0s 16 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 19 0 0 0 0 0s 0s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Jan 03 00 0 0 0 0 0s 0s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jan 02 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 03 00 0 0s 01 0 0s 02 0 0s 03 0 0s Day Hour Mean distance Mean estimate Jan 02 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 0.00 kB 0.00 kB 07 0.00 kB 0.00 kB 08 0.00 kB 0.00 kB 09 0.00 kB 0.00 kB 10 0.00 kB 0.00 kB 11 0.00 kB 0.00 kB 12 0.00 kB 0.00 kB 13 0.00 kB 0.00 kB 14 0.00 kB 0.00 kB 15 0.00 kB 0.00 kB 16 0.00 kB 0.00 kB 17 0.00 kB 0.00 kB 18 0.00 kB 0.00 kB 19 0.00 kB 0.00 kB 20 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.00 kB 23 0.00 kB 0.00 kB Jan 03 00 0.00 kB 0.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jan 02 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jan 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.transaction (1) Main table analyzed (database safearrival)
- 31 analyzes Total
Table Number of analyzes safearrival.public.transaction 1 safearrival.public.batch_update_success_order_numbers 1 safearrival.public.customers 1 safearrival.public.order_proof_attachments 1 safearrival.public.supplier_chain 1 safearrival.public.batch_update_order_numbers 1 safearrival.public.call_history 1 safearrival.public.dashboard_dataset_dea 1 safearrival.public.order_status_push_event 1 safearrival.public.t_user_authority 1 safearrival.public.order_locations_history 1 safearrival.public.orders 1 safearrival.public.order_piece 1 safearrival.public.order_payments 1 safearrival.public.driver_alert 1 safearrival.public.order_manifest 1 safearrival.public.place_location 1 safearrival.public.t_persistent_audit_event 1 safearrival.public.drivers 1 safearrival.public.barcode 1 safearrival.public.order_detail 1 safearrival.locations.sms_log 1 safearrival.public.s3_attachment 1 safearrival.public.order_marketplace 1 safearrival.public.batch_order_update 1 safearrival.public.order_charge_items 1 safearrival.public.transactionitem 1 safearrival.public.t_user 1 safearrival.public.order_batch_updates 1 safearrival.public.notes 1 safearrival.public.order_locations 1 Total 31 Vacuums per table
Key values
- public.dashboard_dataset_dea (1) Main table vacuumed on database safearrival
- 1 vacuums Total
Tuples removed per table
Key values
- public.dashboard_dataset_dea (28964) Main table with removed tuples on database safearrival
- 28964 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jan 02 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 24 13 1 7 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Jan 03 00 0 0 01 0 0 02 0 0 03 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ExclusiveLock Main Lock Type
- 28 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 9 8m16s 11s854ms 2m5s 55s115ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ? where id = ?;-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:58:09.385', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:24 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 13:58:11.368', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:24 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:58:08.396', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:14 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
2 2 2m54s 1m26s 1m28s 1m27s update orders set last_modified_by = ?, last_modified_date = ?, physical_pickup_attempts = ? where id = ?;-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 11:08:07.371', physical_pickup_attempts = '[{"userId": 645512267, "timestamp": 1704193683.893, "supplierId": 648753371, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341502849';
Date: 2024-01-02 11:09:35 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 11:08:09.41', physical_pickup_attempts = '[{"userId": 645512267, "timestamp": 1704193683.893, "supplierId": 648753371, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341502849';
Date: 2024-01-02 11:09:35 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 10:45:45.095', physical_pickup_attempts = '[{"userId": 1146256954, "timestamp": 1704192339.884, "supplierId": 638465090, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1340945533';
Date: 2024-01-02 10:46:00 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
3 2 2m30s 24s553ms 2m5s 1m15s update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, recipient_id = ? where id = ?;-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 13:58:08.621', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]', recipient_id = '1341812625' where id = '1341812579';
Date: 2024-01-02 14:00:24 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 14:41:47.035', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704206503.717}, {"paid": false, "userId": 683802998, "timestamp": 1704206504.348}]', recipient_id = '1341844642' where id = '1341844605';
Date: 2024-01-02 14:42:11 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 15:15:05.858', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704208503.244}, {"paid": false, "userId": 683802998, "timestamp": 1704208503.469}]', recipient_id = '736879156' where id = '1341869561';
Date: 2024-01-02 15:15:20 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
4 3 1m30s 11s104ms 39s942ms 30s305ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ? where id = ?;-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:22:23.347', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:03 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:22:23.419', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:03 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 08:50:59.209', order_charge_paid_history_list = '[{"paid": true, "userId": 655476937, "timestamp": 1704137642.357}, {"paid": true, "userId": 655476937, "timestamp": 1704137642.535}]', physical_pickup_attempts = '[{"userId": 1266705040, "timestamp": 1704179047.098, "supplierId": 638464150, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1341278818';
Date: 2024-01-02 08:51:16 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
5 4 1m11s 12s397ms 25s57ms 17s898ms update orders set last_modified_date = ?, order_charge_paid_history_list = ? where id = ?;-
update orders set last_modified_date = '2024-01-02 18:16:16.237', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704219370.9}, {"paid": false, "userId": 1020830836, "timestamp": 1704219371.101}]' where id = '1342005426';
Date: 2024-01-02 18:16:41 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 18:16:21.269', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704219370.9}, {"paid": false, "userId": 1020830836, "timestamp": 1704219371.101}]' where id = '1342005426';
Date: 2024-01-02 18:16:41 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 15:15:06.766', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704208503.244}, {"paid": false, "userId": 683802998, "timestamp": 1704208503.469}]' where id = '1341869561';
Date: 2024-01-02 15:15:20 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
6 2 1m2s 31s480ms 31s485ms 31s482ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 12:31:59.802', order_charge_paid_history_list = '[{"paid": true, "userId": 775788263, "timestamp": 1704106866.651}, {"paid": true, "userId": 775788263, "timestamp": 1704106866.858}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704112485.696, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": null, "newPrefix": "JED302", "oldPrefix": "JED100", "timestamp": 1704108646.45}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704108647.286}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704186679.637}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704186680.549}]' where id = '1340904099';
Date: 2024-01-02 12:32:42 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 16:47:32.94', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704117770.377}, {"paid": false, "userId": 683802998, "timestamp": 1704117770.538}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704214050.827, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH442", "oldPrefix": "ABH442", "timestamp": 1704118139.85}]' where id = '1341042182';
Date: 2024-01-02 16:48:04 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 16:47:32.947', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704117770.377}, {"paid": false, "userId": 683802998, "timestamp": 1704117770.538}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704214050.827, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH442", "oldPrefix": "ABH442", "timestamp": 1704118139.85}]' where id = '1341042182';
Date: 2024-01-02 16:48:04 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
7 1 49s566ms 49s566ms 49s566ms 49s566ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 06:12:12.587', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1702105739.762}, {"paid": false, "userId": 1020830836, "timestamp": 1702105739.901}]', physical_delivery_attempts = '[{"userId": 1195029901, "timestamp": 1702900824.791, "supplierId": 638465814, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1269660764, "timestamp": 1703684343.819, "supplierId": 638465814, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1249030358, "timestamp": 1704108833.684, "supplierId": 638465814, "orderStatus": "delivery_rejected", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1702491418.734, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "JIZ329", "oldPrefix": "JIZ329", "timestamp": 1702106164.081}]' where id = '1325028059';
Date: 2024-01-02 06:13:02 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'a.awadh@safe-arrival.com', last_modified_date = '2024-01-02 07:55:37.524', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1704019975.77}, {"paid": true, "userId": 707383933, "timestamp": 1704019975.947}]', physical_delivery_attempts = '[{"userId": 930815529, "timestamp": 1704135846.75, "supplierId": 638462369, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704028416.979, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "QSM314", "oldPrefix": "QSM100", "timestamp": 1704028385.985}]' where id = '1340179957';
Date: 2024-01-02 07:55:50 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 21:49:37.902', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1701425826.19}, {"paid": false, "userId": 1020830836, "timestamp": 1701425826.369}]', physical_delivery_attempts = '[{"userId": 976985783, "timestamp": 1701620799.921, "supplierId": 638462369, "orderStatus": "out_of_delivery_area", "escalationStatus": null}, {"userId": 1286352981, "timestamp": 1702199794.981, "supplierId": 638463930, "orderStatus": "recipient_address_change_requested", "escalationStatus": null}, {"userId": 985601275, "timestamp": 1702921782.687, "supplierId": 638459779, "orderStatus": "office_closed", "escalationStatus": null}, {"userId": 991597450, "timestamp": 1703527478.84, "supplierId": 638459779, "orderStatus": "planned_delivery_for_tomorrow", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1701449800.334, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "HFR304", "oldPrefix": "QSM310", "timestamp": 1701629262.529}, {"userId": 631889486, "newPrefix": "DMM433", "oldPrefix": "HFR304", "timestamp": 1702200573.197}]' where id = '1319313203';
Date: 2024-01-02 21:49:45 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
8 1 40s188ms 40s188ms 40s188ms 40s188ms update orders set last_modified_by = ?, last_modified_date = ?, cod_status = ?, cod_status_updated_by = ?, last_cod_status_date = ?, last_status_date = ?, physical_pickup_attempts = ?, status = ?, supplier_id = ? where id = ?;-
update orders set last_modified_by = $1, last_modified_date = $2, cod_status = $3, cod_status_updated_by = $4, last_cod_status_date = $5, last_status_date = $6, physical_pickup_attempts = $7, status = $8, supplier_id = $9 where id = $10;
Date: 2024-01-02 11:09:35 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133
9 1 32s325ms 32s325ms 32s325ms 32s325ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ? where id = ?;-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 09:11:02.298', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1703746314.934}, {"paid": true, "userId": 707383933, "timestamp": 1703746315.128}]', physical_delivery_attempts = '[{"userId": 1017388750, "timestamp": 1703945462.419, "supplierId": 638464150, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703766372.006, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1338447960';
Date: 2024-01-02 09:11:36 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 09:11:04.202', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1703746314.934}, {"paid": true, "userId": 707383933, "timestamp": 1703746315.128}]', physical_delivery_attempts = '[{"userId": 1017388750, "timestamp": 1703945462.419, "supplierId": 638464150, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703766372.006, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1338447960';
Date: 2024-01-02 09:11:36 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 10:36:26.228', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703091797.464}, {"paid": false, "userId": 1020830836, "timestamp": 1703091797.731}, {"paid": true, "userId": 1009856078, "timestamp": 1703686427.458}]', physical_delivery_attempts = '[{"userId": 1067062934, "timestamp": 1703509733.051, "supplierId": 638462680, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1009856078, "timestamp": 1703686435.899, "supplierId": 638462680, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703175766.746, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1333801136';
Date: 2024-01-02 10:36:29 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
10 1 28s521ms 28s521ms 28s521ms 28s521ms update orders set last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;-
update orders set last_modified_date = '2024-01-02 09:50:40.013', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704028443.122}, {"paid": false, "userId": 1020830836, "timestamp": 1704028444.229}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704131671.318, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH444", "oldPrefix": "ABH444", "timestamp": 1704028620.835}]' where id = '1340273760';
Date: 2024-01-02 09:51:30 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 20:25:54.556', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704123341.985}, {"paid": false, "userId": 683802998, "timestamp": 1704123342.584}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704215603.863, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "RUH576", "oldPrefix": "RUH100", "timestamp": 1704179007.979}]' where id = '1341119942';
Date: 2024-01-02 20:26:24 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 14:05:35.463', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703944084.58}, {"paid": false, "userId": 1020830836, "timestamp": 1703944085.014}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703963063.849, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "QSM313", "oldPrefix": "QSM100", "timestamp": 1704129334.646}]' where id = '1339573574';
Date: 2024-01-02 14:06:05 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
11 1 12s814ms 12s814ms 12s814ms 12s814ms update orders set last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ? where id = ?;-
update orders set last_modified_date = '2024-01-02 22:00:39.843', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703242074.5}, {"paid": false, "userId": 1020830836, "timestamp": 1703242131.85}]', physical_delivery_attempts = '[{"userId": 991597450, "timestamp": 1703706556.069, "supplierId": 638459779, "orderStatus": "planned_delivery_for_tomorrow", "escalationStatus": null}, {"userId": 985601275, "timestamp": 1704039071.706, "supplierId": 638459779, "orderStatus": "office_closed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703527076.188, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1334815338';
Date: 2024-01-02 22:00:55 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 13:46:45.123', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1703460334.226}, {"paid": false, "userId": 683802998, "timestamp": 1703460334.355}, {"paid": true, "userId": 1331955578, "timestamp": 1704203192.402}]', physical_delivery_attempts = '[{"userId": 931341383, "timestamp": 1703771182.803, "supplierId": 638465751, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}, {"userId": 1333479411, "timestamp": 1704048961.147, "supplierId": 638465751, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1331955578, "timestamp": 1704203199.908, "supplierId": 638465751, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703618228.534, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1336368875';
Date: 2024-01-02 13:46:57 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 13:46:45.139', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1703460334.226}, {"paid": false, "userId": 683802998, "timestamp": 1703460334.355}, {"paid": true, "userId": 1331955578, "timestamp": 1704203192.402}]', physical_delivery_attempts = '[{"userId": 931341383, "timestamp": 1703771182.803, "supplierId": 638465751, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}, {"userId": 1333479411, "timestamp": 1704048961.147, "supplierId": 638465751, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1331955578, "timestamp": 1704203199.908, "supplierId": 638465751, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703618228.534, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1336368875';
Date: 2024-01-02 13:46:57 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
12 1 11s211ms 11s211ms 11s211ms 11s211ms update orders set last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ? where id = ?;-
update orders set last_modified_date = '2024-01-02 13:22:17.269', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:02 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 17:35:23.022', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703338818.154}, {"paid": false, "userId": 1020830836, "timestamp": 1703338818.873}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703436729.146, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1335331191';
Date: 2024-01-02 17:36:02 Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 11:15:28.187', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704030069.533}, {"paid": false, "userId": 683802998, "timestamp": 1704030069.689}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704132037.146, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}, {"userId": 631889486, "timestamp": 1704194123.187, "supplierId": 920780628, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1340298193';
Date: 2024-01-02 11:15:39 Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
Queries that waited the most
Rank Wait time Query 1 2m5s update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3 where id = $4;[ Date: 2024-01-02 14:00:14 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 ]
2 2m5s update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3, recipient_id = $4 where id = $5;[ Date: 2024-01-02 14:00:14 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
3 2m4s update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3 where id = $4;[ Date: 2024-01-02 14:00:14 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
4 2m2s update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3 where id = $4;[ Date: 2024-01-02 14:00:14 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 ]
5 1m28s update orders set last_modified_by = $1, last_modified_date = $2, physical_pickup_attempts = $3 where id = $4;[ Date: 2024-01-02 11:09:35 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 ]
6 1m26s update orders set last_modified_by = $1, last_modified_date = $2, physical_pickup_attempts = $3 where id = $4;[ Date: 2024-01-02 11:09:35 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
7 49s566ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3, physical_delivery_attempts = $4, physical_pickup_attempts = $5, prefix_history = $6 where id = $7;[ Date: 2024-01-02 06:13:02 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 ]
8 40s188ms update orders set last_modified_by = $1, last_modified_date = $2, cod_status = $3, cod_status_updated_by = $4, last_cod_status_date = $5, last_status_date = $6, physical_pickup_attempts = $7, status = $8, supplier_id = $9 where id = $10;[ Date: 2024-01-02 11:09:35 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
9 39s942ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3, physical_pickup_attempts = $4 where id = $5;[ Date: 2024-01-02 13:23:03 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
10 39s870ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3, physical_pickup_attempts = $4 where id = $5;[ Date: 2024-01-02 13:23:03 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
11 32s325ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3, physical_delivery_attempts = $4, physical_pickup_attempts = $5 where id = $6;[ Date: 2024-01-02 09:11:36 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
12 31s485ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3, physical_pickup_attempts = $4, prefix_history = $5 where id = $6;[ Date: 2024-01-02 16:48:04 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 ]
13 31s480ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3, physical_pickup_attempts = $4, prefix_history = $5 where id = $6;[ Date: 2024-01-02 16:48:04 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
14 28s521ms update orders set last_modified_date = $1, order_charge_paid_history_list = $2, physical_pickup_attempts = $3, prefix_history = $4 where id = $5;[ Date: 2024-01-02 16:48:04 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
15 28s333ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3 where id = $4;[ Date: 2024-01-02 14:47:53 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 ]
16 25s57ms update orders set last_modified_date = $1, order_charge_paid_history_list = $2 where id = $3;[ Date: 2024-01-02 18:16:41 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
17 24s553ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3, recipient_id = $4 where id = $5;[ Date: 2024-01-02 14:42:11 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
18 24s153ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3 where id = $4;[ Date: 2024-01-02 14:42:11 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
19 23s597ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3 where id = $4;[ Date: 2024-01-02 14:42:11 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
20 22s156ms update orders set last_modified_by = $1, last_modified_date = $2, order_charge_paid_history_list = $3 where id = $4;[ Date: 2024-01-02 14:42:11 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 ]
-
Queries
Queries by type
Key values
- 838 Total read queries
- 463 Total write queries
Queries by database
Key values
- safearrival Main database
- 1,323 Requests
- 9h16m2s (safearrival)
- Main time consuming database
Queries by user
Key values
- safearrival client=10.0.0.133 Main user
- 672 Requests
User Request type Count Duration safearrival client=10.0.0.132 Total 651 4h25m17s insert 2 9s114ms others 10 24s747ms select 411 4h24s update 228 24m19s safearrival client=10.0.0.133 Total 672 4h50m44s others 12 27s9ms select 427 4h18m55s tcl 1 1s228ms update 232 31m21s Duration by user
Key values
- 4h50m44s (safearrival client=10.0.0.133) Main time consuming user
User Request type Count Duration safearrival client=10.0.0.132 Total 651 4h25m17s insert 2 9s114ms others 10 24s747ms select 411 4h24s update 228 24m19s safearrival client=10.0.0.133 Total 672 4h50m44s others 12 27s9ms select 427 4h18m55s tcl 1 1s228ms update 232 31m21s Queries by host
Key values
- 10.0.0.133 Main host
- 672 Requests
- 4h50m44s (10.0.0.133)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 1,323 Requests
- 9h16m2s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 2 per second Cancelled query Peak
- 2024-01-02 07:56:32 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 798 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 4m10s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 05:30:25 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
2 4m select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 05:30:25 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 - Bind query: yes ]
3 3m54s select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485'));[ Date: 2024-01-02 07:55:38 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
4 3m47s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 05:53:34 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
5 3m33s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (652630537)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 15:25:00 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
6 3m31s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 19:29:30 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 - Bind query: yes ]
7 3m26s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (645512267)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 11:09:58 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 - Bind query: yes ]
8 3m23s select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (823643121)) and (batchorder0_.marketplace_id in ('631889485'));[ Date: 2024-01-02 14:56:17 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
9 3m21s select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485'));[ Date: 2024-01-02 05:56:55 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
10 3m18s select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (652630537)) and (batchorder0_.marketplace_id in ('631889485'));[ Date: 2024-01-02 11:10:10 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
11 3m18s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (823643121)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 08:36:41 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 - Bind query: yes ]
12 3m16s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (823643121)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 05:56:04 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 - Bind query: yes ]
13 3m2s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 13:47:30 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
14 3m select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (652517126)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 10:21:35 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 - Bind query: yes ]
15 2m59s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (648086236)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 05:32:55 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
16 2m56s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 18:15:41 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 - Bind query: yes ]
17 2m53s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (823643121)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 14:52:54 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
18 2m52s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';[ Date: 2024-01-02 07:51:44 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
19 2m49s select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (652517126)) and (batchorder0_.marketplace_id in ('631889485'));[ Date: 2024-01-02 10:24:24 - Database: safearrival - User: safearrival client=10.0.0.133 - Remote: 10.0.0.133 - Bind query: yes ]
20 2m49s select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (652517126)) and (batchorder0_.marketplace_id in ('631889485'));[ Date: 2024-01-02 10:24:24 - Database: safearrival - User: safearrival client=10.0.0.132 - Remote: 10.0.0.132 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6h45m43s 497 1s4ms 4m10s 48s981ms select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...)) order by batchorder0_.created_date desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 02 03 5 3m32s 42s588ms 04 6 2m33s 25s651ms 05 46 45m21s 59s154ms 06 57 40m38s 42s774ms 07 34 30m2s 53s26ms 08 36 38m34s 1m4s 09 29 21m29s 44s449ms 10 17 25m8s 1m28s 11 30 27m46s 55s539ms 12 21 15m56s 45s564ms 13 27 22m31s 50s65ms 14 28 31m52s 1m8s 15 42 35m39s 50s945ms 16 18 12m51s 42s859ms 17 32 17m2s 31s955ms 18 16 12m41s 47s592ms 19 17 9m13s 32s530ms 20 13 6m26s 29s754ms 21 5 54s220ms 10s844ms 22 7 47s937ms 6s848ms 23 2 49s790ms 24s895ms Jan 03 00 4 2m26s 36s654ms 01 4 1m8s 17s73ms 02 1 13s558ms 13s558ms [ User: safearrival client=10.0.0.133 - Total duration: 3h26m39s - Times executed: 257 ]
[ User: safearrival client=10.0.0.132 - Total duration: 3h19m4s - Times executed: 240 ]
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:30:25 Duration: 4m10s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:30:25 Duration: 4m Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:53:34 Duration: 3m47s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
2 1h8m46s 80 1s61ms 3m54s 51s579ms select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...));Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 02 04 1 1s507ms 1s507ms 05 10 12m26s 1m14s 06 8 35s820ms 4s477ms 07 5 4m59s 59s948ms 08 9 5m53s 39s228ms 09 5 3m52s 46s470ms 10 4 8m30s 2m7s 11 12 14m20s 1m11s 12 3 2m53s 57s831ms 13 3 24s213ms 8s71ms 14 7 10m7s 1m26s 15 6 3m40s 36s747ms 17 1 6s443ms 6s443ms 19 3 50s158ms 16s719ms 21 2 2s446ms 1s223ms Jan 03 00 1 1s61ms 1s61ms [ User: safearrival client=10.0.0.133 - Total duration: 40m8s - Times executed: 42 ]
[ User: safearrival client=10.0.0.132 - Total duration: 28m38s - Times executed: 38 ]
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 07:55:38 Duration: 3m54s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (823643121)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 14:56:17 Duration: 3m23s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 05:56:55 Duration: 3m21s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
3 15m58s 141 1s21ms 2m14s 6s795ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ? where id = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 02 04 2 3s652ms 1s826ms 05 2 2s792ms 1s396ms 06 4 9s752ms 2s438ms 07 4 7s709ms 1s927ms 08 1 1s574ms 1s574ms 10 5 10s35ms 2s7ms 11 2 6s477ms 3s238ms 12 3 8s790ms 2s930ms 13 4 7s747ms 1s936ms 14 27 10m2s 22s314ms 15 23 1m10s 3s56ms 16 5 13s61ms 2s612ms 17 33 1m43s 3s124ms 18 15 1m11s 4s746ms 21 3 10s925ms 3s641ms 22 3 16s654ms 5s551ms Jan 03 01 3 6s660ms 2s220ms 02 2 5s272ms 2s636ms [ User: safearrival client=10.0.0.132 - Total duration: 9m10s - Times executed: 72 ]
[ User: safearrival client=10.0.0.133 - Total duration: 6m47s - Times executed: 69 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:58:09.385', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m14s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 13:58:11.368', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m12s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:58:08.396', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:14 Duration: 2m5s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
4 5m58s 61 1s47ms 2m15s 5s876ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, recipient_id = ? where id = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 02 04 1 1s751ms 1s751ms 06 1 2s604ms 2s604ms 07 2 3s792ms 1s896ms 10 1 2s422ms 2s422ms 12 1 3s623ms 3s623ms 13 2 2s569ms 1s284ms 14 13 3m15s 15s61ms 15 14 47s596ms 3s399ms 16 1 4s412ms 4s412ms 17 14 49s788ms 3s556ms 18 6 24s899ms 4s149ms 21 1 5s354ms 5s354ms 22 1 6s851ms 6s851ms Jan 03 01 2 4s255ms 2s127ms 02 1 2s770ms 2s770ms [ User: safearrival client=10.0.0.133 - Total duration: 4m5s - Times executed: 29 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m53s - Times executed: 32 ]
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 13:58:08.621', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]', recipient_id = '1341812625' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m15s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 14:41:47.035', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704206503.717}, {"paid": false, "userId": 683802998, "timestamp": 1704206504.348}]', recipient_id = '1341844642' where id = '1341844605';
Date: 2024-01-02 14:42:11 Duration: 24s554ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 15:15:05.858', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704208503.244}, {"paid": false, "userId": 683802998, "timestamp": 1704208503.469}]', recipient_id = '736879156' where id = '1341869561';
Date: 2024-01-02 15:15:20 Duration: 15s14ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
5 4m59s 4 56s860ms 1m40s 1m14s select orders0_.id as id1_122_, orders0_.marketplace_id as marketpl2_122_, orders0_.created_by as created_3_122_, orders0_.created_date as created_4_122_, orders0_.last_modified_by as last_mod5_122_, orders0_.last_modified_date as last_mod6_122_, orders0_.actual_delivery_option as actual_d7_122_, orders0_.actualdelivery_time as actualde8_122_, orders0_.actual_pickup_time as actual_p9_122_, orders0_.allocated_from_warehouse as allocat10_122_, orders0_.amount as amount11_122_, orders0_.api_supplier_id as api_sup12_122_, orders0_.approximate_distance as approxi13_122_, orders0_.audit_version as audit_v14_122_, orders0_.authenticated_by_otp as authent15_122_, orders0_.back_id as back_id16_122_, orders0_.booking_date_time as booking17_122_, orders0_.cancellation_requires_type as cancell18_122_, orders0_.cashier_id as cashier19_122_, orders0_.chargeable_weight as chargea20_122_, orders0_.cod_settlement_date as cod_set21_122_, orders0_.cod_settlement_reference as cod_set22_122_, orders0_.cod_status as cod_sta23_122_, orders0_.cod_status_updated_by as cod_sta24_122_, orders0_.cod_transfer_type as cod_tra25_122_, orders0_.code as code26_122_, orders0_.completed as complet27_122_, orders0_.create_transaction as create_28_122_, orders0_.currency_id as currenc29_122_, orders0_.customer_id as custome31_122_, orders0_.customer_care_id as custome30_122_, orders0_.deadline_time as deadlin32_122_, orders0_.dec_date as dec_dat33_122_, orders0_.deleted as deleted34_122_, orders0_.delivered_lat as deliver35_122_, orders0_.delivered_lng as deliver36_122_, orders0_.delivered_to as deliver37_122_, orders0_.delivered_to_phone as deliver38_122_, orders0_.delivered_to_photo_id as deliver39_122_, orders0_.delivery_address_changed_date as deliver40_122_, orders0_.delivery_attemp_count as deliver41_122_, orders0_.delivery_planned_datetime as deliver42_122_, orders0_.delivery_planned_timestamp_array as deliver43_122_, orders0_.delivery_signature_id as deliver44_122_, orders0_.device_details as device_45_122_, orders0_.dimension_unit as dimensi46_122_, orders0_.dispatch_attempt_count as dispatc47_122_, orders0_.driver_id as driver_48_122_, orders0_.driver_bonus_id as driver193_122_, orders0_.drop_timeslot_availability_id as drop_ti49_122_, orders0_.dropoff_pos_receipt_number as dropoff50_122_, orders0_.dsc_date as dsc_dat51_122_, orders0_.encrypted_id as encrypt52_122_, orders0_.escalation_status as escalat53_122_, orders0_.escalation_status_updated_by as escalat54_122_, orders0_.escalation_status_updated_date as escalat55_122_, orders0_.estimated_delivery_date_time as estimat56_122_, orders0_.estimated_pick_up_time as estimat57_122_, orders0_.eta_id as eta_id58_122_, orders0_.external_user_name as externa59_122_, orders0_.failed_image_attachments as failed_60_122_, orders0_.fetch_item_id as fetch_i61_122_, orders0_.finance_pick_up_driver_id as finance62_122_, orders0_.finance_pick_up_supplier_id as finance63_122_, orders0_.first_delivery_time as first_d64_122_, orders0_.first_driver_id as first_d65_122_, orders0_.first_ofd_date as first_o66_122_, orders0_.first_pick_up_time as first_p67_122_, orders0_.fragile as fragile68_122_, orders0_.from_area_id as from_ar69_122_, orders0_.from_city as from_ci70_122_, orders0_.from_warehouse_id as from_wa71_122_, orders0_.future_pickup_requested_date as future_72_122_, orders0_.head_id as head_id73_122_, orders0_.heavy_type as heavy_t74_122_, orders0_.height as height75_122_, orders0_.id_card_required as id_card76_122_, orders0_.internal_promise_date as interna77_122_, orders0_.is_no_service_area as is_no_s78_122_, orders0_.is_old as is_old79_122_, orders0_.is_public as is_publ80_122_, orders0_.is_uae as is_uae81_122_, orders0_.item_payment_id as item_pa82_122_, orders0_.last_cod_status_date as last_co83_122_, orders0_.last_delivery_attempt_date as last_de84_122_, orders0_.last_mile_driver_id as last_mi85_122_, orders0_.last_ofd_date as last_of86_122_, orders0_.last_routing_status_date as last_ro87_122_, orders0_.last_status_date as last_st88_122_, orders0_.last_status_updated_user_id as last_st89_122_, orders0_.length as length90_122_, orders0_.logistic_type as logisti91_122_, orders0_.merchant_promise_date as merchan92_122_, orders0_.nc_date as nc_date93_122_, orders0_.new_prefix as new_pre94_122_, orders0_.note as note95_122_, orders0_.old_prefix as old_pre96_122_, orders0_.old_recipient_address as old_rec97_122_, orders0_.old_recipient_city_id as old_rec98_122_, orders0_.old_recipient_city_name as old_rec99_122_, orders0_.old_recipient_lat as old_re100_122_, orders0_.old_recipient_lng as old_re101_122_, orders0_.old_recipient_neighborhood_id as old_re102_122_, orders0_.old_recipient_neighborhood_name as old_re103_122_, orders0_.old_sender_address as old_se104_122_, orders0_.old_sender_city_id as old_se105_122_, orders0_.old_sender_city_name as old_se106_122_, orders0_.old_sender_lat as old_se107_122_, orders0_.old_sender_lng as old_se108_122_, orders0_.old_sender_neighborhood_id as old_se109_122_, orders0_.old_sender_neighborhood_name as old_se110_122_, orders0_.order_charge_paid_history_list as order_111_122_, orders0_.order_count as order_112_122_, orders0_.order_payment_id as order_113_122_, orders0_.order_piece_count as order_114_122_, orders0_.order_transfer_id as order_115_122_, orders0_.package_changed as packag116_122_, orders0_.package_id as packag117_122_, orders0_.package_type_id as packag118_122_, orders0_.parent_id as parent119_122_, orders0_.parent_supplier_id as parent120_122_, orders0_.payer as payer121_122_, orders0_.payment_status as paymen122_122_, orders0_.payment_type as paymen123_122_, orders0_.physical_delivery_attempt_count as physic124_122_, orders0_.physical_delivery_attempts as physic125_122_, orders0_.physical_dispatch_timestamp_array as physic126_122_, orders0_.physical_pickup_attempts as physic127_122_, orders0_.pickup_attemp_count as pickup128_122_, orders0_.pick_up_driver_id as pick_u129_122_, orders0_.pickup_id as pickup130_122_, orders0_.pickup_pos_receipt_number as pickup131_122_, orders0_.pickup_planned_date_time as pickup132_122_, orders0_.pickup_promise_date_time as pickup133_122_, orders0_.pickup_time as pickup134_122_, orders0_.pickup_time_now as pickup135_122_, orders0_.pickup_timeslot_availability_id as pickup136_122_, orders0_.pos_terminal_number as pos_te137_122_, orders0_.prefix_changed as prefix138_122_, orders0_.prefix_history as prefix139_122_, orders0_.previous_driver_id as previo140_122_, orders0_.price_id as price_141_122_, orders0_.promo_id as promo_142_122_, orders0_.provided_weight as provid143_122_, orders0_.psf_status as psf_st144_122_, orders0_.public_id as public145_122_, orders0_.receipt_id as receip146_122_, orders0_.receipt_number as receip147_122_, orders0_.recipient_id as recipi149_122_, orders0_.recipient_city_changed as recipi148_122_, orders0_.if_recipient_not_available as if_rec150_122_, orders0_.reference_id as refere151_122_, orders0_.request_details as reques152_122_, orders0_.rescheduled_delivery_datetime as resche153_122_, orders0_.reverse_code as revers154_122_, orders0_.routeid as routei155_122_, orders0_.routing_status as routin156_122_, orders0_.rule_id as rule_i157_122_, orders0_.scanned_piece_count as scanne158_122_, orders0_.seller_id as seller159_122_, orders0_.seller_name as seller160_122_, orders0_.sender_from as sender161_122_, orders0_.sender_phone as sender162_122_, orders0_.sender_photo_id as sender163_122_, orders0_.sender_prefix as sender164_122_, orders0_.sender_signature_id as sender165_122_, orders0_.sender_zone as sender166_122_, orders0_.sequence_number as sequen167_122_, orders0_.service_type_id as servic168_122_, orders0_.shipment_id as shipme169_122_, orders0_.shop_order as shop_o170_122_, orders0_.size as size171_122_, orders0_.sms_verification_event_id as sms_ve172_122_, orders0_.sms_verification_number as sms_ve173_122_, orders0_.sms_verified as sms_ve174_122_, orders0_.status as status175_122_, orders0_.storfox_sale_order_id as storfo176_122_, orders0_.supplier_id as suppli177_122_, orders0_.timeslot_availability_history_id as timesl194_122_, orders0_.to_area_id as to_are178_122_, orders0_.to_city as to_cit179_122_, orders0_.to_warehouse_id as to_war180_122_, orders0_.type as type181_122_, orders0_.unique_id as unique182_122_, orders0_.value as value183_122_, orders0_.volumetric_weight as volume184_122_, orders0_.wallet_settlement_date as wallet185_122_, orders0_.wallet_settlement_reference as wallet186_122_, orders0_.warehouse_id as wareho187_122_, orders0_.weight as weight188_122_, orders0_.width as width189_122_, orders0_.with_driver as with_d190_122_, orders0_.with_driver_time as with_d191_122_, orders0_.wrong_allocated_warehouse as wrong_192_122_ from orders orders0_ left outer join drivers drivers1_ on orders0_.driver_id = drivers1_.id left outer join drivers drivers2_ on orders0_.last_mile_driver_id = drivers2_.id left outer join suppliers suppliers3_ on orders0_.supplier_id = suppliers3_.id where orders0_.deleted <> true and orders0_.type = ? and ((drivers1_.id in (...)) and (orders0_.status in (...)) or (drivers2_.id in (...)) and (orders0_.status in (...))) and suppliers3_.id = ? order by orders0_.deadline_time asc;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 02 06 2 2m21s 1m10s 07 1 56s860ms 56s860ms 08 1 1m40s 1m40s [ User: safearrival client=10.0.0.133 - Total duration: 4m2s - Times executed: 3 ]
[ User: safearrival client=10.0.0.132 - Total duration: 56s860ms - Times executed: 1 ]
-
select orders0_.id as id1_122_, orders0_.marketplace_id as marketpl2_122_, orders0_.created_by as created_3_122_, orders0_.created_date as created_4_122_, orders0_.last_modified_by as last_mod5_122_, orders0_.last_modified_date as last_mod6_122_, orders0_.actual_delivery_option as actual_d7_122_, orders0_.actualdelivery_time as actualde8_122_, orders0_.actual_pickup_time as actual_p9_122_, orders0_.allocated_from_warehouse as allocat10_122_, orders0_.amount as amount11_122_, orders0_.api_supplier_id as api_sup12_122_, orders0_.approximate_distance as approxi13_122_, orders0_.audit_version as audit_v14_122_, orders0_.authenticated_by_otp as authent15_122_, orders0_.back_id as back_id16_122_, orders0_.booking_date_time as booking17_122_, orders0_.cancellation_requires_type as cancell18_122_, orders0_.cashier_id as cashier19_122_, orders0_.chargeable_weight as chargea20_122_, orders0_.cod_settlement_date as cod_set21_122_, orders0_.cod_settlement_reference as cod_set22_122_, orders0_.cod_status as cod_sta23_122_, orders0_.cod_status_updated_by as cod_sta24_122_, orders0_.cod_transfer_type as cod_tra25_122_, orders0_.code as code26_122_, orders0_.completed as complet27_122_, orders0_.create_transaction as create_28_122_, orders0_.currency_id as currenc29_122_, orders0_.customer_id as custome31_122_, orders0_.customer_care_id as custome30_122_, orders0_.deadline_time as deadlin32_122_, orders0_.dec_date as dec_dat33_122_, orders0_.deleted as deleted34_122_, orders0_.delivered_lat as deliver35_122_, orders0_.delivered_lng as deliver36_122_, orders0_.delivered_to as deliver37_122_, orders0_.delivered_to_phone as deliver38_122_, orders0_.delivered_to_photo_id as deliver39_122_, orders0_.delivery_address_changed_date as deliver40_122_, orders0_.delivery_attemp_count as deliver41_122_, orders0_.delivery_planned_datetime as deliver42_122_, orders0_.delivery_planned_timestamp_array as deliver43_122_, orders0_.delivery_signature_id as deliver44_122_, orders0_.device_details as device_45_122_, orders0_.dimension_unit as dimensi46_122_, orders0_.dispatch_attempt_count as dispatc47_122_, orders0_.driver_id as driver_48_122_, orders0_.driver_bonus_id as driver193_122_, orders0_.drop_timeslot_availability_id as drop_ti49_122_, orders0_.dropoff_pos_receipt_number as dropoff50_122_, orders0_.dsc_date as dsc_dat51_122_, orders0_.encrypted_id as encrypt52_122_, orders0_.escalation_status as escalat53_122_, orders0_.escalation_status_updated_by as escalat54_122_, orders0_.escalation_status_updated_date as escalat55_122_, orders0_.estimated_delivery_date_time as estimat56_122_, orders0_.estimated_pick_up_time as estimat57_122_, orders0_.eta_id as eta_id58_122_, orders0_.external_user_name as externa59_122_, orders0_.failed_image_attachments as failed_60_122_, orders0_.fetch_item_id as fetch_i61_122_, orders0_.finance_pick_up_driver_id as finance62_122_, orders0_.finance_pick_up_supplier_id as finance63_122_, orders0_.first_delivery_time as first_d64_122_, orders0_.first_driver_id as first_d65_122_, orders0_.first_ofd_date as first_o66_122_, orders0_.first_pick_up_time as first_p67_122_, orders0_.fragile as fragile68_122_, orders0_.from_area_id as from_ar69_122_, orders0_.from_city as from_ci70_122_, orders0_.from_warehouse_id as from_wa71_122_, orders0_.future_pickup_requested_date as future_72_122_, orders0_.head_id as head_id73_122_, orders0_.heavy_type as heavy_t74_122_, orders0_.height as height75_122_, orders0_.id_card_required as id_card76_122_, orders0_.internal_promise_date as interna77_122_, orders0_.is_no_service_area as is_no_s78_122_, orders0_.is_old as is_old79_122_, orders0_.is_public as is_publ80_122_, orders0_.is_uae as is_uae81_122_, orders0_.item_payment_id as item_pa82_122_, orders0_.last_cod_status_date as last_co83_122_, orders0_.last_delivery_attempt_date as last_de84_122_, orders0_.last_mile_driver_id as last_mi85_122_, orders0_.last_ofd_date as last_of86_122_, orders0_.last_routing_status_date as last_ro87_122_, orders0_.last_status_date as last_st88_122_, orders0_.last_status_updated_user_id as last_st89_122_, orders0_.length as length90_122_, orders0_.logistic_type as logisti91_122_, orders0_.merchant_promise_date as merchan92_122_, orders0_.nc_date as nc_date93_122_, orders0_.new_prefix as new_pre94_122_, orders0_.note as note95_122_, orders0_.old_prefix as old_pre96_122_, orders0_.old_recipient_address as old_rec97_122_, orders0_.old_recipient_city_id as old_rec98_122_, orders0_.old_recipient_city_name as old_rec99_122_, orders0_.old_recipient_lat as old_re100_122_, orders0_.old_recipient_lng as old_re101_122_, orders0_.old_recipient_neighborhood_id as old_re102_122_, orders0_.old_recipient_neighborhood_name as old_re103_122_, orders0_.old_sender_address as old_se104_122_, orders0_.old_sender_city_id as old_se105_122_, orders0_.old_sender_city_name as old_se106_122_, orders0_.old_sender_lat as old_se107_122_, orders0_.old_sender_lng as old_se108_122_, orders0_.old_sender_neighborhood_id as old_se109_122_, orders0_.old_sender_neighborhood_name as old_se110_122_, orders0_.order_charge_paid_history_list as order_111_122_, orders0_.order_count as order_112_122_, orders0_.order_payment_id as order_113_122_, orders0_.order_piece_count as order_114_122_, orders0_.order_transfer_id as order_115_122_, orders0_.package_changed as packag116_122_, orders0_.package_id as packag117_122_, orders0_.package_type_id as packag118_122_, orders0_.parent_id as parent119_122_, orders0_.parent_supplier_id as parent120_122_, orders0_.payer as payer121_122_, orders0_.payment_status as paymen122_122_, orders0_.payment_type as paymen123_122_, orders0_.physical_delivery_attempt_count as physic124_122_, orders0_.physical_delivery_attempts as physic125_122_, orders0_.physical_dispatch_timestamp_array as physic126_122_, orders0_.physical_pickup_attempts as physic127_122_, orders0_.pickup_attemp_count as pickup128_122_, orders0_.pick_up_driver_id as pick_u129_122_, orders0_.pickup_id as pickup130_122_, orders0_.pickup_pos_receipt_number as pickup131_122_, orders0_.pickup_planned_date_time as pickup132_122_, orders0_.pickup_promise_date_time as pickup133_122_, orders0_.pickup_time as pickup134_122_, orders0_.pickup_time_now as pickup135_122_, orders0_.pickup_timeslot_availability_id as pickup136_122_, orders0_.pos_terminal_number as pos_te137_122_, orders0_.prefix_changed as prefix138_122_, orders0_.prefix_history as prefix139_122_, orders0_.previous_driver_id as previo140_122_, orders0_.price_id as price_141_122_, orders0_.promo_id as promo_142_122_, orders0_.provided_weight as provid143_122_, orders0_.psf_status as psf_st144_122_, orders0_.public_id as public145_122_, orders0_.receipt_id as receip146_122_, orders0_.receipt_number as receip147_122_, orders0_.recipient_id as recipi149_122_, orders0_.recipient_city_changed as recipi148_122_, orders0_.if_recipient_not_available as if_rec150_122_, orders0_.reference_id as refere151_122_, orders0_.request_details as reques152_122_, orders0_.rescheduled_delivery_datetime as resche153_122_, orders0_.reverse_code as revers154_122_, orders0_.routeid as routei155_122_, orders0_.routing_status as routin156_122_, orders0_.rule_id as rule_i157_122_, orders0_.scanned_piece_count as scanne158_122_, orders0_.seller_id as seller159_122_, orders0_.seller_name as seller160_122_, orders0_.sender_from as sender161_122_, orders0_.sender_phone as sender162_122_, orders0_.sender_photo_id as sender163_122_, orders0_.sender_prefix as sender164_122_, orders0_.sender_signature_id as sender165_122_, orders0_.sender_zone as sender166_122_, orders0_.sequence_number as sequen167_122_, orders0_.service_type_id as servic168_122_, orders0_.shipment_id as shipme169_122_, orders0_.shop_order as shop_o170_122_, orders0_.size as size171_122_, orders0_.sms_verification_event_id as sms_ve172_122_, orders0_.sms_verification_number as sms_ve173_122_, orders0_.sms_verified as sms_ve174_122_, orders0_.status as status175_122_, orders0_.storfox_sale_order_id as storfo176_122_, orders0_.supplier_id as suppli177_122_, orders0_.timeslot_availability_history_id as timesl194_122_, orders0_.to_area_id as to_are178_122_, orders0_.to_city as to_cit179_122_, orders0_.to_warehouse_id as to_war180_122_, orders0_.type as type181_122_, orders0_.unique_id as unique182_122_, orders0_.value as value183_122_, orders0_.volumetric_weight as volume184_122_, orders0_.wallet_settlement_date as wallet185_122_, orders0_.wallet_settlement_reference as wallet186_122_, orders0_.warehouse_id as wareho187_122_, orders0_.weight as weight188_122_, orders0_.width as width189_122_, orders0_.with_driver as with_d190_122_, orders0_.with_driver_time as with_d191_122_, orders0_.wrong_allocated_warehouse as wrong_192_122_ from orders orders0_ left outer join drivers drivers1_ on orders0_.driver_id = drivers1_.id left outer join drivers drivers2_ on orders0_.last_mile_driver_id = drivers2_.id left outer join suppliers suppliers3_ on orders0_.supplier_id = suppliers3_.id where orders0_.deleted <> true and orders0_.type = 'ORDER' and ((drivers1_.id in ('1089613343')) and (orders0_.status in ('PICKED_UP', 'IN_SORTING_FACILITY', 'DELIVERY_SCHEDULED', 'UNASSIGNED', 'ON_HIS_WAY', 'DISPATCHED', 'ACCEPTED', 'ARRIVED', 'PICKUP_CONFIRMED', 'OUT_FOR_DELIVERY', 'PICK_UP_FAILED', 'PICKUP_SCHEDULED')) or (drivers2_.id in ('1089613343')) and (orders0_.status in ('IN_TRANSIT'))) and suppliers3_.id = 638462369 order by orders0_.deadline_time asc;
Date: 2024-01-02 08:35:30 Duration: 1m40s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select orders0_.id as id1_122_, orders0_.marketplace_id as marketpl2_122_, orders0_.created_by as created_3_122_, orders0_.created_date as created_4_122_, orders0_.last_modified_by as last_mod5_122_, orders0_.last_modified_date as last_mod6_122_, orders0_.actual_delivery_option as actual_d7_122_, orders0_.actualdelivery_time as actualde8_122_, orders0_.actual_pickup_time as actual_p9_122_, orders0_.allocated_from_warehouse as allocat10_122_, orders0_.amount as amount11_122_, orders0_.api_supplier_id as api_sup12_122_, orders0_.approximate_distance as approxi13_122_, orders0_.audit_version as audit_v14_122_, orders0_.authenticated_by_otp as authent15_122_, orders0_.back_id as back_id16_122_, orders0_.booking_date_time as booking17_122_, orders0_.cancellation_requires_type as cancell18_122_, orders0_.cashier_id as cashier19_122_, orders0_.chargeable_weight as chargea20_122_, orders0_.cod_settlement_date as cod_set21_122_, orders0_.cod_settlement_reference as cod_set22_122_, orders0_.cod_status as cod_sta23_122_, orders0_.cod_status_updated_by as cod_sta24_122_, orders0_.cod_transfer_type as cod_tra25_122_, orders0_.code as code26_122_, orders0_.completed as complet27_122_, orders0_.create_transaction as create_28_122_, orders0_.currency_id as currenc29_122_, orders0_.customer_id as custome31_122_, orders0_.customer_care_id as custome30_122_, orders0_.deadline_time as deadlin32_122_, orders0_.dec_date as dec_dat33_122_, orders0_.deleted as deleted34_122_, orders0_.delivered_lat as deliver35_122_, orders0_.delivered_lng as deliver36_122_, orders0_.delivered_to as deliver37_122_, orders0_.delivered_to_phone as deliver38_122_, orders0_.delivered_to_photo_id as deliver39_122_, orders0_.delivery_address_changed_date as deliver40_122_, orders0_.delivery_attemp_count as deliver41_122_, orders0_.delivery_planned_datetime as deliver42_122_, orders0_.delivery_planned_timestamp_array as deliver43_122_, orders0_.delivery_signature_id as deliver44_122_, orders0_.device_details as device_45_122_, orders0_.dimension_unit as dimensi46_122_, orders0_.dispatch_attempt_count as dispatc47_122_, orders0_.driver_id as driver_48_122_, orders0_.driver_bonus_id as driver193_122_, orders0_.drop_timeslot_availability_id as drop_ti49_122_, orders0_.dropoff_pos_receipt_number as dropoff50_122_, orders0_.dsc_date as dsc_dat51_122_, orders0_.encrypted_id as encrypt52_122_, orders0_.escalation_status as escalat53_122_, orders0_.escalation_status_updated_by as escalat54_122_, orders0_.escalation_status_updated_date as escalat55_122_, orders0_.estimated_delivery_date_time as estimat56_122_, orders0_.estimated_pick_up_time as estimat57_122_, orders0_.eta_id as eta_id58_122_, orders0_.external_user_name as externa59_122_, orders0_.failed_image_attachments as failed_60_122_, orders0_.fetch_item_id as fetch_i61_122_, orders0_.finance_pick_up_driver_id as finance62_122_, orders0_.finance_pick_up_supplier_id as finance63_122_, orders0_.first_delivery_time as first_d64_122_, orders0_.first_driver_id as first_d65_122_, orders0_.first_ofd_date as first_o66_122_, orders0_.first_pick_up_time as first_p67_122_, orders0_.fragile as fragile68_122_, orders0_.from_area_id as from_ar69_122_, orders0_.from_city as from_ci70_122_, orders0_.from_warehouse_id as from_wa71_122_, orders0_.future_pickup_requested_date as future_72_122_, orders0_.head_id as head_id73_122_, orders0_.heavy_type as heavy_t74_122_, orders0_.height as height75_122_, orders0_.id_card_required as id_card76_122_, orders0_.internal_promise_date as interna77_122_, orders0_.is_no_service_area as is_no_s78_122_, orders0_.is_old as is_old79_122_, orders0_.is_public as is_publ80_122_, orders0_.is_uae as is_uae81_122_, orders0_.item_payment_id as item_pa82_122_, orders0_.last_cod_status_date as last_co83_122_, orders0_.last_delivery_attempt_date as last_de84_122_, orders0_.last_mile_driver_id as last_mi85_122_, orders0_.last_ofd_date as last_of86_122_, orders0_.last_routing_status_date as last_ro87_122_, orders0_.last_status_date as last_st88_122_, orders0_.last_status_updated_user_id as last_st89_122_, orders0_.length as length90_122_, orders0_.logistic_type as logisti91_122_, orders0_.merchant_promise_date as merchan92_122_, orders0_.nc_date as nc_date93_122_, orders0_.new_prefix as new_pre94_122_, orders0_.note as note95_122_, orders0_.old_prefix as old_pre96_122_, orders0_.old_recipient_address as old_rec97_122_, orders0_.old_recipient_city_id as old_rec98_122_, orders0_.old_recipient_city_name as old_rec99_122_, orders0_.old_recipient_lat as old_re100_122_, orders0_.old_recipient_lng as old_re101_122_, orders0_.old_recipient_neighborhood_id as old_re102_122_, orders0_.old_recipient_neighborhood_name as old_re103_122_, orders0_.old_sender_address as old_se104_122_, orders0_.old_sender_city_id as old_se105_122_, orders0_.old_sender_city_name as old_se106_122_, orders0_.old_sender_lat as old_se107_122_, orders0_.old_sender_lng as old_se108_122_, orders0_.old_sender_neighborhood_id as old_se109_122_, orders0_.old_sender_neighborhood_name as old_se110_122_, orders0_.order_charge_paid_history_list as order_111_122_, orders0_.order_count as order_112_122_, orders0_.order_payment_id as order_113_122_, orders0_.order_piece_count as order_114_122_, orders0_.order_transfer_id as order_115_122_, orders0_.package_changed as packag116_122_, orders0_.package_id as packag117_122_, orders0_.package_type_id as packag118_122_, orders0_.parent_id as parent119_122_, orders0_.parent_supplier_id as parent120_122_, orders0_.payer as payer121_122_, orders0_.payment_status as paymen122_122_, orders0_.payment_type as paymen123_122_, orders0_.physical_delivery_attempt_count as physic124_122_, orders0_.physical_delivery_attempts as physic125_122_, orders0_.physical_dispatch_timestamp_array as physic126_122_, orders0_.physical_pickup_attempts as physic127_122_, orders0_.pickup_attemp_count as pickup128_122_, orders0_.pick_up_driver_id as pick_u129_122_, orders0_.pickup_id as pickup130_122_, orders0_.pickup_pos_receipt_number as pickup131_122_, orders0_.pickup_planned_date_time as pickup132_122_, orders0_.pickup_promise_date_time as pickup133_122_, orders0_.pickup_time as pickup134_122_, orders0_.pickup_time_now as pickup135_122_, orders0_.pickup_timeslot_availability_id as pickup136_122_, orders0_.pos_terminal_number as pos_te137_122_, orders0_.prefix_changed as prefix138_122_, orders0_.prefix_history as prefix139_122_, orders0_.previous_driver_id as previo140_122_, orders0_.price_id as price_141_122_, orders0_.promo_id as promo_142_122_, orders0_.provided_weight as provid143_122_, orders0_.psf_status as psf_st144_122_, orders0_.public_id as public145_122_, orders0_.receipt_id as receip146_122_, orders0_.receipt_number as receip147_122_, orders0_.recipient_id as recipi149_122_, orders0_.recipient_city_changed as recipi148_122_, orders0_.if_recipient_not_available as if_rec150_122_, orders0_.reference_id as refere151_122_, orders0_.request_details as reques152_122_, orders0_.rescheduled_delivery_datetime as resche153_122_, orders0_.reverse_code as revers154_122_, orders0_.routeid as routei155_122_, orders0_.routing_status as routin156_122_, orders0_.rule_id as rule_i157_122_, orders0_.scanned_piece_count as scanne158_122_, orders0_.seller_id as seller159_122_, orders0_.seller_name as seller160_122_, orders0_.sender_from as sender161_122_, orders0_.sender_phone as sender162_122_, orders0_.sender_photo_id as sender163_122_, orders0_.sender_prefix as sender164_122_, orders0_.sender_signature_id as sender165_122_, orders0_.sender_zone as sender166_122_, orders0_.sequence_number as sequen167_122_, orders0_.service_type_id as servic168_122_, orders0_.shipment_id as shipme169_122_, orders0_.shop_order as shop_o170_122_, orders0_.size as size171_122_, orders0_.sms_verification_event_id as sms_ve172_122_, orders0_.sms_verification_number as sms_ve173_122_, orders0_.sms_verified as sms_ve174_122_, orders0_.status as status175_122_, orders0_.storfox_sale_order_id as storfo176_122_, orders0_.supplier_id as suppli177_122_, orders0_.timeslot_availability_history_id as timesl194_122_, orders0_.to_area_id as to_are178_122_, orders0_.to_city as to_cit179_122_, orders0_.to_warehouse_id as to_war180_122_, orders0_.type as type181_122_, orders0_.unique_id as unique182_122_, orders0_.value as value183_122_, orders0_.volumetric_weight as volume184_122_, orders0_.wallet_settlement_date as wallet185_122_, orders0_.wallet_settlement_reference as wallet186_122_, orders0_.warehouse_id as wareho187_122_, orders0_.weight as weight188_122_, orders0_.width as width189_122_, orders0_.with_driver as with_d190_122_, orders0_.with_driver_time as with_d191_122_, orders0_.wrong_allocated_warehouse as wrong_192_122_ from orders orders0_ left outer join drivers drivers1_ on orders0_.driver_id = drivers1_.id left outer join drivers drivers2_ on orders0_.last_mile_driver_id = drivers2_.id left outer join suppliers suppliers3_ on orders0_.supplier_id = suppliers3_.id where orders0_.deleted <> true and orders0_.type = 'ORDER' and ((drivers1_.id in ('950887480')) and (orders0_.status in ('PICKED_UP', 'IN_SORTING_FACILITY', 'DELIVERY_SCHEDULED', 'UNASSIGNED', 'ON_HIS_WAY', 'DISPATCHED', 'ACCEPTED', 'ARRIVED', 'PICKUP_CONFIRMED', 'OUT_FOR_DELIVERY', 'PICK_UP_FAILED', 'PICKUP_SCHEDULED')) or (drivers2_.id in ('950887480')) and (orders0_.status in ('IN_TRANSIT'))) and suppliers3_.id = 638462369 order by orders0_.deadline_time asc;
Date: 2024-01-02 06:02:59 Duration: 1m14s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select orders0_.id as id1_122_, orders0_.marketplace_id as marketpl2_122_, orders0_.created_by as created_3_122_, orders0_.created_date as created_4_122_, orders0_.last_modified_by as last_mod5_122_, orders0_.last_modified_date as last_mod6_122_, orders0_.actual_delivery_option as actual_d7_122_, orders0_.actualdelivery_time as actualde8_122_, orders0_.actual_pickup_time as actual_p9_122_, orders0_.allocated_from_warehouse as allocat10_122_, orders0_.amount as amount11_122_, orders0_.api_supplier_id as api_sup12_122_, orders0_.approximate_distance as approxi13_122_, orders0_.audit_version as audit_v14_122_, orders0_.authenticated_by_otp as authent15_122_, orders0_.back_id as back_id16_122_, orders0_.booking_date_time as booking17_122_, orders0_.cancellation_requires_type as cancell18_122_, orders0_.cashier_id as cashier19_122_, orders0_.chargeable_weight as chargea20_122_, orders0_.cod_settlement_date as cod_set21_122_, orders0_.cod_settlement_reference as cod_set22_122_, orders0_.cod_status as cod_sta23_122_, orders0_.cod_status_updated_by as cod_sta24_122_, orders0_.cod_transfer_type as cod_tra25_122_, orders0_.code as code26_122_, orders0_.completed as complet27_122_, orders0_.create_transaction as create_28_122_, orders0_.currency_id as currenc29_122_, orders0_.customer_id as custome31_122_, orders0_.customer_care_id as custome30_122_, orders0_.deadline_time as deadlin32_122_, orders0_.dec_date as dec_dat33_122_, orders0_.deleted as deleted34_122_, orders0_.delivered_lat as deliver35_122_, orders0_.delivered_lng as deliver36_122_, orders0_.delivered_to as deliver37_122_, orders0_.delivered_to_phone as deliver38_122_, orders0_.delivered_to_photo_id as deliver39_122_, orders0_.delivery_address_changed_date as deliver40_122_, orders0_.delivery_attemp_count as deliver41_122_, orders0_.delivery_planned_datetime as deliver42_122_, orders0_.delivery_planned_timestamp_array as deliver43_122_, orders0_.delivery_signature_id as deliver44_122_, orders0_.device_details as device_45_122_, orders0_.dimension_unit as dimensi46_122_, orders0_.dispatch_attempt_count as dispatc47_122_, orders0_.driver_id as driver_48_122_, orders0_.driver_bonus_id as driver193_122_, orders0_.drop_timeslot_availability_id as drop_ti49_122_, orders0_.dropoff_pos_receipt_number as dropoff50_122_, orders0_.dsc_date as dsc_dat51_122_, orders0_.encrypted_id as encrypt52_122_, orders0_.escalation_status as escalat53_122_, orders0_.escalation_status_updated_by as escalat54_122_, orders0_.escalation_status_updated_date as escalat55_122_, orders0_.estimated_delivery_date_time as estimat56_122_, orders0_.estimated_pick_up_time as estimat57_122_, orders0_.eta_id as eta_id58_122_, orders0_.external_user_name as externa59_122_, orders0_.failed_image_attachments as failed_60_122_, orders0_.fetch_item_id as fetch_i61_122_, orders0_.finance_pick_up_driver_id as finance62_122_, orders0_.finance_pick_up_supplier_id as finance63_122_, orders0_.first_delivery_time as first_d64_122_, orders0_.first_driver_id as first_d65_122_, orders0_.first_ofd_date as first_o66_122_, orders0_.first_pick_up_time as first_p67_122_, orders0_.fragile as fragile68_122_, orders0_.from_area_id as from_ar69_122_, orders0_.from_city as from_ci70_122_, orders0_.from_warehouse_id as from_wa71_122_, orders0_.future_pickup_requested_date as future_72_122_, orders0_.head_id as head_id73_122_, orders0_.heavy_type as heavy_t74_122_, orders0_.height as height75_122_, orders0_.id_card_required as id_card76_122_, orders0_.internal_promise_date as interna77_122_, orders0_.is_no_service_area as is_no_s78_122_, orders0_.is_old as is_old79_122_, orders0_.is_public as is_publ80_122_, orders0_.is_uae as is_uae81_122_, orders0_.item_payment_id as item_pa82_122_, orders0_.last_cod_status_date as last_co83_122_, orders0_.last_delivery_attempt_date as last_de84_122_, orders0_.last_mile_driver_id as last_mi85_122_, orders0_.last_ofd_date as last_of86_122_, orders0_.last_routing_status_date as last_ro87_122_, orders0_.last_status_date as last_st88_122_, orders0_.last_status_updated_user_id as last_st89_122_, orders0_.length as length90_122_, orders0_.logistic_type as logisti91_122_, orders0_.merchant_promise_date as merchan92_122_, orders0_.nc_date as nc_date93_122_, orders0_.new_prefix as new_pre94_122_, orders0_.note as note95_122_, orders0_.old_prefix as old_pre96_122_, orders0_.old_recipient_address as old_rec97_122_, orders0_.old_recipient_city_id as old_rec98_122_, orders0_.old_recipient_city_name as old_rec99_122_, orders0_.old_recipient_lat as old_re100_122_, orders0_.old_recipient_lng as old_re101_122_, orders0_.old_recipient_neighborhood_id as old_re102_122_, orders0_.old_recipient_neighborhood_name as old_re103_122_, orders0_.old_sender_address as old_se104_122_, orders0_.old_sender_city_id as old_se105_122_, orders0_.old_sender_city_name as old_se106_122_, orders0_.old_sender_lat as old_se107_122_, orders0_.old_sender_lng as old_se108_122_, orders0_.old_sender_neighborhood_id as old_se109_122_, orders0_.old_sender_neighborhood_name as old_se110_122_, orders0_.order_charge_paid_history_list as order_111_122_, orders0_.order_count as order_112_122_, orders0_.order_payment_id as order_113_122_, orders0_.order_piece_count as order_114_122_, orders0_.order_transfer_id as order_115_122_, orders0_.package_changed as packag116_122_, orders0_.package_id as packag117_122_, orders0_.package_type_id as packag118_122_, orders0_.parent_id as parent119_122_, orders0_.parent_supplier_id as parent120_122_, orders0_.payer as payer121_122_, orders0_.payment_status as paymen122_122_, orders0_.payment_type as paymen123_122_, orders0_.physical_delivery_attempt_count as physic124_122_, orders0_.physical_delivery_attempts as physic125_122_, orders0_.physical_dispatch_timestamp_array as physic126_122_, orders0_.physical_pickup_attempts as physic127_122_, orders0_.pickup_attemp_count as pickup128_122_, orders0_.pick_up_driver_id as pick_u129_122_, orders0_.pickup_id as pickup130_122_, orders0_.pickup_pos_receipt_number as pickup131_122_, orders0_.pickup_planned_date_time as pickup132_122_, orders0_.pickup_promise_date_time as pickup133_122_, orders0_.pickup_time as pickup134_122_, orders0_.pickup_time_now as pickup135_122_, orders0_.pickup_timeslot_availability_id as pickup136_122_, orders0_.pos_terminal_number as pos_te137_122_, orders0_.prefix_changed as prefix138_122_, orders0_.prefix_history as prefix139_122_, orders0_.previous_driver_id as previo140_122_, orders0_.price_id as price_141_122_, orders0_.promo_id as promo_142_122_, orders0_.provided_weight as provid143_122_, orders0_.psf_status as psf_st144_122_, orders0_.public_id as public145_122_, orders0_.receipt_id as receip146_122_, orders0_.receipt_number as receip147_122_, orders0_.recipient_id as recipi149_122_, orders0_.recipient_city_changed as recipi148_122_, orders0_.if_recipient_not_available as if_rec150_122_, orders0_.reference_id as refere151_122_, orders0_.request_details as reques152_122_, orders0_.rescheduled_delivery_datetime as resche153_122_, orders0_.reverse_code as revers154_122_, orders0_.routeid as routei155_122_, orders0_.routing_status as routin156_122_, orders0_.rule_id as rule_i157_122_, orders0_.scanned_piece_count as scanne158_122_, orders0_.seller_id as seller159_122_, orders0_.seller_name as seller160_122_, orders0_.sender_from as sender161_122_, orders0_.sender_phone as sender162_122_, orders0_.sender_photo_id as sender163_122_, orders0_.sender_prefix as sender164_122_, orders0_.sender_signature_id as sender165_122_, orders0_.sender_zone as sender166_122_, orders0_.sequence_number as sequen167_122_, orders0_.service_type_id as servic168_122_, orders0_.shipment_id as shipme169_122_, orders0_.shop_order as shop_o170_122_, orders0_.size as size171_122_, orders0_.sms_verification_event_id as sms_ve172_122_, orders0_.sms_verification_number as sms_ve173_122_, orders0_.sms_verified as sms_ve174_122_, orders0_.status as status175_122_, orders0_.storfox_sale_order_id as storfo176_122_, orders0_.supplier_id as suppli177_122_, orders0_.timeslot_availability_history_id as timesl194_122_, orders0_.to_area_id as to_are178_122_, orders0_.to_city as to_cit179_122_, orders0_.to_warehouse_id as to_war180_122_, orders0_.type as type181_122_, orders0_.unique_id as unique182_122_, orders0_.value as value183_122_, orders0_.volumetric_weight as volume184_122_, orders0_.wallet_settlement_date as wallet185_122_, orders0_.wallet_settlement_reference as wallet186_122_, orders0_.warehouse_id as wareho187_122_, orders0_.weight as weight188_122_, orders0_.width as width189_122_, orders0_.with_driver as with_d190_122_, orders0_.with_driver_time as with_d191_122_, orders0_.wrong_allocated_warehouse as wrong_192_122_ from orders orders0_ left outer join drivers drivers1_ on orders0_.driver_id = drivers1_.id left outer join drivers drivers2_ on orders0_.last_mile_driver_id = drivers2_.id left outer join suppliers suppliers3_ on orders0_.supplier_id = suppliers3_.id where orders0_.deleted <> true and orders0_.type = 'ORDER' and ((drivers1_.id in ('1242349155')) and (orders0_.status in ('PICKED_UP', 'IN_SORTING_FACILITY', 'DELIVERY_SCHEDULED', 'UNASSIGNED', 'ON_HIS_WAY', 'DISPATCHED', 'ACCEPTED', 'ARRIVED', 'PICKUP_CONFIRMED', 'OUT_FOR_DELIVERY', 'PICK_UP_FAILED', 'PICKUP_SCHEDULED')) or (drivers2_.id in ('1242349155')) and (orders0_.status in ('IN_TRANSIT'))) and suppliers3_.id = 638462369 order by orders0_.deadline_time asc;
Date: 2024-01-02 06:57:59 Duration: 1m6s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
6 4m47s 8 5s85ms 1m27s 35s930ms select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...)) order by batchorder0_.created_date desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 02 06 3 2m54s 58s228ms 15 4 1m36s 24s140ms 19 1 16s196ms 16s196ms [ User: safearrival client=10.0.0.132 - Total duration: 4m32s - Times executed: 6 ]
[ User: safearrival client=10.0.0.133 - Total duration: 14s959ms - Times executed: 2 ]
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 06:08:29 Duration: 1m27s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 06:05:31 Duration: 1m22s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (802318478)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 15:33:12 Duration: 33s590ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
7 4m34s 55 1s230ms 42s721ms 4s991ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 02 05 1 15s634ms 15s634ms 07 1 14s262ms 14s262ms 08 1 5s770ms 5s770ms 09 2 12s907ms 6s453ms 12 1 42s721ms 42s721ms 14 3 5s548ms 1s849ms 15 2 6s342ms 3s171ms 16 9 1m43s 11s517ms 17 8 21s898ms 2s737ms 18 11 16s526ms 1s502ms 19 6 9s128ms 1s521ms 20 10 20s145ms 2s14ms [ User: safearrival client=10.0.0.133 - Total duration: 2m17s - Times executed: 29 ]
[ User: safearrival client=10.0.0.132 - Total duration: 2m16s - Times executed: 26 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 12:31:59.802', order_charge_paid_history_list = '[{"paid": true, "userId": 775788263, "timestamp": 1704106866.651}, {"paid": true, "userId": 775788263, "timestamp": 1704106866.858}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704112485.696, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": null, "newPrefix": "JED302", "oldPrefix": "JED100", "timestamp": 1704108646.45}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704108647.286}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704186679.637}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704186680.549}]' where id = '1340904099';
Date: 2024-01-02 12:32:42 Duration: 42s721ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 16:47:32.94', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704117770.377}, {"paid": false, "userId": 683802998, "timestamp": 1704117770.538}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704214050.827, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH442", "oldPrefix": "ABH442", "timestamp": 1704118139.85}]' where id = '1341042182';
Date: 2024-01-02 16:48:04 Duration: 31s486ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 16:47:32.947', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704117770.377}, {"paid": false, "userId": 683802998, "timestamp": 1704117770.538}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704214050.827, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH442", "oldPrefix": "ABH442", "timestamp": 1704118139.85}]' where id = '1341042182';
Date: 2024-01-02 16:48:04 Duration: 31s485ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
8 4m24s 20 1s3ms 50s365ms 13s244ms update orders set last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 02 03 1 1s267ms 1s267ms 05 2 29s855ms 14s927ms 09 1 50s365ms 50s365ms 11 1 4s210ms 4s210ms 12 1 6s205ms 6s205ms 14 3 37s391ms 12s463ms 15 1 1s982ms 1s982ms 16 1 28s530ms 28s530ms 17 1 14s509ms 14s509ms 18 3 37s360ms 12s453ms 20 2 32s664ms 16s332ms 22 1 6s874ms 6s874ms 23 2 13s676ms 6s838ms [ User: safearrival client=10.0.0.133 - Total duration: 2m15s - Times executed: 9 ]
[ User: safearrival client=10.0.0.132 - Total duration: 2m9s - Times executed: 11 ]
-
update orders set last_modified_date = '2024-01-02 09:50:40.013', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704028443.122}, {"paid": false, "userId": 1020830836, "timestamp": 1704028444.229}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704131671.318, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH444", "oldPrefix": "ABH444", "timestamp": 1704028620.835}]' where id = '1340273760';
Date: 2024-01-02 09:51:30 Duration: 50s365ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 20:25:54.556', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704123341.985}, {"paid": false, "userId": 683802998, "timestamp": 1704123342.584}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704215603.863, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "RUH576", "oldPrefix": "RUH100", "timestamp": 1704179007.979}]' where id = '1341119942';
Date: 2024-01-02 20:26:24 Duration: 29s915ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 14:05:35.463', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703944084.58}, {"paid": false, "userId": 1020830836, "timestamp": 1703944085.014}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703963063.849, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "QSM313", "oldPrefix": "QSM100", "timestamp": 1704129334.646}]' where id = '1339573574';
Date: 2024-01-02 14:06:05 Duration: 29s688ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
9 4m9s 69 1s5ms 31s695ms 3s616ms select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in (...) and ( case ol.phone like ? when true then ol.phone when false then concat(?, ol.phone) end) = (?) and ol.is_pickup = ? order by o.created_date desc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 02 05 6 11s563ms 1s927ms 06 18 1m19s 4s406ms 07 10 37s486ms 3s748ms 08 3 16s66ms 5s355ms 09 11 36s90ms 3s280ms 10 6 27s192ms 4s532ms 11 4 13s464ms 3s366ms 12 2 5s642ms 2s821ms 13 3 6s956ms 2s318ms 14 3 9s561ms 3s187ms 16 1 1s522ms 1s522ms 20 1 1s5ms 1s5ms 22 1 3s642ms 3s642ms [ User: safearrival client=10.0.0.132 - Total duration: 2m37s - Times executed: 36 ]
[ User: safearrival client=10.0.0.133 - Total duration: 1m31s - Times executed: 33 ]
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966553542942') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 06:05:04 Duration: 31s695ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966532244618') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 10:17:43 Duration: 14s798ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966541884457') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 06:37:27 Duration: 13s518ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
10 3m23s 15 2s368ms 37s950ms 13s565ms select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in (...)) and (orders0_.status in (...)) and orders0_.type = ? and (orders0_.shipment_id is not null) and (orders0_.created_date between ? and ?) order by orders0_.id limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 02 23 15 3m23s 13s565ms [ User: safearrival client=10.0.0.133 - Total duration: 1m43s - Times executed: 8 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m40s - Times executed: 7 ]
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('1618134')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.012' and '2023-12-03 23:00:00.012') order by orders0_.id limit '101';
Date: 2024-01-02 23:00:38 Duration: 37s950ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('1618134')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.002' and '2023-12-03 23:00:00.002') order by orders0_.id limit '101';
Date: 2024-01-02 23:00:38 Duration: 37s949ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('8626088', '66910759')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.012' and '2023-12-03 23:00:00.012') order by orders0_.id limit '101';
Date: 2024-01-02 23:01:01 Duration: 23s153ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
11 3m19s 7 1s442ms 1m28s 28s523ms update orders set last_modified_by = ?, last_modified_date = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 02 10 1 15s158ms 15s158ms 11 2 2m54s 1m27s 14 1 2s259ms 2s259ms 16 3 7s723ms 2s574ms [ User: safearrival client=10.0.0.133 - Total duration: 1m47s - Times executed: 5 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m31s - Times executed: 2 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 11:08:07.371', physical_pickup_attempts = '[{"userId": 645512267, "timestamp": 1704193683.893, "supplierId": 648753371, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341502849';
Date: 2024-01-02 11:09:35 Duration: 1m28s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 11:08:09.41', physical_pickup_attempts = '[{"userId": 645512267, "timestamp": 1704193683.893, "supplierId": 648753371, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341502849';
Date: 2024-01-02 11:09:35 Duration: 1m26s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 10:45:45.095', physical_pickup_attempts = '[{"userId": 1146256954, "timestamp": 1704192339.884, "supplierId": 638465090, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1340945533';
Date: 2024-01-02 10:46:00 Duration: 15s158ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
12 2m56s 20 1s504ms 39s950ms 8s803ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 02 08 1 17s595ms 17s595ms 09 2 16s747ms 8s373ms 11 3 26s701ms 8s900ms 13 4 1m39s 24s884ms 19 6 9s331ms 1s555ms 20 4 6s156ms 1s539ms [ User: safearrival client=10.0.0.133 - Total duration: 2m21s - Times executed: 12 ]
[ User: safearrival client=10.0.0.132 - Total duration: 34s784ms - Times executed: 8 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:22:23.347', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:03 Duration: 39s950ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:22:23.419', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:03 Duration: 39s871ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 08:50:59.209', order_charge_paid_history_list = '[{"paid": true, "userId": 655476937, "timestamp": 1704137642.357}, {"paid": true, "userId": 655476937, "timestamp": 1704137642.535}]', physical_pickup_attempts = '[{"userId": 1266705040, "timestamp": 1704179047.098, "supplierId": 638464150, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1341278818';
Date: 2024-01-02 08:51:16 Duration: 17s595ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
13 2m40s 37 1s 19s674ms 4s342ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 02 04 1 12s20ms 12s20ms 05 3 3s422ms 1s140ms 06 9 15s215ms 1s690ms 07 2 2s391ms 1s195ms 08 2 14s600ms 7s300ms 09 12 1m29s 7s440ms 10 5 19s786ms 3s957ms 11 1 1s227ms 1s227ms 12 1 1s161ms 1s161ms 14 1 1s575ms 1s575ms [ User: safearrival client=10.0.0.133 - Total duration: 1m22s - Times executed: 15 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m18s - Times executed: 22 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1314144216' , '1319310018' , '1322364465' , '1323411199' , '1324723660' , '1325289950' , '1325460828' , '1325944962' , '1326214703' , '1326623566' , '1327148655' , '1327390781' , '1327584558' , '1327589643' , '1327688984' , '1327707277' , '1327824010' , '1327920319' , '1328006681' , '1328472103' , '1328570910' , '1328698229' , '1328728149' , '1329307031' , '1329406183' , '1329422040' , '1329460784' , '1329770215' , '1329790482' , '1329820214' , '1329826580' , '1329859990' , '1329866831' , '1329868186' , '1329903451' , '1329943683' , '1330358133' , '1330417842' , '1330495783' , '1330560154' , '1330568911' , '1330624577' , '1330642664' , '1330652783' , '1330698552' , '1330799190' , '1331096344' , '1331101677' , '1331129642' , '1331346442' , '1331349352' , '1331358898' , '1331381208' , '1331397663' , '1331401430' , '1331437305' , '1331450767' , '1331467728' , '1331471583' , '1331515824' , '1331618099' , '1331668649' , '1331671146' , '1331680821' , '1331692722' , '1331724402' , '1331760274' , '1331793447' , '1331793480' , '1331955162' , '1332079925' , '1332111075' , '1332113398' , '1332393585' , '1332398863' , '1332398872' , '1332633857' , '1332692835' , '1332791501' , '1332828848' , '1332829706' , '1332832289' , '1332832418' , '1332837493' , '1332860616' , '1332863130' , '1332887637' , '1332890159' , '1332895627' , '1332926948' , '1332931006' , '1332941615' , '1332950529' , '1332955729' , '1332963762' , '1332967331' , '1332968442' , '1332978232' , '1332984214' , '1332985665' , '1332987706' , '1332995233' , '1332995508' , '1332998352' , '1333002227' , '1333353138' , '1333381469' , '1333408508' , '1333465282' , '1333475816' , '1333492591' , '1333541065' , '1333549000' , '1333551136' , '1333551919' , '1333566410' , '1333567749' , '1333568401' , '1333633088' , '1333642283' , '1333648496' , '1333654071' , '1333656560' , '1333659273' , '1333660515' , '1333662299' , '1333662903' , '1333662991' , '1333668916' , '1333671676' , '1333676444' , '1333679362' , '1333687261' , '1333688034' , '1333690360' , '1333700912' , '1333709641' , '1333711918' , '1333715598' , '1333723090' , '1333724578' , '1333739920' , '1333742617' , '1333742929' , '1333745720' , '1333746408' , '1333746907' , '1333749600' , '1333751372' , '1333751374' , '1333751994' , '1333754864' , '1333758934' , '1333761796' , '1333765462' , '1333765542' , '1333767511' , '1333768412' , '1333772210' , '1333775036' , '1333787434' , '1333791885' , '1333792217' , '1333795553' , '1333798802' , '1333802705' , '1333816788' , '1333818329' , '1333818702' , '1333821709' , '1333821955' , '1333824701' , '1333861418' , '1333861668' , '1333872100' , '1333873133' , '1333873162' , '1333874274' , '1333879240' , '1333881663' , '1333904843' , '1333914813' , '1333947066' , '1333949810' , '1333949998' , '1333953154' , '1333955617' , '1333955698' , '1333956941' , '1333959688' , '1333961945' , '1333964098' , '1333964596' , '1333967388' , '1333970056' , '1333970997' , '1333973326' , '1333973525' , '1333975849' , '1333978913');
Date: 2024-01-02 09:16:28 Duration: 19s674ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1279037688' , '1283024250' , '1283748491' , '1286326132' , '1286651763' , '1290875954' , '1291230524' , '1291259517' , '1291314997' , '1291918457' , '1292694403' , '1292749741' , '1292775475' , '1292803542' , '1292803957' , '1292806129' , '1293272007' , '1293830327' , '1293924146' , '1294145498' , '1294731667' , '1294874939' , '1295037801' , '1295085317' , '1295251339' , '1295808762' , '1295845420' , '1295849848' , '1295921963' , '1296446047' , '1296544137' , '1296554740' , '1296556446' , '1296601323' , '1296603864' , '1296626352' , '1296690630' , '1296698655' , '1296829242' , '1296861968' , '1297253418' , '1297388854' , '1297610723' , '1297628743' , '1297645437' , '1297650464' , '1297683319' , '1298116144' , '1298364808' , '1298381817' , '1298468439' , '1298513451' , '1298516092' , '1298544151' , '1298573530' , '1298595293' , '1298655982' , '1298695447' , '1298795725' , '1298796521' , '1298812658' , '1298899579' , '1298904054' , '1299025176' , '1299171249' , '1299176583' , '1299205426' , '1299207595' , '1299250766' , '1299380531' , '1299449383' , '1299486815' , '1299499442' , '1299557155' , '1299568680' , '1299656316' , '1299675887' , '1299926464' , '1300023449' , '1300050116' , '1300119395' , '1300188339' , '1300265475' , '1300269198' , '1300325124' , '1300325143' , '1300507533' , '1300529395' , '1300742826' , '1300773109' , '1300820981' , '1300838926' , '1300885062' , '1300885173' , '1300886516' , '1300940632' , '1300941212' , '1300971664' , '1300999365' , '1301070199' , '1301093067' , '1301105494' , '1301131441' , '1301156879' , '1301192681' , '1301199063' , '1301199087' , '1301222777' , '1301252760' , '1301263019' , '1301271276' , '1301278866' , '1301284567' , '1301304905' , '1301485046' , '1301549459' , '1301578211' , '1301634931' , '1301635270' , '1301637187' , '1301637781' , '1301638764' , '1301642551' , '1301664036' , '1301711484' , '1301735724' , '1301745882' , '1301783979' , '1301805105' , '1301819807' , '1301820355' , '1301820655' , '1301844986' , '1301874143' , '1301874784' , '1301922042' , '1301925915' , '1301926163' , '1301996371' , '1302069711' , '1302084562' , '1302381240' , '1302390235' , '1302411853' , '1302428597' , '1302450437' , '1302458799' , '1302514080' , '1302522934' , '1302542366' , '1302548476' , '1302555409' , '1302556821' , '1302564623' , '1302587539' , '1302587559' , '1302588528' , '1302621912' , '1302656796' , '1302683928' , '1302780085' , '1302787672' , '1302924746' , '1302939307' , '1302943602' , '1302983808' , '1302991101' , '1303003609' , '1303022683' , '1303044986' , '1303086393' , '1303086757' , '1303104599' , '1303118366' , '1303136010' , '1303139748' , '1303141220' , '1303152701' , '1303165479' , '1303169835' , '1303189802' , '1303202348' , '1303204804' , '1303233475' , '1303233881' , '1303243826' , '1303258072' , '1303258483' , '1303300451' , '1303301228' , '1303313342' , '1303354494' , '1303365781' , '1303424535' , '1303485817' , '1303495493' , '1303508997' , '1303538925' , '1303539038' , '1303539289');
Date: 2024-01-02 09:28:29 Duration: 13s685ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1279037688' , '1283024250' , '1283748491' , '1286326132' , '1286651763' , '1290875954' , '1291230524' , '1291259517' , '1291314997' , '1291918457' , '1292694403' , '1292749741' , '1292775475' , '1292803542' , '1292803957' , '1292806129' , '1293272007' , '1293830327' , '1293924146' , '1294145498' , '1294731667' , '1294874939' , '1295037801' , '1295085317' , '1295251339' , '1295808762' , '1295845420' , '1295849848' , '1295921963' , '1296446047' , '1296544137' , '1296554740' , '1296556446' , '1296601323' , '1296603864' , '1296626352' , '1296690630' , '1296698655' , '1296829242' , '1296861968' , '1297253418' , '1297388854' , '1297610723' , '1297628743' , '1297645437' , '1297650464' , '1297683319' , '1298116144' , '1298364808' , '1298381817' , '1298468439' , '1298513451' , '1298516092' , '1298544151' , '1298573530' , '1298595293' , '1298655982' , '1298695447' , '1298795725' , '1298796521' , '1298812658' , '1298899579' , '1298904054' , '1299025176' , '1299171249' , '1299176583' , '1299205426' , '1299207595' , '1299250766' , '1299380531' , '1299449383' , '1299486815' , '1299499442' , '1299557155' , '1299568680' , '1299656316' , '1299675887' , '1299926464' , '1300023449' , '1300050116' , '1300119395' , '1300188339' , '1300265475' , '1300269198' , '1300325124' , '1300325143' , '1300507533' , '1300529395' , '1300742826' , '1300773109' , '1300820981' , '1300838926' , '1300885062' , '1300885173' , '1300886516' , '1300940632' , '1300941212' , '1300971664' , '1300999365' , '1301070199' , '1301093067' , '1301105494' , '1301131441' , '1301156879' , '1301192681' , '1301199063' , '1301199087' , '1301222777' , '1301252760' , '1301263019' , '1301271276' , '1301278866' , '1301284567' , '1301304905' , '1301485046' , '1301549459' , '1301578211' , '1301634931' , '1301635270' , '1301637187' , '1301637781' , '1301638764' , '1301642551' , '1301664036' , '1301711484' , '1301735724' , '1301745882' , '1301783979' , '1301805105' , '1301819807' , '1301820355' , '1301820655' , '1301844986' , '1301874143' , '1301874784' , '1301922042' , '1301925915' , '1301926163' , '1301996371' , '1302069711' , '1302084562' , '1302381240' , '1302390235' , '1302411853' , '1302428597' , '1302450437' , '1302458799' , '1302514080' , '1302522934' , '1302542366' , '1302548476' , '1302555409' , '1302556821' , '1302564623' , '1302587539' , '1302587559' , '1302588528' , '1302621912' , '1302656796' , '1302683928' , '1302780085' , '1302787672' , '1302924746' , '1302939307' , '1302943602' , '1302983808' , '1302991101' , '1303003609' , '1303022683' , '1303044986' , '1303086393' , '1303086757' , '1303104599' , '1303118366' , '1303136010' , '1303139748' , '1303141220' , '1303152701' , '1303165479' , '1303169835' , '1303189802' , '1303202348' , '1303204804' , '1303233475' , '1303233881' , '1303243826' , '1303258072' , '1303258483' , '1303300451' , '1303301228' , '1303313342' , '1303354494' , '1303365781' , '1303424535' , '1303485817' , '1303495493' , '1303508997' , '1303538925' , '1303539038' , '1303539289');
Date: 2024-01-02 09:29:45 Duration: 13s474ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
14 2m37s 6 3s676ms 1m28s 26s287ms update orders set last_modified_date = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 02 03 1 4s65ms 4s65ms 06 1 7s554ms 7s554ms 07 1 45s664ms 45s664ms 11 2 1m32s 46s3ms 16 1 8s434ms 8s434ms [ User: safearrival client=10.0.0.133 - Total duration: 2m29s - Times executed: 4 ]
[ User: safearrival client=10.0.0.132 - Total duration: 7s742ms - Times executed: 2 ]
-
update orders set last_modified_date = '2024-01-02 11:08:07.299', physical_pickup_attempts = '[{"userId": 645512267, "timestamp": 1704193683.893, "supplierId": 648753371, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341502849';
Date: 2024-01-02 11:09:35 Duration: 1m28s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 07:47:00.683', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704181411.449, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341468458';
Date: 2024-01-02 07:47:46 Duration: 45s664ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 16:46:26.952', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704198551.668, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341469660';
Date: 2024-01-02 16:46:35 Duration: 8s434ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
15 2m2s 20 1s109ms 25s57ms 6s128ms update orders set last_modified_date = ?, order_charge_paid_history_list = ? where id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 02 05 1 2s113ms 2s113ms 06 1 1s600ms 1s600ms 07 1 3s799ms 3s799ms 10 1 6s120ms 6s120ms 13 3 24s23ms 8s7ms 15 3 22s933ms 7s644ms 16 1 1s930ms 1s930ms 17 4 7s785ms 1s946ms 18 4 51s148ms 12s787ms 21 1 1s109ms 1s109ms [ User: safearrival client=10.0.0.133 - Total duration: 1m29s - Times executed: 11 ]
[ User: safearrival client=10.0.0.132 - Total duration: 32s971ms - Times executed: 9 ]
-
update orders set last_modified_date = '2024-01-02 18:16:16.237', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704219370.9}, {"paid": false, "userId": 1020830836, "timestamp": 1704219371.101}]' where id = '1342005426';
Date: 2024-01-02 18:16:41 Duration: 25s57ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 18:16:21.269', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704219370.9}, {"paid": false, "userId": 1020830836, "timestamp": 1704219371.101}]' where id = '1342005426';
Date: 2024-01-02 18:16:41 Duration: 20s29ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 15:15:06.766', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704208503.244}, {"paid": false, "userId": 683802998, "timestamp": 1704208503.469}]' where id = '1341869561';
Date: 2024-01-02 15:15:20 Duration: 14s115ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
16 1m44s 5 1s396ms 44s908ms 20s946ms update orders set last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 02 05 1 7s253ms 7s253ms 11 1 11s211ms 11s211ms 13 1 44s908ms 44s908ms 17 1 39s961ms 39s961ms 19 1 1s396ms 1s396ms [ User: safearrival client=10.0.0.133 - Total duration: 1m24s - Times executed: 2 ]
[ User: safearrival client=10.0.0.132 - Total duration: 19s861ms - Times executed: 3 ]
-
update orders set last_modified_date = '2024-01-02 13:22:17.269', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:02 Duration: 44s908ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 17:35:23.022', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703338818.154}, {"paid": false, "userId": 1020830836, "timestamp": 1703338818.873}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703436729.146, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1335331191';
Date: 2024-01-02 17:36:02 Duration: 39s961ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 11:15:28.187', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704030069.533}, {"paid": false, "userId": 683802998, "timestamp": 1704030069.689}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704132037.146, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}, {"userId": 631889486, "timestamp": 1704194123.187, "supplierId": 920780628, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1340298193';
Date: 2024-01-02 11:15:39 Duration: 11s211ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
17 1m37s 18 1s 49s567ms 5s441ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 02 05 3 8s865ms 2s955ms 06 1 49s567ms 49s567ms 07 1 13s34ms 13s34ms 10 1 1s182ms 1s182ms 16 1 1s565ms 1s565ms 18 3 3s792ms 1s264ms 19 2 2s309ms 1s154ms 20 3 4s891ms 1s630ms 21 3 12s734ms 4s244ms [ User: safearrival client=10.0.0.132 - Total duration: 1m7s - Times executed: 11 ]
[ User: safearrival client=10.0.0.133 - Total duration: 30s746ms - Times executed: 7 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 06:12:12.587', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1702105739.762}, {"paid": false, "userId": 1020830836, "timestamp": 1702105739.901}]', physical_delivery_attempts = '[{"userId": 1195029901, "timestamp": 1702900824.791, "supplierId": 638465814, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1269660764, "timestamp": 1703684343.819, "supplierId": 638465814, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1249030358, "timestamp": 1704108833.684, "supplierId": 638465814, "orderStatus": "delivery_rejected", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1702491418.734, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "JIZ329", "oldPrefix": "JIZ329", "timestamp": 1702106164.081}]' where id = '1325028059';
Date: 2024-01-02 06:13:02 Duration: 49s567ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'a.awadh@safe-arrival.com', last_modified_date = '2024-01-02 07:55:37.524', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1704019975.77}, {"paid": true, "userId": 707383933, "timestamp": 1704019975.947}]', physical_delivery_attempts = '[{"userId": 930815529, "timestamp": 1704135846.75, "supplierId": 638462369, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704028416.979, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "QSM314", "oldPrefix": "QSM100", "timestamp": 1704028385.985}]' where id = '1340179957';
Date: 2024-01-02 07:55:50 Duration: 13s34ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 21:49:37.902', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1701425826.19}, {"paid": false, "userId": 1020830836, "timestamp": 1701425826.369}]', physical_delivery_attempts = '[{"userId": 976985783, "timestamp": 1701620799.921, "supplierId": 638462369, "orderStatus": "out_of_delivery_area", "escalationStatus": null}, {"userId": 1286352981, "timestamp": 1702199794.981, "supplierId": 638463930, "orderStatus": "recipient_address_change_requested", "escalationStatus": null}, {"userId": 985601275, "timestamp": 1702921782.687, "supplierId": 638459779, "orderStatus": "office_closed", "escalationStatus": null}, {"userId": 991597450, "timestamp": 1703527478.84, "supplierId": 638459779, "orderStatus": "planned_delivery_for_tomorrow", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1701449800.334, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "HFR304", "oldPrefix": "QSM310", "timestamp": 1701629262.529}, {"userId": 631889486, "newPrefix": "DMM433", "oldPrefix": "HFR304", "timestamp": 1702200573.197}]' where id = '1319313203';
Date: 2024-01-02 21:49:45 Duration: 7s219ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
18 1m31s 2 9s369ms 1m21s 45s513ms select exceptions0_.id as id1_77_, exceptions0_.marketplace_id as marketpl2_77_, exceptions0_.created_by as created_3_77_, exceptions0_.created_date as created_4_77_, exceptions0_.last_modified_by as last_mod5_77_, exceptions0_.last_modified_date as last_mod6_77_, exceptions0_.cod_status as cod_stat7_77_, exceptions0_.deleted as deleted8_77_, exceptions0_.driver_id as driver_i9_77_, exceptions0_.event_date as event_d10_77_, exceptions0_.note as note11_77_, exceptions0_.order_id as order_i12_77_, exceptions0_.order_status as order_s13_77_, exceptions0_.status as status14_77_, exceptions0_.supplier_id as supplie15_77_, exceptions0_.type as type16_77_ from exceptions exceptions0_ left outer join drivers drivers1_ on exceptions0_.driver_id = drivers1_.id left outer join t_user user2_ on drivers1_.user_id = user2_.id left outer join suppliers suppliers3_ on exceptions0_.supplier_id = suppliers3_.id left outer join t_user user4_ on suppliers3_.admin_user_id = user4_.id left outer join orders orders5_ on exceptions0_.order_id = orders5_.id where (exceptions0_.deleted is null or exceptions0_.deleted = false) and (exceptions0_.marketplace_id in (...)) and (trim((lower(coalesce(user2_.first_name, ?)) || ? || lower(coalesce(user2_.last_name, ?)))) like ? or trim((lower(coalesce(user4_.first_name, ?)) || ? || lower(coalesce(user4_.last_name, ?)))) like ? or coalesce(cast(exceptions0_.id as varchar), ?) like ? or trim(lower(coalesce(suppliers3_.name, ?))) like ? or trim(lower(coalesce(exceptions0_.status, ?))) like ? or trim(lower(coalesce(exceptions0_.type, ?))) like ? or trim(lower(coalesce(orders5_.code, ?))) like ?) order by exceptions0_.created_date desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 02 08 1 1m21s 1m21s 11 1 9s369ms 9s369ms [ User: safearrival client=10.0.0.133 - Total duration: 1m31s - Times executed: 2 ]
-
select exceptions0_.id as id1_77_, exceptions0_.marketplace_id as marketpl2_77_, exceptions0_.created_by as created_3_77_, exceptions0_.created_date as created_4_77_, exceptions0_.last_modified_by as last_mod5_77_, exceptions0_.last_modified_date as last_mod6_77_, exceptions0_.cod_status as cod_stat7_77_, exceptions0_.deleted as deleted8_77_, exceptions0_.driver_id as driver_i9_77_, exceptions0_.event_date as event_d10_77_, exceptions0_.note as note11_77_, exceptions0_.order_id as order_i12_77_, exceptions0_.order_status as order_s13_77_, exceptions0_.status as status14_77_, exceptions0_.supplier_id as supplie15_77_, exceptions0_.type as type16_77_ from exceptions exceptions0_ left outer join drivers drivers1_ on exceptions0_.driver_id = drivers1_.id left outer join t_user user2_ on drivers1_.user_id = user2_.id left outer join suppliers suppliers3_ on exceptions0_.supplier_id = suppliers3_.id left outer join t_user user4_ on suppliers3_.admin_user_id = user4_.id left outer join orders orders5_ on exceptions0_.order_id = orders5_.id where (exceptions0_.deleted is null or exceptions0_.deleted = false) and (exceptions0_.marketplace_id in (631889485)) and (trim((lower(coalesce(user2_.first_name, '')) || ' ' || lower(coalesce(user2_.last_name, '')))) like '%ruh52552535943651%' or trim((lower(coalesce(user4_.first_name, '')) || ' ' || lower(coalesce(user4_.last_name, '')))) like '%ruh52552535943651%' or coalesce(cast(exceptions0_.id as varchar), '') like '%ruh52552535943651%' or trim(lower(coalesce(suppliers3_.name, ''))) like '%ruh52552535943651%' or trim(lower(coalesce(exceptions0_.status, ''))) like '%ruh52552535943651%' or trim(lower(coalesce(exceptions0_.type, ''))) like '%ruh52552535943651%' or trim(lower(coalesce(orders5_.code, ''))) like '%ruh52552535943651%') order by exceptions0_.created_date desc limit '50';
Date: 2024-01-02 08:43:27 Duration: 1m21s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select exceptions0_.id as id1_77_, exceptions0_.marketplace_id as marketpl2_77_, exceptions0_.created_by as created_3_77_, exceptions0_.created_date as created_4_77_, exceptions0_.last_modified_by as last_mod5_77_, exceptions0_.last_modified_date as last_mod6_77_, exceptions0_.cod_status as cod_stat7_77_, exceptions0_.deleted as deleted8_77_, exceptions0_.driver_id as driver_i9_77_, exceptions0_.event_date as event_d10_77_, exceptions0_.note as note11_77_, exceptions0_.order_id as order_i12_77_, exceptions0_.order_status as order_s13_77_, exceptions0_.status as status14_77_, exceptions0_.supplier_id as supplie15_77_, exceptions0_.type as type16_77_ from exceptions exceptions0_ left outer join drivers drivers1_ on exceptions0_.driver_id = drivers1_.id left outer join t_user user2_ on drivers1_.user_id = user2_.id left outer join suppliers suppliers3_ on exceptions0_.supplier_id = suppliers3_.id left outer join t_user user4_ on suppliers3_.admin_user_id = user4_.id left outer join orders orders5_ on exceptions0_.order_id = orders5_.id where (exceptions0_.deleted is null or exceptions0_.deleted = false) and (exceptions0_.marketplace_id in (631889485)) and (trim((lower(coalesce(user2_.first_name, '')) || ' ' || lower(coalesce(user2_.last_name, '')))) like '%med10028839387661%' or trim((lower(coalesce(user4_.first_name, '')) || ' ' || lower(coalesce(user4_.last_name, '')))) like '%med10028839387661%' or coalesce(cast(exceptions0_.id as varchar), '') like '%med10028839387661%' or trim(lower(coalesce(suppliers3_.name, ''))) like '%med10028839387661%' or trim(lower(coalesce(exceptions0_.status, ''))) like '%med10028839387661%' or trim(lower(coalesce(exceptions0_.type, ''))) like '%med10028839387661%' or trim(lower(coalesce(orders5_.code, ''))) like '%med10028839387661%') order by exceptions0_.created_date desc limit '50';
Date: 2024-01-02 11:54:08 Duration: 9s369ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
19 1m23s 13 1s86ms 34s226ms 6s410ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 02 06 1 2s217ms 2s217ms 09 2 1m6s 33s276ms 10 1 3s560ms 3s560ms 16 1 1s103ms 1s103ms 18 1 1s517ms 1s517ms 19 1 1s521ms 1s521ms 21 6 6s862ms 1s143ms [ User: safearrival client=10.0.0.133 - Total duration: 1m13s - Times executed: 8 ]
[ User: safearrival client=10.0.0.132 - Total duration: 9s539ms - Times executed: 5 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 09:11:02.298', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1703746314.934}, {"paid": true, "userId": 707383933, "timestamp": 1703746315.128}]', physical_delivery_attempts = '[{"userId": 1017388750, "timestamp": 1703945462.419, "supplierId": 638464150, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703766372.006, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1338447960';
Date: 2024-01-02 09:11:36 Duration: 34s226ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 09:11:04.202', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1703746314.934}, {"paid": true, "userId": 707383933, "timestamp": 1703746315.128}]', physical_delivery_attempts = '[{"userId": 1017388750, "timestamp": 1703945462.419, "supplierId": 638464150, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703766372.006, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1338447960';
Date: 2024-01-02 09:11:36 Duration: 32s326ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 10:36:26.228', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703091797.464}, {"paid": false, "userId": 1020830836, "timestamp": 1703091797.731}, {"paid": true, "userId": 1009856078, "timestamp": 1703686427.458}]', physical_delivery_attempts = '[{"userId": 1067062934, "timestamp": 1703509733.051, "supplierId": 638462680, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1009856078, "timestamp": 1703686435.899, "supplierId": 638462680, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703175766.746, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1333801136';
Date: 2024-01-02 10:36:29 Duration: 3s560ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
20 1m5s 1 1m5s 1m5s 1m5s update orders set last_modified_date = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 02 05 1 1m5s 1m5s [ User: safearrival client=10.0.0.133 - Total duration: 1m5s - Times executed: 1 ]
-
update orders set last_modified_date = '2024-01-02 05:30:27.283', physical_delivery_attempts = '[{"userId": 631889486, "timestamp": 1704132013.677, "supplierId": 920780628, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 1040609117, "timestamp": 1703572916.137, "supplierId": 638465814, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1337048049';
Date: 2024-01-02 05:31:32 Duration: 1m5s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 497 6h45m43s 1s4ms 4m10s 48s981ms select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...)) order by batchorder0_.created_date desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 02 03 5 3m32s 42s588ms 04 6 2m33s 25s651ms 05 46 45m21s 59s154ms 06 57 40m38s 42s774ms 07 34 30m2s 53s26ms 08 36 38m34s 1m4s 09 29 21m29s 44s449ms 10 17 25m8s 1m28s 11 30 27m46s 55s539ms 12 21 15m56s 45s564ms 13 27 22m31s 50s65ms 14 28 31m52s 1m8s 15 42 35m39s 50s945ms 16 18 12m51s 42s859ms 17 32 17m2s 31s955ms 18 16 12m41s 47s592ms 19 17 9m13s 32s530ms 20 13 6m26s 29s754ms 21 5 54s220ms 10s844ms 22 7 47s937ms 6s848ms 23 2 49s790ms 24s895ms Jan 03 00 4 2m26s 36s654ms 01 4 1m8s 17s73ms 02 1 13s558ms 13s558ms [ User: safearrival client=10.0.0.133 - Total duration: 3h26m39s - Times executed: 257 ]
[ User: safearrival client=10.0.0.132 - Total duration: 3h19m4s - Times executed: 240 ]
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:30:25 Duration: 4m10s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:30:25 Duration: 4m Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:53:34 Duration: 3m47s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
2 141 15m58s 1s21ms 2m14s 6s795ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ? where id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 02 04 2 3s652ms 1s826ms 05 2 2s792ms 1s396ms 06 4 9s752ms 2s438ms 07 4 7s709ms 1s927ms 08 1 1s574ms 1s574ms 10 5 10s35ms 2s7ms 11 2 6s477ms 3s238ms 12 3 8s790ms 2s930ms 13 4 7s747ms 1s936ms 14 27 10m2s 22s314ms 15 23 1m10s 3s56ms 16 5 13s61ms 2s612ms 17 33 1m43s 3s124ms 18 15 1m11s 4s746ms 21 3 10s925ms 3s641ms 22 3 16s654ms 5s551ms Jan 03 01 3 6s660ms 2s220ms 02 2 5s272ms 2s636ms [ User: safearrival client=10.0.0.132 - Total duration: 9m10s - Times executed: 72 ]
[ User: safearrival client=10.0.0.133 - Total duration: 6m47s - Times executed: 69 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:58:09.385', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m14s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 13:58:11.368', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m12s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:58:08.396', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:14 Duration: 2m5s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
3 80 1h8m46s 1s61ms 3m54s 51s579ms select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...));Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 02 04 1 1s507ms 1s507ms 05 10 12m26s 1m14s 06 8 35s820ms 4s477ms 07 5 4m59s 59s948ms 08 9 5m53s 39s228ms 09 5 3m52s 46s470ms 10 4 8m30s 2m7s 11 12 14m20s 1m11s 12 3 2m53s 57s831ms 13 3 24s213ms 8s71ms 14 7 10m7s 1m26s 15 6 3m40s 36s747ms 17 1 6s443ms 6s443ms 19 3 50s158ms 16s719ms 21 2 2s446ms 1s223ms Jan 03 00 1 1s61ms 1s61ms [ User: safearrival client=10.0.0.133 - Total duration: 40m8s - Times executed: 42 ]
[ User: safearrival client=10.0.0.132 - Total duration: 28m38s - Times executed: 38 ]
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 07:55:38 Duration: 3m54s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (823643121)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 14:56:17 Duration: 3m23s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 05:56:55 Duration: 3m21s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
4 69 4m9s 1s5ms 31s695ms 3s616ms select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in (...) and ( case ol.phone like ? when true then ol.phone when false then concat(?, ol.phone) end) = (?) and ol.is_pickup = ? order by o.created_date desc limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 02 05 6 11s563ms 1s927ms 06 18 1m19s 4s406ms 07 10 37s486ms 3s748ms 08 3 16s66ms 5s355ms 09 11 36s90ms 3s280ms 10 6 27s192ms 4s532ms 11 4 13s464ms 3s366ms 12 2 5s642ms 2s821ms 13 3 6s956ms 2s318ms 14 3 9s561ms 3s187ms 16 1 1s522ms 1s522ms 20 1 1s5ms 1s5ms 22 1 3s642ms 3s642ms [ User: safearrival client=10.0.0.132 - Total duration: 2m37s - Times executed: 36 ]
[ User: safearrival client=10.0.0.133 - Total duration: 1m31s - Times executed: 33 ]
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966553542942') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 06:05:04 Duration: 31s695ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966532244618') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 10:17:43 Duration: 14s798ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966541884457') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 06:37:27 Duration: 13s518ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
5 61 5m58s 1s47ms 2m15s 5s876ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, recipient_id = ? where id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 02 04 1 1s751ms 1s751ms 06 1 2s604ms 2s604ms 07 2 3s792ms 1s896ms 10 1 2s422ms 2s422ms 12 1 3s623ms 3s623ms 13 2 2s569ms 1s284ms 14 13 3m15s 15s61ms 15 14 47s596ms 3s399ms 16 1 4s412ms 4s412ms 17 14 49s788ms 3s556ms 18 6 24s899ms 4s149ms 21 1 5s354ms 5s354ms 22 1 6s851ms 6s851ms Jan 03 01 2 4s255ms 2s127ms 02 1 2s770ms 2s770ms [ User: safearrival client=10.0.0.133 - Total duration: 4m5s - Times executed: 29 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m53s - Times executed: 32 ]
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 13:58:08.621', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]', recipient_id = '1341812625' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m15s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 14:41:47.035', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704206503.717}, {"paid": false, "userId": 683802998, "timestamp": 1704206504.348}]', recipient_id = '1341844642' where id = '1341844605';
Date: 2024-01-02 14:42:11 Duration: 24s554ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 15:15:05.858', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704208503.244}, {"paid": false, "userId": 683802998, "timestamp": 1704208503.469}]', recipient_id = '736879156' where id = '1341869561';
Date: 2024-01-02 15:15:20 Duration: 15s14ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
6 55 4m34s 1s230ms 42s721ms 4s991ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 02 05 1 15s634ms 15s634ms 07 1 14s262ms 14s262ms 08 1 5s770ms 5s770ms 09 2 12s907ms 6s453ms 12 1 42s721ms 42s721ms 14 3 5s548ms 1s849ms 15 2 6s342ms 3s171ms 16 9 1m43s 11s517ms 17 8 21s898ms 2s737ms 18 11 16s526ms 1s502ms 19 6 9s128ms 1s521ms 20 10 20s145ms 2s14ms [ User: safearrival client=10.0.0.133 - Total duration: 2m17s - Times executed: 29 ]
[ User: safearrival client=10.0.0.132 - Total duration: 2m16s - Times executed: 26 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 12:31:59.802', order_charge_paid_history_list = '[{"paid": true, "userId": 775788263, "timestamp": 1704106866.651}, {"paid": true, "userId": 775788263, "timestamp": 1704106866.858}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704112485.696, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": null, "newPrefix": "JED302", "oldPrefix": "JED100", "timestamp": 1704108646.45}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704108647.286}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704186679.637}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704186680.549}]' where id = '1340904099';
Date: 2024-01-02 12:32:42 Duration: 42s721ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 16:47:32.94', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704117770.377}, {"paid": false, "userId": 683802998, "timestamp": 1704117770.538}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704214050.827, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH442", "oldPrefix": "ABH442", "timestamp": 1704118139.85}]' where id = '1341042182';
Date: 2024-01-02 16:48:04 Duration: 31s486ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 16:47:32.947', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704117770.377}, {"paid": false, "userId": 683802998, "timestamp": 1704117770.538}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704214050.827, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH442", "oldPrefix": "ABH442", "timestamp": 1704118139.85}]' where id = '1341042182';
Date: 2024-01-02 16:48:04 Duration: 31s485ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
7 47 57s174ms 1s1ms 2s118ms 1s216ms select distinct orders0_.id as id1_122_0_, packages1_.id as id1_127_1_, orderlocat2_.id as id1_108_2_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, packages1_.marketplace_id as marketpl2_127_1_, packages1_.active as active3_127_1_, packages1_.capacity as capacity4_127_1_, packages1_.code as code5_127_1_, packages1_.courier_type as courier_6_127_1_, packages1_.custom as custom7_127_1_, packages1_.cutoff_end as cutoff_e8_127_1_, packages1_.cutoff_start as cutoff_s9_127_1_, packages1_.deleted as deleted10_127_1_, packages1_.delivery_label as deliver11_127_1_, packages1_.delivery_label_helper as deliver12_127_1_, packages1_.from_city_id as from_ci13_127_1_, packages1_.has_cutoff as has_cut14_127_1_, packages1_.is_old as is_old15_127_1_, packages1_.is_public as is_publ16_127_1_, packages1_.menu_id as menu_id17_127_1_, packages1_.name as name18_127_1_, packages1_.parent_id as parent_19_127_1_, packages1_.price_id as price_i20_127_1_, packages1_.supplier_id as supplie21_127_1_, packages1_.to_city_id as to_city22_127_1_, packages1_.vehicle_type as vehicle23_127_1_, orderlocat2_.marketplace_id as marketpl2_108_2_, orderlocat2_.created_by as created_3_108_2_, orderlocat2_.created_date as created_4_108_2_, orderlocat2_.last_modified_by as last_mod5_108_2_, orderlocat2_.last_modified_date as last_mod6_108_2_, orderlocat2_.accuracy_status as accuracy7_108_2_, orderlocat2_.address as address8_108_2_, orderlocat2_.address_city as address_9_108_2_, orderlocat2_.address_street as address10_108_2_, orderlocat2_.address_type as address11_108_2_, orderlocat2_.alias_id as alias_i12_108_2_, orderlocat2_.apartment as apartme13_108_2_, orderlocat2_.area_id as area_id14_108_2_, orderlocat2_.at_least_once_bad_address as at_leas15_108_2_, orderlocat2_.is_bad_address as is_bad_16_108_2_, orderlocat2_.building as buildin17_108_2_, orderlocat2_.company_name as company18_108_2_, orderlocat2_.confirmed_by_recipient as confirm19_108_2_, orderlocat2_.details as details20_108_2_, orderlocat2_.email as email21_108_2_, orderlocat2_.floor as floor22_108_2_, orderlocat2_.geo_address as geo_add23_108_2_, orderlocat2_.google_id as google_24_108_2_, orderlocat2_.landmark as landmar25_108_2_, orderlocat2_.lat as lat26_108_2_, orderlocat2_.lng as lng27_108_2_, orderlocat2_.location_source_type as locatio28_108_2_, orderlocat2_.neighborhood_id as neighbo29_108_2_, orderlocat2_.neighborhood_name as neighbo30_108_2_, orderlocat2_.order_id as order_i31_108_2_, orderlocat2_.original_address as origina32_108_2_, orderlocat2_.phone as phone33_108_2_, orderlocat2_.phone_code as phone_c34_108_2_, orderlocat2_.phone_formatted as phone_f35_108_2_, orderlocat2_.phone_without_code as phone_w36_108_2_, orderlocat2_.is_pickup as is_pick37_108_2_, orderlocat2_.plain_city as plain_c38_108_2_, orderlocat2_.postcode as postcod39_108_2_, orderlocat2_.preferred_time as preferr40_108_2_, orderlocat2_.province as provinc41_108_2_, orderlocat2_.rough_neighborhood_id as rough_n42_108_2_, orderlocat2_.second_phone as second_43_108_2_, orderlocat2_.sender_name as sender_44_108_2_, orderlocat2_.system_address as system_45_108_2_, orderlocat2_.third_phone as third_p46_108_2_, orderlocat2_.version as version47_108_2_, orderlocat2_.warehouse_id as warehou48_108_2_, orderlocat2_.order_id as order_i31_108_0__, orderlocat2_.id as id1_108_0__ from orders orders0_ left outer join packages packages1_ on orders0_.package_id = packages1_.id left outer join order_locations orderlocat2_ on orders0_.id = orderlocat2_.order_id where orders0_.id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 02 05 3 3s201ms 1s67ms 06 11 14s557ms 1s323ms 07 5 5s347ms 1s69ms 08 22 26s264ms 1s193ms 09 1 1s232ms 1s232ms 11 1 1s109ms 1s109ms 14 1 1s107ms 1s107ms 18 3 4s354ms 1s451ms [ User: safearrival client=10.0.0.133 - Total duration: 32s341ms - Times executed: 26 ]
[ User: safearrival client=10.0.0.132 - Total duration: 24s833ms - Times executed: 21 ]
-
select distinct orders0_.id as id1_122_0_, packages1_.id as id1_127_1_, orderlocat2_.id as id1_108_2_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, packages1_.marketplace_id as marketpl2_127_1_, packages1_.active as active3_127_1_, packages1_.capacity as capacity4_127_1_, packages1_.code as code5_127_1_, packages1_.courier_type as courier_6_127_1_, packages1_.custom as custom7_127_1_, packages1_.cutoff_end as cutoff_e8_127_1_, packages1_.cutoff_start as cutoff_s9_127_1_, packages1_.deleted as deleted10_127_1_, packages1_.delivery_label as deliver11_127_1_, packages1_.delivery_label_helper as deliver12_127_1_, packages1_.from_city_id as from_ci13_127_1_, packages1_.has_cutoff as has_cut14_127_1_, packages1_.is_old as is_old15_127_1_, packages1_.is_public as is_publ16_127_1_, packages1_.menu_id as menu_id17_127_1_, packages1_.name as name18_127_1_, packages1_.parent_id as parent_19_127_1_, packages1_.price_id as price_i20_127_1_, packages1_.supplier_id as supplie21_127_1_, packages1_.to_city_id as to_city22_127_1_, packages1_.vehicle_type as vehicle23_127_1_, orderlocat2_.marketplace_id as marketpl2_108_2_, orderlocat2_.created_by as created_3_108_2_, orderlocat2_.created_date as created_4_108_2_, orderlocat2_.last_modified_by as last_mod5_108_2_, orderlocat2_.last_modified_date as last_mod6_108_2_, orderlocat2_.accuracy_status as accuracy7_108_2_, orderlocat2_.address as address8_108_2_, orderlocat2_.address_city as address_9_108_2_, orderlocat2_.address_street as address10_108_2_, orderlocat2_.address_type as address11_108_2_, orderlocat2_.alias_id as alias_i12_108_2_, orderlocat2_.apartment as apartme13_108_2_, orderlocat2_.area_id as area_id14_108_2_, orderlocat2_.at_least_once_bad_address as at_leas15_108_2_, orderlocat2_.is_bad_address as is_bad_16_108_2_, orderlocat2_.building as buildin17_108_2_, orderlocat2_.company_name as company18_108_2_, orderlocat2_.confirmed_by_recipient as confirm19_108_2_, orderlocat2_.details as details20_108_2_, orderlocat2_.email as email21_108_2_, orderlocat2_.floor as floor22_108_2_, orderlocat2_.geo_address as geo_add23_108_2_, orderlocat2_.google_id as google_24_108_2_, orderlocat2_.landmark as landmar25_108_2_, orderlocat2_.lat as lat26_108_2_, orderlocat2_.lng as lng27_108_2_, orderlocat2_.location_source_type as locatio28_108_2_, orderlocat2_.neighborhood_id as neighbo29_108_2_, orderlocat2_.neighborhood_name as neighbo30_108_2_, orderlocat2_.order_id as order_i31_108_2_, orderlocat2_.original_address as origina32_108_2_, orderlocat2_.phone as phone33_108_2_, orderlocat2_.phone_code as phone_c34_108_2_, orderlocat2_.phone_formatted as phone_f35_108_2_, orderlocat2_.phone_without_code as phone_w36_108_2_, orderlocat2_.is_pickup as is_pick37_108_2_, orderlocat2_.plain_city as plain_c38_108_2_, orderlocat2_.postcode as postcod39_108_2_, orderlocat2_.preferred_time as preferr40_108_2_, orderlocat2_.province as provinc41_108_2_, orderlocat2_.rough_neighborhood_id as rough_n42_108_2_, orderlocat2_.second_phone as second_43_108_2_, orderlocat2_.sender_name as sender_44_108_2_, orderlocat2_.system_address as system_45_108_2_, orderlocat2_.third_phone as third_p46_108_2_, orderlocat2_.version as version47_108_2_, orderlocat2_.warehouse_id as warehou48_108_2_, orderlocat2_.order_id as order_i31_108_0__, orderlocat2_.id as id1_108_0__ from orders orders0_ left outer join packages packages1_ on orders0_.package_id = packages1_.id left outer join order_locations orderlocat2_ on orders0_.id = orderlocat2_.order_id where orders0_.id in ('1341696065', '1340822096', '1340478255', '1340475808', '1340470514', '1340468670', '1340438213', '1340438010', '1340435810', '1340429346', '1340385193', '1340382929', '1340380754', '1340368621', '1340353713', '1340334120', '1340334063', '1340333515', '1340327123', '1340312616', '1340312216', '1340312019', '1340311084', '1340308603', '1340307184', '1340306507', '1340305964', '1340301887', '1340299708', '1340298259', '1340296163', '1340292948', '1340291108', '1340288975', '1340278303', '1340276243', '1340267343', '1340263339', '1340212295', '1340116433', '1340087057', '1339595020', '1339130888', '1339098033', '1339097425', '1339049545', '1339048866', '1339041771', '1339038845', '1339037649', '1339006376', '1338945648', '1338945599', '1338829842', '1338816470', '1338806406', '1338797310', '1338797262', '1338699744', '1338679734', '1338539702', '1338467015', '1338057030', '1337952064', '1337835749', '1337711384', '1337708164', '1337701616', '1337326382', '1337280330', '1336792754', '1336663668', '1336396340', '1336382628', '1336152499', '1335876347', '1335111702', '1334835132', '1334805334', '1334735199', '1333983294', '1333979690', '1333964040', '1333716793', '1332966062', '1332890316', '1332885264', '1332865590', '1331050691', '1330638503', '1330481568', '1329543992', '1329526744', '1329268985', '1329041298', '1328771340', '1325974003', '1325500728', '1324731361', '1324671534');
Date: 2024-01-02 18:59:34 Duration: 2s118ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select distinct orders0_.id as id1_122_0_, packages1_.id as id1_127_1_, orderlocat2_.id as id1_108_2_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, packages1_.marketplace_id as marketpl2_127_1_, packages1_.active as active3_127_1_, packages1_.capacity as capacity4_127_1_, packages1_.code as code5_127_1_, packages1_.courier_type as courier_6_127_1_, packages1_.custom as custom7_127_1_, packages1_.cutoff_end as cutoff_e8_127_1_, packages1_.cutoff_start as cutoff_s9_127_1_, packages1_.deleted as deleted10_127_1_, packages1_.delivery_label as deliver11_127_1_, packages1_.delivery_label_helper as deliver12_127_1_, packages1_.from_city_id as from_ci13_127_1_, packages1_.has_cutoff as has_cut14_127_1_, packages1_.is_old as is_old15_127_1_, packages1_.is_public as is_publ16_127_1_, packages1_.menu_id as menu_id17_127_1_, packages1_.name as name18_127_1_, packages1_.parent_id as parent_19_127_1_, packages1_.price_id as price_i20_127_1_, packages1_.supplier_id as supplie21_127_1_, packages1_.to_city_id as to_city22_127_1_, packages1_.vehicle_type as vehicle23_127_1_, orderlocat2_.marketplace_id as marketpl2_108_2_, orderlocat2_.created_by as created_3_108_2_, orderlocat2_.created_date as created_4_108_2_, orderlocat2_.last_modified_by as last_mod5_108_2_, orderlocat2_.last_modified_date as last_mod6_108_2_, orderlocat2_.accuracy_status as accuracy7_108_2_, orderlocat2_.address as address8_108_2_, orderlocat2_.address_city as address_9_108_2_, orderlocat2_.address_street as address10_108_2_, orderlocat2_.address_type as address11_108_2_, orderlocat2_.alias_id as alias_i12_108_2_, orderlocat2_.apartment as apartme13_108_2_, orderlocat2_.area_id as area_id14_108_2_, orderlocat2_.at_least_once_bad_address as at_leas15_108_2_, orderlocat2_.is_bad_address as is_bad_16_108_2_, orderlocat2_.building as buildin17_108_2_, orderlocat2_.company_name as company18_108_2_, orderlocat2_.confirmed_by_recipient as confirm19_108_2_, orderlocat2_.details as details20_108_2_, orderlocat2_.email as email21_108_2_, orderlocat2_.floor as floor22_108_2_, orderlocat2_.geo_address as geo_add23_108_2_, orderlocat2_.google_id as google_24_108_2_, orderlocat2_.landmark as landmar25_108_2_, orderlocat2_.lat as lat26_108_2_, orderlocat2_.lng as lng27_108_2_, orderlocat2_.location_source_type as locatio28_108_2_, orderlocat2_.neighborhood_id as neighbo29_108_2_, orderlocat2_.neighborhood_name as neighbo30_108_2_, orderlocat2_.order_id as order_i31_108_2_, orderlocat2_.original_address as origina32_108_2_, orderlocat2_.phone as phone33_108_2_, orderlocat2_.phone_code as phone_c34_108_2_, orderlocat2_.phone_formatted as phone_f35_108_2_, orderlocat2_.phone_without_code as phone_w36_108_2_, orderlocat2_.is_pickup as is_pick37_108_2_, orderlocat2_.plain_city as plain_c38_108_2_, orderlocat2_.postcode as postcod39_108_2_, orderlocat2_.preferred_time as preferr40_108_2_, orderlocat2_.province as provinc41_108_2_, orderlocat2_.rough_neighborhood_id as rough_n42_108_2_, orderlocat2_.second_phone as second_43_108_2_, orderlocat2_.sender_name as sender_44_108_2_, orderlocat2_.system_address as system_45_108_2_, orderlocat2_.third_phone as third_p46_108_2_, orderlocat2_.version as version47_108_2_, orderlocat2_.warehouse_id as warehou48_108_2_, orderlocat2_.order_id as order_i31_108_0__, orderlocat2_.id as id1_108_0__ from orders orders0_ left outer join packages packages1_ on orders0_.package_id = packages1_.id left outer join order_locations orderlocat2_ on orders0_.id = orderlocat2_.order_id where orders0_.id in ('1309912851', '1309911328', '1309911201', '1309909030', '1309905476', '1309904442', '1309900290', '1309894713', '1309886779', '1309879355', '1309877957', '1309877259', '1309876786', '1309873250', '1309872738', '1309869046', '1309869002', '1309863054', '1309861574', '1309859945', '1309857917', '1309857659', '1309857581', '1309856866', '1309854885', '1309850152', '1309849777', '1309849243', '1309849206', '1309847386', '1309847141', '1309846319', '1309845275', '1309843275', '1309842016', '1309835914', '1309835645', '1309832713', '1309832552', '1309832548', '1309832374', '1309828728', '1309827894', '1309826974', '1309819103', '1309817728', '1309815886', '1309813251', '1309810644', '1309809461', '1309809252', '1309808265', '1309808247', '1309808121', '1309808097', '1309808030', '1309808002', '1309807977', '1309807969', '1309807966', '1309807962', '1309807957', '1309807951', '1309803667', '1309793731', '1309783227', '1309783205', '1309783183', '1309779119', '1309761953', '1309747713', '1309737427', '1309732207', '1309723867', '1309717697', '1309709750', '1309697652', '1309697450', '1309697418', '1309691378', '1309687607', '1309686931', '1309683710', '1309675853', '1309669108', '1309668212', '1309668128', '1309667697', '1309665211', '1309657754', '1309651343', '1309649566', '1309642801', '1309641619', '1309633171', '1309625859', '1309614138', '1309549840', '1309541384', '1309522720', '1309515596', '1309504630', '1309504589', '1309504512', '1309504269', '1309503944', '1309503676', '1309497928', '1309495784', '1309493525', '1309473885', '1309462785', '1309454140', '1309453521', '1309436076', '1309431257', '1309430790', '1309429594', '1309429459', '1309428900', '1309381561', '1309345070', '1309324510', '1309315678', '1309303383', '1309302686', '1309301025', '1309281124', '1309274109', '1309274037', '1309274021', '1309273914', '1309273750', '1309268352', '1309263725', '1309263649', '1309261548', '1309256924', '1309252591', '1309244599', '1309244424', '1309244385', '1309235021', '1309234844', '1309234036', '1309231827', '1309231392', '1309231339', '1309230453', '1309229208', '1309229185', '1309228960', '1309228222', '1309227056', '1309226784', '1309226412', '1309223673', '1309223602', '1309223444', '1309223422', '1309223392', '1309221121', '1309219666', '1309219549', '1309216768', '1309216616', '1309216381', '1309215437', '1309215236', '1309212274', '1309211546', '1309210939', '1309210763', '1309209306', '1309209283', '1309208913', '1309208047', '1309205346', '1309201640', '1309199450', '1309198590', '1309197235', '1309190099', '1309189519', '1309186898', '1309186792', '1309186788', '1309186785', '1309175540', '1309165821', '1309142807', '1309142382', '1309142299', '1309142036', '1309140832', '1309140141', '1309133193', '1309132427', '1309132274', '1309132174');
Date: 2024-01-02 06:04:49 Duration: 1s593ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select distinct orders0_.id as id1_122_0_, packages1_.id as id1_127_1_, orderlocat2_.id as id1_108_2_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, packages1_.marketplace_id as marketpl2_127_1_, packages1_.active as active3_127_1_, packages1_.capacity as capacity4_127_1_, packages1_.code as code5_127_1_, packages1_.courier_type as courier_6_127_1_, packages1_.custom as custom7_127_1_, packages1_.cutoff_end as cutoff_e8_127_1_, packages1_.cutoff_start as cutoff_s9_127_1_, packages1_.deleted as deleted10_127_1_, packages1_.delivery_label as deliver11_127_1_, packages1_.delivery_label_helper as deliver12_127_1_, packages1_.from_city_id as from_ci13_127_1_, packages1_.has_cutoff as has_cut14_127_1_, packages1_.is_old as is_old15_127_1_, packages1_.is_public as is_publ16_127_1_, packages1_.menu_id as menu_id17_127_1_, packages1_.name as name18_127_1_, packages1_.parent_id as parent_19_127_1_, packages1_.price_id as price_i20_127_1_, packages1_.supplier_id as supplie21_127_1_, packages1_.to_city_id as to_city22_127_1_, packages1_.vehicle_type as vehicle23_127_1_, orderlocat2_.marketplace_id as marketpl2_108_2_, orderlocat2_.created_by as created_3_108_2_, orderlocat2_.created_date as created_4_108_2_, orderlocat2_.last_modified_by as last_mod5_108_2_, orderlocat2_.last_modified_date as last_mod6_108_2_, orderlocat2_.accuracy_status as accuracy7_108_2_, orderlocat2_.address as address8_108_2_, orderlocat2_.address_city as address_9_108_2_, orderlocat2_.address_street as address10_108_2_, orderlocat2_.address_type as address11_108_2_, orderlocat2_.alias_id as alias_i12_108_2_, orderlocat2_.apartment as apartme13_108_2_, orderlocat2_.area_id as area_id14_108_2_, orderlocat2_.at_least_once_bad_address as at_leas15_108_2_, orderlocat2_.is_bad_address as is_bad_16_108_2_, orderlocat2_.building as buildin17_108_2_, orderlocat2_.company_name as company18_108_2_, orderlocat2_.confirmed_by_recipient as confirm19_108_2_, orderlocat2_.details as details20_108_2_, orderlocat2_.email as email21_108_2_, orderlocat2_.floor as floor22_108_2_, orderlocat2_.geo_address as geo_add23_108_2_, orderlocat2_.google_id as google_24_108_2_, orderlocat2_.landmark as landmar25_108_2_, orderlocat2_.lat as lat26_108_2_, orderlocat2_.lng as lng27_108_2_, orderlocat2_.location_source_type as locatio28_108_2_, orderlocat2_.neighborhood_id as neighbo29_108_2_, orderlocat2_.neighborhood_name as neighbo30_108_2_, orderlocat2_.order_id as order_i31_108_2_, orderlocat2_.original_address as origina32_108_2_, orderlocat2_.phone as phone33_108_2_, orderlocat2_.phone_code as phone_c34_108_2_, orderlocat2_.phone_formatted as phone_f35_108_2_, orderlocat2_.phone_without_code as phone_w36_108_2_, orderlocat2_.is_pickup as is_pick37_108_2_, orderlocat2_.plain_city as plain_c38_108_2_, orderlocat2_.postcode as postcod39_108_2_, orderlocat2_.preferred_time as preferr40_108_2_, orderlocat2_.province as provinc41_108_2_, orderlocat2_.rough_neighborhood_id as rough_n42_108_2_, orderlocat2_.second_phone as second_43_108_2_, orderlocat2_.sender_name as sender_44_108_2_, orderlocat2_.system_address as system_45_108_2_, orderlocat2_.third_phone as third_p46_108_2_, orderlocat2_.version as version47_108_2_, orderlocat2_.warehouse_id as warehou48_108_2_, orderlocat2_.order_id as order_i31_108_0__, orderlocat2_.id as id1_108_0__ from orders orders0_ left outer join packages packages1_ on orders0_.package_id = packages1_.id left outer join order_locations orderlocat2_ on orders0_.id = orderlocat2_.order_id where orders0_.id in ('1303419222', '1303419161', '1303419105', '1303419074', '1303419048', '1303419046', '1303419025', '1303419002', '1303418888', '1303418866', '1303415789', '1303412692', '1303412238', '1303411180', '1303410335', '1303408482', '1303406317', '1303404035', '1303366898', '1303353281', '1303352186', '1303350685', '1303348489', '1303344915', '1303337392', '1303336382', '1303336025', '1303332563', '1303332502', '1303328882', '1303323222', '1303323004', '1303322619', '1303314791', '1303314747', '1303310257', '1303310088', '1303305818', '1303305742', '1303305567', '1303301870', '1303301816', '1303292569', '1303287355', '1303285937', '1303284851', '1303283859', '1303283358', '1303269946', '1303266797', '1303265571', '1303262328', '1303260719', '1303258993', '1303249073', '1303243725', '1303243283', '1303242580', '1303239628', '1303238311', '1303237210', '1303233369', '1303233136', '1303231103', '1303227991', '1303227590', '1303219021', '1303217505', '1303209347', '1303201981', '1303201455', '1303199345', '1303198967', '1303198010', '1303196477', '1303196394', '1303196247', '1303195508', '1303195320', '1303194746', '1303194668', '1303194502', '1303194288', '1303194137', '1303193925', '1303192885', '1303192366', '1303191080', '1303189934', '1303189635', '1303188630', '1303188101', '1303187642', '1303169669', '1303168808', '1303168464', '1303168090', '1303167544', '1303166991', '1303166915', '1303166555', '1303166301', '1303166111', '1303165954', '1303165802', '1303165578', '1303165008', '1303164768', '1303164634', '1303164600', '1303164331', '1303163943', '1303163728', '1303163651', '1303163461', '1303163090', '1303162317', '1303161514', '1303161386', '1303161300', '1303160178', '1303160127', '1303159665', '1303159153', '1303158893', '1303158788', '1303158701', '1303158160', '1303158040', '1303157673', '1303157627', '1303157098', '1303156962', '1303155846', '1303147915', '1303146376', '1303145264', '1303144896', '1303144473', '1303143020', '1303142933', '1303142691', '1303140603', '1303137307', '1303133899', '1303133271', '1303133251', '1303132978', '1303132372', '1303130942', '1303121995', '1303118700', '1303117042', '1303116613', '1303113339', '1303111220', '1303109195', '1303105666', '1303105376', '1303103431', '1303099683', '1303096382', '1303096144', '1303095934', '1303090942', '1303089792', '1303089613', '1303089079', '1303045864', '1303045318', '1303044938', '1303044747', '1303043378', '1303037131', '1303033306', '1303028302', '1303026136', '1303022705', '1303022657', '1303022610', '1303022560', '1303011802', '1303001396', '1303001317', '1302990672', '1302984647', '1302974297', '1302970315', '1302957674', '1302957124', '1302946535', '1302939952', '1302939845', '1302939600', '1302939448', '1302937959', '1302932036', '1302925914', '1302925067', '1302918164');
Date: 2024-01-02 06:33:48 Duration: 1s584ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
8 37 2m40s 1s 19s674ms 4s342ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 02 04 1 12s20ms 12s20ms 05 3 3s422ms 1s140ms 06 9 15s215ms 1s690ms 07 2 2s391ms 1s195ms 08 2 14s600ms 7s300ms 09 12 1m29s 7s440ms 10 5 19s786ms 3s957ms 11 1 1s227ms 1s227ms 12 1 1s161ms 1s161ms 14 1 1s575ms 1s575ms [ User: safearrival client=10.0.0.133 - Total duration: 1m22s - Times executed: 15 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m18s - Times executed: 22 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1314144216' , '1319310018' , '1322364465' , '1323411199' , '1324723660' , '1325289950' , '1325460828' , '1325944962' , '1326214703' , '1326623566' , '1327148655' , '1327390781' , '1327584558' , '1327589643' , '1327688984' , '1327707277' , '1327824010' , '1327920319' , '1328006681' , '1328472103' , '1328570910' , '1328698229' , '1328728149' , '1329307031' , '1329406183' , '1329422040' , '1329460784' , '1329770215' , '1329790482' , '1329820214' , '1329826580' , '1329859990' , '1329866831' , '1329868186' , '1329903451' , '1329943683' , '1330358133' , '1330417842' , '1330495783' , '1330560154' , '1330568911' , '1330624577' , '1330642664' , '1330652783' , '1330698552' , '1330799190' , '1331096344' , '1331101677' , '1331129642' , '1331346442' , '1331349352' , '1331358898' , '1331381208' , '1331397663' , '1331401430' , '1331437305' , '1331450767' , '1331467728' , '1331471583' , '1331515824' , '1331618099' , '1331668649' , '1331671146' , '1331680821' , '1331692722' , '1331724402' , '1331760274' , '1331793447' , '1331793480' , '1331955162' , '1332079925' , '1332111075' , '1332113398' , '1332393585' , '1332398863' , '1332398872' , '1332633857' , '1332692835' , '1332791501' , '1332828848' , '1332829706' , '1332832289' , '1332832418' , '1332837493' , '1332860616' , '1332863130' , '1332887637' , '1332890159' , '1332895627' , '1332926948' , '1332931006' , '1332941615' , '1332950529' , '1332955729' , '1332963762' , '1332967331' , '1332968442' , '1332978232' , '1332984214' , '1332985665' , '1332987706' , '1332995233' , '1332995508' , '1332998352' , '1333002227' , '1333353138' , '1333381469' , '1333408508' , '1333465282' , '1333475816' , '1333492591' , '1333541065' , '1333549000' , '1333551136' , '1333551919' , '1333566410' , '1333567749' , '1333568401' , '1333633088' , '1333642283' , '1333648496' , '1333654071' , '1333656560' , '1333659273' , '1333660515' , '1333662299' , '1333662903' , '1333662991' , '1333668916' , '1333671676' , '1333676444' , '1333679362' , '1333687261' , '1333688034' , '1333690360' , '1333700912' , '1333709641' , '1333711918' , '1333715598' , '1333723090' , '1333724578' , '1333739920' , '1333742617' , '1333742929' , '1333745720' , '1333746408' , '1333746907' , '1333749600' , '1333751372' , '1333751374' , '1333751994' , '1333754864' , '1333758934' , '1333761796' , '1333765462' , '1333765542' , '1333767511' , '1333768412' , '1333772210' , '1333775036' , '1333787434' , '1333791885' , '1333792217' , '1333795553' , '1333798802' , '1333802705' , '1333816788' , '1333818329' , '1333818702' , '1333821709' , '1333821955' , '1333824701' , '1333861418' , '1333861668' , '1333872100' , '1333873133' , '1333873162' , '1333874274' , '1333879240' , '1333881663' , '1333904843' , '1333914813' , '1333947066' , '1333949810' , '1333949998' , '1333953154' , '1333955617' , '1333955698' , '1333956941' , '1333959688' , '1333961945' , '1333964098' , '1333964596' , '1333967388' , '1333970056' , '1333970997' , '1333973326' , '1333973525' , '1333975849' , '1333978913');
Date: 2024-01-02 09:16:28 Duration: 19s674ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1279037688' , '1283024250' , '1283748491' , '1286326132' , '1286651763' , '1290875954' , '1291230524' , '1291259517' , '1291314997' , '1291918457' , '1292694403' , '1292749741' , '1292775475' , '1292803542' , '1292803957' , '1292806129' , '1293272007' , '1293830327' , '1293924146' , '1294145498' , '1294731667' , '1294874939' , '1295037801' , '1295085317' , '1295251339' , '1295808762' , '1295845420' , '1295849848' , '1295921963' , '1296446047' , '1296544137' , '1296554740' , '1296556446' , '1296601323' , '1296603864' , '1296626352' , '1296690630' , '1296698655' , '1296829242' , '1296861968' , '1297253418' , '1297388854' , '1297610723' , '1297628743' , '1297645437' , '1297650464' , '1297683319' , '1298116144' , '1298364808' , '1298381817' , '1298468439' , '1298513451' , '1298516092' , '1298544151' , '1298573530' , '1298595293' , '1298655982' , '1298695447' , '1298795725' , '1298796521' , '1298812658' , '1298899579' , '1298904054' , '1299025176' , '1299171249' , '1299176583' , '1299205426' , '1299207595' , '1299250766' , '1299380531' , '1299449383' , '1299486815' , '1299499442' , '1299557155' , '1299568680' , '1299656316' , '1299675887' , '1299926464' , '1300023449' , '1300050116' , '1300119395' , '1300188339' , '1300265475' , '1300269198' , '1300325124' , '1300325143' , '1300507533' , '1300529395' , '1300742826' , '1300773109' , '1300820981' , '1300838926' , '1300885062' , '1300885173' , '1300886516' , '1300940632' , '1300941212' , '1300971664' , '1300999365' , '1301070199' , '1301093067' , '1301105494' , '1301131441' , '1301156879' , '1301192681' , '1301199063' , '1301199087' , '1301222777' , '1301252760' , '1301263019' , '1301271276' , '1301278866' , '1301284567' , '1301304905' , '1301485046' , '1301549459' , '1301578211' , '1301634931' , '1301635270' , '1301637187' , '1301637781' , '1301638764' , '1301642551' , '1301664036' , '1301711484' , '1301735724' , '1301745882' , '1301783979' , '1301805105' , '1301819807' , '1301820355' , '1301820655' , '1301844986' , '1301874143' , '1301874784' , '1301922042' , '1301925915' , '1301926163' , '1301996371' , '1302069711' , '1302084562' , '1302381240' , '1302390235' , '1302411853' , '1302428597' , '1302450437' , '1302458799' , '1302514080' , '1302522934' , '1302542366' , '1302548476' , '1302555409' , '1302556821' , '1302564623' , '1302587539' , '1302587559' , '1302588528' , '1302621912' , '1302656796' , '1302683928' , '1302780085' , '1302787672' , '1302924746' , '1302939307' , '1302943602' , '1302983808' , '1302991101' , '1303003609' , '1303022683' , '1303044986' , '1303086393' , '1303086757' , '1303104599' , '1303118366' , '1303136010' , '1303139748' , '1303141220' , '1303152701' , '1303165479' , '1303169835' , '1303189802' , '1303202348' , '1303204804' , '1303233475' , '1303233881' , '1303243826' , '1303258072' , '1303258483' , '1303300451' , '1303301228' , '1303313342' , '1303354494' , '1303365781' , '1303424535' , '1303485817' , '1303495493' , '1303508997' , '1303538925' , '1303539038' , '1303539289');
Date: 2024-01-02 09:28:29 Duration: 13s685ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1279037688' , '1283024250' , '1283748491' , '1286326132' , '1286651763' , '1290875954' , '1291230524' , '1291259517' , '1291314997' , '1291918457' , '1292694403' , '1292749741' , '1292775475' , '1292803542' , '1292803957' , '1292806129' , '1293272007' , '1293830327' , '1293924146' , '1294145498' , '1294731667' , '1294874939' , '1295037801' , '1295085317' , '1295251339' , '1295808762' , '1295845420' , '1295849848' , '1295921963' , '1296446047' , '1296544137' , '1296554740' , '1296556446' , '1296601323' , '1296603864' , '1296626352' , '1296690630' , '1296698655' , '1296829242' , '1296861968' , '1297253418' , '1297388854' , '1297610723' , '1297628743' , '1297645437' , '1297650464' , '1297683319' , '1298116144' , '1298364808' , '1298381817' , '1298468439' , '1298513451' , '1298516092' , '1298544151' , '1298573530' , '1298595293' , '1298655982' , '1298695447' , '1298795725' , '1298796521' , '1298812658' , '1298899579' , '1298904054' , '1299025176' , '1299171249' , '1299176583' , '1299205426' , '1299207595' , '1299250766' , '1299380531' , '1299449383' , '1299486815' , '1299499442' , '1299557155' , '1299568680' , '1299656316' , '1299675887' , '1299926464' , '1300023449' , '1300050116' , '1300119395' , '1300188339' , '1300265475' , '1300269198' , '1300325124' , '1300325143' , '1300507533' , '1300529395' , '1300742826' , '1300773109' , '1300820981' , '1300838926' , '1300885062' , '1300885173' , '1300886516' , '1300940632' , '1300941212' , '1300971664' , '1300999365' , '1301070199' , '1301093067' , '1301105494' , '1301131441' , '1301156879' , '1301192681' , '1301199063' , '1301199087' , '1301222777' , '1301252760' , '1301263019' , '1301271276' , '1301278866' , '1301284567' , '1301304905' , '1301485046' , '1301549459' , '1301578211' , '1301634931' , '1301635270' , '1301637187' , '1301637781' , '1301638764' , '1301642551' , '1301664036' , '1301711484' , '1301735724' , '1301745882' , '1301783979' , '1301805105' , '1301819807' , '1301820355' , '1301820655' , '1301844986' , '1301874143' , '1301874784' , '1301922042' , '1301925915' , '1301926163' , '1301996371' , '1302069711' , '1302084562' , '1302381240' , '1302390235' , '1302411853' , '1302428597' , '1302450437' , '1302458799' , '1302514080' , '1302522934' , '1302542366' , '1302548476' , '1302555409' , '1302556821' , '1302564623' , '1302587539' , '1302587559' , '1302588528' , '1302621912' , '1302656796' , '1302683928' , '1302780085' , '1302787672' , '1302924746' , '1302939307' , '1302943602' , '1302983808' , '1302991101' , '1303003609' , '1303022683' , '1303044986' , '1303086393' , '1303086757' , '1303104599' , '1303118366' , '1303136010' , '1303139748' , '1303141220' , '1303152701' , '1303165479' , '1303169835' , '1303189802' , '1303202348' , '1303204804' , '1303233475' , '1303233881' , '1303243826' , '1303258072' , '1303258483' , '1303300451' , '1303301228' , '1303313342' , '1303354494' , '1303365781' , '1303424535' , '1303485817' , '1303495493' , '1303508997' , '1303538925' , '1303539038' , '1303539289');
Date: 2024-01-02 09:29:45 Duration: 13s474ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
9 27 50s652ms 1s185ms 3s552ms 1s876ms update call_history set deleted = true where order_id = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 02 04 1 1s842ms 1s842ms 05 6 14s815ms 2s469ms 06 5 8s652ms 1s730ms 08 6 10s148ms 1s691ms 10 1 1s185ms 1s185ms 12 1 1s693ms 1s693ms 16 1 2s290ms 2s290ms 17 3 5s166ms 1s722ms 18 2 3s427ms 1s713ms 19 1 1s429ms 1s429ms [ User: safearrival client=10.0.0.132 - Total duration: 29s38ms - Times executed: 16 ]
[ User: safearrival client=10.0.0.133 - Total duration: 21s613ms - Times executed: 11 ]
-
update call_history set deleted = true where order_id = '1339069585';
Date: 2024-01-02 05:31:35 Duration: 3s552ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update call_history set deleted = true where order_id = '1340227453';
Date: 2024-01-02 05:28:43 Duration: 3s288ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update call_history set deleted = true where order_id = '1339079074';
Date: 2024-01-02 05:17:15 Duration: 2s829ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
10 25 50s561ms 1s160ms 4s84ms 2s22ms select count(callhistor0_.id) as col_0_0_ from call_history callhistor0_ where callhistor0_.driver_id = ? and callhistor0_.order_id = ? and callhistor0_.deleted = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 02 05 1 3s77ms 3s77ms 07 5 9s168ms 1s833ms 08 3 8s148ms 2s716ms 10 2 2s967ms 1s483ms 11 1 1s333ms 1s333ms 15 4 8s535ms 2s133ms 16 1 1s637ms 1s637ms 17 4 7s405ms 1s851ms 18 1 2s335ms 2s335ms 19 1 2s231ms 2s231ms 20 2 3s721ms 1s860ms [ User: safearrival client=10.0.0.132 - Total duration: 35s596ms - Times executed: 18 ]
[ User: safearrival client=10.0.0.133 - Total duration: 14s964ms - Times executed: 7 ]
-
select count(callhistor0_.id) as col_0_0_ from call_history callhistor0_ where callhistor0_.driver_id = '1203438519' and callhistor0_.order_id = '1336678432' and callhistor0_.deleted = 'f';
Date: 2024-01-02 08:59:00 Duration: 4s84ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select count(callhistor0_.id) as col_0_0_ from call_history callhistor0_ where callhistor0_.driver_id = '1331154424' and callhistor0_.order_id = '1339559086' and callhistor0_.deleted = 'f';
Date: 2024-01-02 05:21:00 Duration: 3s77ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select count(callhistor0_.id) as col_0_0_ from call_history callhistor0_ where callhistor0_.driver_id = '1231226131' and callhistor0_.order_id = '1337149320' and callhistor0_.deleted = 'f';
Date: 2024-01-02 07:49:23 Duration: 2s820ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
11 20 4m24s 1s3ms 50s365ms 13s244ms update orders set last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 02 03 1 1s267ms 1s267ms 05 2 29s855ms 14s927ms 09 1 50s365ms 50s365ms 11 1 4s210ms 4s210ms 12 1 6s205ms 6s205ms 14 3 37s391ms 12s463ms 15 1 1s982ms 1s982ms 16 1 28s530ms 28s530ms 17 1 14s509ms 14s509ms 18 3 37s360ms 12s453ms 20 2 32s664ms 16s332ms 22 1 6s874ms 6s874ms 23 2 13s676ms 6s838ms [ User: safearrival client=10.0.0.133 - Total duration: 2m15s - Times executed: 9 ]
[ User: safearrival client=10.0.0.132 - Total duration: 2m9s - Times executed: 11 ]
-
update orders set last_modified_date = '2024-01-02 09:50:40.013', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704028443.122}, {"paid": false, "userId": 1020830836, "timestamp": 1704028444.229}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704131671.318, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH444", "oldPrefix": "ABH444", "timestamp": 1704028620.835}]' where id = '1340273760';
Date: 2024-01-02 09:51:30 Duration: 50s365ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 20:25:54.556', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704123341.985}, {"paid": false, "userId": 683802998, "timestamp": 1704123342.584}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704215603.863, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "RUH576", "oldPrefix": "RUH100", "timestamp": 1704179007.979}]' where id = '1341119942';
Date: 2024-01-02 20:26:24 Duration: 29s915ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 14:05:35.463', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703944084.58}, {"paid": false, "userId": 1020830836, "timestamp": 1703944085.014}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703963063.849, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "QSM313", "oldPrefix": "QSM100", "timestamp": 1704129334.646}]' where id = '1339573574';
Date: 2024-01-02 14:06:05 Duration: 29s688ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
12 20 2m56s 1s504ms 39s950ms 8s803ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 02 08 1 17s595ms 17s595ms 09 2 16s747ms 8s373ms 11 3 26s701ms 8s900ms 13 4 1m39s 24s884ms 19 6 9s331ms 1s555ms 20 4 6s156ms 1s539ms [ User: safearrival client=10.0.0.133 - Total duration: 2m21s - Times executed: 12 ]
[ User: safearrival client=10.0.0.132 - Total duration: 34s784ms - Times executed: 8 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:22:23.347', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:03 Duration: 39s950ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:22:23.419', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:03 Duration: 39s871ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 08:50:59.209', order_charge_paid_history_list = '[{"paid": true, "userId": 655476937, "timestamp": 1704137642.357}, {"paid": true, "userId": 655476937, "timestamp": 1704137642.535}]', physical_pickup_attempts = '[{"userId": 1266705040, "timestamp": 1704179047.098, "supplierId": 638464150, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1341278818';
Date: 2024-01-02 08:51:16 Duration: 17s595ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
13 20 2m2s 1s109ms 25s57ms 6s128ms update orders set last_modified_date = ?, order_charge_paid_history_list = ? where id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 02 05 1 2s113ms 2s113ms 06 1 1s600ms 1s600ms 07 1 3s799ms 3s799ms 10 1 6s120ms 6s120ms 13 3 24s23ms 8s7ms 15 3 22s933ms 7s644ms 16 1 1s930ms 1s930ms 17 4 7s785ms 1s946ms 18 4 51s148ms 12s787ms 21 1 1s109ms 1s109ms [ User: safearrival client=10.0.0.133 - Total duration: 1m29s - Times executed: 11 ]
[ User: safearrival client=10.0.0.132 - Total duration: 32s971ms - Times executed: 9 ]
-
update orders set last_modified_date = '2024-01-02 18:16:16.237', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704219370.9}, {"paid": false, "userId": 1020830836, "timestamp": 1704219371.101}]' where id = '1342005426';
Date: 2024-01-02 18:16:41 Duration: 25s57ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 18:16:21.269', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704219370.9}, {"paid": false, "userId": 1020830836, "timestamp": 1704219371.101}]' where id = '1342005426';
Date: 2024-01-02 18:16:41 Duration: 20s29ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 15:15:06.766', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704208503.244}, {"paid": false, "userId": 683802998, "timestamp": 1704208503.469}]' where id = '1341869561';
Date: 2024-01-02 15:15:20 Duration: 14s115ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
14 19 45s512ms 2s19ms 4s601ms 2s395ms explain (format json) select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orderlocat10_.id as id1_108_10_, ordermarke11_.id as id1_111_11_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__, orderlocat10_.marketplace_id as marketpl2_108_10_, orderlocat10_.created_by as created_3_108_10_, orderlocat10_.created_date as created_4_108_10_, orderlocat10_.last_modified_by as last_mod5_108_10_, orderlocat10_.last_modified_date as last_mod6_108_10_, orderlocat10_.accuracy_status as accuracy7_108_10_, orderlocat10_.address as address8_108_10_, orderlocat10_.address_city as address_9_108_10_, orderlocat10_.address_street as address10_108_10_, orderlocat10_.address_type as address11_108_10_, orderlocat10_.alias_id as alias_i12_108_10_, orderlocat10_.apartment as apartme13_108_10_, orderlocat10_.area_id as area_id14_108_10_, orderlocat10_.at_least_once_bad_address as at_leas15_108_10_, orderlocat10_.is_bad_address as is_bad_16_108_10_, orderlocat10_.building as buildin17_108_10_, orderlocat10_.company_name as company18_108_10_, orderlocat10_.confirmed_by_recipient as confirm19_108_10_, orderlocat10_.details as details20_108_10_, orderlocat10_.email as email21_108_10_, orderlocat10_.floor as floor22_108_10_, orderlocat10_.geo_address as geo_add23_108_10_, orderlocat10_.google_id as google_24_108_10_, orderlocat10_.landmark as landmar25_108_10_, orderlocat10_.lat as lat26_108_10_, orderlocat10_.lng as lng27_108_10_, orderlocat10_.location_source_type as locatio28_108_10_, orderlocat10_.neighborhood_id as neighbo29_108_10_, orderlocat10_.neighborhood_name as neighbo30_108_10_, orderlocat10_.order_id as order_i31_108_10_, orderlocat10_.original_address as origina32_108_10_, orderlocat10_.phone as phone33_108_10_, orderlocat10_.phone_code as phone_c34_108_10_, orderlocat10_.phone_formatted as phone_f35_108_10_, orderlocat10_.phone_without_code as phone_w36_108_10_, orderlocat10_.is_pickup as is_pick37_108_10_, orderlocat10_.plain_city as plain_c38_108_10_, orderlocat10_.postcode as postcod39_108_10_, orderlocat10_.preferred_time as preferr40_108_10_, orderlocat10_.province as provinc41_108_10_, orderlocat10_.rough_neighborhood_id as rough_n42_108_10_, orderlocat10_.second_phone as second_43_108_10_, orderlocat10_.sender_name as sender_44_108_10_, orderlocat10_.system_address as system_45_108_10_, orderlocat10_.third_phone as third_p46_108_10_, orderlocat10_.version as version47_108_10_, orderlocat10_.warehouse_id as warehou48_108_10_, orderlocat10_.order_id as order_i31_108_3__, orderlocat10_.id as id1_108_3__, ordermarke11_.marketplace_id as marketpl2_111_11_, ordermarke11_.order_id as order_id3_111_11_, ordermarke11_.sequence as sequence4_111_11_, ordermarke11_.order_id as order_id3_111_4__, ordermarke11_.id as id1_111_4__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id left outer join order_locations orderlocat10_ on orders0_.id=orderlocat10_.order_id left outer join order_marketplace ordermarke11_ on orders0_.id=ordermarke11_.order_id where orders0_.id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 02 04 2 4s132ms 2s66ms 05 1 2s282ms 2s282ms 06 4 9s225ms 2s306ms 11 1 2s334ms 2s334ms 12 2 4s403ms 2s201ms 13 3 6s359ms 2s119ms 16 1 2s69ms 2s69ms 17 1 3s763ms 3s763ms 22 2 6s674ms 3s337ms 23 2 4s266ms 2s133ms [ User: safearrival client=10.0.0.133 - Total duration: 25s550ms - Times executed: 11 ]
[ User: safearrival client=10.0.0.132 - Total duration: 19s961ms - Times executed: 8 ]
-
EXPLAIN (FORMAT JSON) select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orderlocat10_.id as id1_108_10_, ordermarke11_.id as id1_111_11_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__, orderlocat10_.marketplace_id as marketpl2_108_10_, orderlocat10_.created_by as created_3_108_10_, orderlocat10_.created_date as created_4_108_10_, orderlocat10_.last_modified_by as last_mod5_108_10_, orderlocat10_.last_modified_date as last_mod6_108_10_, orderlocat10_.accuracy_status as accuracy7_108_10_, orderlocat10_.address as address8_108_10_, orderlocat10_.address_city as address_9_108_10_, orderlocat10_.address_street as address10_108_10_, orderlocat10_.address_type as address11_108_10_, orderlocat10_.alias_id as alias_i12_108_10_, orderlocat10_.apartment as apartme13_108_10_, orderlocat10_.area_id as area_id14_108_10_, orderlocat10_.at_least_once_bad_address as at_leas15_108_10_, orderlocat10_.is_bad_address as is_bad_16_108_10_, orderlocat10_.building as buildin17_108_10_, orderlocat10_.company_name as company18_108_10_, orderlocat10_.confirmed_by_recipient as confirm19_108_10_, orderlocat10_.details as details20_108_10_, orderlocat10_.email as email21_108_10_, orderlocat10_.floor as floor22_108_10_, orderlocat10_.geo_address as geo_add23_108_10_, orderlocat10_.google_id as google_24_108_10_, orderlocat10_.landmark as landmar25_108_10_, orderlocat10_.lat as lat26_108_10_, orderlocat10_.lng as lng27_108_10_, orderlocat10_.location_source_type as locatio28_108_10_, orderlocat10_.neighborhood_id as neighbo29_108_10_, orderlocat10_.neighborhood_name as neighbo30_108_10_, orderlocat10_.order_id as order_i31_108_10_, orderlocat10_.original_address as origina32_108_10_, orderlocat10_.phone as phone33_108_10_, orderlocat10_.phone_code as phone_c34_108_10_, orderlocat10_.phone_formatted as phone_f35_108_10_, orderlocat10_.phone_without_code as phone_w36_108_10_, orderlocat10_.is_pickup as is_pick37_108_10_, orderlocat10_.plain_city as plain_c38_108_10_, orderlocat10_.postcode as postcod39_108_10_, orderlocat10_.preferred_time as preferr40_108_10_, orderlocat10_.province as provinc41_108_10_, orderlocat10_.rough_neighborhood_id as rough_n42_108_10_, orderlocat10_.second_phone as second_43_108_10_, orderlocat10_.sender_name as sender_44_108_10_, orderlocat10_.system_address as system_45_108_10_, orderlocat10_.third_phone as third_p46_108_10_, orderlocat10_.version as version47_108_10_, orderlocat10_.warehouse_id as warehou48_108_10_, orderlocat10_.order_id as order_i31_108_3__, orderlocat10_.id as id1_108_3__, ordermarke11_.marketplace_id as marketpl2_111_11_, ordermarke11_.order_id as order_id3_111_11_, ordermarke11_.sequence as sequence4_111_11_, ordermarke11_.order_id as order_id3_111_4__, ordermarke11_.id as id1_111_4__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id left outer join order_locations orderlocat10_ on orders0_.id=orderlocat10_.order_id left outer join order_marketplace ordermarke11_ on orders0_.id=ordermarke11_.order_id where orders0_.id in ('1340445837' , '1340478986' , '1340699338' , '1340709892' , '1340810319' , '1341120977' , '1341151518' , '1341255839' , '1341308242' , '1341502269' , '1341502629' , '1341503214' , '1341504752' , '1341504964' , '1341534815' , '1341688791');
Date: 2024-01-02 22:15:56 Duration: 4s601ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
EXPLAIN (FORMAT JSON) select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orderlocat10_.id as id1_108_10_, ordermarke11_.id as id1_111_11_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__, orderlocat10_.marketplace_id as marketpl2_108_10_, orderlocat10_.created_by as created_3_108_10_, orderlocat10_.created_date as created_4_108_10_, orderlocat10_.last_modified_by as last_mod5_108_10_, orderlocat10_.last_modified_date as last_mod6_108_10_, orderlocat10_.accuracy_status as accuracy7_108_10_, orderlocat10_.address as address8_108_10_, orderlocat10_.address_city as address_9_108_10_, orderlocat10_.address_street as address10_108_10_, orderlocat10_.address_type as address11_108_10_, orderlocat10_.alias_id as alias_i12_108_10_, orderlocat10_.apartment as apartme13_108_10_, orderlocat10_.area_id as area_id14_108_10_, orderlocat10_.at_least_once_bad_address as at_leas15_108_10_, orderlocat10_.is_bad_address as is_bad_16_108_10_, orderlocat10_.building as buildin17_108_10_, orderlocat10_.company_name as company18_108_10_, orderlocat10_.confirmed_by_recipient as confirm19_108_10_, orderlocat10_.details as details20_108_10_, orderlocat10_.email as email21_108_10_, orderlocat10_.floor as floor22_108_10_, orderlocat10_.geo_address as geo_add23_108_10_, orderlocat10_.google_id as google_24_108_10_, orderlocat10_.landmark as landmar25_108_10_, orderlocat10_.lat as lat26_108_10_, orderlocat10_.lng as lng27_108_10_, orderlocat10_.location_source_type as locatio28_108_10_, orderlocat10_.neighborhood_id as neighbo29_108_10_, orderlocat10_.neighborhood_name as neighbo30_108_10_, orderlocat10_.order_id as order_i31_108_10_, orderlocat10_.original_address as origina32_108_10_, orderlocat10_.phone as phone33_108_10_, orderlocat10_.phone_code as phone_c34_108_10_, orderlocat10_.phone_formatted as phone_f35_108_10_, orderlocat10_.phone_without_code as phone_w36_108_10_, orderlocat10_.is_pickup as is_pick37_108_10_, orderlocat10_.plain_city as plain_c38_108_10_, orderlocat10_.postcode as postcod39_108_10_, orderlocat10_.preferred_time as preferr40_108_10_, orderlocat10_.province as provinc41_108_10_, orderlocat10_.rough_neighborhood_id as rough_n42_108_10_, orderlocat10_.second_phone as second_43_108_10_, orderlocat10_.sender_name as sender_44_108_10_, orderlocat10_.system_address as system_45_108_10_, orderlocat10_.third_phone as third_p46_108_10_, orderlocat10_.version as version47_108_10_, orderlocat10_.warehouse_id as warehou48_108_10_, orderlocat10_.order_id as order_i31_108_3__, orderlocat10_.id as id1_108_3__, ordermarke11_.marketplace_id as marketpl2_111_11_, ordermarke11_.order_id as order_id3_111_11_, ordermarke11_.sequence as sequence4_111_11_, ordermarke11_.order_id as order_id3_111_4__, ordermarke11_.id as id1_111_4__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id left outer join order_locations orderlocat10_ on orders0_.id=orderlocat10_.order_id left outer join order_marketplace ordermarke11_ on orders0_.id=ordermarke11_.order_id where orders0_.id in ('1341136414' , '1341124554' , '1341572226' , '1341504799' , '1341092644' , '1341301819' , '1341132672' , '1341322031' , '1341446262' , '1341407927' , '1341288640' , '1341319234' , '1341503805');
Date: 2024-01-02 17:25:23 Duration: 3s763ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
EXPLAIN (FORMAT JSON) select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orderlocat10_.id as id1_108_10_, ordermarke11_.id as id1_111_11_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__, orderlocat10_.marketplace_id as marketpl2_108_10_, orderlocat10_.created_by as created_3_108_10_, orderlocat10_.created_date as created_4_108_10_, orderlocat10_.last_modified_by as last_mod5_108_10_, orderlocat10_.last_modified_date as last_mod6_108_10_, orderlocat10_.accuracy_status as accuracy7_108_10_, orderlocat10_.address as address8_108_10_, orderlocat10_.address_city as address_9_108_10_, orderlocat10_.address_street as address10_108_10_, orderlocat10_.address_type as address11_108_10_, orderlocat10_.alias_id as alias_i12_108_10_, orderlocat10_.apartment as apartme13_108_10_, orderlocat10_.area_id as area_id14_108_10_, orderlocat10_.at_least_once_bad_address as at_leas15_108_10_, orderlocat10_.is_bad_address as is_bad_16_108_10_, orderlocat10_.building as buildin17_108_10_, orderlocat10_.company_name as company18_108_10_, orderlocat10_.confirmed_by_recipient as confirm19_108_10_, orderlocat10_.details as details20_108_10_, orderlocat10_.email as email21_108_10_, orderlocat10_.floor as floor22_108_10_, orderlocat10_.geo_address as geo_add23_108_10_, orderlocat10_.google_id as google_24_108_10_, orderlocat10_.landmark as landmar25_108_10_, orderlocat10_.lat as lat26_108_10_, orderlocat10_.lng as lng27_108_10_, orderlocat10_.location_source_type as locatio28_108_10_, orderlocat10_.neighborhood_id as neighbo29_108_10_, orderlocat10_.neighborhood_name as neighbo30_108_10_, orderlocat10_.order_id as order_i31_108_10_, orderlocat10_.original_address as origina32_108_10_, orderlocat10_.phone as phone33_108_10_, orderlocat10_.phone_code as phone_c34_108_10_, orderlocat10_.phone_formatted as phone_f35_108_10_, orderlocat10_.phone_without_code as phone_w36_108_10_, orderlocat10_.is_pickup as is_pick37_108_10_, orderlocat10_.plain_city as plain_c38_108_10_, orderlocat10_.postcode as postcod39_108_10_, orderlocat10_.preferred_time as preferr40_108_10_, orderlocat10_.province as provinc41_108_10_, orderlocat10_.rough_neighborhood_id as rough_n42_108_10_, orderlocat10_.second_phone as second_43_108_10_, orderlocat10_.sender_name as sender_44_108_10_, orderlocat10_.system_address as system_45_108_10_, orderlocat10_.third_phone as third_p46_108_10_, orderlocat10_.version as version47_108_10_, orderlocat10_.warehouse_id as warehou48_108_10_, orderlocat10_.order_id as order_i31_108_3__, orderlocat10_.id as id1_108_3__, ordermarke11_.marketplace_id as marketpl2_111_11_, ordermarke11_.order_id as order_id3_111_11_, ordermarke11_.sequence as sequence4_111_11_, ordermarke11_.order_id as order_id3_111_4__, ordermarke11_.id as id1_111_4__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id left outer join order_locations orderlocat10_ on orders0_.id=orderlocat10_.order_id left outer join order_marketplace ordermarke11_ on orders0_.id=ordermarke11_.order_id where orders0_.id in ('1341505781' , '1341423558' , '1341413666' , '1341412158' , '1341410464' , '1341388519' , '1341376898' , '1341307927' , '1341298987' , '1341294879' , '1341279250' , '1341273357' , '1341246501' , '1341243313' , '1341201209' , '1341176813' , '1341169935' , '1341169362' , '1341168831' , '1341165379' , '1341161165' , '1341156698' , '1341136917' , '1341116863' , '1341106940' , '1341073279' , '1341026126' , '1341022851' , '1341006421' , '1340955946' , '1340952174' , '1340923963' , '1340897240' , '1340872103' , '1340860090' , '1340848490' , '1340829158');
Date: 2024-01-02 06:46:22 Duration: 2s475ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
15 18 1m37s 1s 49s567ms 5s441ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 02 05 3 8s865ms 2s955ms 06 1 49s567ms 49s567ms 07 1 13s34ms 13s34ms 10 1 1s182ms 1s182ms 16 1 1s565ms 1s565ms 18 3 3s792ms 1s264ms 19 2 2s309ms 1s154ms 20 3 4s891ms 1s630ms 21 3 12s734ms 4s244ms [ User: safearrival client=10.0.0.132 - Total duration: 1m7s - Times executed: 11 ]
[ User: safearrival client=10.0.0.133 - Total duration: 30s746ms - Times executed: 7 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 06:12:12.587', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1702105739.762}, {"paid": false, "userId": 1020830836, "timestamp": 1702105739.901}]', physical_delivery_attempts = '[{"userId": 1195029901, "timestamp": 1702900824.791, "supplierId": 638465814, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1269660764, "timestamp": 1703684343.819, "supplierId": 638465814, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1249030358, "timestamp": 1704108833.684, "supplierId": 638465814, "orderStatus": "delivery_rejected", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1702491418.734, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "JIZ329", "oldPrefix": "JIZ329", "timestamp": 1702106164.081}]' where id = '1325028059';
Date: 2024-01-02 06:13:02 Duration: 49s567ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'a.awadh@safe-arrival.com', last_modified_date = '2024-01-02 07:55:37.524', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1704019975.77}, {"paid": true, "userId": 707383933, "timestamp": 1704019975.947}]', physical_delivery_attempts = '[{"userId": 930815529, "timestamp": 1704135846.75, "supplierId": 638462369, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704028416.979, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "QSM314", "oldPrefix": "QSM100", "timestamp": 1704028385.985}]' where id = '1340179957';
Date: 2024-01-02 07:55:50 Duration: 13s34ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 21:49:37.902', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1701425826.19}, {"paid": false, "userId": 1020830836, "timestamp": 1701425826.369}]', physical_delivery_attempts = '[{"userId": 976985783, "timestamp": 1701620799.921, "supplierId": 638462369, "orderStatus": "out_of_delivery_area", "escalationStatus": null}, {"userId": 1286352981, "timestamp": 1702199794.981, "supplierId": 638463930, "orderStatus": "recipient_address_change_requested", "escalationStatus": null}, {"userId": 985601275, "timestamp": 1702921782.687, "supplierId": 638459779, "orderStatus": "office_closed", "escalationStatus": null}, {"userId": 991597450, "timestamp": 1703527478.84, "supplierId": 638459779, "orderStatus": "planned_delivery_for_tomorrow", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1701449800.334, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "HFR304", "oldPrefix": "QSM310", "timestamp": 1701629262.529}, {"userId": 631889486, "newPrefix": "DMM433", "oldPrefix": "HFR304", "timestamp": 1702200573.197}]' where id = '1319313203';
Date: 2024-01-02 21:49:45 Duration: 7s219ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
16 18 21s911ms 1s15ms 1s786ms 1s217ms select exists ( select id from emirate_areas where center_latitude = ? and center_longitude = ? and (marketplace_id = ? or custom = false) and id not in (...) and category = ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 02 05 1 1s786ms 1s786ms 07 3 3s508ms 1s169ms 08 3 3s958ms 1s319ms 09 1 1s68ms 1s68ms 12 2 2s69ms 1s34ms 13 2 2s380ms 1s190ms 14 1 1s196ms 1s196ms 15 2 2s359ms 1s179ms 16 1 1s69ms 1s69ms 19 1 1s415ms 1s415ms 20 1 1s97ms 1s97ms [ User: safearrival client=10.0.0.133 - Total duration: 13s701ms - Times executed: 11 ]
[ User: safearrival client=10.0.0.132 - Total duration: 8s209ms - Times executed: 7 ]
-
select exists ( select id from emirate_areas where center_latitude = '24.6602339000000015' and center_longitude = '46.8367817999999971' and (marketplace_id = '631889485' or custom = false) and id not in ('-1') and category = 'CITY');
Date: 2024-01-02 05:42:06 Duration: 1s786ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select exists ( select id from emirate_areas where center_latitude = '19.4608116149899999' and center_longitude = '43.8512725830079972' and (marketplace_id = '631889485' or custom = false) and id not in ('-1') and category = 'CITY');
Date: 2024-01-02 08:42:16 Duration: 1s612ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select exists ( select id from emirate_areas where center_latitude = '24.7877130000000001' and center_longitude = '46.7275485999999987' and (marketplace_id = '631889485' or custom = false) and id not in ('-1') and category = 'CITY');
Date: 2024-01-02 19:38:57 Duration: 1s415ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
17 15 3m23s 2s368ms 37s950ms 13s565ms select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in (...)) and (orders0_.status in (...)) and orders0_.type = ? and (orders0_.shipment_id is not null) and (orders0_.created_date between ? and ?) order by orders0_.id limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 02 23 15 3m23s 13s565ms [ User: safearrival client=10.0.0.133 - Total duration: 1m43s - Times executed: 8 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m40s - Times executed: 7 ]
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('1618134')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.012' and '2023-12-03 23:00:00.012') order by orders0_.id limit '101';
Date: 2024-01-02 23:00:38 Duration: 37s950ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('1618134')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.002' and '2023-12-03 23:00:00.002') order by orders0_.id limit '101';
Date: 2024-01-02 23:00:38 Duration: 37s949ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('8626088', '66910759')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.012' and '2023-12-03 23:00:00.012') order by orders0_.id limit '101';
Date: 2024-01-02 23:01:01 Duration: 23s153ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
18 13 1m23s 1s86ms 34s226ms 6s410ms update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 02 06 1 2s217ms 2s217ms 09 2 1m6s 33s276ms 10 1 3s560ms 3s560ms 16 1 1s103ms 1s103ms 18 1 1s517ms 1s517ms 19 1 1s521ms 1s521ms 21 6 6s862ms 1s143ms [ User: safearrival client=10.0.0.133 - Total duration: 1m13s - Times executed: 8 ]
[ User: safearrival client=10.0.0.132 - Total duration: 9s539ms - Times executed: 5 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 09:11:02.298', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1703746314.934}, {"paid": true, "userId": 707383933, "timestamp": 1703746315.128}]', physical_delivery_attempts = '[{"userId": 1017388750, "timestamp": 1703945462.419, "supplierId": 638464150, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703766372.006, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1338447960';
Date: 2024-01-02 09:11:36 Duration: 34s226ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 09:11:04.202', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1703746314.934}, {"paid": true, "userId": 707383933, "timestamp": 1703746315.128}]', physical_delivery_attempts = '[{"userId": 1017388750, "timestamp": 1703945462.419, "supplierId": 638464150, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703766372.006, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1338447960';
Date: 2024-01-02 09:11:36 Duration: 32s326ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 10:36:26.228', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703091797.464}, {"paid": false, "userId": 1020830836, "timestamp": 1703091797.731}, {"paid": true, "userId": 1009856078, "timestamp": 1703686427.458}]', physical_delivery_attempts = '[{"userId": 1067062934, "timestamp": 1703509733.051, "supplierId": 638462680, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1009856078, "timestamp": 1703686435.899, "supplierId": 638462680, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703175766.746, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1333801136';
Date: 2024-01-02 10:36:29 Duration: 3s560ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
19 12 18s927ms 1s52ms 2s292ms 1s577ms select emirateare0_.id as id1_73_, emirateare0_.marketplace_id as marketpl2_73_, emirateare0_.active as active3_73_, emirateare0_.category as category4_73_, emirateare0_.center_latitude as center_l5_73_, emirateare0_.center_longitude as center_l6_73_, emirateare0_.code as code7_73_, emirateare0_.country_id as country_8_73_, emirateare0_.custom as custom9_73_, emirateare0_.import_code as import_10_73_, emirateare0_.level as level11_73_, emirateare0_.name as name12_73_, emirateare0_.parent_id as parent_13_73_, emirateare0_.parent_name as parent_14_73_, emirateare0_.support2gis as support15_73_, emirateare0_.type as type16_73_, emirateare0_.zindex as zindex17_73_ from emirate_areas emirateare0_ where emirateare0_.code = ? and emirateare0_.country_id = ? and emirateare0_.active = true;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 02 05 1 1s844ms 1s844ms 07 3 3s352ms 1s117ms 08 1 1s464ms 1s464ms 09 1 1s453ms 1s453ms 10 5 9s188ms 1s837ms 12 1 1s623ms 1s623ms [ User: safearrival client=10.0.0.133 - Total duration: 16s230ms - Times executed: 10 ]
[ User: safearrival client=10.0.0.132 - Total duration: 2s697ms - Times executed: 2 ]
-
select emirateare0_.id as id1_73_, emirateare0_.marketplace_id as marketpl2_73_, emirateare0_.active as active3_73_, emirateare0_.category as category4_73_, emirateare0_.center_latitude as center_l5_73_, emirateare0_.center_longitude as center_l6_73_, emirateare0_.code as code7_73_, emirateare0_.country_id as country_8_73_, emirateare0_.custom as custom9_73_, emirateare0_.import_code as import_10_73_, emirateare0_.level as level11_73_, emirateare0_.name as name12_73_, emirateare0_.parent_id as parent_13_73_, emirateare0_.parent_name as parent_14_73_, emirateare0_.support2gis as support15_73_, emirateare0_.type as type16_73_, emirateare0_.zindex as zindex17_73_ from emirate_areas emirateare0_ where emirateare0_.code = 'jeddah' and emirateare0_.country_id = '191' and emirateare0_.active = true;
Date: 2024-01-02 10:16:53 Duration: 2s292ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select emirateare0_.id as id1_73_, emirateare0_.marketplace_id as marketpl2_73_, emirateare0_.active as active3_73_, emirateare0_.category as category4_73_, emirateare0_.center_latitude as center_l5_73_, emirateare0_.center_longitude as center_l6_73_, emirateare0_.code as code7_73_, emirateare0_.country_id as country_8_73_, emirateare0_.custom as custom9_73_, emirateare0_.import_code as import_10_73_, emirateare0_.level as level11_73_, emirateare0_.name as name12_73_, emirateare0_.parent_id as parent_13_73_, emirateare0_.parent_name as parent_14_73_, emirateare0_.support2gis as support15_73_, emirateare0_.type as type16_73_, emirateare0_.zindex as zindex17_73_ from emirate_areas emirateare0_ where emirateare0_.code = 'jeddah' and emirateare0_.country_id = '191' and emirateare0_.active = true;
Date: 2024-01-02 10:16:53 Duration: 2s260ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select emirateare0_.id as id1_73_, emirateare0_.marketplace_id as marketpl2_73_, emirateare0_.active as active3_73_, emirateare0_.category as category4_73_, emirateare0_.center_latitude as center_l5_73_, emirateare0_.center_longitude as center_l6_73_, emirateare0_.code as code7_73_, emirateare0_.country_id as country_8_73_, emirateare0_.custom as custom9_73_, emirateare0_.import_code as import_10_73_, emirateare0_.level as level11_73_, emirateare0_.name as name12_73_, emirateare0_.parent_id as parent_13_73_, emirateare0_.parent_name as parent_14_73_, emirateare0_.support2gis as support15_73_, emirateare0_.type as type16_73_, emirateare0_.zindex as zindex17_73_ from emirate_areas emirateare0_ where emirateare0_.code = 'jeddah' and emirateare0_.country_id = '191' and emirateare0_.active = true;
Date: 2024-01-02 10:16:53 Duration: 2s241ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
20 8 4m47s 5s85ms 1m27s 35s930ms select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...)) order by batchorder0_.created_date desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 02 06 3 2m54s 58s228ms 15 4 1m36s 24s140ms 19 1 16s196ms 16s196ms [ User: safearrival client=10.0.0.132 - Total duration: 4m32s - Times executed: 6 ]
[ User: safearrival client=10.0.0.133 - Total duration: 14s959ms - Times executed: 2 ]
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 06:08:29 Duration: 1m27s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 06:05:31 Duration: 1m22s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (802318478)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 15:33:12 Duration: 33s590ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 56s860ms 1m40s 1m14s 4 4m59s select orders0_.id as id1_122_, orders0_.marketplace_id as marketpl2_122_, orders0_.created_by as created_3_122_, orders0_.created_date as created_4_122_, orders0_.last_modified_by as last_mod5_122_, orders0_.last_modified_date as last_mod6_122_, orders0_.actual_delivery_option as actual_d7_122_, orders0_.actualdelivery_time as actualde8_122_, orders0_.actual_pickup_time as actual_p9_122_, orders0_.allocated_from_warehouse as allocat10_122_, orders0_.amount as amount11_122_, orders0_.api_supplier_id as api_sup12_122_, orders0_.approximate_distance as approxi13_122_, orders0_.audit_version as audit_v14_122_, orders0_.authenticated_by_otp as authent15_122_, orders0_.back_id as back_id16_122_, orders0_.booking_date_time as booking17_122_, orders0_.cancellation_requires_type as cancell18_122_, orders0_.cashier_id as cashier19_122_, orders0_.chargeable_weight as chargea20_122_, orders0_.cod_settlement_date as cod_set21_122_, orders0_.cod_settlement_reference as cod_set22_122_, orders0_.cod_status as cod_sta23_122_, orders0_.cod_status_updated_by as cod_sta24_122_, orders0_.cod_transfer_type as cod_tra25_122_, orders0_.code as code26_122_, orders0_.completed as complet27_122_, orders0_.create_transaction as create_28_122_, orders0_.currency_id as currenc29_122_, orders0_.customer_id as custome31_122_, orders0_.customer_care_id as custome30_122_, orders0_.deadline_time as deadlin32_122_, orders0_.dec_date as dec_dat33_122_, orders0_.deleted as deleted34_122_, orders0_.delivered_lat as deliver35_122_, orders0_.delivered_lng as deliver36_122_, orders0_.delivered_to as deliver37_122_, orders0_.delivered_to_phone as deliver38_122_, orders0_.delivered_to_photo_id as deliver39_122_, orders0_.delivery_address_changed_date as deliver40_122_, orders0_.delivery_attemp_count as deliver41_122_, orders0_.delivery_planned_datetime as deliver42_122_, orders0_.delivery_planned_timestamp_array as deliver43_122_, orders0_.delivery_signature_id as deliver44_122_, orders0_.device_details as device_45_122_, orders0_.dimension_unit as dimensi46_122_, orders0_.dispatch_attempt_count as dispatc47_122_, orders0_.driver_id as driver_48_122_, orders0_.driver_bonus_id as driver193_122_, orders0_.drop_timeslot_availability_id as drop_ti49_122_, orders0_.dropoff_pos_receipt_number as dropoff50_122_, orders0_.dsc_date as dsc_dat51_122_, orders0_.encrypted_id as encrypt52_122_, orders0_.escalation_status as escalat53_122_, orders0_.escalation_status_updated_by as escalat54_122_, orders0_.escalation_status_updated_date as escalat55_122_, orders0_.estimated_delivery_date_time as estimat56_122_, orders0_.estimated_pick_up_time as estimat57_122_, orders0_.eta_id as eta_id58_122_, orders0_.external_user_name as externa59_122_, orders0_.failed_image_attachments as failed_60_122_, orders0_.fetch_item_id as fetch_i61_122_, orders0_.finance_pick_up_driver_id as finance62_122_, orders0_.finance_pick_up_supplier_id as finance63_122_, orders0_.first_delivery_time as first_d64_122_, orders0_.first_driver_id as first_d65_122_, orders0_.first_ofd_date as first_o66_122_, orders0_.first_pick_up_time as first_p67_122_, orders0_.fragile as fragile68_122_, orders0_.from_area_id as from_ar69_122_, orders0_.from_city as from_ci70_122_, orders0_.from_warehouse_id as from_wa71_122_, orders0_.future_pickup_requested_date as future_72_122_, orders0_.head_id as head_id73_122_, orders0_.heavy_type as heavy_t74_122_, orders0_.height as height75_122_, orders0_.id_card_required as id_card76_122_, orders0_.internal_promise_date as interna77_122_, orders0_.is_no_service_area as is_no_s78_122_, orders0_.is_old as is_old79_122_, orders0_.is_public as is_publ80_122_, orders0_.is_uae as is_uae81_122_, orders0_.item_payment_id as item_pa82_122_, orders0_.last_cod_status_date as last_co83_122_, orders0_.last_delivery_attempt_date as last_de84_122_, orders0_.last_mile_driver_id as last_mi85_122_, orders0_.last_ofd_date as last_of86_122_, orders0_.last_routing_status_date as last_ro87_122_, orders0_.last_status_date as last_st88_122_, orders0_.last_status_updated_user_id as last_st89_122_, orders0_.length as length90_122_, orders0_.logistic_type as logisti91_122_, orders0_.merchant_promise_date as merchan92_122_, orders0_.nc_date as nc_date93_122_, orders0_.new_prefix as new_pre94_122_, orders0_.note as note95_122_, orders0_.old_prefix as old_pre96_122_, orders0_.old_recipient_address as old_rec97_122_, orders0_.old_recipient_city_id as old_rec98_122_, orders0_.old_recipient_city_name as old_rec99_122_, orders0_.old_recipient_lat as old_re100_122_, orders0_.old_recipient_lng as old_re101_122_, orders0_.old_recipient_neighborhood_id as old_re102_122_, orders0_.old_recipient_neighborhood_name as old_re103_122_, orders0_.old_sender_address as old_se104_122_, orders0_.old_sender_city_id as old_se105_122_, orders0_.old_sender_city_name as old_se106_122_, orders0_.old_sender_lat as old_se107_122_, orders0_.old_sender_lng as old_se108_122_, orders0_.old_sender_neighborhood_id as old_se109_122_, orders0_.old_sender_neighborhood_name as old_se110_122_, orders0_.order_charge_paid_history_list as order_111_122_, orders0_.order_count as order_112_122_, orders0_.order_payment_id as order_113_122_, orders0_.order_piece_count as order_114_122_, orders0_.order_transfer_id as order_115_122_, orders0_.package_changed as packag116_122_, orders0_.package_id as packag117_122_, orders0_.package_type_id as packag118_122_, orders0_.parent_id as parent119_122_, orders0_.parent_supplier_id as parent120_122_, orders0_.payer as payer121_122_, orders0_.payment_status as paymen122_122_, orders0_.payment_type as paymen123_122_, orders0_.physical_delivery_attempt_count as physic124_122_, orders0_.physical_delivery_attempts as physic125_122_, orders0_.physical_dispatch_timestamp_array as physic126_122_, orders0_.physical_pickup_attempts as physic127_122_, orders0_.pickup_attemp_count as pickup128_122_, orders0_.pick_up_driver_id as pick_u129_122_, orders0_.pickup_id as pickup130_122_, orders0_.pickup_pos_receipt_number as pickup131_122_, orders0_.pickup_planned_date_time as pickup132_122_, orders0_.pickup_promise_date_time as pickup133_122_, orders0_.pickup_time as pickup134_122_, orders0_.pickup_time_now as pickup135_122_, orders0_.pickup_timeslot_availability_id as pickup136_122_, orders0_.pos_terminal_number as pos_te137_122_, orders0_.prefix_changed as prefix138_122_, orders0_.prefix_history as prefix139_122_, orders0_.previous_driver_id as previo140_122_, orders0_.price_id as price_141_122_, orders0_.promo_id as promo_142_122_, orders0_.provided_weight as provid143_122_, orders0_.psf_status as psf_st144_122_, orders0_.public_id as public145_122_, orders0_.receipt_id as receip146_122_, orders0_.receipt_number as receip147_122_, orders0_.recipient_id as recipi149_122_, orders0_.recipient_city_changed as recipi148_122_, orders0_.if_recipient_not_available as if_rec150_122_, orders0_.reference_id as refere151_122_, orders0_.request_details as reques152_122_, orders0_.rescheduled_delivery_datetime as resche153_122_, orders0_.reverse_code as revers154_122_, orders0_.routeid as routei155_122_, orders0_.routing_status as routin156_122_, orders0_.rule_id as rule_i157_122_, orders0_.scanned_piece_count as scanne158_122_, orders0_.seller_id as seller159_122_, orders0_.seller_name as seller160_122_, orders0_.sender_from as sender161_122_, orders0_.sender_phone as sender162_122_, orders0_.sender_photo_id as sender163_122_, orders0_.sender_prefix as sender164_122_, orders0_.sender_signature_id as sender165_122_, orders0_.sender_zone as sender166_122_, orders0_.sequence_number as sequen167_122_, orders0_.service_type_id as servic168_122_, orders0_.shipment_id as shipme169_122_, orders0_.shop_order as shop_o170_122_, orders0_.size as size171_122_, orders0_.sms_verification_event_id as sms_ve172_122_, orders0_.sms_verification_number as sms_ve173_122_, orders0_.sms_verified as sms_ve174_122_, orders0_.status as status175_122_, orders0_.storfox_sale_order_id as storfo176_122_, orders0_.supplier_id as suppli177_122_, orders0_.timeslot_availability_history_id as timesl194_122_, orders0_.to_area_id as to_are178_122_, orders0_.to_city as to_cit179_122_, orders0_.to_warehouse_id as to_war180_122_, orders0_.type as type181_122_, orders0_.unique_id as unique182_122_, orders0_.value as value183_122_, orders0_.volumetric_weight as volume184_122_, orders0_.wallet_settlement_date as wallet185_122_, orders0_.wallet_settlement_reference as wallet186_122_, orders0_.warehouse_id as wareho187_122_, orders0_.weight as weight188_122_, orders0_.width as width189_122_, orders0_.with_driver as with_d190_122_, orders0_.with_driver_time as with_d191_122_, orders0_.wrong_allocated_warehouse as wrong_192_122_ from orders orders0_ left outer join drivers drivers1_ on orders0_.driver_id = drivers1_.id left outer join drivers drivers2_ on orders0_.last_mile_driver_id = drivers2_.id left outer join suppliers suppliers3_ on orders0_.supplier_id = suppliers3_.id where orders0_.deleted <> true and orders0_.type = ? and ((drivers1_.id in (...)) and (orders0_.status in (...)) or (drivers2_.id in (...)) and (orders0_.status in (...))) and suppliers3_.id = ? order by orders0_.deadline_time asc;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 02 06 2 2m21s 1m10s 07 1 56s860ms 56s860ms 08 1 1m40s 1m40s [ User: safearrival client=10.0.0.133 - Total duration: 4m2s - Times executed: 3 ]
[ User: safearrival client=10.0.0.132 - Total duration: 56s860ms - Times executed: 1 ]
-
select orders0_.id as id1_122_, orders0_.marketplace_id as marketpl2_122_, orders0_.created_by as created_3_122_, orders0_.created_date as created_4_122_, orders0_.last_modified_by as last_mod5_122_, orders0_.last_modified_date as last_mod6_122_, orders0_.actual_delivery_option as actual_d7_122_, orders0_.actualdelivery_time as actualde8_122_, orders0_.actual_pickup_time as actual_p9_122_, orders0_.allocated_from_warehouse as allocat10_122_, orders0_.amount as amount11_122_, orders0_.api_supplier_id as api_sup12_122_, orders0_.approximate_distance as approxi13_122_, orders0_.audit_version as audit_v14_122_, orders0_.authenticated_by_otp as authent15_122_, orders0_.back_id as back_id16_122_, orders0_.booking_date_time as booking17_122_, orders0_.cancellation_requires_type as cancell18_122_, orders0_.cashier_id as cashier19_122_, orders0_.chargeable_weight as chargea20_122_, orders0_.cod_settlement_date as cod_set21_122_, orders0_.cod_settlement_reference as cod_set22_122_, orders0_.cod_status as cod_sta23_122_, orders0_.cod_status_updated_by as cod_sta24_122_, orders0_.cod_transfer_type as cod_tra25_122_, orders0_.code as code26_122_, orders0_.completed as complet27_122_, orders0_.create_transaction as create_28_122_, orders0_.currency_id as currenc29_122_, orders0_.customer_id as custome31_122_, orders0_.customer_care_id as custome30_122_, orders0_.deadline_time as deadlin32_122_, orders0_.dec_date as dec_dat33_122_, orders0_.deleted as deleted34_122_, orders0_.delivered_lat as deliver35_122_, orders0_.delivered_lng as deliver36_122_, orders0_.delivered_to as deliver37_122_, orders0_.delivered_to_phone as deliver38_122_, orders0_.delivered_to_photo_id as deliver39_122_, orders0_.delivery_address_changed_date as deliver40_122_, orders0_.delivery_attemp_count as deliver41_122_, orders0_.delivery_planned_datetime as deliver42_122_, orders0_.delivery_planned_timestamp_array as deliver43_122_, orders0_.delivery_signature_id as deliver44_122_, orders0_.device_details as device_45_122_, orders0_.dimension_unit as dimensi46_122_, orders0_.dispatch_attempt_count as dispatc47_122_, orders0_.driver_id as driver_48_122_, orders0_.driver_bonus_id as driver193_122_, orders0_.drop_timeslot_availability_id as drop_ti49_122_, orders0_.dropoff_pos_receipt_number as dropoff50_122_, orders0_.dsc_date as dsc_dat51_122_, orders0_.encrypted_id as encrypt52_122_, orders0_.escalation_status as escalat53_122_, orders0_.escalation_status_updated_by as escalat54_122_, orders0_.escalation_status_updated_date as escalat55_122_, orders0_.estimated_delivery_date_time as estimat56_122_, orders0_.estimated_pick_up_time as estimat57_122_, orders0_.eta_id as eta_id58_122_, orders0_.external_user_name as externa59_122_, orders0_.failed_image_attachments as failed_60_122_, orders0_.fetch_item_id as fetch_i61_122_, orders0_.finance_pick_up_driver_id as finance62_122_, orders0_.finance_pick_up_supplier_id as finance63_122_, orders0_.first_delivery_time as first_d64_122_, orders0_.first_driver_id as first_d65_122_, orders0_.first_ofd_date as first_o66_122_, orders0_.first_pick_up_time as first_p67_122_, orders0_.fragile as fragile68_122_, orders0_.from_area_id as from_ar69_122_, orders0_.from_city as from_ci70_122_, orders0_.from_warehouse_id as from_wa71_122_, orders0_.future_pickup_requested_date as future_72_122_, orders0_.head_id as head_id73_122_, orders0_.heavy_type as heavy_t74_122_, orders0_.height as height75_122_, orders0_.id_card_required as id_card76_122_, orders0_.internal_promise_date as interna77_122_, orders0_.is_no_service_area as is_no_s78_122_, orders0_.is_old as is_old79_122_, orders0_.is_public as is_publ80_122_, orders0_.is_uae as is_uae81_122_, orders0_.item_payment_id as item_pa82_122_, orders0_.last_cod_status_date as last_co83_122_, orders0_.last_delivery_attempt_date as last_de84_122_, orders0_.last_mile_driver_id as last_mi85_122_, orders0_.last_ofd_date as last_of86_122_, orders0_.last_routing_status_date as last_ro87_122_, orders0_.last_status_date as last_st88_122_, orders0_.last_status_updated_user_id as last_st89_122_, orders0_.length as length90_122_, orders0_.logistic_type as logisti91_122_, orders0_.merchant_promise_date as merchan92_122_, orders0_.nc_date as nc_date93_122_, orders0_.new_prefix as new_pre94_122_, orders0_.note as note95_122_, orders0_.old_prefix as old_pre96_122_, orders0_.old_recipient_address as old_rec97_122_, orders0_.old_recipient_city_id as old_rec98_122_, orders0_.old_recipient_city_name as old_rec99_122_, orders0_.old_recipient_lat as old_re100_122_, orders0_.old_recipient_lng as old_re101_122_, orders0_.old_recipient_neighborhood_id as old_re102_122_, orders0_.old_recipient_neighborhood_name as old_re103_122_, orders0_.old_sender_address as old_se104_122_, orders0_.old_sender_city_id as old_se105_122_, orders0_.old_sender_city_name as old_se106_122_, orders0_.old_sender_lat as old_se107_122_, orders0_.old_sender_lng as old_se108_122_, orders0_.old_sender_neighborhood_id as old_se109_122_, orders0_.old_sender_neighborhood_name as old_se110_122_, orders0_.order_charge_paid_history_list as order_111_122_, orders0_.order_count as order_112_122_, orders0_.order_payment_id as order_113_122_, orders0_.order_piece_count as order_114_122_, orders0_.order_transfer_id as order_115_122_, orders0_.package_changed as packag116_122_, orders0_.package_id as packag117_122_, orders0_.package_type_id as packag118_122_, orders0_.parent_id as parent119_122_, orders0_.parent_supplier_id as parent120_122_, orders0_.payer as payer121_122_, orders0_.payment_status as paymen122_122_, orders0_.payment_type as paymen123_122_, orders0_.physical_delivery_attempt_count as physic124_122_, orders0_.physical_delivery_attempts as physic125_122_, orders0_.physical_dispatch_timestamp_array as physic126_122_, orders0_.physical_pickup_attempts as physic127_122_, orders0_.pickup_attemp_count as pickup128_122_, orders0_.pick_up_driver_id as pick_u129_122_, orders0_.pickup_id as pickup130_122_, orders0_.pickup_pos_receipt_number as pickup131_122_, orders0_.pickup_planned_date_time as pickup132_122_, orders0_.pickup_promise_date_time as pickup133_122_, orders0_.pickup_time as pickup134_122_, orders0_.pickup_time_now as pickup135_122_, orders0_.pickup_timeslot_availability_id as pickup136_122_, orders0_.pos_terminal_number as pos_te137_122_, orders0_.prefix_changed as prefix138_122_, orders0_.prefix_history as prefix139_122_, orders0_.previous_driver_id as previo140_122_, orders0_.price_id as price_141_122_, orders0_.promo_id as promo_142_122_, orders0_.provided_weight as provid143_122_, orders0_.psf_status as psf_st144_122_, orders0_.public_id as public145_122_, orders0_.receipt_id as receip146_122_, orders0_.receipt_number as receip147_122_, orders0_.recipient_id as recipi149_122_, orders0_.recipient_city_changed as recipi148_122_, orders0_.if_recipient_not_available as if_rec150_122_, orders0_.reference_id as refere151_122_, orders0_.request_details as reques152_122_, orders0_.rescheduled_delivery_datetime as resche153_122_, orders0_.reverse_code as revers154_122_, orders0_.routeid as routei155_122_, orders0_.routing_status as routin156_122_, orders0_.rule_id as rule_i157_122_, orders0_.scanned_piece_count as scanne158_122_, orders0_.seller_id as seller159_122_, orders0_.seller_name as seller160_122_, orders0_.sender_from as sender161_122_, orders0_.sender_phone as sender162_122_, orders0_.sender_photo_id as sender163_122_, orders0_.sender_prefix as sender164_122_, orders0_.sender_signature_id as sender165_122_, orders0_.sender_zone as sender166_122_, orders0_.sequence_number as sequen167_122_, orders0_.service_type_id as servic168_122_, orders0_.shipment_id as shipme169_122_, orders0_.shop_order as shop_o170_122_, orders0_.size as size171_122_, orders0_.sms_verification_event_id as sms_ve172_122_, orders0_.sms_verification_number as sms_ve173_122_, orders0_.sms_verified as sms_ve174_122_, orders0_.status as status175_122_, orders0_.storfox_sale_order_id as storfo176_122_, orders0_.supplier_id as suppli177_122_, orders0_.timeslot_availability_history_id as timesl194_122_, orders0_.to_area_id as to_are178_122_, orders0_.to_city as to_cit179_122_, orders0_.to_warehouse_id as to_war180_122_, orders0_.type as type181_122_, orders0_.unique_id as unique182_122_, orders0_.value as value183_122_, orders0_.volumetric_weight as volume184_122_, orders0_.wallet_settlement_date as wallet185_122_, orders0_.wallet_settlement_reference as wallet186_122_, orders0_.warehouse_id as wareho187_122_, orders0_.weight as weight188_122_, orders0_.width as width189_122_, orders0_.with_driver as with_d190_122_, orders0_.with_driver_time as with_d191_122_, orders0_.wrong_allocated_warehouse as wrong_192_122_ from orders orders0_ left outer join drivers drivers1_ on orders0_.driver_id = drivers1_.id left outer join drivers drivers2_ on orders0_.last_mile_driver_id = drivers2_.id left outer join suppliers suppliers3_ on orders0_.supplier_id = suppliers3_.id where orders0_.deleted <> true and orders0_.type = 'ORDER' and ((drivers1_.id in ('1089613343')) and (orders0_.status in ('PICKED_UP', 'IN_SORTING_FACILITY', 'DELIVERY_SCHEDULED', 'UNASSIGNED', 'ON_HIS_WAY', 'DISPATCHED', 'ACCEPTED', 'ARRIVED', 'PICKUP_CONFIRMED', 'OUT_FOR_DELIVERY', 'PICK_UP_FAILED', 'PICKUP_SCHEDULED')) or (drivers2_.id in ('1089613343')) and (orders0_.status in ('IN_TRANSIT'))) and suppliers3_.id = 638462369 order by orders0_.deadline_time asc;
Date: 2024-01-02 08:35:30 Duration: 1m40s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select orders0_.id as id1_122_, orders0_.marketplace_id as marketpl2_122_, orders0_.created_by as created_3_122_, orders0_.created_date as created_4_122_, orders0_.last_modified_by as last_mod5_122_, orders0_.last_modified_date as last_mod6_122_, orders0_.actual_delivery_option as actual_d7_122_, orders0_.actualdelivery_time as actualde8_122_, orders0_.actual_pickup_time as actual_p9_122_, orders0_.allocated_from_warehouse as allocat10_122_, orders0_.amount as amount11_122_, orders0_.api_supplier_id as api_sup12_122_, orders0_.approximate_distance as approxi13_122_, orders0_.audit_version as audit_v14_122_, orders0_.authenticated_by_otp as authent15_122_, orders0_.back_id as back_id16_122_, orders0_.booking_date_time as booking17_122_, orders0_.cancellation_requires_type as cancell18_122_, orders0_.cashier_id as cashier19_122_, orders0_.chargeable_weight as chargea20_122_, orders0_.cod_settlement_date as cod_set21_122_, orders0_.cod_settlement_reference as cod_set22_122_, orders0_.cod_status as cod_sta23_122_, orders0_.cod_status_updated_by as cod_sta24_122_, orders0_.cod_transfer_type as cod_tra25_122_, orders0_.code as code26_122_, orders0_.completed as complet27_122_, orders0_.create_transaction as create_28_122_, orders0_.currency_id as currenc29_122_, orders0_.customer_id as custome31_122_, orders0_.customer_care_id as custome30_122_, orders0_.deadline_time as deadlin32_122_, orders0_.dec_date as dec_dat33_122_, orders0_.deleted as deleted34_122_, orders0_.delivered_lat as deliver35_122_, orders0_.delivered_lng as deliver36_122_, orders0_.delivered_to as deliver37_122_, orders0_.delivered_to_phone as deliver38_122_, orders0_.delivered_to_photo_id as deliver39_122_, orders0_.delivery_address_changed_date as deliver40_122_, orders0_.delivery_attemp_count as deliver41_122_, orders0_.delivery_planned_datetime as deliver42_122_, orders0_.delivery_planned_timestamp_array as deliver43_122_, orders0_.delivery_signature_id as deliver44_122_, orders0_.device_details as device_45_122_, orders0_.dimension_unit as dimensi46_122_, orders0_.dispatch_attempt_count as dispatc47_122_, orders0_.driver_id as driver_48_122_, orders0_.driver_bonus_id as driver193_122_, orders0_.drop_timeslot_availability_id as drop_ti49_122_, orders0_.dropoff_pos_receipt_number as dropoff50_122_, orders0_.dsc_date as dsc_dat51_122_, orders0_.encrypted_id as encrypt52_122_, orders0_.escalation_status as escalat53_122_, orders0_.escalation_status_updated_by as escalat54_122_, orders0_.escalation_status_updated_date as escalat55_122_, orders0_.estimated_delivery_date_time as estimat56_122_, orders0_.estimated_pick_up_time as estimat57_122_, orders0_.eta_id as eta_id58_122_, orders0_.external_user_name as externa59_122_, orders0_.failed_image_attachments as failed_60_122_, orders0_.fetch_item_id as fetch_i61_122_, orders0_.finance_pick_up_driver_id as finance62_122_, orders0_.finance_pick_up_supplier_id as finance63_122_, orders0_.first_delivery_time as first_d64_122_, orders0_.first_driver_id as first_d65_122_, orders0_.first_ofd_date as first_o66_122_, orders0_.first_pick_up_time as first_p67_122_, orders0_.fragile as fragile68_122_, orders0_.from_area_id as from_ar69_122_, orders0_.from_city as from_ci70_122_, orders0_.from_warehouse_id as from_wa71_122_, orders0_.future_pickup_requested_date as future_72_122_, orders0_.head_id as head_id73_122_, orders0_.heavy_type as heavy_t74_122_, orders0_.height as height75_122_, orders0_.id_card_required as id_card76_122_, orders0_.internal_promise_date as interna77_122_, orders0_.is_no_service_area as is_no_s78_122_, orders0_.is_old as is_old79_122_, orders0_.is_public as is_publ80_122_, orders0_.is_uae as is_uae81_122_, orders0_.item_payment_id as item_pa82_122_, orders0_.last_cod_status_date as last_co83_122_, orders0_.last_delivery_attempt_date as last_de84_122_, orders0_.last_mile_driver_id as last_mi85_122_, orders0_.last_ofd_date as last_of86_122_, orders0_.last_routing_status_date as last_ro87_122_, orders0_.last_status_date as last_st88_122_, orders0_.last_status_updated_user_id as last_st89_122_, orders0_.length as length90_122_, orders0_.logistic_type as logisti91_122_, orders0_.merchant_promise_date as merchan92_122_, orders0_.nc_date as nc_date93_122_, orders0_.new_prefix as new_pre94_122_, orders0_.note as note95_122_, orders0_.old_prefix as old_pre96_122_, orders0_.old_recipient_address as old_rec97_122_, orders0_.old_recipient_city_id as old_rec98_122_, orders0_.old_recipient_city_name as old_rec99_122_, orders0_.old_recipient_lat as old_re100_122_, orders0_.old_recipient_lng as old_re101_122_, orders0_.old_recipient_neighborhood_id as old_re102_122_, orders0_.old_recipient_neighborhood_name as old_re103_122_, orders0_.old_sender_address as old_se104_122_, orders0_.old_sender_city_id as old_se105_122_, orders0_.old_sender_city_name as old_se106_122_, orders0_.old_sender_lat as old_se107_122_, orders0_.old_sender_lng as old_se108_122_, orders0_.old_sender_neighborhood_id as old_se109_122_, orders0_.old_sender_neighborhood_name as old_se110_122_, orders0_.order_charge_paid_history_list as order_111_122_, orders0_.order_count as order_112_122_, orders0_.order_payment_id as order_113_122_, orders0_.order_piece_count as order_114_122_, orders0_.order_transfer_id as order_115_122_, orders0_.package_changed as packag116_122_, orders0_.package_id as packag117_122_, orders0_.package_type_id as packag118_122_, orders0_.parent_id as parent119_122_, orders0_.parent_supplier_id as parent120_122_, orders0_.payer as payer121_122_, orders0_.payment_status as paymen122_122_, orders0_.payment_type as paymen123_122_, orders0_.physical_delivery_attempt_count as physic124_122_, orders0_.physical_delivery_attempts as physic125_122_, orders0_.physical_dispatch_timestamp_array as physic126_122_, orders0_.physical_pickup_attempts as physic127_122_, orders0_.pickup_attemp_count as pickup128_122_, orders0_.pick_up_driver_id as pick_u129_122_, orders0_.pickup_id as pickup130_122_, orders0_.pickup_pos_receipt_number as pickup131_122_, orders0_.pickup_planned_date_time as pickup132_122_, orders0_.pickup_promise_date_time as pickup133_122_, orders0_.pickup_time as pickup134_122_, orders0_.pickup_time_now as pickup135_122_, orders0_.pickup_timeslot_availability_id as pickup136_122_, orders0_.pos_terminal_number as pos_te137_122_, orders0_.prefix_changed as prefix138_122_, orders0_.prefix_history as prefix139_122_, orders0_.previous_driver_id as previo140_122_, orders0_.price_id as price_141_122_, orders0_.promo_id as promo_142_122_, orders0_.provided_weight as provid143_122_, orders0_.psf_status as psf_st144_122_, orders0_.public_id as public145_122_, orders0_.receipt_id as receip146_122_, orders0_.receipt_number as receip147_122_, orders0_.recipient_id as recipi149_122_, orders0_.recipient_city_changed as recipi148_122_, orders0_.if_recipient_not_available as if_rec150_122_, orders0_.reference_id as refere151_122_, orders0_.request_details as reques152_122_, orders0_.rescheduled_delivery_datetime as resche153_122_, orders0_.reverse_code as revers154_122_, orders0_.routeid as routei155_122_, orders0_.routing_status as routin156_122_, orders0_.rule_id as rule_i157_122_, orders0_.scanned_piece_count as scanne158_122_, orders0_.seller_id as seller159_122_, orders0_.seller_name as seller160_122_, orders0_.sender_from as sender161_122_, orders0_.sender_phone as sender162_122_, orders0_.sender_photo_id as sender163_122_, orders0_.sender_prefix as sender164_122_, orders0_.sender_signature_id as sender165_122_, orders0_.sender_zone as sender166_122_, orders0_.sequence_number as sequen167_122_, orders0_.service_type_id as servic168_122_, orders0_.shipment_id as shipme169_122_, orders0_.shop_order as shop_o170_122_, orders0_.size as size171_122_, orders0_.sms_verification_event_id as sms_ve172_122_, orders0_.sms_verification_number as sms_ve173_122_, orders0_.sms_verified as sms_ve174_122_, orders0_.status as status175_122_, orders0_.storfox_sale_order_id as storfo176_122_, orders0_.supplier_id as suppli177_122_, orders0_.timeslot_availability_history_id as timesl194_122_, orders0_.to_area_id as to_are178_122_, orders0_.to_city as to_cit179_122_, orders0_.to_warehouse_id as to_war180_122_, orders0_.type as type181_122_, orders0_.unique_id as unique182_122_, orders0_.value as value183_122_, orders0_.volumetric_weight as volume184_122_, orders0_.wallet_settlement_date as wallet185_122_, orders0_.wallet_settlement_reference as wallet186_122_, orders0_.warehouse_id as wareho187_122_, orders0_.weight as weight188_122_, orders0_.width as width189_122_, orders0_.with_driver as with_d190_122_, orders0_.with_driver_time as with_d191_122_, orders0_.wrong_allocated_warehouse as wrong_192_122_ from orders orders0_ left outer join drivers drivers1_ on orders0_.driver_id = drivers1_.id left outer join drivers drivers2_ on orders0_.last_mile_driver_id = drivers2_.id left outer join suppliers suppliers3_ on orders0_.supplier_id = suppliers3_.id where orders0_.deleted <> true and orders0_.type = 'ORDER' and ((drivers1_.id in ('950887480')) and (orders0_.status in ('PICKED_UP', 'IN_SORTING_FACILITY', 'DELIVERY_SCHEDULED', 'UNASSIGNED', 'ON_HIS_WAY', 'DISPATCHED', 'ACCEPTED', 'ARRIVED', 'PICKUP_CONFIRMED', 'OUT_FOR_DELIVERY', 'PICK_UP_FAILED', 'PICKUP_SCHEDULED')) or (drivers2_.id in ('950887480')) and (orders0_.status in ('IN_TRANSIT'))) and suppliers3_.id = 638462369 order by orders0_.deadline_time asc;
Date: 2024-01-02 06:02:59 Duration: 1m14s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select orders0_.id as id1_122_, orders0_.marketplace_id as marketpl2_122_, orders0_.created_by as created_3_122_, orders0_.created_date as created_4_122_, orders0_.last_modified_by as last_mod5_122_, orders0_.last_modified_date as last_mod6_122_, orders0_.actual_delivery_option as actual_d7_122_, orders0_.actualdelivery_time as actualde8_122_, orders0_.actual_pickup_time as actual_p9_122_, orders0_.allocated_from_warehouse as allocat10_122_, orders0_.amount as amount11_122_, orders0_.api_supplier_id as api_sup12_122_, orders0_.approximate_distance as approxi13_122_, orders0_.audit_version as audit_v14_122_, orders0_.authenticated_by_otp as authent15_122_, orders0_.back_id as back_id16_122_, orders0_.booking_date_time as booking17_122_, orders0_.cancellation_requires_type as cancell18_122_, orders0_.cashier_id as cashier19_122_, orders0_.chargeable_weight as chargea20_122_, orders0_.cod_settlement_date as cod_set21_122_, orders0_.cod_settlement_reference as cod_set22_122_, orders0_.cod_status as cod_sta23_122_, orders0_.cod_status_updated_by as cod_sta24_122_, orders0_.cod_transfer_type as cod_tra25_122_, orders0_.code as code26_122_, orders0_.completed as complet27_122_, orders0_.create_transaction as create_28_122_, orders0_.currency_id as currenc29_122_, orders0_.customer_id as custome31_122_, orders0_.customer_care_id as custome30_122_, orders0_.deadline_time as deadlin32_122_, orders0_.dec_date as dec_dat33_122_, orders0_.deleted as deleted34_122_, orders0_.delivered_lat as deliver35_122_, orders0_.delivered_lng as deliver36_122_, orders0_.delivered_to as deliver37_122_, orders0_.delivered_to_phone as deliver38_122_, orders0_.delivered_to_photo_id as deliver39_122_, orders0_.delivery_address_changed_date as deliver40_122_, orders0_.delivery_attemp_count as deliver41_122_, orders0_.delivery_planned_datetime as deliver42_122_, orders0_.delivery_planned_timestamp_array as deliver43_122_, orders0_.delivery_signature_id as deliver44_122_, orders0_.device_details as device_45_122_, orders0_.dimension_unit as dimensi46_122_, orders0_.dispatch_attempt_count as dispatc47_122_, orders0_.driver_id as driver_48_122_, orders0_.driver_bonus_id as driver193_122_, orders0_.drop_timeslot_availability_id as drop_ti49_122_, orders0_.dropoff_pos_receipt_number as dropoff50_122_, orders0_.dsc_date as dsc_dat51_122_, orders0_.encrypted_id as encrypt52_122_, orders0_.escalation_status as escalat53_122_, orders0_.escalation_status_updated_by as escalat54_122_, orders0_.escalation_status_updated_date as escalat55_122_, orders0_.estimated_delivery_date_time as estimat56_122_, orders0_.estimated_pick_up_time as estimat57_122_, orders0_.eta_id as eta_id58_122_, orders0_.external_user_name as externa59_122_, orders0_.failed_image_attachments as failed_60_122_, orders0_.fetch_item_id as fetch_i61_122_, orders0_.finance_pick_up_driver_id as finance62_122_, orders0_.finance_pick_up_supplier_id as finance63_122_, orders0_.first_delivery_time as first_d64_122_, orders0_.first_driver_id as first_d65_122_, orders0_.first_ofd_date as first_o66_122_, orders0_.first_pick_up_time as first_p67_122_, orders0_.fragile as fragile68_122_, orders0_.from_area_id as from_ar69_122_, orders0_.from_city as from_ci70_122_, orders0_.from_warehouse_id as from_wa71_122_, orders0_.future_pickup_requested_date as future_72_122_, orders0_.head_id as head_id73_122_, orders0_.heavy_type as heavy_t74_122_, orders0_.height as height75_122_, orders0_.id_card_required as id_card76_122_, orders0_.internal_promise_date as interna77_122_, orders0_.is_no_service_area as is_no_s78_122_, orders0_.is_old as is_old79_122_, orders0_.is_public as is_publ80_122_, orders0_.is_uae as is_uae81_122_, orders0_.item_payment_id as item_pa82_122_, orders0_.last_cod_status_date as last_co83_122_, orders0_.last_delivery_attempt_date as last_de84_122_, orders0_.last_mile_driver_id as last_mi85_122_, orders0_.last_ofd_date as last_of86_122_, orders0_.last_routing_status_date as last_ro87_122_, orders0_.last_status_date as last_st88_122_, orders0_.last_status_updated_user_id as last_st89_122_, orders0_.length as length90_122_, orders0_.logistic_type as logisti91_122_, orders0_.merchant_promise_date as merchan92_122_, orders0_.nc_date as nc_date93_122_, orders0_.new_prefix as new_pre94_122_, orders0_.note as note95_122_, orders0_.old_prefix as old_pre96_122_, orders0_.old_recipient_address as old_rec97_122_, orders0_.old_recipient_city_id as old_rec98_122_, orders0_.old_recipient_city_name as old_rec99_122_, orders0_.old_recipient_lat as old_re100_122_, orders0_.old_recipient_lng as old_re101_122_, orders0_.old_recipient_neighborhood_id as old_re102_122_, orders0_.old_recipient_neighborhood_name as old_re103_122_, orders0_.old_sender_address as old_se104_122_, orders0_.old_sender_city_id as old_se105_122_, orders0_.old_sender_city_name as old_se106_122_, orders0_.old_sender_lat as old_se107_122_, orders0_.old_sender_lng as old_se108_122_, orders0_.old_sender_neighborhood_id as old_se109_122_, orders0_.old_sender_neighborhood_name as old_se110_122_, orders0_.order_charge_paid_history_list as order_111_122_, orders0_.order_count as order_112_122_, orders0_.order_payment_id as order_113_122_, orders0_.order_piece_count as order_114_122_, orders0_.order_transfer_id as order_115_122_, orders0_.package_changed as packag116_122_, orders0_.package_id as packag117_122_, orders0_.package_type_id as packag118_122_, orders0_.parent_id as parent119_122_, orders0_.parent_supplier_id as parent120_122_, orders0_.payer as payer121_122_, orders0_.payment_status as paymen122_122_, orders0_.payment_type as paymen123_122_, orders0_.physical_delivery_attempt_count as physic124_122_, orders0_.physical_delivery_attempts as physic125_122_, orders0_.physical_dispatch_timestamp_array as physic126_122_, orders0_.physical_pickup_attempts as physic127_122_, orders0_.pickup_attemp_count as pickup128_122_, orders0_.pick_up_driver_id as pick_u129_122_, orders0_.pickup_id as pickup130_122_, orders0_.pickup_pos_receipt_number as pickup131_122_, orders0_.pickup_planned_date_time as pickup132_122_, orders0_.pickup_promise_date_time as pickup133_122_, orders0_.pickup_time as pickup134_122_, orders0_.pickup_time_now as pickup135_122_, orders0_.pickup_timeslot_availability_id as pickup136_122_, orders0_.pos_terminal_number as pos_te137_122_, orders0_.prefix_changed as prefix138_122_, orders0_.prefix_history as prefix139_122_, orders0_.previous_driver_id as previo140_122_, orders0_.price_id as price_141_122_, orders0_.promo_id as promo_142_122_, orders0_.provided_weight as provid143_122_, orders0_.psf_status as psf_st144_122_, orders0_.public_id as public145_122_, orders0_.receipt_id as receip146_122_, orders0_.receipt_number as receip147_122_, orders0_.recipient_id as recipi149_122_, orders0_.recipient_city_changed as recipi148_122_, orders0_.if_recipient_not_available as if_rec150_122_, orders0_.reference_id as refere151_122_, orders0_.request_details as reques152_122_, orders0_.rescheduled_delivery_datetime as resche153_122_, orders0_.reverse_code as revers154_122_, orders0_.routeid as routei155_122_, orders0_.routing_status as routin156_122_, orders0_.rule_id as rule_i157_122_, orders0_.scanned_piece_count as scanne158_122_, orders0_.seller_id as seller159_122_, orders0_.seller_name as seller160_122_, orders0_.sender_from as sender161_122_, orders0_.sender_phone as sender162_122_, orders0_.sender_photo_id as sender163_122_, orders0_.sender_prefix as sender164_122_, orders0_.sender_signature_id as sender165_122_, orders0_.sender_zone as sender166_122_, orders0_.sequence_number as sequen167_122_, orders0_.service_type_id as servic168_122_, orders0_.shipment_id as shipme169_122_, orders0_.shop_order as shop_o170_122_, orders0_.size as size171_122_, orders0_.sms_verification_event_id as sms_ve172_122_, orders0_.sms_verification_number as sms_ve173_122_, orders0_.sms_verified as sms_ve174_122_, orders0_.status as status175_122_, orders0_.storfox_sale_order_id as storfo176_122_, orders0_.supplier_id as suppli177_122_, orders0_.timeslot_availability_history_id as timesl194_122_, orders0_.to_area_id as to_are178_122_, orders0_.to_city as to_cit179_122_, orders0_.to_warehouse_id as to_war180_122_, orders0_.type as type181_122_, orders0_.unique_id as unique182_122_, orders0_.value as value183_122_, orders0_.volumetric_weight as volume184_122_, orders0_.wallet_settlement_date as wallet185_122_, orders0_.wallet_settlement_reference as wallet186_122_, orders0_.warehouse_id as wareho187_122_, orders0_.weight as weight188_122_, orders0_.width as width189_122_, orders0_.with_driver as with_d190_122_, orders0_.with_driver_time as with_d191_122_, orders0_.wrong_allocated_warehouse as wrong_192_122_ from orders orders0_ left outer join drivers drivers1_ on orders0_.driver_id = drivers1_.id left outer join drivers drivers2_ on orders0_.last_mile_driver_id = drivers2_.id left outer join suppliers suppliers3_ on orders0_.supplier_id = suppliers3_.id where orders0_.deleted <> true and orders0_.type = 'ORDER' and ((drivers1_.id in ('1242349155')) and (orders0_.status in ('PICKED_UP', 'IN_SORTING_FACILITY', 'DELIVERY_SCHEDULED', 'UNASSIGNED', 'ON_HIS_WAY', 'DISPATCHED', 'ACCEPTED', 'ARRIVED', 'PICKUP_CONFIRMED', 'OUT_FOR_DELIVERY', 'PICK_UP_FAILED', 'PICKUP_SCHEDULED')) or (drivers2_.id in ('1242349155')) and (orders0_.status in ('IN_TRANSIT'))) and suppliers3_.id = 638462369 order by orders0_.deadline_time asc;
Date: 2024-01-02 06:57:59 Duration: 1m6s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
2 1m5s 1m5s 1m5s 1 1m5s update orders set last_modified_date = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 02 05 1 1m5s 1m5s [ User: safearrival client=10.0.0.133 - Total duration: 1m5s - Times executed: 1 ]
-
update orders set last_modified_date = '2024-01-02 05:30:27.283', physical_delivery_attempts = '[{"userId": 631889486, "timestamp": 1704132013.677, "supplierId": 920780628, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 1040609117, "timestamp": 1703572916.137, "supplierId": 638465814, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1337048049';
Date: 2024-01-02 05:31:32 Duration: 1m5s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
3 1s61ms 3m54s 51s579ms 80 1h8m46s select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...));Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 02 04 1 1s507ms 1s507ms 05 10 12m26s 1m14s 06 8 35s820ms 4s477ms 07 5 4m59s 59s948ms 08 9 5m53s 39s228ms 09 5 3m52s 46s470ms 10 4 8m30s 2m7s 11 12 14m20s 1m11s 12 3 2m53s 57s831ms 13 3 24s213ms 8s71ms 14 7 10m7s 1m26s 15 6 3m40s 36s747ms 17 1 6s443ms 6s443ms 19 3 50s158ms 16s719ms 21 2 2s446ms 1s223ms Jan 03 00 1 1s61ms 1s61ms [ User: safearrival client=10.0.0.133 - Total duration: 40m8s - Times executed: 42 ]
[ User: safearrival client=10.0.0.132 - Total duration: 28m38s - Times executed: 38 ]
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 07:55:38 Duration: 3m54s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (823643121)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 14:56:17 Duration: 3m23s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select count(batchorder0_.id) as col_0_0_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485'));
Date: 2024-01-02 05:56:55 Duration: 3m21s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
4 1s4ms 4m10s 48s981ms 497 6h45m43s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...)) order by batchorder0_.created_date desc limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 02 03 5 3m32s 42s588ms 04 6 2m33s 25s651ms 05 46 45m21s 59s154ms 06 57 40m38s 42s774ms 07 34 30m2s 53s26ms 08 36 38m34s 1m4s 09 29 21m29s 44s449ms 10 17 25m8s 1m28s 11 30 27m46s 55s539ms 12 21 15m56s 45s564ms 13 27 22m31s 50s65ms 14 28 31m52s 1m8s 15 42 35m39s 50s945ms 16 18 12m51s 42s859ms 17 32 17m2s 31s955ms 18 16 12m41s 47s592ms 19 17 9m13s 32s530ms 20 13 6m26s 29s754ms 21 5 54s220ms 10s844ms 22 7 47s937ms 6s848ms 23 2 49s790ms 24s895ms Jan 03 00 4 2m26s 36s654ms 01 4 1m8s 17s73ms 02 1 13s558ms 13s558ms [ User: safearrival client=10.0.0.133 - Total duration: 3h26m39s - Times executed: 257 ]
[ User: safearrival client=10.0.0.132 - Total duration: 3h19m4s - Times executed: 240 ]
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:30:25 Duration: 4m10s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (802318123)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:30:25 Duration: 4m Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '1';
Date: 2024-01-02 05:53:34 Duration: 3m47s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
5 9s369ms 1m21s 45s513ms 2 1m31s select exceptions0_.id as id1_77_, exceptions0_.marketplace_id as marketpl2_77_, exceptions0_.created_by as created_3_77_, exceptions0_.created_date as created_4_77_, exceptions0_.last_modified_by as last_mod5_77_, exceptions0_.last_modified_date as last_mod6_77_, exceptions0_.cod_status as cod_stat7_77_, exceptions0_.deleted as deleted8_77_, exceptions0_.driver_id as driver_i9_77_, exceptions0_.event_date as event_d10_77_, exceptions0_.note as note11_77_, exceptions0_.order_id as order_i12_77_, exceptions0_.order_status as order_s13_77_, exceptions0_.status as status14_77_, exceptions0_.supplier_id as supplie15_77_, exceptions0_.type as type16_77_ from exceptions exceptions0_ left outer join drivers drivers1_ on exceptions0_.driver_id = drivers1_.id left outer join t_user user2_ on drivers1_.user_id = user2_.id left outer join suppliers suppliers3_ on exceptions0_.supplier_id = suppliers3_.id left outer join t_user user4_ on suppliers3_.admin_user_id = user4_.id left outer join orders orders5_ on exceptions0_.order_id = orders5_.id where (exceptions0_.deleted is null or exceptions0_.deleted = false) and (exceptions0_.marketplace_id in (...)) and (trim((lower(coalesce(user2_.first_name, ?)) || ? || lower(coalesce(user2_.last_name, ?)))) like ? or trim((lower(coalesce(user4_.first_name, ?)) || ? || lower(coalesce(user4_.last_name, ?)))) like ? or coalesce(cast(exceptions0_.id as varchar), ?) like ? or trim(lower(coalesce(suppliers3_.name, ?))) like ? or trim(lower(coalesce(exceptions0_.status, ?))) like ? or trim(lower(coalesce(exceptions0_.type, ?))) like ? or trim(lower(coalesce(orders5_.code, ?))) like ?) order by exceptions0_.created_date desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 02 08 1 1m21s 1m21s 11 1 9s369ms 9s369ms [ User: safearrival client=10.0.0.133 - Total duration: 1m31s - Times executed: 2 ]
-
select exceptions0_.id as id1_77_, exceptions0_.marketplace_id as marketpl2_77_, exceptions0_.created_by as created_3_77_, exceptions0_.created_date as created_4_77_, exceptions0_.last_modified_by as last_mod5_77_, exceptions0_.last_modified_date as last_mod6_77_, exceptions0_.cod_status as cod_stat7_77_, exceptions0_.deleted as deleted8_77_, exceptions0_.driver_id as driver_i9_77_, exceptions0_.event_date as event_d10_77_, exceptions0_.note as note11_77_, exceptions0_.order_id as order_i12_77_, exceptions0_.order_status as order_s13_77_, exceptions0_.status as status14_77_, exceptions0_.supplier_id as supplie15_77_, exceptions0_.type as type16_77_ from exceptions exceptions0_ left outer join drivers drivers1_ on exceptions0_.driver_id = drivers1_.id left outer join t_user user2_ on drivers1_.user_id = user2_.id left outer join suppliers suppliers3_ on exceptions0_.supplier_id = suppliers3_.id left outer join t_user user4_ on suppliers3_.admin_user_id = user4_.id left outer join orders orders5_ on exceptions0_.order_id = orders5_.id where (exceptions0_.deleted is null or exceptions0_.deleted = false) and (exceptions0_.marketplace_id in (631889485)) and (trim((lower(coalesce(user2_.first_name, '')) || ' ' || lower(coalesce(user2_.last_name, '')))) like '%ruh52552535943651%' or trim((lower(coalesce(user4_.first_name, '')) || ' ' || lower(coalesce(user4_.last_name, '')))) like '%ruh52552535943651%' or coalesce(cast(exceptions0_.id as varchar), '') like '%ruh52552535943651%' or trim(lower(coalesce(suppliers3_.name, ''))) like '%ruh52552535943651%' or trim(lower(coalesce(exceptions0_.status, ''))) like '%ruh52552535943651%' or trim(lower(coalesce(exceptions0_.type, ''))) like '%ruh52552535943651%' or trim(lower(coalesce(orders5_.code, ''))) like '%ruh52552535943651%') order by exceptions0_.created_date desc limit '50';
Date: 2024-01-02 08:43:27 Duration: 1m21s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select exceptions0_.id as id1_77_, exceptions0_.marketplace_id as marketpl2_77_, exceptions0_.created_by as created_3_77_, exceptions0_.created_date as created_4_77_, exceptions0_.last_modified_by as last_mod5_77_, exceptions0_.last_modified_date as last_mod6_77_, exceptions0_.cod_status as cod_stat7_77_, exceptions0_.deleted as deleted8_77_, exceptions0_.driver_id as driver_i9_77_, exceptions0_.event_date as event_d10_77_, exceptions0_.note as note11_77_, exceptions0_.order_id as order_i12_77_, exceptions0_.order_status as order_s13_77_, exceptions0_.status as status14_77_, exceptions0_.supplier_id as supplie15_77_, exceptions0_.type as type16_77_ from exceptions exceptions0_ left outer join drivers drivers1_ on exceptions0_.driver_id = drivers1_.id left outer join t_user user2_ on drivers1_.user_id = user2_.id left outer join suppliers suppliers3_ on exceptions0_.supplier_id = suppliers3_.id left outer join t_user user4_ on suppliers3_.admin_user_id = user4_.id left outer join orders orders5_ on exceptions0_.order_id = orders5_.id where (exceptions0_.deleted is null or exceptions0_.deleted = false) and (exceptions0_.marketplace_id in (631889485)) and (trim((lower(coalesce(user2_.first_name, '')) || ' ' || lower(coalesce(user2_.last_name, '')))) like '%med10028839387661%' or trim((lower(coalesce(user4_.first_name, '')) || ' ' || lower(coalesce(user4_.last_name, '')))) like '%med10028839387661%' or coalesce(cast(exceptions0_.id as varchar), '') like '%med10028839387661%' or trim(lower(coalesce(suppliers3_.name, ''))) like '%med10028839387661%' or trim(lower(coalesce(exceptions0_.status, ''))) like '%med10028839387661%' or trim(lower(coalesce(exceptions0_.type, ''))) like '%med10028839387661%' or trim(lower(coalesce(orders5_.code, ''))) like '%med10028839387661%') order by exceptions0_.created_date desc limit '50';
Date: 2024-01-02 11:54:08 Duration: 9s369ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
6 5s85ms 1m27s 35s930ms 8 4m47s select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where ? = ? and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (...)) and (batchorder0_.marketplace_id in (...)) order by batchorder0_.created_date desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 02 06 3 2m54s 58s228ms 15 4 1m36s 24s140ms 19 1 16s196ms 16s196ms [ User: safearrival client=10.0.0.132 - Total duration: 4m32s - Times executed: 6 ]
[ User: safearrival client=10.0.0.133 - Total duration: 14s959ms - Times executed: 2 ]
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 06:08:29 Duration: 1m27s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (649383431)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 06:05:31 Duration: 1m22s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select batchorder0_.id as id1_14_, batchorder0_.marketplace_id as marketpl2_14_, batchorder0_.created_by as created_3_14_, batchorder0_.created_date as created_4_14_, batchorder0_.last_modified_by as last_mod5_14_, batchorder0_.last_modified_date as last_mod6_14_, batchorder0_.admin_supplier_id as admin_su7_14_, batchorder0_.completed_date as complete8_14_, batchorder0_.driver_id as driver_i9_14_, batchorder0_.status as status10_14_, batchorder0_.supplier_id as supplie11_14_, batchorder0_.user_id as user_id12_14_, batchorder0_.warehouse_id as warehou13_14_ from batch_order_update batchorder0_ where 1 = 1 and (batchorder0_.completed_date is not null) and (batchorder0_.user_id in (802318478)) and (batchorder0_.marketplace_id in ('631889485')) order by batchorder0_.created_date desc limit '10';
Date: 2024-01-02 15:33:12 Duration: 33s590ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
7 1s442ms 1m28s 28s523ms 7 3m19s update orders set last_modified_by = ?, last_modified_date = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 02 10 1 15s158ms 15s158ms 11 2 2m54s 1m27s 14 1 2s259ms 2s259ms 16 3 7s723ms 2s574ms [ User: safearrival client=10.0.0.133 - Total duration: 1m47s - Times executed: 5 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m31s - Times executed: 2 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 11:08:07.371', physical_pickup_attempts = '[{"userId": 645512267, "timestamp": 1704193683.893, "supplierId": 648753371, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341502849';
Date: 2024-01-02 11:09:35 Duration: 1m28s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 11:08:09.41', physical_pickup_attempts = '[{"userId": 645512267, "timestamp": 1704193683.893, "supplierId": 648753371, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341502849';
Date: 2024-01-02 11:09:35 Duration: 1m26s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 10:45:45.095', physical_pickup_attempts = '[{"userId": 1146256954, "timestamp": 1704192339.884, "supplierId": 638465090, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1340945533';
Date: 2024-01-02 10:46:00 Duration: 15s158ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
8 3s676ms 1m28s 26s287ms 6 2m37s update orders set last_modified_date = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 02 03 1 4s65ms 4s65ms 06 1 7s554ms 7s554ms 07 1 45s664ms 45s664ms 11 2 1m32s 46s3ms 16 1 8s434ms 8s434ms [ User: safearrival client=10.0.0.133 - Total duration: 2m29s - Times executed: 4 ]
[ User: safearrival client=10.0.0.132 - Total duration: 7s742ms - Times executed: 2 ]
-
update orders set last_modified_date = '2024-01-02 11:08:07.299', physical_pickup_attempts = '[{"userId": 645512267, "timestamp": 1704193683.893, "supplierId": 648753371, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341502849';
Date: 2024-01-02 11:09:35 Duration: 1m28s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 07:47:00.683', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704181411.449, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341468458';
Date: 2024-01-02 07:47:46 Duration: 45s664ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 16:46:26.952', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704198551.668, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341469660';
Date: 2024-01-02 16:46:35 Duration: 8s434ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
9 1s396ms 44s908ms 20s946ms 5 1m44s update orders set last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 02 05 1 7s253ms 7s253ms 11 1 11s211ms 11s211ms 13 1 44s908ms 44s908ms 17 1 39s961ms 39s961ms 19 1 1s396ms 1s396ms [ User: safearrival client=10.0.0.133 - Total duration: 1m24s - Times executed: 2 ]
[ User: safearrival client=10.0.0.132 - Total duration: 19s861ms - Times executed: 3 ]
-
update orders set last_modified_date = '2024-01-02 13:22:17.269', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:02 Duration: 44s908ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 17:35:23.022', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703338818.154}, {"paid": false, "userId": 1020830836, "timestamp": 1703338818.873}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703436729.146, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1335331191';
Date: 2024-01-02 17:36:02 Duration: 39s961ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 11:15:28.187', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704030069.533}, {"paid": false, "userId": 683802998, "timestamp": 1704030069.689}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704132037.146, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}, {"userId": 631889486, "timestamp": 1704194123.187, "supplierId": 920780628, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1340298193';
Date: 2024-01-02 11:15:39 Duration: 11s211ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
10 2s368ms 37s950ms 13s565ms 15 3m23s select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in (...)) and (orders0_.status in (...)) and orders0_.type = ? and (orders0_.shipment_id is not null) and (orders0_.created_date between ? and ?) order by orders0_.id limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 02 23 15 3m23s 13s565ms [ User: safearrival client=10.0.0.133 - Total duration: 1m43s - Times executed: 8 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m40s - Times executed: 7 ]
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('1618134')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.012' and '2023-12-03 23:00:00.012') order by orders0_.id limit '101';
Date: 2024-01-02 23:00:38 Duration: 37s950ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('1618134')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.002' and '2023-12-03 23:00:00.002') order by orders0_.id limit '101';
Date: 2024-01-02 23:00:38 Duration: 37s949ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select distinct orders0_.id as col_0_0_ from orders orders0_ where (orders0_.supplier_id in ('8626088', '66910759')) and (orders0_.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY')) and orders0_.type = 'ORDER' and (orders0_.shipment_id is not null) and (orders0_.created_date between '2023-10-04 23:00:00.012' and '2023-12-03 23:00:00.012') order by orders0_.id limit '101';
Date: 2024-01-02 23:01:01 Duration: 23s153ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
11 1s3ms 50s365ms 13s244ms 20 4m24s update orders set last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 02 03 1 1s267ms 1s267ms 05 2 29s855ms 14s927ms 09 1 50s365ms 50s365ms 11 1 4s210ms 4s210ms 12 1 6s205ms 6s205ms 14 3 37s391ms 12s463ms 15 1 1s982ms 1s982ms 16 1 28s530ms 28s530ms 17 1 14s509ms 14s509ms 18 3 37s360ms 12s453ms 20 2 32s664ms 16s332ms 22 1 6s874ms 6s874ms 23 2 13s676ms 6s838ms [ User: safearrival client=10.0.0.133 - Total duration: 2m15s - Times executed: 9 ]
[ User: safearrival client=10.0.0.132 - Total duration: 2m9s - Times executed: 11 ]
-
update orders set last_modified_date = '2024-01-02 09:50:40.013', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704028443.122}, {"paid": false, "userId": 1020830836, "timestamp": 1704028444.229}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704131671.318, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH444", "oldPrefix": "ABH444", "timestamp": 1704028620.835}]' where id = '1340273760';
Date: 2024-01-02 09:51:30 Duration: 50s365ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 20:25:54.556', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704123341.985}, {"paid": false, "userId": 683802998, "timestamp": 1704123342.584}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704215603.863, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "RUH576", "oldPrefix": "RUH100", "timestamp": 1704179007.979}]' where id = '1341119942';
Date: 2024-01-02 20:26:24 Duration: 29s915ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 14:05:35.463', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703944084.58}, {"paid": false, "userId": 1020830836, "timestamp": 1703944085.014}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703963063.849, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "QSM313", "oldPrefix": "QSM100", "timestamp": 1704129334.646}]' where id = '1339573574';
Date: 2024-01-02 14:06:05 Duration: 29s688ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
12 1s504ms 39s950ms 8s803ms 20 2m56s update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 02 08 1 17s595ms 17s595ms 09 2 16s747ms 8s373ms 11 3 26s701ms 8s900ms 13 4 1m39s 24s884ms 19 6 9s331ms 1s555ms 20 4 6s156ms 1s539ms [ User: safearrival client=10.0.0.133 - Total duration: 2m21s - Times executed: 12 ]
[ User: safearrival client=10.0.0.132 - Total duration: 34s784ms - Times executed: 8 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:22:23.347', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:03 Duration: 39s950ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:22:23.419', order_charge_paid_history_list = '[{"paid": true, "userId": 654832899, "timestamp": 1704170482.53}, {"paid": true, "userId": 654832899, "timestamp": 1704170482.658}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704201727.423, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1341453844';
Date: 2024-01-02 13:23:03 Duration: 39s871ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 08:50:59.209', order_charge_paid_history_list = '[{"paid": true, "userId": 655476937, "timestamp": 1704137642.357}, {"paid": true, "userId": 655476937, "timestamp": 1704137642.535}]', physical_pickup_attempts = '[{"userId": 1266705040, "timestamp": 1704179047.098, "supplierId": 638464150, "orderStatus": "picked_up", "escalationStatus": null}]' where id = '1341278818';
Date: 2024-01-02 08:51:16 Duration: 17s595ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
13 1s21ms 2m14s 6s795ms 141 15m58s update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ? where id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 02 04 2 3s652ms 1s826ms 05 2 2s792ms 1s396ms 06 4 9s752ms 2s438ms 07 4 7s709ms 1s927ms 08 1 1s574ms 1s574ms 10 5 10s35ms 2s7ms 11 2 6s477ms 3s238ms 12 3 8s790ms 2s930ms 13 4 7s747ms 1s936ms 14 27 10m2s 22s314ms 15 23 1m10s 3s56ms 16 5 13s61ms 2s612ms 17 33 1m43s 3s124ms 18 15 1m11s 4s746ms 21 3 10s925ms 3s641ms 22 3 16s654ms 5s551ms Jan 03 01 3 6s660ms 2s220ms 02 2 5s272ms 2s636ms [ User: safearrival client=10.0.0.132 - Total duration: 9m10s - Times executed: 72 ]
[ User: safearrival client=10.0.0.133 - Total duration: 6m47s - Times executed: 69 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:58:09.385', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m14s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 13:58:11.368', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m12s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 13:58:08.396', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]' where id = '1341812579';
Date: 2024-01-02 14:00:14 Duration: 2m5s Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
14 1s86ms 34s226ms 6s410ms 13 1m23s update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ? where id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 02 06 1 2s217ms 2s217ms 09 2 1m6s 33s276ms 10 1 3s560ms 3s560ms 16 1 1s103ms 1s103ms 18 1 1s517ms 1s517ms 19 1 1s521ms 1s521ms 21 6 6s862ms 1s143ms [ User: safearrival client=10.0.0.133 - Total duration: 1m13s - Times executed: 8 ]
[ User: safearrival client=10.0.0.132 - Total duration: 9s539ms - Times executed: 5 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 09:11:02.298', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1703746314.934}, {"paid": true, "userId": 707383933, "timestamp": 1703746315.128}]', physical_delivery_attempts = '[{"userId": 1017388750, "timestamp": 1703945462.419, "supplierId": 638464150, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703766372.006, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1338447960';
Date: 2024-01-02 09:11:36 Duration: 34s226ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 09:11:04.202', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1703746314.934}, {"paid": true, "userId": 707383933, "timestamp": 1703746315.128}]', physical_delivery_attempts = '[{"userId": 1017388750, "timestamp": 1703945462.419, "supplierId": 638464150, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703766372.006, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1338447960';
Date: 2024-01-02 09:11:36 Duration: 32s326ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 10:36:26.228', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1703091797.464}, {"paid": false, "userId": 1020830836, "timestamp": 1703091797.731}, {"paid": true, "userId": 1009856078, "timestamp": 1703686427.458}]', physical_delivery_attempts = '[{"userId": 1067062934, "timestamp": 1703509733.051, "supplierId": 638462680, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1009856078, "timestamp": 1703686435.899, "supplierId": 638462680, "orderStatus": "completed", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1703175766.746, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]' where id = '1333801136';
Date: 2024-01-02 10:36:29 Duration: 3s560ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
15 1s109ms 25s57ms 6s128ms 20 2m2s update orders set last_modified_date = ?, order_charge_paid_history_list = ? where id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 02 05 1 2s113ms 2s113ms 06 1 1s600ms 1s600ms 07 1 3s799ms 3s799ms 10 1 6s120ms 6s120ms 13 3 24s23ms 8s7ms 15 3 22s933ms 7s644ms 16 1 1s930ms 1s930ms 17 4 7s785ms 1s946ms 18 4 51s148ms 12s787ms 21 1 1s109ms 1s109ms [ User: safearrival client=10.0.0.133 - Total duration: 1m29s - Times executed: 11 ]
[ User: safearrival client=10.0.0.132 - Total duration: 32s971ms - Times executed: 9 ]
-
update orders set last_modified_date = '2024-01-02 18:16:16.237', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704219370.9}, {"paid": false, "userId": 1020830836, "timestamp": 1704219371.101}]' where id = '1342005426';
Date: 2024-01-02 18:16:41 Duration: 25s57ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 18:16:21.269', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1704219370.9}, {"paid": false, "userId": 1020830836, "timestamp": 1704219371.101}]' where id = '1342005426';
Date: 2024-01-02 18:16:41 Duration: 20s29ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_date = '2024-01-02 15:15:06.766', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704208503.244}, {"paid": false, "userId": 683802998, "timestamp": 1704208503.469}]' where id = '1341869561';
Date: 2024-01-02 15:15:20 Duration: 14s115ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
16 1s47ms 2m15s 5s876ms 61 5m58s update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, recipient_id = ? where id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 02 04 1 1s751ms 1s751ms 06 1 2s604ms 2s604ms 07 2 3s792ms 1s896ms 10 1 2s422ms 2s422ms 12 1 3s623ms 3s623ms 13 2 2s569ms 1s284ms 14 13 3m15s 15s61ms 15 14 47s596ms 3s399ms 16 1 4s412ms 4s412ms 17 14 49s788ms 3s556ms 18 6 24s899ms 4s149ms 21 1 5s354ms 5s354ms 22 1 6s851ms 6s851ms Jan 03 01 2 4s255ms 2s127ms 02 1 2s770ms 2s770ms [ User: safearrival client=10.0.0.133 - Total duration: 4m5s - Times executed: 29 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m53s - Times executed: 32 ]
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 13:58:08.621', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704203886.042}, {"paid": false, "userId": 683802998, "timestamp": 1704203886.235}]', recipient_id = '1341812625' where id = '1341812579';
Date: 2024-01-02 14:00:24 Duration: 2m15s Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 14:41:47.035', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704206503.717}, {"paid": false, "userId": 683802998, "timestamp": 1704206504.348}]', recipient_id = '1341844642' where id = '1341844605';
Date: 2024-01-02 14:42:11 Duration: 24s554ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'anonymous', last_modified_date = '2024-01-02 15:15:05.858', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704208503.244}, {"paid": false, "userId": 683802998, "timestamp": 1704208503.469}]', recipient_id = '736879156' where id = '1341869561';
Date: 2024-01-02 15:15:20 Duration: 15s14ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
17 1s 49s567ms 5s441ms 18 1m37s update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_delivery_attempts = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 02 05 3 8s865ms 2s955ms 06 1 49s567ms 49s567ms 07 1 13s34ms 13s34ms 10 1 1s182ms 1s182ms 16 1 1s565ms 1s565ms 18 3 3s792ms 1s264ms 19 2 2s309ms 1s154ms 20 3 4s891ms 1s630ms 21 3 12s734ms 4s244ms [ User: safearrival client=10.0.0.132 - Total duration: 1m7s - Times executed: 11 ]
[ User: safearrival client=10.0.0.133 - Total duration: 30s746ms - Times executed: 7 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 06:12:12.587', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1702105739.762}, {"paid": false, "userId": 1020830836, "timestamp": 1702105739.901}]', physical_delivery_attempts = '[{"userId": 1195029901, "timestamp": 1702900824.791, "supplierId": 638465814, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1269660764, "timestamp": 1703684343.819, "supplierId": 638465814, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 1249030358, "timestamp": 1704108833.684, "supplierId": 638465814, "orderStatus": "delivery_rejected", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1702491418.734, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "JIZ329", "oldPrefix": "JIZ329", "timestamp": 1702106164.081}]' where id = '1325028059';
Date: 2024-01-02 06:13:02 Duration: 49s567ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'a.awadh@safe-arrival.com', last_modified_date = '2024-01-02 07:55:37.524', order_charge_paid_history_list = '[{"paid": true, "userId": 707383933, "timestamp": 1704019975.77}, {"paid": true, "userId": 707383933, "timestamp": 1704019975.947}]', physical_delivery_attempts = '[{"userId": 930815529, "timestamp": 1704135846.75, "supplierId": 638462369, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704028416.979, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "QSM314", "oldPrefix": "QSM100", "timestamp": 1704028385.985}]' where id = '1340179957';
Date: 2024-01-02 07:55:50 Duration: 13s34ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 21:49:37.902', order_charge_paid_history_list = '[{"paid": false, "userId": 1020830836, "timestamp": 1701425826.19}, {"paid": false, "userId": 1020830836, "timestamp": 1701425826.369}]', physical_delivery_attempts = '[{"userId": 976985783, "timestamp": 1701620799.921, "supplierId": 638462369, "orderStatus": "out_of_delivery_area", "escalationStatus": null}, {"userId": 1286352981, "timestamp": 1702199794.981, "supplierId": 638463930, "orderStatus": "recipient_address_change_requested", "escalationStatus": null}, {"userId": 985601275, "timestamp": 1702921782.687, "supplierId": 638459779, "orderStatus": "office_closed", "escalationStatus": null}, {"userId": 991597450, "timestamp": 1703527478.84, "supplierId": 638459779, "orderStatus": "planned_delivery_for_tomorrow", "escalationStatus": null}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1701449800.334, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "HFR304", "oldPrefix": "QSM310", "timestamp": 1701629262.529}, {"userId": 631889486, "newPrefix": "DMM433", "oldPrefix": "HFR304", "timestamp": 1702200573.197}]' where id = '1319313203';
Date: 2024-01-02 21:49:45 Duration: 7s219ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
18 1s230ms 42s721ms 4s991ms 55 4m34s update orders set last_modified_by = ?, last_modified_date = ?, order_charge_paid_history_list = ?, physical_pickup_attempts = ?, prefix_history = ? where id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 02 05 1 15s634ms 15s634ms 07 1 14s262ms 14s262ms 08 1 5s770ms 5s770ms 09 2 12s907ms 6s453ms 12 1 42s721ms 42s721ms 14 3 5s548ms 1s849ms 15 2 6s342ms 3s171ms 16 9 1m43s 11s517ms 17 8 21s898ms 2s737ms 18 11 16s526ms 1s502ms 19 6 9s128ms 1s521ms 20 10 20s145ms 2s14ms [ User: safearrival client=10.0.0.133 - Total duration: 2m17s - Times executed: 29 ]
[ User: safearrival client=10.0.0.132 - Total duration: 2m16s - Times executed: 26 ]
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 12:31:59.802', order_charge_paid_history_list = '[{"paid": true, "userId": 775788263, "timestamp": 1704106866.651}, {"paid": true, "userId": 775788263, "timestamp": 1704106866.858}]', physical_pickup_attempts = '[{"userId": 802144983, "timestamp": 1704112485.696, "supplierId": 648752026, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": null, "newPrefix": "JED302", "oldPrefix": "JED100", "timestamp": 1704108646.45}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704108647.286}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704186679.637}, {"userId": null, "newPrefix": "JED302", "oldPrefix": "JED302", "timestamp": 1704186680.549}]' where id = '1340904099';
Date: 2024-01-02 12:32:42 Duration: 42s721ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 16:47:32.94', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704117770.377}, {"paid": false, "userId": 683802998, "timestamp": 1704117770.538}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704214050.827, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH442", "oldPrefix": "ABH442", "timestamp": 1704118139.85}]' where id = '1341042182';
Date: 2024-01-02 16:48:04 Duration: 31s486ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
update orders set last_modified_by = 'system', last_modified_date = '2024-01-02 16:47:32.947', order_charge_paid_history_list = '[{"paid": false, "userId": 683802998, "timestamp": 1704117770.377}, {"paid": false, "userId": 683802998, "timestamp": 1704117770.538}]', physical_pickup_attempts = '[{"userId": 802162478, "timestamp": 1704214050.827, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', prefix_history = '[{"userId": 631889486, "newPrefix": "ABH442", "oldPrefix": "ABH442", "timestamp": 1704118139.85}]' where id = '1341042182';
Date: 2024-01-02 16:48:04 Duration: 31s485ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
19 1s 19s674ms 4s342ms 37 2m40s select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in (...);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 02 04 1 12s20ms 12s20ms 05 3 3s422ms 1s140ms 06 9 15s215ms 1s690ms 07 2 2s391ms 1s195ms 08 2 14s600ms 7s300ms 09 12 1m29s 7s440ms 10 5 19s786ms 3s957ms 11 1 1s227ms 1s227ms 12 1 1s161ms 1s161ms 14 1 1s575ms 1s575ms [ User: safearrival client=10.0.0.133 - Total duration: 1m22s - Times executed: 15 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1m18s - Times executed: 22 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1314144216' , '1319310018' , '1322364465' , '1323411199' , '1324723660' , '1325289950' , '1325460828' , '1325944962' , '1326214703' , '1326623566' , '1327148655' , '1327390781' , '1327584558' , '1327589643' , '1327688984' , '1327707277' , '1327824010' , '1327920319' , '1328006681' , '1328472103' , '1328570910' , '1328698229' , '1328728149' , '1329307031' , '1329406183' , '1329422040' , '1329460784' , '1329770215' , '1329790482' , '1329820214' , '1329826580' , '1329859990' , '1329866831' , '1329868186' , '1329903451' , '1329943683' , '1330358133' , '1330417842' , '1330495783' , '1330560154' , '1330568911' , '1330624577' , '1330642664' , '1330652783' , '1330698552' , '1330799190' , '1331096344' , '1331101677' , '1331129642' , '1331346442' , '1331349352' , '1331358898' , '1331381208' , '1331397663' , '1331401430' , '1331437305' , '1331450767' , '1331467728' , '1331471583' , '1331515824' , '1331618099' , '1331668649' , '1331671146' , '1331680821' , '1331692722' , '1331724402' , '1331760274' , '1331793447' , '1331793480' , '1331955162' , '1332079925' , '1332111075' , '1332113398' , '1332393585' , '1332398863' , '1332398872' , '1332633857' , '1332692835' , '1332791501' , '1332828848' , '1332829706' , '1332832289' , '1332832418' , '1332837493' , '1332860616' , '1332863130' , '1332887637' , '1332890159' , '1332895627' , '1332926948' , '1332931006' , '1332941615' , '1332950529' , '1332955729' , '1332963762' , '1332967331' , '1332968442' , '1332978232' , '1332984214' , '1332985665' , '1332987706' , '1332995233' , '1332995508' , '1332998352' , '1333002227' , '1333353138' , '1333381469' , '1333408508' , '1333465282' , '1333475816' , '1333492591' , '1333541065' , '1333549000' , '1333551136' , '1333551919' , '1333566410' , '1333567749' , '1333568401' , '1333633088' , '1333642283' , '1333648496' , '1333654071' , '1333656560' , '1333659273' , '1333660515' , '1333662299' , '1333662903' , '1333662991' , '1333668916' , '1333671676' , '1333676444' , '1333679362' , '1333687261' , '1333688034' , '1333690360' , '1333700912' , '1333709641' , '1333711918' , '1333715598' , '1333723090' , '1333724578' , '1333739920' , '1333742617' , '1333742929' , '1333745720' , '1333746408' , '1333746907' , '1333749600' , '1333751372' , '1333751374' , '1333751994' , '1333754864' , '1333758934' , '1333761796' , '1333765462' , '1333765542' , '1333767511' , '1333768412' , '1333772210' , '1333775036' , '1333787434' , '1333791885' , '1333792217' , '1333795553' , '1333798802' , '1333802705' , '1333816788' , '1333818329' , '1333818702' , '1333821709' , '1333821955' , '1333824701' , '1333861418' , '1333861668' , '1333872100' , '1333873133' , '1333873162' , '1333874274' , '1333879240' , '1333881663' , '1333904843' , '1333914813' , '1333947066' , '1333949810' , '1333949998' , '1333953154' , '1333955617' , '1333955698' , '1333956941' , '1333959688' , '1333961945' , '1333964098' , '1333964596' , '1333967388' , '1333970056' , '1333970997' , '1333973326' , '1333973525' , '1333975849' , '1333978913');
Date: 2024-01-02 09:16:28 Duration: 19s674ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1279037688' , '1283024250' , '1283748491' , '1286326132' , '1286651763' , '1290875954' , '1291230524' , '1291259517' , '1291314997' , '1291918457' , '1292694403' , '1292749741' , '1292775475' , '1292803542' , '1292803957' , '1292806129' , '1293272007' , '1293830327' , '1293924146' , '1294145498' , '1294731667' , '1294874939' , '1295037801' , '1295085317' , '1295251339' , '1295808762' , '1295845420' , '1295849848' , '1295921963' , '1296446047' , '1296544137' , '1296554740' , '1296556446' , '1296601323' , '1296603864' , '1296626352' , '1296690630' , '1296698655' , '1296829242' , '1296861968' , '1297253418' , '1297388854' , '1297610723' , '1297628743' , '1297645437' , '1297650464' , '1297683319' , '1298116144' , '1298364808' , '1298381817' , '1298468439' , '1298513451' , '1298516092' , '1298544151' , '1298573530' , '1298595293' , '1298655982' , '1298695447' , '1298795725' , '1298796521' , '1298812658' , '1298899579' , '1298904054' , '1299025176' , '1299171249' , '1299176583' , '1299205426' , '1299207595' , '1299250766' , '1299380531' , '1299449383' , '1299486815' , '1299499442' , '1299557155' , '1299568680' , '1299656316' , '1299675887' , '1299926464' , '1300023449' , '1300050116' , '1300119395' , '1300188339' , '1300265475' , '1300269198' , '1300325124' , '1300325143' , '1300507533' , '1300529395' , '1300742826' , '1300773109' , '1300820981' , '1300838926' , '1300885062' , '1300885173' , '1300886516' , '1300940632' , '1300941212' , '1300971664' , '1300999365' , '1301070199' , '1301093067' , '1301105494' , '1301131441' , '1301156879' , '1301192681' , '1301199063' , '1301199087' , '1301222777' , '1301252760' , '1301263019' , '1301271276' , '1301278866' , '1301284567' , '1301304905' , '1301485046' , '1301549459' , '1301578211' , '1301634931' , '1301635270' , '1301637187' , '1301637781' , '1301638764' , '1301642551' , '1301664036' , '1301711484' , '1301735724' , '1301745882' , '1301783979' , '1301805105' , '1301819807' , '1301820355' , '1301820655' , '1301844986' , '1301874143' , '1301874784' , '1301922042' , '1301925915' , '1301926163' , '1301996371' , '1302069711' , '1302084562' , '1302381240' , '1302390235' , '1302411853' , '1302428597' , '1302450437' , '1302458799' , '1302514080' , '1302522934' , '1302542366' , '1302548476' , '1302555409' , '1302556821' , '1302564623' , '1302587539' , '1302587559' , '1302588528' , '1302621912' , '1302656796' , '1302683928' , '1302780085' , '1302787672' , '1302924746' , '1302939307' , '1302943602' , '1302983808' , '1302991101' , '1303003609' , '1303022683' , '1303044986' , '1303086393' , '1303086757' , '1303104599' , '1303118366' , '1303136010' , '1303139748' , '1303141220' , '1303152701' , '1303165479' , '1303169835' , '1303189802' , '1303202348' , '1303204804' , '1303233475' , '1303233881' , '1303243826' , '1303258072' , '1303258483' , '1303300451' , '1303301228' , '1303313342' , '1303354494' , '1303365781' , '1303424535' , '1303485817' , '1303495493' , '1303508997' , '1303538925' , '1303539038' , '1303539289');
Date: 2024-01-02 09:28:29 Duration: 13s685ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id where orders0_.id in ('1279037688' , '1283024250' , '1283748491' , '1286326132' , '1286651763' , '1290875954' , '1291230524' , '1291259517' , '1291314997' , '1291918457' , '1292694403' , '1292749741' , '1292775475' , '1292803542' , '1292803957' , '1292806129' , '1293272007' , '1293830327' , '1293924146' , '1294145498' , '1294731667' , '1294874939' , '1295037801' , '1295085317' , '1295251339' , '1295808762' , '1295845420' , '1295849848' , '1295921963' , '1296446047' , '1296544137' , '1296554740' , '1296556446' , '1296601323' , '1296603864' , '1296626352' , '1296690630' , '1296698655' , '1296829242' , '1296861968' , '1297253418' , '1297388854' , '1297610723' , '1297628743' , '1297645437' , '1297650464' , '1297683319' , '1298116144' , '1298364808' , '1298381817' , '1298468439' , '1298513451' , '1298516092' , '1298544151' , '1298573530' , '1298595293' , '1298655982' , '1298695447' , '1298795725' , '1298796521' , '1298812658' , '1298899579' , '1298904054' , '1299025176' , '1299171249' , '1299176583' , '1299205426' , '1299207595' , '1299250766' , '1299380531' , '1299449383' , '1299486815' , '1299499442' , '1299557155' , '1299568680' , '1299656316' , '1299675887' , '1299926464' , '1300023449' , '1300050116' , '1300119395' , '1300188339' , '1300265475' , '1300269198' , '1300325124' , '1300325143' , '1300507533' , '1300529395' , '1300742826' , '1300773109' , '1300820981' , '1300838926' , '1300885062' , '1300885173' , '1300886516' , '1300940632' , '1300941212' , '1300971664' , '1300999365' , '1301070199' , '1301093067' , '1301105494' , '1301131441' , '1301156879' , '1301192681' , '1301199063' , '1301199087' , '1301222777' , '1301252760' , '1301263019' , '1301271276' , '1301278866' , '1301284567' , '1301304905' , '1301485046' , '1301549459' , '1301578211' , '1301634931' , '1301635270' , '1301637187' , '1301637781' , '1301638764' , '1301642551' , '1301664036' , '1301711484' , '1301735724' , '1301745882' , '1301783979' , '1301805105' , '1301819807' , '1301820355' , '1301820655' , '1301844986' , '1301874143' , '1301874784' , '1301922042' , '1301925915' , '1301926163' , '1301996371' , '1302069711' , '1302084562' , '1302381240' , '1302390235' , '1302411853' , '1302428597' , '1302450437' , '1302458799' , '1302514080' , '1302522934' , '1302542366' , '1302548476' , '1302555409' , '1302556821' , '1302564623' , '1302587539' , '1302587559' , '1302588528' , '1302621912' , '1302656796' , '1302683928' , '1302780085' , '1302787672' , '1302924746' , '1302939307' , '1302943602' , '1302983808' , '1302991101' , '1303003609' , '1303022683' , '1303044986' , '1303086393' , '1303086757' , '1303104599' , '1303118366' , '1303136010' , '1303139748' , '1303141220' , '1303152701' , '1303165479' , '1303169835' , '1303189802' , '1303202348' , '1303204804' , '1303233475' , '1303233881' , '1303243826' , '1303258072' , '1303258483' , '1303300451' , '1303301228' , '1303313342' , '1303354494' , '1303365781' , '1303424535' , '1303485817' , '1303495493' , '1303508997' , '1303538925' , '1303539038' , '1303539289');
Date: 2024-01-02 09:29:45 Duration: 13s474ms Database: safearrival User: safearrival client=10.0.0.133 Remote: 10.0.0.133 Bind query: yes
20 1s5ms 31s695ms 3s616ms 69 4m9s select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in (...) and ( case ol.phone like ? when true then ol.phone when false then concat(?, ol.phone) end) = (?) and ol.is_pickup = ? order by o.created_date desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 02 05 6 11s563ms 1s927ms 06 18 1m19s 4s406ms 07 10 37s486ms 3s748ms 08 3 16s66ms 5s355ms 09 11 36s90ms 3s280ms 10 6 27s192ms 4s532ms 11 4 13s464ms 3s366ms 12 2 5s642ms 2s821ms 13 3 6s956ms 2s318ms 14 3 9s561ms 3s187ms 16 1 1s522ms 1s522ms 20 1 1s5ms 1s5ms 22 1 3s642ms 3s642ms [ User: safearrival client=10.0.0.132 - Total duration: 2m37s - Times executed: 36 ]
[ User: safearrival client=10.0.0.133 - Total duration: 1m31s - Times executed: 33 ]
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966553542942') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 06:05:04 Duration: 31s695ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966532244618') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 10:17:43 Duration: 14s798ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
-
select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ('ASSIGNED_TO_COURIER', 'ACCEPTED', 'ON_HIS_WAY', 'ARRIVED', 'PICKED_UP', 'IN_SORTING_FACILITY', 'IN_TRANSIT', 'OUT_FOR_DELIVERY', 'DELIVERY_FAILED', 'TO_BE_RETURNED', 'DRIVER_CANCELLED', 'DRIVER_REJECTED', 'COD_TRANSFERRED', 'DISPATCHED', 'DRIVER_UNASSIGNED', 'ON_HOLD', 'PICK_UP_ATTEMPT', 'DELIVERY_ATTEMPT', 'OUT_FOR_RETURN', 'DISPATCH_FOR_RETURN', 'TO_BE_RETURNED_TO_WING', 'RETURNING_TO_WING', 'FIRST_PICKUP_ATTEMPT', 'SECOND_PICKUP_ATTEMPT', 'THIRD_PICKUP_ATTEMPT', 'FIRST_DELIVERY_ATTEMPT', 'SECOND_DELIVERY_ATTEMPT', 'THIRD_DELIVERY_ATTEMPT', 'BAD_SENDER_ADDRESS', 'BAD_RECIPIENT_ADDRESS', 'PICKUP_CONFIRMED', 'DELIVERY_SCHEDULED', 'PICKUP_ON_HOLD', 'PICKUP_SCHEDULED', 'SENDER_NOT_AVAILABLE', 'PARCEL_NOT_READY', 'SENDER_MOBILE_SWITCHED_OFF', 'SENDER_MOBILE_WRONG', 'SENDER_ADDRESS_CHANGE_REQUESTED', 'PICKUP_REJECTED', 'RECIPIENT_NOT_AVAILABLE', 'RECIPIENT_MOBILE_WRONG', 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', 'COD_NOT_READY', 'OUT_OF_DELIVERY_AREA', 'RECIPIENT_WANTS_INSPECT_ITEM', 'RECIPIENT_MOBILE_SWITCHED_OFF', 'PARTIAL_DELIVERED', 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', 'DELIVERY_REJECTED', 'OTHER_REASON', 'NO_CAPACITY', 'SENDER_MOBILE_NO_RESPONSE', 'OUT_OF_PICKUP_AREA', 'FUTURE_PICKUP_REQUESTED', 'RECIPIENT_MOBILE_NO_RESPONSE', 'FUTURE_DELIVERY_REQUESTED', 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', 'WRONG_SHIPMENT', 'INCOMPLETE_PARCEL', 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', 'NO_TIME_FOR_DELIVERY', 'COULD_NOT_ATTEMPT', 'UNABLE_TO_ACCESS_SENDER_PREMISES', 'PROHIBITED_ITEMS', 'INCORRECT_PACKING', 'NO_AWB_PRINTED', 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', 'BAD_WEATHER_DURING_PICKUP', 'SENDER_NAME_MISSING', 'NO_CAPACITY_FOR_DELIVERY', 'ID_OR_DOCUMENT_REQUIRED_MISSING', 'BAD_WEATHER_DURING_DELIVERY', 'RECIPIENT_NAME_MISSING', 'COLLECTION_ARRANGED_OR_REQUESTED', 'PLANNED_DELIVERY_FOR_TODAY', 'LOST_OR_DAMAGED', 'LOST', 'DAMAGED', 'IN_TRANSIT_TO_SUPPLIER', 'TRANSITED_TO_SUPPLIER', 'PICKED_UP_AUTO', 'ARRIVED_TO_DELIVERY_ADDRESS', 'OTHER_PICKUP_ATTEMPT', 'OTHER_DELIVERY_ATTEMPT', 'PREPARED_FOR_TRANSIT', 'RECIPIENT_INFO_UPDATED', 'CS_DELIVERY_CONFIRMED', 'CS_RTO_CONFIRMED', 'PARTIALLY_IN_SORTING_FACILITY', 'IN_DIFFERENT_WAREHOUSE', 'OFFICE_CLOSED', 'PLANNED_DELIVERY_FOR_TOMORROW', 'RTO_PENDING_CONFIRMATION', 'ON_HOLD_PENDING_MERCHANT_REPLY', 'NEXT_DAY_OUT_FOR_DELIVERY', 'CHECK_ADDRESS', 'PREPARED_FOR_DISPATCH', 'RECIPIENT_MOBILE_ALWAYS_BUSY', 'UNASSIGNED') and ( CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ('+966541884457') and ol.is_pickup = 'f' order by o.created_date desc limit 1;
Date: 2024-01-02 06:37:27 Duration: 13s518ms Database: safearrival User: safearrival client=10.0.0.132 Remote: 10.0.0.132 Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1m15s 30 1s116ms 4s599ms 2s528ms select orderhisto0_.order_id as order_i17_105_0_, orderhisto0_.id as id1_105_0_, orderhisto0_.id as id1_105_1_, orderhisto0_.marketplace_id as marketpl2_105_1_, orderhisto0_.created_by as created_3_105_1_, orderhisto0_.created_date as created_4_105_1_, orderhisto0_.last_modified_by as last_mod5_105_1_, orderhisto0_.last_modified_date as last_mod6_105_1_, orderhisto0_.cashier_id as cashier_7_105_1_, orderhisto0_.cod_status as cod_stat8_105_1_, orderhisto0_.created_by_user_id as created_9_105_1_, orderhisto0_.created_by_user_role as created10_105_1_, orderhisto0_.driver_id as driver_11_105_1_, orderhisto0_.escalation_status as escalat12_105_1_, orderhisto0_.event_date as event_d13_105_1_, orderhisto0_.external_id as externa14_105_1_, orderhisto0_.lat as lat15_105_1_, orderhisto0_.lng as lng16_105_1_, orderhisto0_.order_id as order_i17_105_1_, orderhisto0_.parent_supplier_id as parent_18_105_1_, orderhisto0_.psf_status as psf_sta19_105_1_, orderhisto0_.rescheduled_delivery_date_time as resched20_105_1_, orderhisto0_.shipment_id as shipmen21_105_1_, orderhisto0_.status as status22_105_1_, orderhisto0_.supplier_id as supplie23_105_1_, orderhisto0_.warehouse_id as warehou24_105_1_ from order_history orderhisto0_ where orderhisto0_.order_id = $1;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jan 03 05 3 6s40ms 2s13ms 06 4 12s319ms 3s79ms 07 2 6s274ms 3s137ms 08 2 4s713ms 2s356ms 09 4 8s320ms 2s80ms 10 1 3s203ms 3s203ms 11 1 1s704ms 1s704ms 12 1 2s48ms 2s48ms 14 4 12s93ms 3s23ms 15 1 2s850ms 2s850ms 16 2 2s998ms 1s499ms 17 1 2s428ms 2s428ms 18 4 10s861ms 2s715ms [ User: safearrival client=10.0.0.133 - Total duration: 16m - Times executed: 15 ]
[ User: safearrival client=10.0.0.132 - Total duration: 4m1s - Times executed: 15 ]
-
select orderhisto0_.order_id as order_i17_105_0_, orderhisto0_.id as id1_105_0_, orderhisto0_.id as id1_105_1_, orderhisto0_.marketplace_id as marketpl2_105_1_, orderhisto0_.created_by as created_3_105_1_, orderhisto0_.created_date as created_4_105_1_, orderhisto0_.last_modified_by as last_mod5_105_1_, orderhisto0_.last_modified_date as last_mod6_105_1_, orderhisto0_.cashier_id as cashier_7_105_1_, orderhisto0_.cod_status as cod_stat8_105_1_, orderhisto0_.created_by_user_id as created_9_105_1_, orderhisto0_.created_by_user_role as created10_105_1_, orderhisto0_.driver_id as driver_11_105_1_, orderhisto0_.escalation_status as escalat12_105_1_, orderhisto0_.event_date as event_d13_105_1_, orderhisto0_.external_id as externa14_105_1_, orderhisto0_.lat as lat15_105_1_, orderhisto0_.lng as lng16_105_1_, orderhisto0_.order_id as order_i17_105_1_, orderhisto0_.parent_supplier_id as parent_18_105_1_, orderhisto0_.psf_status as psf_sta19_105_1_, orderhisto0_.rescheduled_delivery_date_time as resched20_105_1_, orderhisto0_.shipment_id as shipmen21_105_1_, orderhisto0_.status as status22_105_1_, orderhisto0_.supplier_id as supplie23_105_1_, orderhisto0_.warehouse_id as warehou24_105_1_ from order_history orderhisto0_ where orderhisto0_.order_id = $1;
Date: 2024-01-02 06:44:49 Duration: 4s599ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '631889485', $2 = '1'
-
select orderhisto0_.order_id as order_i17_105_0_, orderhisto0_.id as id1_105_0_, orderhisto0_.id as id1_105_1_, orderhisto0_.marketplace_id as marketpl2_105_1_, orderhisto0_.created_by as created_3_105_1_, orderhisto0_.created_date as created_4_105_1_, orderhisto0_.last_modified_by as last_mod5_105_1_, orderhisto0_.last_modified_date as last_mod6_105_1_, orderhisto0_.cashier_id as cashier_7_105_1_, orderhisto0_.cod_status as cod_stat8_105_1_, orderhisto0_.created_by_user_id as created_9_105_1_, orderhisto0_.created_by_user_role as created10_105_1_, orderhisto0_.driver_id as driver_11_105_1_, orderhisto0_.escalation_status as escalat12_105_1_, orderhisto0_.event_date as event_d13_105_1_, orderhisto0_.external_id as externa14_105_1_, orderhisto0_.lat as lat15_105_1_, orderhisto0_.lng as lng16_105_1_, orderhisto0_.order_id as order_i17_105_1_, orderhisto0_.parent_supplier_id as parent_18_105_1_, orderhisto0_.psf_status as psf_sta19_105_1_, orderhisto0_.rescheduled_delivery_date_time as resched20_105_1_, orderhisto0_.shipment_id as shipmen21_105_1_, orderhisto0_.status as status22_105_1_, orderhisto0_.supplier_id as supplie23_105_1_, orderhisto0_.warehouse_id as warehou24_105_1_ from order_history orderhisto0_ where orderhisto0_.order_id = $1;
Date: 2024-01-02 09:25:05 Duration: 4s263ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = 'ASSIGNED_TO_COURIER', $2 = 'ACCEPTED', $3 = 'ON_HIS_WAY', $4 = 'ARRIVED', $5 = 'PICKED_UP', $6 = 'IN_SORTING_FACILITY', $7 = 'IN_TRANSIT', $8 = 'OUT_FOR_DELIVERY', $9 = 'DELIVERY_FAILED', $10 = 'TO_BE_RETURNED', $11 = 'DRIVER_CANCELLED', $12 = 'DRIVER_REJECTED', $13 = 'COD_TRANSFERRED', $14 = 'DISPATCHED', $15 = 'DRIVER_UNASSIGNED', $16 = 'ON_HOLD', $17 = 'PICK_UP_ATTEMPT', $18 = 'DELIVERY_ATTEMPT', $19 = 'OUT_FOR_RETURN', $20 = 'DISPATCH_FOR_RETURN', $21 = 'TO_BE_RETURNED_TO_WING', $22 = 'RETURNING_TO_WING', $23 = 'FIRST_PICKUP_ATTEMPT', $24 = 'SECOND_PICKUP_ATTEMPT', $25 = 'THIRD_PICKUP_ATTEMPT', $26 = 'FIRST_DELIVERY_ATTEMPT', $27 = 'SECOND_DELIVERY_ATTEMPT', $28 = 'THIRD_DELIVERY_ATTEMPT', $29 = 'BAD_SENDER_ADDRESS', $30 = 'BAD_RECIPIENT_ADDRESS', $31 = 'PICKUP_CONFIRMED', $32 = 'DELIVERY_SCHEDULED', $33 = 'PICKUP_ON_HOLD', $34 = 'PICKUP_SCHEDULED', $35 = 'SENDER_NOT_AVAILABLE', $36 = 'PARCEL_NOT_READY', $37 = 'SENDER_MOBILE_SWITCHED_OFF', $38 = 'SENDER_MOBILE_WRONG', $39 = 'SENDER_ADDRESS_CHANGE_REQUESTED', $40 = 'PICKUP_REJECTED', $41 = 'RECIPIENT_NOT_AVAILABLE', $42 = 'RECIPIENT_MOBILE_WRONG', $43 = 'RECIPIENT_ADDRESS_CHANGE_REQUESTED', $44 = 'COD_NOT_READY', $45 = 'OUT_OF_DELIVERY_AREA', $46 = 'RECIPIENT_WANTS_INSPECT_ITEM', $47 = 'RECIPIENT_MOBILE_SWITCHED_OFF', $48 = 'PARTIAL_DELIVERED', $49 = 'RECIPIENT_WANTS_TO_PAY_BY_POS_MACHINE', $50 = 'DELIVERY_REJECTED', $51 = 'OTHER_REASON', $52 = 'NO_CAPACITY', $53 = 'SENDER_MOBILE_NO_RESPONSE', $54 = 'OUT_OF_PICKUP_AREA', $55 = 'FUTURE_PICKUP_REQUESTED', $56 = 'RECIPIENT_MOBILE_NO_RESPONSE', $57 = 'FUTURE_DELIVERY_REQUESTED', $58 = 'UNABLE_TO_ACCESS_RECIPIENT_PREMISES', $59 = 'WRONG_SHIPMENT', $60 = 'INCOMPLETE_PARCEL', $61 = 'DELIVERY_DELAY_DUE_TO_LATE_BOOKING', $62 = 'NO_TIME_FOR_DELIVERY', $63 = 'COULD_NOT_ATTEMPT', $64 = 'UNABLE_TO_ACCESS_SENDER_PREMISES', $65 = 'PROHIBITED_ITEMS', $66 = 'INCORRECT_PACKING', $67 = 'NO_AWB_PRINTED', $68 = 'PICKUP_DELAY_DUE_TO_LATE_BOOKING', $69 = 'BAD_WEATHER_DURING_PICKUP', $70 = 'SENDER_NAME_MISSING', $71 = 'NO_CAPACITY_FOR_DELIVERY', $72 = 'ID_OR_DOCUMENT_REQUIRED_MISSING', $73 = 'BAD_WEATHER_DURING_DELIVERY', $74 = 'RECIPIENT_NAME_MISSING', $75 = 'COLLECTION_ARRANGED_OR_REQUESTED', $76 = 'PLANNED_DELIVERY_FOR_TODAY', $77 = 'LOST_OR_DAMAGED', $78 = 'LOST', $79 = 'DAMAGED', $80 = 'IN_TRANSIT_TO_SUPPLIER', $81 = 'TRANSITED_TO_SUPPLIER', $82 = 'PICKED_UP_AUTO', $83 = 'ARRIVED_TO_DELIVERY_ADDRESS', $84 = 'OTHER_PICKUP_ATTEMPT', $85 = 'OTHER_DELIVERY_ATTEMPT', $86 = 'PREPARED_FOR_TRANSIT', $87 = 'RECIPIENT_INFO_UPDATED', $88 = 'CS_DELIVERY_CONFIRMED', $89 = 'CS_RTO_CONFIRMED', $90 = 'PARTIALLY_IN_SORTING_FACILITY', $91 = 'IN_DIFFERENT_WAREHOUSE', $92 = 'OFFICE_CLOSED', $93 = 'PLANNED_DELIVERY_FOR_TOMORROW', $94 = 'RTO_PENDING_CONFIRMATION', $95 = 'ON_HOLD_PENDING_MERCHANT_REPLY', $96 = 'NEXT_DAY_OUT_FOR_DELIVERY', $97 = 'CHECK_ADDRESS', $98 = 'PREPARED_FOR_DISPATCH', $99 = 'RECIPIENT_MOBILE_ALWAYS_BUSY', $100 = 'UNASSIGNED', $101 = '+966599883732', $102 = 'f'
-
select orderhisto0_.order_id as order_i17_105_0_, orderhisto0_.id as id1_105_0_, orderhisto0_.id as id1_105_1_, orderhisto0_.marketplace_id as marketpl2_105_1_, orderhisto0_.created_by as created_3_105_1_, orderhisto0_.created_date as created_4_105_1_, orderhisto0_.last_modified_by as last_mod5_105_1_, orderhisto0_.last_modified_date as last_mod6_105_1_, orderhisto0_.cashier_id as cashier_7_105_1_, orderhisto0_.cod_status as cod_stat8_105_1_, orderhisto0_.created_by_user_id as created_9_105_1_, orderhisto0_.created_by_user_role as created10_105_1_, orderhisto0_.driver_id as driver_11_105_1_, orderhisto0_.escalation_status as escalat12_105_1_, orderhisto0_.event_date as event_d13_105_1_, orderhisto0_.external_id as externa14_105_1_, orderhisto0_.lat as lat15_105_1_, orderhisto0_.lng as lng16_105_1_, orderhisto0_.order_id as order_i17_105_1_, orderhisto0_.parent_supplier_id as parent_18_105_1_, orderhisto0_.psf_status as psf_sta19_105_1_, orderhisto0_.rescheduled_delivery_date_time as resched20_105_1_, orderhisto0_.shipment_id as shipmen21_105_1_, orderhisto0_.status as status22_105_1_, orderhisto0_.supplier_id as supplie23_105_1_, orderhisto0_.warehouse_id as warehou24_105_1_ from order_history orderhisto0_ where orderhisto0_.order_id = $1;
Date: 2024-01-02 06:51:02 Duration: 4s54ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '631889485', $2 = '1'
2 28s22ms 9 1s817ms 4s883ms 3s113ms select orderhisto0_.id as id1_105_0_, orderhisto0_.marketplace_id as marketpl2_105_0_, orderhisto0_.created_by as created_3_105_0_, orderhisto0_.created_date as created_4_105_0_, orderhisto0_.last_modified_by as last_mod5_105_0_, orderhisto0_.last_modified_date as last_mod6_105_0_, orderhisto0_.cashier_id as cashier_7_105_0_, orderhisto0_.cod_status as cod_stat8_105_0_, orderhisto0_.created_by_user_id as created_9_105_0_, orderhisto0_.created_by_user_role as created10_105_0_, orderhisto0_.driver_id as driver_11_105_0_, orderhisto0_.escalation_status as escalat12_105_0_, orderhisto0_.event_date as event_d13_105_0_, orderhisto0_.external_id as externa14_105_0_, orderhisto0_.lat as lat15_105_0_, orderhisto0_.lng as lng16_105_0_, orderhisto0_.order_id as order_i17_105_0_, orderhisto0_.parent_supplier_id as parent_18_105_0_, orderhisto0_.psf_status as psf_sta19_105_0_, orderhisto0_.rescheduled_delivery_date_time as resched20_105_0_, orderhisto0_.shipment_id as shipmen21_105_0_, orderhisto0_.status as status22_105_0_, orderhisto0_.supplier_id as supplie23_105_0_, orderhisto0_.warehouse_id as warehou24_105_0_ from order_history orderhisto0_ where orderhisto0_.id = $1;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 04 1 2s980ms 2s980ms 05 1 2s637ms 2s637ms 06 1 2s635ms 2s635ms 07 3 11s796ms 3s932ms 08 1 2s987ms 2s987ms 12 1 1s817ms 1s817ms 17 1 3s167ms 3s167ms [ User: safearrival client=10.0.0.132 - Total duration: 1m19s - Times executed: 6 ]
[ User: safearrival client=10.0.0.133 - Total duration: 6s255ms - Times executed: 3 ]
-
select orderhisto0_.id as id1_105_0_, orderhisto0_.marketplace_id as marketpl2_105_0_, orderhisto0_.created_by as created_3_105_0_, orderhisto0_.created_date as created_4_105_0_, orderhisto0_.last_modified_by as last_mod5_105_0_, orderhisto0_.last_modified_date as last_mod6_105_0_, orderhisto0_.cashier_id as cashier_7_105_0_, orderhisto0_.cod_status as cod_stat8_105_0_, orderhisto0_.created_by_user_id as created_9_105_0_, orderhisto0_.created_by_user_role as created10_105_0_, orderhisto0_.driver_id as driver_11_105_0_, orderhisto0_.escalation_status as escalat12_105_0_, orderhisto0_.event_date as event_d13_105_0_, orderhisto0_.external_id as externa14_105_0_, orderhisto0_.lat as lat15_105_0_, orderhisto0_.lng as lng16_105_0_, orderhisto0_.order_id as order_i17_105_0_, orderhisto0_.parent_supplier_id as parent_18_105_0_, orderhisto0_.psf_status as psf_sta19_105_0_, orderhisto0_.rescheduled_delivery_date_time as resched20_105_0_, orderhisto0_.shipment_id as shipmen21_105_0_, orderhisto0_.status as status22_105_0_, orderhisto0_.supplier_id as supplie23_105_0_, orderhisto0_.warehouse_id as warehou24_105_0_ from order_history orderhisto0_ where orderhisto0_.id = $1;
Date: 2024-01-02 07:30:23 Duration: 4s883ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '925808485'
-
select orderhisto0_.id as id1_105_0_, orderhisto0_.marketplace_id as marketpl2_105_0_, orderhisto0_.created_by as created_3_105_0_, orderhisto0_.created_date as created_4_105_0_, orderhisto0_.last_modified_by as last_mod5_105_0_, orderhisto0_.last_modified_date as last_mod6_105_0_, orderhisto0_.cashier_id as cashier_7_105_0_, orderhisto0_.cod_status as cod_stat8_105_0_, orderhisto0_.created_by_user_id as created_9_105_0_, orderhisto0_.created_by_user_role as created10_105_0_, orderhisto0_.driver_id as driver_11_105_0_, orderhisto0_.escalation_status as escalat12_105_0_, orderhisto0_.event_date as event_d13_105_0_, orderhisto0_.external_id as externa14_105_0_, orderhisto0_.lat as lat15_105_0_, orderhisto0_.lng as lng16_105_0_, orderhisto0_.order_id as order_i17_105_0_, orderhisto0_.parent_supplier_id as parent_18_105_0_, orderhisto0_.psf_status as psf_sta19_105_0_, orderhisto0_.rescheduled_delivery_date_time as resched20_105_0_, orderhisto0_.shipment_id as shipmen21_105_0_, orderhisto0_.status as status22_105_0_, orderhisto0_.supplier_id as supplie23_105_0_, orderhisto0_.warehouse_id as warehou24_105_0_ from order_history orderhisto0_ where orderhisto0_.id = $1;
Date: 2024-01-02 07:30:23 Duration: 4s880ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '631889485', $2 = '1'
-
select orderhisto0_.id as id1_105_0_, orderhisto0_.marketplace_id as marketpl2_105_0_, orderhisto0_.created_by as created_3_105_0_, orderhisto0_.created_date as created_4_105_0_, orderhisto0_.last_modified_by as last_mod5_105_0_, orderhisto0_.last_modified_date as last_mod6_105_0_, orderhisto0_.cashier_id as cashier_7_105_0_, orderhisto0_.cod_status as cod_stat8_105_0_, orderhisto0_.created_by_user_id as created_9_105_0_, orderhisto0_.created_by_user_role as created10_105_0_, orderhisto0_.driver_id as driver_11_105_0_, orderhisto0_.escalation_status as escalat12_105_0_, orderhisto0_.event_date as event_d13_105_0_, orderhisto0_.external_id as externa14_105_0_, orderhisto0_.lat as lat15_105_0_, orderhisto0_.lng as lng16_105_0_, orderhisto0_.order_id as order_i17_105_0_, orderhisto0_.parent_supplier_id as parent_18_105_0_, orderhisto0_.psf_status as psf_sta19_105_0_, orderhisto0_.rescheduled_delivery_date_time as resched20_105_0_, orderhisto0_.shipment_id as shipmen21_105_0_, orderhisto0_.status as status22_105_0_, orderhisto0_.supplier_id as supplie23_105_0_, orderhisto0_.warehouse_id as warehou24_105_0_ from order_history orderhisto0_ where orderhisto0_.id = $1;
Date: 2024-01-02 17:48:53 Duration: 3s167ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = 'system', $2 = '2024-01-02 17:51:48.876', $3 = '[{"paid": false, "userId": 1020830836, "timestamp": 1704217906.585}, {"paid": false, "userId": 1020830836, "timestamp": 1704217906.756}]', $4 = '1341985146'
3 20s842ms 10 1s693ms 4s466ms 2s84ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200);Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 08 1 1s849ms 1s849ms 09 7 12s791ms 1s827ms 10 2 6s201ms 3s100ms [ User: safearrival client=10.0.0.133 - Total duration: 1m12s - Times executed: 7 ]
[ User: safearrival client=10.0.0.132 - Total duration: 27s172ms - Times executed: 3 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200);
Date: 2024-01-02 10:49:15 Duration: 4s466ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1315338639', $2 = '1316355007', $3 = '1317013044', $4 = '1317038536', $5 = '1317040638', $6 = '1317045885', $7 = '1317046941', $8 = '1317113125', $9 = '1317114985', $10 = '1317120880', $11 = '1317126043', $12 = '1317775607', $13 = '1318392844', $14 = '1319875903', $15 = '1320015238', $16 = '1322428383', $17 = '1323220281', $18 = '1325121036', $19 = '1326105857', $20 = '1326885576', $21 = '1326885582', $22 = '1326917211', $23 = '1326979941', $24 = '1327031258', $25 = '1327039873', $26 = '1327560813', $27 = '1327851047', $28 = '1328315592', $29 = '1328590204', $30 = '1328806440', $31 = '1329177034', $32 = '1329220258', $33 = '1329292575', $34 = '1329371875', $35 = '1329880949', $36 = '1329882616', $37 = '1329942565', $38 = '1329945223', $39 = '1329965256', $40 = '1330336516', $41 = '1331110859', $42 = '1331172456', $43 = '1331199199', $44 = '1331366242', $45 = '1331395463', $46 = '1331404634', $47 = '1331431982', $48 = '1331439312', $49 = '1331444288', $50 = '1331448480', $51 = '1331491056', $52 = '1331493545', $53 = '1331501972', $54 = '1331643466', $55 = '1331649121', $56 = '1331661269', $57 = '1331672296', $58 = '1331680405', $59 = '1331681528', $60 = '1331681564', $61 = '1331762144', $62 = '1331910037', $63 = '1332007862', $64 = '1332565091', $65 = '1332566320', $66 = '1332683609', $67 = '1332759481', $68 = '1332792685', $69 = '1332801431', $70 = '1332818511', $71 = '1332830468', $72 = '1332831479', $73 = '1332857274', $74 = '1332859979', $75 = '1332862011', $76 = '1332865960', $77 = '1332875330', $78 = '1332885370', $79 = '1332891277', $80 = '1332892433', $81 = '1332896263', $82 = '1332933358', $83 = '1332948510', $84 = '1332950732', $85 = '1332953914', $86 = '1332958845', $87 = '1332965116', $88 = '1332968110', $89 = '1332995132', $90 = '1333147870', $91 = '1333169903', $92 = '1333316720', $93 = '1333324902', $94 = '1333334496', $95 = '1333389466', $96 = '1333408815', $97 = '1333443475', $98 = '1333492423', $99 = '1333508255', $100 = '1333510548', $101 = '1333516461', $102 = '1333539232', $103 = '1333541980', $104 = '1333542665', $105 = '1333544397', $106 = '1333564956', $107 = '1333569480', $108 = '1333574547', $109 = '1333638585', $110 = '1333643805', $111 = '1333658644', $112 = '1333659328', $113 = '1333662779', $114 = '1333665612', $115 = '1333665852', $116 = '1333670720', $117 = '1333673342', $118 = '1333679830', $119 = '1333680149', $120 = '1333680572', $121 = '1333685864', $122 = '1333685978', $123 = '1333691913', $124 = '1333696711', $125 = '1333699736', $126 = '1333702700', $127 = '1333705697', $128 = '1333711076', $129 = '1333711627', $130 = '1333721321', $131 = '1333739794', $132 = '1333740344', $133 = '1333754486', $134 = '1333757347', $135 = '1333762413', $136 = '1333772270', $137 = '1333790083', $138 = '1333809545', $139 = '1333809633', $140 = '1333814655', $141 = '1333815398', $142 = '1333861917', $143 = '1333897091', $144 = '1333897140', $145 = '1333982105', $146 = '1333984395', $147 = '1333987780', $148 = '1333990763', $149 = '1333999891', $150 = '1334011575', $151 = '1334012062', $152 = '1334097532', $153 = '1334098216', $154 = '1334132425', $155 = '1334186254', $156 = '1334191171', $157 = '1334254244', $158 = '1334347867', $159 = '1334366429', $160 = '1334739661', $161 = '1334752020', $162 = '1334756742', $163 = '1334757525', $164 = '1334760643', $165 = '1334760783', $166 = '1334763246', $167 = '1334763372', $168 = '1334816242', $169 = '1334822881', $170 = '1334832846', $171 = '1334833230', $172 = '1334833880', $173 = '1334835347', $174 = '1334835478', $175 = '1334837103', $176 = '1334837329', $177 = '1334840351', $178 = '1334840495', $179 = '1334844213', $180 = '1334850496', $181 = '1334852519', $182 = '1334852646', $183 = '1334852833', $184 = '1334853829', $185 = '1334853856', $186 = '1334857171', $187 = '1334857342', $188 = '1334858122', $189 = '1334859031', $190 = '1334861180', $191 = '1334861259', $192 = '1334861601', $193 = '1334865348', $194 = '1334865949', $195 = '1334866162', $196 = '1334869200', $197 = '1334870922', $198 = '1334871292', $199 = '1334871541', $200 = '1334871924'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200);
Date: 2024-01-02 09:03:13 Duration: 2s73ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1322581314', $2 = '1322709173', $3 = '1323220311', $4 = '1323257699', $5 = '1323658913', $6 = '1324629985', $7 = '1324741270', $8 = '1325068994', $9 = '1325087494', $10 = '1325268217', $11 = '1325440907', $12 = '1325617259', $13 = '1325650894', $14 = '1325676081', $15 = '1326210658', $16 = '1326230328', $17 = '1326247429', $18 = '1326262279', $19 = '1326325025', $20 = '1327091092', $21 = '1327093691', $22 = '1327099813', $23 = '1327159896', $24 = '1327261182', $25 = '1327266765', $26 = '1327456898', $27 = '1327821998', $28 = '1327824893', $29 = '1327929990', $30 = '1328143255', $31 = '1328155067', $32 = '1328162238', $33 = '1328174968', $34 = '1328176892', $35 = '1328439722', $36 = '1328455423', $37 = '1328472147', $38 = '1328506265', $39 = '1328613640', $40 = '1328631076', $41 = '1328645415', $42 = '1328668236', $43 = '1328692584', $44 = '1328693895', $45 = '1328708053', $46 = '1328734207', $47 = '1328735691', $48 = '1328737523', $49 = '1328769097', $50 = '1328973553', $51 = '1329096337', $52 = '1329100821', $53 = '1329102910', $54 = '1329219105', $55 = '1329396908', $56 = '1329403969', $57 = '1329405365', $58 = '1329410988', $59 = '1329417070', $60 = '1329569284', $61 = '1329605584', $62 = '1329619183', $63 = '1329651079', $64 = '1329735062', $65 = '1329855119', $66 = '1329862534', $67 = '1329864648', $68 = '1329865569', $69 = '1329867222', $70 = '1329891530', $71 = '1329898104', $72 = '1329931026', $73 = '1329943051', $74 = '1329944331', $75 = '1329955954', $76 = '1329972775', $77 = '1330053107', $78 = '1330320293', $79 = '1330364475', $80 = '1330453118', $81 = '1330459384', $82 = '1330497347', $83 = '1330500943', $84 = '1330526867', $85 = '1330531476', $86 = '1330539072', $87 = '1330549783', $88 = '1330562913', $89 = '1330610110', $90 = '1331113051', $91 = '1331180087', $92 = '1331262195', $93 = '1331329883', $94 = '1331345791', $95 = '1331345999', $96 = '1331351489', $97 = '1331351778', $98 = '1331360554', $99 = '1331365451', $100 = '1331373951', $101 = '1331390215', $102 = '1331390772', $103 = '1331394550', $104 = '1331396075', $105 = '1331396588', $106 = '1331397039', $107 = '1331406701', $108 = '1331416430', $109 = '1331416724', $110 = '1331418529', $111 = '1331424186', $112 = '1331437982', $113 = '1331465742', $114 = '1331477620', $115 = '1331488299', $116 = '1331490338', $117 = '1331491327', $118 = '1331506211', $119 = '1331521929', $120 = '1331609781', $121 = '1331637801', $122 = '1331642391', $123 = '1331642864', $124 = '1331643178', $125 = '1331643227', $126 = '1331648697', $127 = '1331658576', $128 = '1331660983', $129 = '1331661323', $130 = '1331663989', $131 = '1331664892', $132 = '1331669986', $133 = '1331670409', $134 = '1331673075', $135 = '1331679384', $136 = '1331681319', $137 = '1331685170', $138 = '1331732486', $139 = '1331761913', $140 = '1331762987', $141 = '1331766062', $142 = '1331804997', $143 = '1331867613', $144 = '1331932086', $145 = '1331941239', $146 = '1331951947', $147 = '1332072077', $148 = '1332093330', $149 = '1332114910', $150 = '1332149376', $151 = '1332157021', $152 = '1332159506', $153 = '1332173781', $154 = '1332609625', $155 = '1332641127', $156 = '1332641194', $157 = '1332649652', $158 = '1332650961', $159 = '1332651131', $160 = '1332651342', $161 = '1332670196', $162 = '1332698859', $163 = '1332757642', $164 = '1332801207', $165 = '1332821496', $166 = '1332827133', $167 = '1332827427', $168 = '1332827770', $169 = '1332829522', $170 = '1332830753', $171 = '1332834288', $172 = '1332834644', $173 = '1332842253', $174 = '1332864947', $175 = '1332865914', $176 = '1332866219', $177 = '1332867392', $178 = '1332877486', $179 = '1332877508', $180 = '1332878865', $181 = '1332879167', $182 = '1332879188', $183 = '1332879745', $184 = '1332881086', $185 = '1332881737', $186 = '1332890209', $187 = '1332892084', $188 = '1332892099', $189 = '1332892696', $190 = '1332892800', $191 = '1332894713', $192 = '1332896226', $193 = '1332897301', $194 = '1332928426', $195 = '1332928593', $196 = '1332935249', $197 = '1332946123', $198 = '1332985421', $199 = '1332985475', $200 = '1332992233'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200);
Date: 2024-01-02 09:21:31 Duration: 1s975ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1322336156', $2 = '1324221907', $3 = '1325327120', $4 = '1325415888', $5 = '1325678884', $6 = '1326174578', $7 = '1326761922', $8 = '1328565858', $9 = '1328670998', $10 = '1329508118', $11 = '1329638440', $12 = '1329932784', $13 = '1329990743', $14 = '1330284944', $15 = '1330704891', $16 = '1331657807', $17 = '1331679000', $18 = '1331681047', $19 = '1331732824', $20 = '1332082478', $21 = '1332180502', $22 = '1332867282', $23 = '1332880322', $24 = '1332892419', $25 = '1332927661', $26 = '1332953672', $27 = '1332953710', $28 = '1333569152', $29 = '1333649757', $30 = '1333663461', $31 = '1333670942', $32 = '1333711054', $33 = '1333711402', $34 = '1333790426', $35 = '1333812962', $36 = '1333955522', $37 = '1333982223', $38 = '1333984318', $39 = '1334029463', $40 = '1334029503', $41 = '1334319716', $42 = '1334347198', $43 = '1334368817', $44 = '1334376157', $45 = '1334387601', $46 = '1334394459', $47 = '1334394809', $48 = '1334399937', $49 = '1334402314', $50 = '1334402426', $51 = '1334414980', $52 = '1334483348', $53 = '1334707130', $54 = '1334736080', $55 = '1334738907', $56 = '1334814249', $57 = '1334824401', $58 = '1334824532', $59 = '1334824824', $60 = '1334832937', $61 = '1334865173', $62 = '1335059817', $63 = '1335082839', $64 = '1335123424', $65 = '1335199833', $66 = '1335239714', $67 = '1335287405', $68 = '1335298378', $69 = '1335298483', $70 = '1335300721', $71 = '1335302294', $72 = '1335304081', $73 = '1335304742', $74 = '1335306011', $75 = '1335307576', $76 = '1335307918', $77 = '1335310175', $78 = '1335311621', $79 = '1335314607', $80 = '1335315793', $81 = '1335317389', $82 = '1335318331', $83 = '1335320672', $84 = '1335321271', $85 = '1335322770', $86 = '1335324118', $87 = '1335330322', $88 = '1335331826', $89 = '1335331887', $90 = '1335332234', $91 = '1335336023', $92 = '1335337378', $93 = '1335339650', $94 = '1335343410', $95 = '1335343655', $96 = '1335348730', $97 = '1335349315', $98 = '1335350047', $99 = '1335351786', $100 = '1335356882', $101 = '1335361081', $102 = '1335364695', $103 = '1335367749', $104 = '1335389862', $105 = '1335390349', $106 = '1335396943', $107 = '1335397190', $108 = '1335399744', $109 = '1335405797', $110 = '1335420610', $111 = '1335428603', $112 = '1335432102', $113 = '1335432651', $114 = '1335433954', $115 = '1335437438', $116 = '1335440288', $117 = '1335444252', $118 = '1335444628', $119 = '1335445353', $120 = '1335445639', $121 = '1335446813', $122 = '1335448024', $123 = '1335448084', $124 = '1335451033', $125 = '1335460779', $126 = '1335468733', $127 = '1335483508', $128 = '1335486522', $129 = '1335487411', $130 = '1335488858', $131 = '1335489889', $132 = '1335494110', $133 = '1335573387', $134 = '1335691664', $135 = '1335710181', $136 = '1335753400', $137 = '1335760747', $138 = '1335807029', $139 = '1336020233', $140 = '1336030168', $141 = '1336035716', $142 = '1336073925', $143 = '1336106900', $144 = '1336122117', $145 = '1336185879', $146 = '1336220408', $147 = '1336221209', $148 = '1336224486', $149 = '1336224984', $150 = '1336225777', $151 = '1336233109', $152 = '1336233239', $153 = '1336233505', $154 = '1336233523', $155 = '1336233689', $156 = '1336234374', $157 = '1336234657', $158 = '1336234950', $159 = '1336234995', $160 = '1336235582', $161 = '1336235920', $162 = '1336236301', $163 = '1336236905', $164 = '1336239881', $165 = '1336240141', $166 = '1336267423', $167 = '1336270671', $168 = '1336270882', $169 = '1336293536', $170 = '1336296375', $171 = '1336304166', $172 = '1336309161', $173 = '1336309871', $174 = '1336310205', $175 = '1336310581', $176 = '1336310756', $177 = '1336310788', $178 = '1336312450', $179 = '1336312609', $180 = '1336312649', $181 = '1336312918', $182 = '1336314589', $183 = '1336321778', $184 = '1336337705', $185 = '1336337995', $186 = '1336338063', $187 = '1336339306', $188 = '1336339664', $189 = '1336340929', $190 = '1336341059', $191 = '1336341551', $192 = '1336341642', $193 = '1336341647', $194 = '1336351451', $195 = '1336351467', $196 = '1336354772', $197 = '1336364244', $198 = '1336382960', $199 = '1336383681', $200 = '1336383848'
4 15s332ms 14 1s7ms 1s178ms 1s95ms select distinct orderlocat0_.id as id1_108_0_, warehouse1_.id as id1_207_1_, neighborho2_.id as id1_97_2_, alias3_.id as id1_7_3_, neighborho4_.id as id1_97_4_, orders5_.id as id1_122_5_, emirateare6_.id as id1_73_6_, orderlocat0_.marketplace_id as marketpl2_108_0_, orderlocat0_.created_by as created_3_108_0_, orderlocat0_.created_date as created_4_108_0_, orderlocat0_.last_modified_by as last_mod5_108_0_, orderlocat0_.last_modified_date as last_mod6_108_0_, orderlocat0_.accuracy_status as accuracy7_108_0_, orderlocat0_.address as address8_108_0_, orderlocat0_.address_city as address_9_108_0_, orderlocat0_.address_street as address10_108_0_, orderlocat0_.address_type as address11_108_0_, orderlocat0_.alias_id as alias_i12_108_0_, orderlocat0_.apartment as apartme13_108_0_, orderlocat0_.area_id as area_id14_108_0_, orderlocat0_.at_least_once_bad_address as at_leas15_108_0_, orderlocat0_.is_bad_address as is_bad_16_108_0_, orderlocat0_.building as buildin17_108_0_, orderlocat0_.company_name as company18_108_0_, orderlocat0_.confirmed_by_recipient as confirm19_108_0_, orderlocat0_.details as details20_108_0_, orderlocat0_.email as email21_108_0_, orderlocat0_.floor as floor22_108_0_, orderlocat0_.geo_address as geo_add23_108_0_, orderlocat0_.google_id as google_24_108_0_, orderlocat0_.landmark as landmar25_108_0_, orderlocat0_.lat as lat26_108_0_, orderlocat0_.lng as lng27_108_0_, orderlocat0_.location_source_type as locatio28_108_0_, orderlocat0_.neighborhood_id as neighbo29_108_0_, orderlocat0_.neighborhood_name as neighbo30_108_0_, orderlocat0_.order_id as order_i31_108_0_, orderlocat0_.original_address as origina32_108_0_, orderlocat0_.phone as phone33_108_0_, orderlocat0_.phone_code as phone_c34_108_0_, orderlocat0_.phone_formatted as phone_f35_108_0_, orderlocat0_.phone_without_code as phone_w36_108_0_, orderlocat0_.is_pickup as is_pick37_108_0_, orderlocat0_.plain_city as plain_c38_108_0_, orderlocat0_.postcode as postcod39_108_0_, orderlocat0_.preferred_time as preferr40_108_0_, orderlocat0_.province as provinc41_108_0_, orderlocat0_.rough_neighborhood_id as rough_n42_108_0_, orderlocat0_.second_phone as second_43_108_0_, orderlocat0_.sender_name as sender_44_108_0_, orderlocat0_.system_address as system_45_108_0_, orderlocat0_.third_phone as third_p46_108_0_, orderlocat0_.version as version47_108_0_, orderlocat0_.warehouse_id as warehou48_108_0_, warehouse1_.marketplace_id as marketpl2_207_1_, warehouse1_.created_by as created_3_207_1_, warehouse1_.created_date as created_4_207_1_, warehouse1_.last_modified_by as last_mod5_207_1_, warehouse1_.last_modified_date as last_mod6_207_1_, warehouse1_.address as address7_207_1_, warehouse1_.area as area8_207_1_, warehouse1_.city as city9_207_1_, warehouse1_.deleted as deleted10_207_1_, warehouse1_.email as email11_207_1_, warehouse1_.fbs_enabled as fbs_ena12_207_1_, warehouse1_.lat as lat13_207_1_, warehouse1_.lon as lon14_207_1_, warehouse1_.name as name15_207_1_, warehouse1_.phone as phone16_207_1_, warehouse1_.status as status17_207_1_, warehouse1_.url as url18_207_1_, warehouse1_.utilization as utiliza19_207_1_, neighborho2_.marketplace_id as marketpl2_97_2_, neighborho2_.created_by as created_3_97_2_, neighborho2_.created_date as created_4_97_2_, neighborho2_.last_modified_by as last_mod5_97_2_, neighborho2_.last_modified_date as last_mod6_97_2_, neighborho2_.address as address7_97_2_, neighborho2_.area as area8_97_2_, neighborho2_.center_latitude as center_l9_97_2_, neighborho2_.center_longitude as center_10_97_2_, neighborho2_.city_id as city_id11_97_2_, neighborho2_.custom as custom12_97_2_, neighborho2_.deleted as deleted13_97_2_, neighborho2_.name as name14_97_2_, neighborho2_.neighborhood_type as neighbo15_97_2_, neighborho2_.service_warehouse_id as service16_97_2_, neighborho2_.sub as sub17_97_2_, neighborho2_.warehouse_id as warehou18_97_2_, alias3_.marketplace_id as marketpl2_7_3_, alias3_.city_id as city_id3_7_3_, alias3_.deleted as deleted4_7_3_, alias3_.deleted_object_id as deleted_5_7_3_, alias3_.name as name6_7_3_, alias3_.public_name as public_n7_7_3_, neighborho4_.marketplace_id as marketpl2_97_4_, neighborho4_.created_by as created_3_97_4_, neighborho4_.created_date as created_4_97_4_, neighborho4_.last_modified_by as last_mod5_97_4_, neighborho4_.last_modified_date as last_mod6_97_4_, neighborho4_.address as address7_97_4_, neighborho4_.area as area8_97_4_, neighborho4_.center_latitude as center_l9_97_4_, neighborho4_.center_longitude as center_10_97_4_, neighborho4_.city_id as city_id11_97_4_, neighborho4_.custom as custom12_97_4_, neighborho4_.deleted as deleted13_97_4_, neighborho4_.name as name14_97_4_, neighborho4_.neighborhood_type as neighbo15_97_4_, neighborho4_.service_warehouse_id as service16_97_4_, neighborho4_.sub as sub17_97_4_, neighborho4_.warehouse_id as warehou18_97_4_, orders5_.marketplace_id as marketpl2_122_5_, orders5_.created_by as created_3_122_5_, orders5_.created_date as created_4_122_5_, orders5_.last_modified_by as last_mod5_122_5_, orders5_.last_modified_date as last_mod6_122_5_, orders5_.actual_delivery_option as actual_d7_122_5_, orders5_.actualdelivery_time as actualde8_122_5_, orders5_.actual_pickup_time as actual_p9_122_5_, orders5_.allocated_from_warehouse as allocat10_122_5_, orders5_.amount as amount11_122_5_, orders5_.api_supplier_id as api_sup12_122_5_, orders5_.approximate_distance as approxi13_122_5_, orders5_.audit_version as audit_v14_122_5_, orders5_.authenticated_by_otp as authent15_122_5_, orders5_.back_id as back_id16_122_5_, orders5_.booking_date_time as booking17_122_5_, orders5_.cancellation_requires_type as cancell18_122_5_, orders5_.cashier_id as cashier19_122_5_, orders5_.chargeable_weight as chargea20_122_5_, orders5_.cod_settlement_date as cod_set21_122_5_, orders5_.cod_settlement_reference as cod_set22_122_5_, orders5_.cod_status as cod_sta23_122_5_, orders5_.cod_status_updated_by as cod_sta24_122_5_, orders5_.cod_transfer_type as cod_tra25_122_5_, orders5_.code as code26_122_5_, orders5_.completed as complet27_122_5_, orders5_.create_transaction as create_28_122_5_, orders5_.currency_id as currenc29_122_5_, orders5_.customer_id as custome31_122_5_, orders5_.customer_care_id as custome30_122_5_, orders5_.deadline_time as deadlin32_122_5_, orders5_.dec_date as dec_dat33_122_5_, orders5_.deleted as deleted34_122_5_, orders5_.delivered_lat as deliver35_122_5_, orders5_.delivered_lng as deliver36_122_5_, orders5_.delivered_to as deliver37_122_5_, orders5_.delivered_to_phone as deliver38_122_5_, orders5_.delivered_to_photo_id as deliver39_122_5_, orders5_.delivery_address_changed_date as deliver40_122_5_, orders5_.delivery_attemp_count as deliver41_122_5_, orders5_.delivery_planned_datetime as deliver42_122_5_, orders5_.delivery_planned_timestamp_array as deliver43_122_5_, orders5_.delivery_signature_id as deliver44_122_5_, orders5_.device_details as device_45_122_5_, orders5_.dimension_unit as dimensi46_122_5_, orders5_.dispatch_attempt_count as dispatc47_122_5_, orders5_.driver_id as driver_48_122_5_, orders5_.driver_bonus_id as driver193_122_5_, orders5_.drop_timeslot_availability_id as drop_ti49_122_5_, orders5_.dropoff_pos_receipt_number as dropoff50_122_5_, orders5_.dsc_date as dsc_dat51_122_5_, orders5_.encrypted_id as encrypt52_122_5_, orders5_.escalation_status as escalat53_122_5_, orders5_.escalation_status_updated_by as escalat54_122_5_, orders5_.escalation_status_updated_date as escalat55_122_5_, orders5_.estimated_delivery_date_time as estimat56_122_5_, orders5_.estimated_pick_up_time as estimat57_122_5_, orders5_.eta_id as eta_id58_122_5_, orders5_.external_user_name as externa59_122_5_, orders5_.failed_image_attachments as failed_60_122_5_, orders5_.fetch_item_id as fetch_i61_122_5_, orders5_.finance_pick_up_driver_id as finance62_122_5_, orders5_.finance_pick_up_supplier_id as finance63_122_5_, orders5_.first_delivery_time as first_d64_122_5_, orders5_.first_driver_id as first_d65_122_5_, orders5_.first_ofd_date as first_o66_122_5_, orders5_.first_pick_up_time as first_p67_122_5_, orders5_.fragile as fragile68_122_5_, orders5_.from_area_id as from_ar69_122_5_, orders5_.from_city as from_ci70_122_5_, orders5_.from_warehouse_id as from_wa71_122_5_, orders5_.future_pickup_requested_date as future_72_122_5_, orders5_.head_id as head_id73_122_5_, orders5_.heavy_type as heavy_t74_122_5_, orders5_.height as height75_122_5_, orders5_.id_card_required as id_card76_122_5_, orders5_.internal_promise_date as interna77_122_5_, orders5_.is_no_service_area as is_no_s78_122_5_, orders5_.is_old as is_old79_122_5_, orders5_.is_public as is_publ80_122_5_, orders5_.is_uae as is_uae81_122_5_, orders5_.item_payment_id as item_pa82_122_5_, orders5_.last_cod_status_date as last_co83_122_5_, orders5_.last_delivery_attempt_date as last_de84_122_5_, orders5_.last_mile_driver_id as last_mi85_122_5_, orders5_.last_ofd_date as last_of86_122_5_, orders5_.last_routing_status_date as last_ro87_122_5_, orders5_.last_status_date as last_st88_122_5_, orders5_.last_status_updated_user_id as last_st89_122_5_, orders5_.length as length90_122_5_, orders5_.logistic_type as logisti91_122_5_, orders5_.merchant_promise_date as merchan92_122_5_, orders5_.nc_date as nc_date93_122_5_, orders5_.new_prefix as new_pre94_122_5_, orders5_.note as note95_122_5_, orders5_.old_prefix as old_pre96_122_5_, orders5_.old_recipient_address as old_rec97_122_5_, orders5_.old_recipient_city_id as old_rec98_122_5_, orders5_.old_recipient_city_name as old_rec99_122_5_, orders5_.old_recipient_lat as old_re100_122_5_, orders5_.old_recipient_lng as old_re101_122_5_, orders5_.old_recipient_neighborhood_id as old_re102_122_5_, orders5_.old_recipient_neighborhood_name as old_re103_122_5_, orders5_.old_sender_address as old_se104_122_5_, orders5_.old_sender_city_id as old_se105_122_5_, orders5_.old_sender_city_name as old_se106_122_5_, orders5_.old_sender_lat as old_se107_122_5_, orders5_.old_sender_lng as old_se108_122_5_, orders5_.old_sender_neighborhood_id as old_se109_122_5_, orders5_.old_sender_neighborhood_name as old_se110_122_5_, orders5_.order_charge_paid_history_list as order_111_122_5_, orders5_.order_count as order_112_122_5_, orders5_.order_payment_id as order_113_122_5_, orders5_.order_piece_count as order_114_122_5_, orders5_.order_transfer_id as order_115_122_5_, orders5_.package_changed as packag116_122_5_, orders5_.package_id as packag117_122_5_, orders5_.package_type_id as packag118_122_5_, orders5_.parent_id as parent119_122_5_, orders5_.parent_supplier_id as parent120_122_5_, orders5_.payer as payer121_122_5_, orders5_.payment_status as paymen122_122_5_, orders5_.payment_type as paymen123_122_5_, orders5_.physical_delivery_attempt_count as physic124_122_5_, orders5_.physical_delivery_attempts as physic125_122_5_, orders5_.physical_dispatch_timestamp_array as physic126_122_5_, orders5_.physical_pickup_attempts as physic127_122_5_, orders5_.pickup_attemp_count as pickup128_122_5_, orders5_.pick_up_driver_id as pick_u129_122_5_, orders5_.pickup_id as pickup130_122_5_, orders5_.pickup_pos_receipt_number as pickup131_122_5_, orders5_.pickup_planned_date_time as pickup132_122_5_, orders5_.pickup_promise_date_time as pickup133_122_5_, orders5_.pickup_time as pickup134_122_5_, orders5_.pickup_time_now as pickup135_122_5_, orders5_.pickup_timeslot_availability_id as pickup136_122_5_, orders5_.pos_terminal_number as pos_te137_122_5_, orders5_.prefix_changed as prefix138_122_5_, orders5_.prefix_history as prefix139_122_5_, orders5_.previous_driver_id as previo140_122_5_, orders5_.price_id as price_141_122_5_, orders5_.promo_id as promo_142_122_5_, orders5_.provided_weight as provid143_122_5_, orders5_.psf_status as psf_st144_122_5_, orders5_.public_id as public145_122_5_, orders5_.receipt_id as receip146_122_5_, orders5_.receipt_number as receip147_122_5_, orders5_.recipient_id as recipi149_122_5_, orders5_.recipient_city_changed as recipi148_122_5_, orders5_.if_recipient_not_available as if_rec150_122_5_, orders5_.reference_id as refere151_122_5_, orders5_.request_details as reques152_122_5_, orders5_.rescheduled_delivery_datetime as resche153_122_5_, orders5_.reverse_code as revers154_122_5_, orders5_.routeid as routei155_122_5_, orders5_.routing_status as routin156_122_5_, orders5_.rule_id as rule_i157_122_5_, orders5_.scanned_piece_count as scanne158_122_5_, orders5_.seller_id as seller159_122_5_, orders5_.seller_name as seller160_122_5_, orders5_.sender_from as sender161_122_5_, orders5_.sender_phone as sender162_122_5_, orders5_.sender_photo_id as sender163_122_5_, orders5_.sender_prefix as sender164_122_5_, orders5_.sender_signature_id as sender165_122_5_, orders5_.sender_zone as sender166_122_5_, orders5_.sequence_number as sequen167_122_5_, orders5_.service_type_id as servic168_122_5_, orders5_.shipment_id as shipme169_122_5_, orders5_.shop_order as shop_o170_122_5_, orders5_.size as size171_122_5_, orders5_.sms_verification_event_id as sms_ve172_122_5_, orders5_.sms_verification_number as sms_ve173_122_5_, orders5_.sms_verified as sms_ve174_122_5_, orders5_.status as status175_122_5_, orders5_.storfox_sale_order_id as storfo176_122_5_, orders5_.supplier_id as suppli177_122_5_, orders5_.timeslot_availability_history_id as timesl194_122_5_, orders5_.to_area_id as to_are178_122_5_, orders5_.to_city as to_cit179_122_5_, orders5_.to_warehouse_id as to_war180_122_5_, orders5_.type as type181_122_5_, orders5_.unique_id as unique182_122_5_, orders5_.value as value183_122_5_, orders5_.volumetric_weight as volume184_122_5_, orders5_.wallet_settlement_date as wallet185_122_5_, orders5_.wallet_settlement_reference as wallet186_122_5_, orders5_.warehouse_id as wareho187_122_5_, orders5_.weight as weight188_122_5_, orders5_.width as width189_122_5_, orders5_.with_driver as with_d190_122_5_, orders5_.with_driver_time as with_d191_122_5_, orders5_.wrong_allocated_warehouse as wrong_192_122_5_, emirateare6_.marketplace_id as marketpl2_73_6_, emirateare6_.active as active3_73_6_, emirateare6_.category as category4_73_6_, emirateare6_.center_latitude as center_l5_73_6_, emirateare6_.center_longitude as center_l6_73_6_, emirateare6_.code as code7_73_6_, emirateare6_.country_id as country_8_73_6_, emirateare6_.custom as custom9_73_6_, emirateare6_.import_code as import_10_73_6_, emirateare6_.level as level11_73_6_, emirateare6_.name as name12_73_6_, emirateare6_.parent_id as parent_13_73_6_, emirateare6_.parent_name as parent_14_73_6_, emirateare6_.support2gis as support15_73_6_, emirateare6_.type as type16_73_6_, emirateare6_.zindex as zindex17_73_6_ from order_locations orderlocat0_ left outer join warehouse warehouse1_ on orderlocat0_.warehouse_id = warehouse1_.id left outer join neighborhood neighborho2_ on orderlocat0_.neighborhood_id = neighborho2_.id left outer join alias alias3_ on orderlocat0_.alias_id = alias3_.id left outer join neighborhood neighborho4_ on orderlocat0_.rough_neighborhood_id = neighborho4_.id left outer join orders orders5_ on orderlocat0_.order_id = orders5_.id left outer join emirate_areas emirateare6_ on orderlocat0_.area_id = emirateare6_.id where orderlocat0_.id in ($1);Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 14 12 13s253ms 1s104ms 18 2 2s78ms 1s39ms [ User: safearrival client=10.0.0.133 - Total duration: 3m22s - Times executed: 9 ]
[ User: safearrival client=10.0.0.132 - Total duration: 2m19s - Times executed: 5 ]
-
select distinct orderlocat0_.id as id1_108_0_, warehouse1_.id as id1_207_1_, neighborho2_.id as id1_97_2_, alias3_.id as id1_7_3_, neighborho4_.id as id1_97_4_, orders5_.id as id1_122_5_, emirateare6_.id as id1_73_6_, orderlocat0_.marketplace_id as marketpl2_108_0_, orderlocat0_.created_by as created_3_108_0_, orderlocat0_.created_date as created_4_108_0_, orderlocat0_.last_modified_by as last_mod5_108_0_, orderlocat0_.last_modified_date as last_mod6_108_0_, orderlocat0_.accuracy_status as accuracy7_108_0_, orderlocat0_.address as address8_108_0_, orderlocat0_.address_city as address_9_108_0_, orderlocat0_.address_street as address10_108_0_, orderlocat0_.address_type as address11_108_0_, orderlocat0_.alias_id as alias_i12_108_0_, orderlocat0_.apartment as apartme13_108_0_, orderlocat0_.area_id as area_id14_108_0_, orderlocat0_.at_least_once_bad_address as at_leas15_108_0_, orderlocat0_.is_bad_address as is_bad_16_108_0_, orderlocat0_.building as buildin17_108_0_, orderlocat0_.company_name as company18_108_0_, orderlocat0_.confirmed_by_recipient as confirm19_108_0_, orderlocat0_.details as details20_108_0_, orderlocat0_.email as email21_108_0_, orderlocat0_.floor as floor22_108_0_, orderlocat0_.geo_address as geo_add23_108_0_, orderlocat0_.google_id as google_24_108_0_, orderlocat0_.landmark as landmar25_108_0_, orderlocat0_.lat as lat26_108_0_, orderlocat0_.lng as lng27_108_0_, orderlocat0_.location_source_type as locatio28_108_0_, orderlocat0_.neighborhood_id as neighbo29_108_0_, orderlocat0_.neighborhood_name as neighbo30_108_0_, orderlocat0_.order_id as order_i31_108_0_, orderlocat0_.original_address as origina32_108_0_, orderlocat0_.phone as phone33_108_0_, orderlocat0_.phone_code as phone_c34_108_0_, orderlocat0_.phone_formatted as phone_f35_108_0_, orderlocat0_.phone_without_code as phone_w36_108_0_, orderlocat0_.is_pickup as is_pick37_108_0_, orderlocat0_.plain_city as plain_c38_108_0_, orderlocat0_.postcode as postcod39_108_0_, orderlocat0_.preferred_time as preferr40_108_0_, orderlocat0_.province as provinc41_108_0_, orderlocat0_.rough_neighborhood_id as rough_n42_108_0_, orderlocat0_.second_phone as second_43_108_0_, orderlocat0_.sender_name as sender_44_108_0_, orderlocat0_.system_address as system_45_108_0_, orderlocat0_.third_phone as third_p46_108_0_, orderlocat0_.version as version47_108_0_, orderlocat0_.warehouse_id as warehou48_108_0_, warehouse1_.marketplace_id as marketpl2_207_1_, warehouse1_.created_by as created_3_207_1_, warehouse1_.created_date as created_4_207_1_, warehouse1_.last_modified_by as last_mod5_207_1_, warehouse1_.last_modified_date as last_mod6_207_1_, warehouse1_.address as address7_207_1_, warehouse1_.area as area8_207_1_, warehouse1_.city as city9_207_1_, warehouse1_.deleted as deleted10_207_1_, warehouse1_.email as email11_207_1_, warehouse1_.fbs_enabled as fbs_ena12_207_1_, warehouse1_.lat as lat13_207_1_, warehouse1_.lon as lon14_207_1_, warehouse1_.name as name15_207_1_, warehouse1_.phone as phone16_207_1_, warehouse1_.status as status17_207_1_, warehouse1_.url as url18_207_1_, warehouse1_.utilization as utiliza19_207_1_, neighborho2_.marketplace_id as marketpl2_97_2_, neighborho2_.created_by as created_3_97_2_, neighborho2_.created_date as created_4_97_2_, neighborho2_.last_modified_by as last_mod5_97_2_, neighborho2_.last_modified_date as last_mod6_97_2_, neighborho2_.address as address7_97_2_, neighborho2_.area as area8_97_2_, neighborho2_.center_latitude as center_l9_97_2_, neighborho2_.center_longitude as center_10_97_2_, neighborho2_.city_id as city_id11_97_2_, neighborho2_.custom as custom12_97_2_, neighborho2_.deleted as deleted13_97_2_, neighborho2_.name as name14_97_2_, neighborho2_.neighborhood_type as neighbo15_97_2_, neighborho2_.service_warehouse_id as service16_97_2_, neighborho2_.sub as sub17_97_2_, neighborho2_.warehouse_id as warehou18_97_2_, alias3_.marketplace_id as marketpl2_7_3_, alias3_.city_id as city_id3_7_3_, alias3_.deleted as deleted4_7_3_, alias3_.deleted_object_id as deleted_5_7_3_, alias3_.name as name6_7_3_, alias3_.public_name as public_n7_7_3_, neighborho4_.marketplace_id as marketpl2_97_4_, neighborho4_.created_by as created_3_97_4_, neighborho4_.created_date as created_4_97_4_, neighborho4_.last_modified_by as last_mod5_97_4_, neighborho4_.last_modified_date as last_mod6_97_4_, neighborho4_.address as address7_97_4_, neighborho4_.area as area8_97_4_, neighborho4_.center_latitude as center_l9_97_4_, neighborho4_.center_longitude as center_10_97_4_, neighborho4_.city_id as city_id11_97_4_, neighborho4_.custom as custom12_97_4_, neighborho4_.deleted as deleted13_97_4_, neighborho4_.name as name14_97_4_, neighborho4_.neighborhood_type as neighbo15_97_4_, neighborho4_.service_warehouse_id as service16_97_4_, neighborho4_.sub as sub17_97_4_, neighborho4_.warehouse_id as warehou18_97_4_, orders5_.marketplace_id as marketpl2_122_5_, orders5_.created_by as created_3_122_5_, orders5_.created_date as created_4_122_5_, orders5_.last_modified_by as last_mod5_122_5_, orders5_.last_modified_date as last_mod6_122_5_, orders5_.actual_delivery_option as actual_d7_122_5_, orders5_.actualdelivery_time as actualde8_122_5_, orders5_.actual_pickup_time as actual_p9_122_5_, orders5_.allocated_from_warehouse as allocat10_122_5_, orders5_.amount as amount11_122_5_, orders5_.api_supplier_id as api_sup12_122_5_, orders5_.approximate_distance as approxi13_122_5_, orders5_.audit_version as audit_v14_122_5_, orders5_.authenticated_by_otp as authent15_122_5_, orders5_.back_id as back_id16_122_5_, orders5_.booking_date_time as booking17_122_5_, orders5_.cancellation_requires_type as cancell18_122_5_, orders5_.cashier_id as cashier19_122_5_, orders5_.chargeable_weight as chargea20_122_5_, orders5_.cod_settlement_date as cod_set21_122_5_, orders5_.cod_settlement_reference as cod_set22_122_5_, orders5_.cod_status as cod_sta23_122_5_, orders5_.cod_status_updated_by as cod_sta24_122_5_, orders5_.cod_transfer_type as cod_tra25_122_5_, orders5_.code as code26_122_5_, orders5_.completed as complet27_122_5_, orders5_.create_transaction as create_28_122_5_, orders5_.currency_id as currenc29_122_5_, orders5_.customer_id as custome31_122_5_, orders5_.customer_care_id as custome30_122_5_, orders5_.deadline_time as deadlin32_122_5_, orders5_.dec_date as dec_dat33_122_5_, orders5_.deleted as deleted34_122_5_, orders5_.delivered_lat as deliver35_122_5_, orders5_.delivered_lng as deliver36_122_5_, orders5_.delivered_to as deliver37_122_5_, orders5_.delivered_to_phone as deliver38_122_5_, orders5_.delivered_to_photo_id as deliver39_122_5_, orders5_.delivery_address_changed_date as deliver40_122_5_, orders5_.delivery_attemp_count as deliver41_122_5_, orders5_.delivery_planned_datetime as deliver42_122_5_, orders5_.delivery_planned_timestamp_array as deliver43_122_5_, orders5_.delivery_signature_id as deliver44_122_5_, orders5_.device_details as device_45_122_5_, orders5_.dimension_unit as dimensi46_122_5_, orders5_.dispatch_attempt_count as dispatc47_122_5_, orders5_.driver_id as driver_48_122_5_, orders5_.driver_bonus_id as driver193_122_5_, orders5_.drop_timeslot_availability_id as drop_ti49_122_5_, orders5_.dropoff_pos_receipt_number as dropoff50_122_5_, orders5_.dsc_date as dsc_dat51_122_5_, orders5_.encrypted_id as encrypt52_122_5_, orders5_.escalation_status as escalat53_122_5_, orders5_.escalation_status_updated_by as escalat54_122_5_, orders5_.escalation_status_updated_date as escalat55_122_5_, orders5_.estimated_delivery_date_time as estimat56_122_5_, orders5_.estimated_pick_up_time as estimat57_122_5_, orders5_.eta_id as eta_id58_122_5_, orders5_.external_user_name as externa59_122_5_, orders5_.failed_image_attachments as failed_60_122_5_, orders5_.fetch_item_id as fetch_i61_122_5_, orders5_.finance_pick_up_driver_id as finance62_122_5_, orders5_.finance_pick_up_supplier_id as finance63_122_5_, orders5_.first_delivery_time as first_d64_122_5_, orders5_.first_driver_id as first_d65_122_5_, orders5_.first_ofd_date as first_o66_122_5_, orders5_.first_pick_up_time as first_p67_122_5_, orders5_.fragile as fragile68_122_5_, orders5_.from_area_id as from_ar69_122_5_, orders5_.from_city as from_ci70_122_5_, orders5_.from_warehouse_id as from_wa71_122_5_, orders5_.future_pickup_requested_date as future_72_122_5_, orders5_.head_id as head_id73_122_5_, orders5_.heavy_type as heavy_t74_122_5_, orders5_.height as height75_122_5_, orders5_.id_card_required as id_card76_122_5_, orders5_.internal_promise_date as interna77_122_5_, orders5_.is_no_service_area as is_no_s78_122_5_, orders5_.is_old as is_old79_122_5_, orders5_.is_public as is_publ80_122_5_, orders5_.is_uae as is_uae81_122_5_, orders5_.item_payment_id as item_pa82_122_5_, orders5_.last_cod_status_date as last_co83_122_5_, orders5_.last_delivery_attempt_date as last_de84_122_5_, orders5_.last_mile_driver_id as last_mi85_122_5_, orders5_.last_ofd_date as last_of86_122_5_, orders5_.last_routing_status_date as last_ro87_122_5_, orders5_.last_status_date as last_st88_122_5_, orders5_.last_status_updated_user_id as last_st89_122_5_, orders5_.length as length90_122_5_, orders5_.logistic_type as logisti91_122_5_, orders5_.merchant_promise_date as merchan92_122_5_, orders5_.nc_date as nc_date93_122_5_, orders5_.new_prefix as new_pre94_122_5_, orders5_.note as note95_122_5_, orders5_.old_prefix as old_pre96_122_5_, orders5_.old_recipient_address as old_rec97_122_5_, orders5_.old_recipient_city_id as old_rec98_122_5_, orders5_.old_recipient_city_name as old_rec99_122_5_, orders5_.old_recipient_lat as old_re100_122_5_, orders5_.old_recipient_lng as old_re101_122_5_, orders5_.old_recipient_neighborhood_id as old_re102_122_5_, orders5_.old_recipient_neighborhood_name as old_re103_122_5_, orders5_.old_sender_address as old_se104_122_5_, orders5_.old_sender_city_id as old_se105_122_5_, orders5_.old_sender_city_name as old_se106_122_5_, orders5_.old_sender_lat as old_se107_122_5_, orders5_.old_sender_lng as old_se108_122_5_, orders5_.old_sender_neighborhood_id as old_se109_122_5_, orders5_.old_sender_neighborhood_name as old_se110_122_5_, orders5_.order_charge_paid_history_list as order_111_122_5_, orders5_.order_count as order_112_122_5_, orders5_.order_payment_id as order_113_122_5_, orders5_.order_piece_count as order_114_122_5_, orders5_.order_transfer_id as order_115_122_5_, orders5_.package_changed as packag116_122_5_, orders5_.package_id as packag117_122_5_, orders5_.package_type_id as packag118_122_5_, orders5_.parent_id as parent119_122_5_, orders5_.parent_supplier_id as parent120_122_5_, orders5_.payer as payer121_122_5_, orders5_.payment_status as paymen122_122_5_, orders5_.payment_type as paymen123_122_5_, orders5_.physical_delivery_attempt_count as physic124_122_5_, orders5_.physical_delivery_attempts as physic125_122_5_, orders5_.physical_dispatch_timestamp_array as physic126_122_5_, orders5_.physical_pickup_attempts as physic127_122_5_, orders5_.pickup_attemp_count as pickup128_122_5_, orders5_.pick_up_driver_id as pick_u129_122_5_, orders5_.pickup_id as pickup130_122_5_, orders5_.pickup_pos_receipt_number as pickup131_122_5_, orders5_.pickup_planned_date_time as pickup132_122_5_, orders5_.pickup_promise_date_time as pickup133_122_5_, orders5_.pickup_time as pickup134_122_5_, orders5_.pickup_time_now as pickup135_122_5_, orders5_.pickup_timeslot_availability_id as pickup136_122_5_, orders5_.pos_terminal_number as pos_te137_122_5_, orders5_.prefix_changed as prefix138_122_5_, orders5_.prefix_history as prefix139_122_5_, orders5_.previous_driver_id as previo140_122_5_, orders5_.price_id as price_141_122_5_, orders5_.promo_id as promo_142_122_5_, orders5_.provided_weight as provid143_122_5_, orders5_.psf_status as psf_st144_122_5_, orders5_.public_id as public145_122_5_, orders5_.receipt_id as receip146_122_5_, orders5_.receipt_number as receip147_122_5_, orders5_.recipient_id as recipi149_122_5_, orders5_.recipient_city_changed as recipi148_122_5_, orders5_.if_recipient_not_available as if_rec150_122_5_, orders5_.reference_id as refere151_122_5_, orders5_.request_details as reques152_122_5_, orders5_.rescheduled_delivery_datetime as resche153_122_5_, orders5_.reverse_code as revers154_122_5_, orders5_.routeid as routei155_122_5_, orders5_.routing_status as routin156_122_5_, orders5_.rule_id as rule_i157_122_5_, orders5_.scanned_piece_count as scanne158_122_5_, orders5_.seller_id as seller159_122_5_, orders5_.seller_name as seller160_122_5_, orders5_.sender_from as sender161_122_5_, orders5_.sender_phone as sender162_122_5_, orders5_.sender_photo_id as sender163_122_5_, orders5_.sender_prefix as sender164_122_5_, orders5_.sender_signature_id as sender165_122_5_, orders5_.sender_zone as sender166_122_5_, orders5_.sequence_number as sequen167_122_5_, orders5_.service_type_id as servic168_122_5_, orders5_.shipment_id as shipme169_122_5_, orders5_.shop_order as shop_o170_122_5_, orders5_.size as size171_122_5_, orders5_.sms_verification_event_id as sms_ve172_122_5_, orders5_.sms_verification_number as sms_ve173_122_5_, orders5_.sms_verified as sms_ve174_122_5_, orders5_.status as status175_122_5_, orders5_.storfox_sale_order_id as storfo176_122_5_, orders5_.supplier_id as suppli177_122_5_, orders5_.timeslot_availability_history_id as timesl194_122_5_, orders5_.to_area_id as to_are178_122_5_, orders5_.to_city as to_cit179_122_5_, orders5_.to_warehouse_id as to_war180_122_5_, orders5_.type as type181_122_5_, orders5_.unique_id as unique182_122_5_, orders5_.value as value183_122_5_, orders5_.volumetric_weight as volume184_122_5_, orders5_.wallet_settlement_date as wallet185_122_5_, orders5_.wallet_settlement_reference as wallet186_122_5_, orders5_.warehouse_id as wareho187_122_5_, orders5_.weight as weight188_122_5_, orders5_.width as width189_122_5_, orders5_.with_driver as with_d190_122_5_, orders5_.with_driver_time as with_d191_122_5_, orders5_.wrong_allocated_warehouse as wrong_192_122_5_, emirateare6_.marketplace_id as marketpl2_73_6_, emirateare6_.active as active3_73_6_, emirateare6_.category as category4_73_6_, emirateare6_.center_latitude as center_l5_73_6_, emirateare6_.center_longitude as center_l6_73_6_, emirateare6_.code as code7_73_6_, emirateare6_.country_id as country_8_73_6_, emirateare6_.custom as custom9_73_6_, emirateare6_.import_code as import_10_73_6_, emirateare6_.level as level11_73_6_, emirateare6_.name as name12_73_6_, emirateare6_.parent_id as parent_13_73_6_, emirateare6_.parent_name as parent_14_73_6_, emirateare6_.support2gis as support15_73_6_, emirateare6_.type as type16_73_6_, emirateare6_.zindex as zindex17_73_6_ from order_locations orderlocat0_ left outer join warehouse warehouse1_ on orderlocat0_.warehouse_id = warehouse1_.id left outer join neighborhood neighborho2_ on orderlocat0_.neighborhood_id = neighborho2_.id left outer join alias alias3_ on orderlocat0_.alias_id = alias3_.id left outer join neighborhood neighborho4_ on orderlocat0_.rough_neighborhood_id = neighborho4_.id left outer join orders orders5_ on orderlocat0_.order_id = orders5_.id left outer join emirate_areas emirateare6_ on orderlocat0_.area_id = emirateare6_.id where orderlocat0_.id in ($1);
Date: 2024-01-02 14:30:12 Duration: 1s178ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '631889485', $2 = '1'
-
select distinct orderlocat0_.id as id1_108_0_, warehouse1_.id as id1_207_1_, neighborho2_.id as id1_97_2_, alias3_.id as id1_7_3_, neighborho4_.id as id1_97_4_, orders5_.id as id1_122_5_, emirateare6_.id as id1_73_6_, orderlocat0_.marketplace_id as marketpl2_108_0_, orderlocat0_.created_by as created_3_108_0_, orderlocat0_.created_date as created_4_108_0_, orderlocat0_.last_modified_by as last_mod5_108_0_, orderlocat0_.last_modified_date as last_mod6_108_0_, orderlocat0_.accuracy_status as accuracy7_108_0_, orderlocat0_.address as address8_108_0_, orderlocat0_.address_city as address_9_108_0_, orderlocat0_.address_street as address10_108_0_, orderlocat0_.address_type as address11_108_0_, orderlocat0_.alias_id as alias_i12_108_0_, orderlocat0_.apartment as apartme13_108_0_, orderlocat0_.area_id as area_id14_108_0_, orderlocat0_.at_least_once_bad_address as at_leas15_108_0_, orderlocat0_.is_bad_address as is_bad_16_108_0_, orderlocat0_.building as buildin17_108_0_, orderlocat0_.company_name as company18_108_0_, orderlocat0_.confirmed_by_recipient as confirm19_108_0_, orderlocat0_.details as details20_108_0_, orderlocat0_.email as email21_108_0_, orderlocat0_.floor as floor22_108_0_, orderlocat0_.geo_address as geo_add23_108_0_, orderlocat0_.google_id as google_24_108_0_, orderlocat0_.landmark as landmar25_108_0_, orderlocat0_.lat as lat26_108_0_, orderlocat0_.lng as lng27_108_0_, orderlocat0_.location_source_type as locatio28_108_0_, orderlocat0_.neighborhood_id as neighbo29_108_0_, orderlocat0_.neighborhood_name as neighbo30_108_0_, orderlocat0_.order_id as order_i31_108_0_, orderlocat0_.original_address as origina32_108_0_, orderlocat0_.phone as phone33_108_0_, orderlocat0_.phone_code as phone_c34_108_0_, orderlocat0_.phone_formatted as phone_f35_108_0_, orderlocat0_.phone_without_code as phone_w36_108_0_, orderlocat0_.is_pickup as is_pick37_108_0_, orderlocat0_.plain_city as plain_c38_108_0_, orderlocat0_.postcode as postcod39_108_0_, orderlocat0_.preferred_time as preferr40_108_0_, orderlocat0_.province as provinc41_108_0_, orderlocat0_.rough_neighborhood_id as rough_n42_108_0_, orderlocat0_.second_phone as second_43_108_0_, orderlocat0_.sender_name as sender_44_108_0_, orderlocat0_.system_address as system_45_108_0_, orderlocat0_.third_phone as third_p46_108_0_, orderlocat0_.version as version47_108_0_, orderlocat0_.warehouse_id as warehou48_108_0_, warehouse1_.marketplace_id as marketpl2_207_1_, warehouse1_.created_by as created_3_207_1_, warehouse1_.created_date as created_4_207_1_, warehouse1_.last_modified_by as last_mod5_207_1_, warehouse1_.last_modified_date as last_mod6_207_1_, warehouse1_.address as address7_207_1_, warehouse1_.area as area8_207_1_, warehouse1_.city as city9_207_1_, warehouse1_.deleted as deleted10_207_1_, warehouse1_.email as email11_207_1_, warehouse1_.fbs_enabled as fbs_ena12_207_1_, warehouse1_.lat as lat13_207_1_, warehouse1_.lon as lon14_207_1_, warehouse1_.name as name15_207_1_, warehouse1_.phone as phone16_207_1_, warehouse1_.status as status17_207_1_, warehouse1_.url as url18_207_1_, warehouse1_.utilization as utiliza19_207_1_, neighborho2_.marketplace_id as marketpl2_97_2_, neighborho2_.created_by as created_3_97_2_, neighborho2_.created_date as created_4_97_2_, neighborho2_.last_modified_by as last_mod5_97_2_, neighborho2_.last_modified_date as last_mod6_97_2_, neighborho2_.address as address7_97_2_, neighborho2_.area as area8_97_2_, neighborho2_.center_latitude as center_l9_97_2_, neighborho2_.center_longitude as center_10_97_2_, neighborho2_.city_id as city_id11_97_2_, neighborho2_.custom as custom12_97_2_, neighborho2_.deleted as deleted13_97_2_, neighborho2_.name as name14_97_2_, neighborho2_.neighborhood_type as neighbo15_97_2_, neighborho2_.service_warehouse_id as service16_97_2_, neighborho2_.sub as sub17_97_2_, neighborho2_.warehouse_id as warehou18_97_2_, alias3_.marketplace_id as marketpl2_7_3_, alias3_.city_id as city_id3_7_3_, alias3_.deleted as deleted4_7_3_, alias3_.deleted_object_id as deleted_5_7_3_, alias3_.name as name6_7_3_, alias3_.public_name as public_n7_7_3_, neighborho4_.marketplace_id as marketpl2_97_4_, neighborho4_.created_by as created_3_97_4_, neighborho4_.created_date as created_4_97_4_, neighborho4_.last_modified_by as last_mod5_97_4_, neighborho4_.last_modified_date as last_mod6_97_4_, neighborho4_.address as address7_97_4_, neighborho4_.area as area8_97_4_, neighborho4_.center_latitude as center_l9_97_4_, neighborho4_.center_longitude as center_10_97_4_, neighborho4_.city_id as city_id11_97_4_, neighborho4_.custom as custom12_97_4_, neighborho4_.deleted as deleted13_97_4_, neighborho4_.name as name14_97_4_, neighborho4_.neighborhood_type as neighbo15_97_4_, neighborho4_.service_warehouse_id as service16_97_4_, neighborho4_.sub as sub17_97_4_, neighborho4_.warehouse_id as warehou18_97_4_, orders5_.marketplace_id as marketpl2_122_5_, orders5_.created_by as created_3_122_5_, orders5_.created_date as created_4_122_5_, orders5_.last_modified_by as last_mod5_122_5_, orders5_.last_modified_date as last_mod6_122_5_, orders5_.actual_delivery_option as actual_d7_122_5_, orders5_.actualdelivery_time as actualde8_122_5_, orders5_.actual_pickup_time as actual_p9_122_5_, orders5_.allocated_from_warehouse as allocat10_122_5_, orders5_.amount as amount11_122_5_, orders5_.api_supplier_id as api_sup12_122_5_, orders5_.approximate_distance as approxi13_122_5_, orders5_.audit_version as audit_v14_122_5_, orders5_.authenticated_by_otp as authent15_122_5_, orders5_.back_id as back_id16_122_5_, orders5_.booking_date_time as booking17_122_5_, orders5_.cancellation_requires_type as cancell18_122_5_, orders5_.cashier_id as cashier19_122_5_, orders5_.chargeable_weight as chargea20_122_5_, orders5_.cod_settlement_date as cod_set21_122_5_, orders5_.cod_settlement_reference as cod_set22_122_5_, orders5_.cod_status as cod_sta23_122_5_, orders5_.cod_status_updated_by as cod_sta24_122_5_, orders5_.cod_transfer_type as cod_tra25_122_5_, orders5_.code as code26_122_5_, orders5_.completed as complet27_122_5_, orders5_.create_transaction as create_28_122_5_, orders5_.currency_id as currenc29_122_5_, orders5_.customer_id as custome31_122_5_, orders5_.customer_care_id as custome30_122_5_, orders5_.deadline_time as deadlin32_122_5_, orders5_.dec_date as dec_dat33_122_5_, orders5_.deleted as deleted34_122_5_, orders5_.delivered_lat as deliver35_122_5_, orders5_.delivered_lng as deliver36_122_5_, orders5_.delivered_to as deliver37_122_5_, orders5_.delivered_to_phone as deliver38_122_5_, orders5_.delivered_to_photo_id as deliver39_122_5_, orders5_.delivery_address_changed_date as deliver40_122_5_, orders5_.delivery_attemp_count as deliver41_122_5_, orders5_.delivery_planned_datetime as deliver42_122_5_, orders5_.delivery_planned_timestamp_array as deliver43_122_5_, orders5_.delivery_signature_id as deliver44_122_5_, orders5_.device_details as device_45_122_5_, orders5_.dimension_unit as dimensi46_122_5_, orders5_.dispatch_attempt_count as dispatc47_122_5_, orders5_.driver_id as driver_48_122_5_, orders5_.driver_bonus_id as driver193_122_5_, orders5_.drop_timeslot_availability_id as drop_ti49_122_5_, orders5_.dropoff_pos_receipt_number as dropoff50_122_5_, orders5_.dsc_date as dsc_dat51_122_5_, orders5_.encrypted_id as encrypt52_122_5_, orders5_.escalation_status as escalat53_122_5_, orders5_.escalation_status_updated_by as escalat54_122_5_, orders5_.escalation_status_updated_date as escalat55_122_5_, orders5_.estimated_delivery_date_time as estimat56_122_5_, orders5_.estimated_pick_up_time as estimat57_122_5_, orders5_.eta_id as eta_id58_122_5_, orders5_.external_user_name as externa59_122_5_, orders5_.failed_image_attachments as failed_60_122_5_, orders5_.fetch_item_id as fetch_i61_122_5_, orders5_.finance_pick_up_driver_id as finance62_122_5_, orders5_.finance_pick_up_supplier_id as finance63_122_5_, orders5_.first_delivery_time as first_d64_122_5_, orders5_.first_driver_id as first_d65_122_5_, orders5_.first_ofd_date as first_o66_122_5_, orders5_.first_pick_up_time as first_p67_122_5_, orders5_.fragile as fragile68_122_5_, orders5_.from_area_id as from_ar69_122_5_, orders5_.from_city as from_ci70_122_5_, orders5_.from_warehouse_id as from_wa71_122_5_, orders5_.future_pickup_requested_date as future_72_122_5_, orders5_.head_id as head_id73_122_5_, orders5_.heavy_type as heavy_t74_122_5_, orders5_.height as height75_122_5_, orders5_.id_card_required as id_card76_122_5_, orders5_.internal_promise_date as interna77_122_5_, orders5_.is_no_service_area as is_no_s78_122_5_, orders5_.is_old as is_old79_122_5_, orders5_.is_public as is_publ80_122_5_, orders5_.is_uae as is_uae81_122_5_, orders5_.item_payment_id as item_pa82_122_5_, orders5_.last_cod_status_date as last_co83_122_5_, orders5_.last_delivery_attempt_date as last_de84_122_5_, orders5_.last_mile_driver_id as last_mi85_122_5_, orders5_.last_ofd_date as last_of86_122_5_, orders5_.last_routing_status_date as last_ro87_122_5_, orders5_.last_status_date as last_st88_122_5_, orders5_.last_status_updated_user_id as last_st89_122_5_, orders5_.length as length90_122_5_, orders5_.logistic_type as logisti91_122_5_, orders5_.merchant_promise_date as merchan92_122_5_, orders5_.nc_date as nc_date93_122_5_, orders5_.new_prefix as new_pre94_122_5_, orders5_.note as note95_122_5_, orders5_.old_prefix as old_pre96_122_5_, orders5_.old_recipient_address as old_rec97_122_5_, orders5_.old_recipient_city_id as old_rec98_122_5_, orders5_.old_recipient_city_name as old_rec99_122_5_, orders5_.old_recipient_lat as old_re100_122_5_, orders5_.old_recipient_lng as old_re101_122_5_, orders5_.old_recipient_neighborhood_id as old_re102_122_5_, orders5_.old_recipient_neighborhood_name as old_re103_122_5_, orders5_.old_sender_address as old_se104_122_5_, orders5_.old_sender_city_id as old_se105_122_5_, orders5_.old_sender_city_name as old_se106_122_5_, orders5_.old_sender_lat as old_se107_122_5_, orders5_.old_sender_lng as old_se108_122_5_, orders5_.old_sender_neighborhood_id as old_se109_122_5_, orders5_.old_sender_neighborhood_name as old_se110_122_5_, orders5_.order_charge_paid_history_list as order_111_122_5_, orders5_.order_count as order_112_122_5_, orders5_.order_payment_id as order_113_122_5_, orders5_.order_piece_count as order_114_122_5_, orders5_.order_transfer_id as order_115_122_5_, orders5_.package_changed as packag116_122_5_, orders5_.package_id as packag117_122_5_, orders5_.package_type_id as packag118_122_5_, orders5_.parent_id as parent119_122_5_, orders5_.parent_supplier_id as parent120_122_5_, orders5_.payer as payer121_122_5_, orders5_.payment_status as paymen122_122_5_, orders5_.payment_type as paymen123_122_5_, orders5_.physical_delivery_attempt_count as physic124_122_5_, orders5_.physical_delivery_attempts as physic125_122_5_, orders5_.physical_dispatch_timestamp_array as physic126_122_5_, orders5_.physical_pickup_attempts as physic127_122_5_, orders5_.pickup_attemp_count as pickup128_122_5_, orders5_.pick_up_driver_id as pick_u129_122_5_, orders5_.pickup_id as pickup130_122_5_, orders5_.pickup_pos_receipt_number as pickup131_122_5_, orders5_.pickup_planned_date_time as pickup132_122_5_, orders5_.pickup_promise_date_time as pickup133_122_5_, orders5_.pickup_time as pickup134_122_5_, orders5_.pickup_time_now as pickup135_122_5_, orders5_.pickup_timeslot_availability_id as pickup136_122_5_, orders5_.pos_terminal_number as pos_te137_122_5_, orders5_.prefix_changed as prefix138_122_5_, orders5_.prefix_history as prefix139_122_5_, orders5_.previous_driver_id as previo140_122_5_, orders5_.price_id as price_141_122_5_, orders5_.promo_id as promo_142_122_5_, orders5_.provided_weight as provid143_122_5_, orders5_.psf_status as psf_st144_122_5_, orders5_.public_id as public145_122_5_, orders5_.receipt_id as receip146_122_5_, orders5_.receipt_number as receip147_122_5_, orders5_.recipient_id as recipi149_122_5_, orders5_.recipient_city_changed as recipi148_122_5_, orders5_.if_recipient_not_available as if_rec150_122_5_, orders5_.reference_id as refere151_122_5_, orders5_.request_details as reques152_122_5_, orders5_.rescheduled_delivery_datetime as resche153_122_5_, orders5_.reverse_code as revers154_122_5_, orders5_.routeid as routei155_122_5_, orders5_.routing_status as routin156_122_5_, orders5_.rule_id as rule_i157_122_5_, orders5_.scanned_piece_count as scanne158_122_5_, orders5_.seller_id as seller159_122_5_, orders5_.seller_name as seller160_122_5_, orders5_.sender_from as sender161_122_5_, orders5_.sender_phone as sender162_122_5_, orders5_.sender_photo_id as sender163_122_5_, orders5_.sender_prefix as sender164_122_5_, orders5_.sender_signature_id as sender165_122_5_, orders5_.sender_zone as sender166_122_5_, orders5_.sequence_number as sequen167_122_5_, orders5_.service_type_id as servic168_122_5_, orders5_.shipment_id as shipme169_122_5_, orders5_.shop_order as shop_o170_122_5_, orders5_.size as size171_122_5_, orders5_.sms_verification_event_id as sms_ve172_122_5_, orders5_.sms_verification_number as sms_ve173_122_5_, orders5_.sms_verified as sms_ve174_122_5_, orders5_.status as status175_122_5_, orders5_.storfox_sale_order_id as storfo176_122_5_, orders5_.supplier_id as suppli177_122_5_, orders5_.timeslot_availability_history_id as timesl194_122_5_, orders5_.to_area_id as to_are178_122_5_, orders5_.to_city as to_cit179_122_5_, orders5_.to_warehouse_id as to_war180_122_5_, orders5_.type as type181_122_5_, orders5_.unique_id as unique182_122_5_, orders5_.value as value183_122_5_, orders5_.volumetric_weight as volume184_122_5_, orders5_.wallet_settlement_date as wallet185_122_5_, orders5_.wallet_settlement_reference as wallet186_122_5_, orders5_.warehouse_id as wareho187_122_5_, orders5_.weight as weight188_122_5_, orders5_.width as width189_122_5_, orders5_.with_driver as with_d190_122_5_, orders5_.with_driver_time as with_d191_122_5_, orders5_.wrong_allocated_warehouse as wrong_192_122_5_, emirateare6_.marketplace_id as marketpl2_73_6_, emirateare6_.active as active3_73_6_, emirateare6_.category as category4_73_6_, emirateare6_.center_latitude as center_l5_73_6_, emirateare6_.center_longitude as center_l6_73_6_, emirateare6_.code as code7_73_6_, emirateare6_.country_id as country_8_73_6_, emirateare6_.custom as custom9_73_6_, emirateare6_.import_code as import_10_73_6_, emirateare6_.level as level11_73_6_, emirateare6_.name as name12_73_6_, emirateare6_.parent_id as parent_13_73_6_, emirateare6_.parent_name as parent_14_73_6_, emirateare6_.support2gis as support15_73_6_, emirateare6_.type as type16_73_6_, emirateare6_.zindex as zindex17_73_6_ from order_locations orderlocat0_ left outer join warehouse warehouse1_ on orderlocat0_.warehouse_id = warehouse1_.id left outer join neighborhood neighborho2_ on orderlocat0_.neighborhood_id = neighborho2_.id left outer join alias alias3_ on orderlocat0_.alias_id = alias3_.id left outer join neighborhood neighborho4_ on orderlocat0_.rough_neighborhood_id = neighborho4_.id left outer join orders orders5_ on orderlocat0_.order_id = orders5_.id left outer join emirate_areas emirateare6_ on orderlocat0_.area_id = emirateare6_.id where orderlocat0_.id in ($1);
Date: 2024-01-02 14:30:13 Duration: 1s173ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = 'system', $2 = '2024-01-02 14:36:11.852', $3 = '[{"userId": 802162478, "timestamp": 1704206168.026, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', $4 = '[{"userId": 631889486, "newPrefix": "JED303", "oldPrefix": "JED100", "timestamp": 1704174969.555}]', $5 = '1341481888' -
select distinct orderlocat0_.id as id1_108_0_, warehouse1_.id as id1_207_1_, neighborho2_.id as id1_97_2_, alias3_.id as id1_7_3_, neighborho4_.id as id1_97_4_, orders5_.id as id1_122_5_, emirateare6_.id as id1_73_6_, orderlocat0_.marketplace_id as marketpl2_108_0_, orderlocat0_.created_by as created_3_108_0_, orderlocat0_.created_date as created_4_108_0_, orderlocat0_.last_modified_by as last_mod5_108_0_, orderlocat0_.last_modified_date as last_mod6_108_0_, orderlocat0_.accuracy_status as accuracy7_108_0_, orderlocat0_.address as address8_108_0_, orderlocat0_.address_city as address_9_108_0_, orderlocat0_.address_street as address10_108_0_, orderlocat0_.address_type as address11_108_0_, orderlocat0_.alias_id as alias_i12_108_0_, orderlocat0_.apartment as apartme13_108_0_, orderlocat0_.area_id as area_id14_108_0_, orderlocat0_.at_least_once_bad_address as at_leas15_108_0_, orderlocat0_.is_bad_address as is_bad_16_108_0_, orderlocat0_.building as buildin17_108_0_, orderlocat0_.company_name as company18_108_0_, orderlocat0_.confirmed_by_recipient as confirm19_108_0_, orderlocat0_.details as details20_108_0_, orderlocat0_.email as email21_108_0_, orderlocat0_.floor as floor22_108_0_, orderlocat0_.geo_address as geo_add23_108_0_, orderlocat0_.google_id as google_24_108_0_, orderlocat0_.landmark as landmar25_108_0_, orderlocat0_.lat as lat26_108_0_, orderlocat0_.lng as lng27_108_0_, orderlocat0_.location_source_type as locatio28_108_0_, orderlocat0_.neighborhood_id as neighbo29_108_0_, orderlocat0_.neighborhood_name as neighbo30_108_0_, orderlocat0_.order_id as order_i31_108_0_, orderlocat0_.original_address as origina32_108_0_, orderlocat0_.phone as phone33_108_0_, orderlocat0_.phone_code as phone_c34_108_0_, orderlocat0_.phone_formatted as phone_f35_108_0_, orderlocat0_.phone_without_code as phone_w36_108_0_, orderlocat0_.is_pickup as is_pick37_108_0_, orderlocat0_.plain_city as plain_c38_108_0_, orderlocat0_.postcode as postcod39_108_0_, orderlocat0_.preferred_time as preferr40_108_0_, orderlocat0_.province as provinc41_108_0_, orderlocat0_.rough_neighborhood_id as rough_n42_108_0_, orderlocat0_.second_phone as second_43_108_0_, orderlocat0_.sender_name as sender_44_108_0_, orderlocat0_.system_address as system_45_108_0_, orderlocat0_.third_phone as third_p46_108_0_, orderlocat0_.version as version47_108_0_, orderlocat0_.warehouse_id as warehou48_108_0_, warehouse1_.marketplace_id as marketpl2_207_1_, warehouse1_.created_by as created_3_207_1_, warehouse1_.created_date as created_4_207_1_, warehouse1_.last_modified_by as last_mod5_207_1_, warehouse1_.last_modified_date as last_mod6_207_1_, warehouse1_.address as address7_207_1_, warehouse1_.area as area8_207_1_, warehouse1_.city as city9_207_1_, warehouse1_.deleted as deleted10_207_1_, warehouse1_.email as email11_207_1_, warehouse1_.fbs_enabled as fbs_ena12_207_1_, warehouse1_.lat as lat13_207_1_, warehouse1_.lon as lon14_207_1_, warehouse1_.name as name15_207_1_, warehouse1_.phone as phone16_207_1_, warehouse1_.status as status17_207_1_, warehouse1_.url as url18_207_1_, warehouse1_.utilization as utiliza19_207_1_, neighborho2_.marketplace_id as marketpl2_97_2_, neighborho2_.created_by as created_3_97_2_, neighborho2_.created_date as created_4_97_2_, neighborho2_.last_modified_by as last_mod5_97_2_, neighborho2_.last_modified_date as last_mod6_97_2_, neighborho2_.address as address7_97_2_, neighborho2_.area as area8_97_2_, neighborho2_.center_latitude as center_l9_97_2_, neighborho2_.center_longitude as center_10_97_2_, neighborho2_.city_id as city_id11_97_2_, neighborho2_.custom as custom12_97_2_, neighborho2_.deleted as deleted13_97_2_, neighborho2_.name as name14_97_2_, neighborho2_.neighborhood_type as neighbo15_97_2_, neighborho2_.service_warehouse_id as service16_97_2_, neighborho2_.sub as sub17_97_2_, neighborho2_.warehouse_id as warehou18_97_2_, alias3_.marketplace_id as marketpl2_7_3_, alias3_.city_id as city_id3_7_3_, alias3_.deleted as deleted4_7_3_, alias3_.deleted_object_id as deleted_5_7_3_, alias3_.name as name6_7_3_, alias3_.public_name as public_n7_7_3_, neighborho4_.marketplace_id as marketpl2_97_4_, neighborho4_.created_by as created_3_97_4_, neighborho4_.created_date as created_4_97_4_, neighborho4_.last_modified_by as last_mod5_97_4_, neighborho4_.last_modified_date as last_mod6_97_4_, neighborho4_.address as address7_97_4_, neighborho4_.area as area8_97_4_, neighborho4_.center_latitude as center_l9_97_4_, neighborho4_.center_longitude as center_10_97_4_, neighborho4_.city_id as city_id11_97_4_, neighborho4_.custom as custom12_97_4_, neighborho4_.deleted as deleted13_97_4_, neighborho4_.name as name14_97_4_, neighborho4_.neighborhood_type as neighbo15_97_4_, neighborho4_.service_warehouse_id as service16_97_4_, neighborho4_.sub as sub17_97_4_, neighborho4_.warehouse_id as warehou18_97_4_, orders5_.marketplace_id as marketpl2_122_5_, orders5_.created_by as created_3_122_5_, orders5_.created_date as created_4_122_5_, orders5_.last_modified_by as last_mod5_122_5_, orders5_.last_modified_date as last_mod6_122_5_, orders5_.actual_delivery_option as actual_d7_122_5_, orders5_.actualdelivery_time as actualde8_122_5_, orders5_.actual_pickup_time as actual_p9_122_5_, orders5_.allocated_from_warehouse as allocat10_122_5_, orders5_.amount as amount11_122_5_, orders5_.api_supplier_id as api_sup12_122_5_, orders5_.approximate_distance as approxi13_122_5_, orders5_.audit_version as audit_v14_122_5_, orders5_.authenticated_by_otp as authent15_122_5_, orders5_.back_id as back_id16_122_5_, orders5_.booking_date_time as booking17_122_5_, orders5_.cancellation_requires_type as cancell18_122_5_, orders5_.cashier_id as cashier19_122_5_, orders5_.chargeable_weight as chargea20_122_5_, orders5_.cod_settlement_date as cod_set21_122_5_, orders5_.cod_settlement_reference as cod_set22_122_5_, orders5_.cod_status as cod_sta23_122_5_, orders5_.cod_status_updated_by as cod_sta24_122_5_, orders5_.cod_transfer_type as cod_tra25_122_5_, orders5_.code as code26_122_5_, orders5_.completed as complet27_122_5_, orders5_.create_transaction as create_28_122_5_, orders5_.currency_id as currenc29_122_5_, orders5_.customer_id as custome31_122_5_, orders5_.customer_care_id as custome30_122_5_, orders5_.deadline_time as deadlin32_122_5_, orders5_.dec_date as dec_dat33_122_5_, orders5_.deleted as deleted34_122_5_, orders5_.delivered_lat as deliver35_122_5_, orders5_.delivered_lng as deliver36_122_5_, orders5_.delivered_to as deliver37_122_5_, orders5_.delivered_to_phone as deliver38_122_5_, orders5_.delivered_to_photo_id as deliver39_122_5_, orders5_.delivery_address_changed_date as deliver40_122_5_, orders5_.delivery_attemp_count as deliver41_122_5_, orders5_.delivery_planned_datetime as deliver42_122_5_, orders5_.delivery_planned_timestamp_array as deliver43_122_5_, orders5_.delivery_signature_id as deliver44_122_5_, orders5_.device_details as device_45_122_5_, orders5_.dimension_unit as dimensi46_122_5_, orders5_.dispatch_attempt_count as dispatc47_122_5_, orders5_.driver_id as driver_48_122_5_, orders5_.driver_bonus_id as driver193_122_5_, orders5_.drop_timeslot_availability_id as drop_ti49_122_5_, orders5_.dropoff_pos_receipt_number as dropoff50_122_5_, orders5_.dsc_date as dsc_dat51_122_5_, orders5_.encrypted_id as encrypt52_122_5_, orders5_.escalation_status as escalat53_122_5_, orders5_.escalation_status_updated_by as escalat54_122_5_, orders5_.escalation_status_updated_date as escalat55_122_5_, orders5_.estimated_delivery_date_time as estimat56_122_5_, orders5_.estimated_pick_up_time as estimat57_122_5_, orders5_.eta_id as eta_id58_122_5_, orders5_.external_user_name as externa59_122_5_, orders5_.failed_image_attachments as failed_60_122_5_, orders5_.fetch_item_id as fetch_i61_122_5_, orders5_.finance_pick_up_driver_id as finance62_122_5_, orders5_.finance_pick_up_supplier_id as finance63_122_5_, orders5_.first_delivery_time as first_d64_122_5_, orders5_.first_driver_id as first_d65_122_5_, orders5_.first_ofd_date as first_o66_122_5_, orders5_.first_pick_up_time as first_p67_122_5_, orders5_.fragile as fragile68_122_5_, orders5_.from_area_id as from_ar69_122_5_, orders5_.from_city as from_ci70_122_5_, orders5_.from_warehouse_id as from_wa71_122_5_, orders5_.future_pickup_requested_date as future_72_122_5_, orders5_.head_id as head_id73_122_5_, orders5_.heavy_type as heavy_t74_122_5_, orders5_.height as height75_122_5_, orders5_.id_card_required as id_card76_122_5_, orders5_.internal_promise_date as interna77_122_5_, orders5_.is_no_service_area as is_no_s78_122_5_, orders5_.is_old as is_old79_122_5_, orders5_.is_public as is_publ80_122_5_, orders5_.is_uae as is_uae81_122_5_, orders5_.item_payment_id as item_pa82_122_5_, orders5_.last_cod_status_date as last_co83_122_5_, orders5_.last_delivery_attempt_date as last_de84_122_5_, orders5_.last_mile_driver_id as last_mi85_122_5_, orders5_.last_ofd_date as last_of86_122_5_, orders5_.last_routing_status_date as last_ro87_122_5_, orders5_.last_status_date as last_st88_122_5_, orders5_.last_status_updated_user_id as last_st89_122_5_, orders5_.length as length90_122_5_, orders5_.logistic_type as logisti91_122_5_, orders5_.merchant_promise_date as merchan92_122_5_, orders5_.nc_date as nc_date93_122_5_, orders5_.new_prefix as new_pre94_122_5_, orders5_.note as note95_122_5_, orders5_.old_prefix as old_pre96_122_5_, orders5_.old_recipient_address as old_rec97_122_5_, orders5_.old_recipient_city_id as old_rec98_122_5_, orders5_.old_recipient_city_name as old_rec99_122_5_, orders5_.old_recipient_lat as old_re100_122_5_, orders5_.old_recipient_lng as old_re101_122_5_, orders5_.old_recipient_neighborhood_id as old_re102_122_5_, orders5_.old_recipient_neighborhood_name as old_re103_122_5_, orders5_.old_sender_address as old_se104_122_5_, orders5_.old_sender_city_id as old_se105_122_5_, orders5_.old_sender_city_name as old_se106_122_5_, orders5_.old_sender_lat as old_se107_122_5_, orders5_.old_sender_lng as old_se108_122_5_, orders5_.old_sender_neighborhood_id as old_se109_122_5_, orders5_.old_sender_neighborhood_name as old_se110_122_5_, orders5_.order_charge_paid_history_list as order_111_122_5_, orders5_.order_count as order_112_122_5_, orders5_.order_payment_id as order_113_122_5_, orders5_.order_piece_count as order_114_122_5_, orders5_.order_transfer_id as order_115_122_5_, orders5_.package_changed as packag116_122_5_, orders5_.package_id as packag117_122_5_, orders5_.package_type_id as packag118_122_5_, orders5_.parent_id as parent119_122_5_, orders5_.parent_supplier_id as parent120_122_5_, orders5_.payer as payer121_122_5_, orders5_.payment_status as paymen122_122_5_, orders5_.payment_type as paymen123_122_5_, orders5_.physical_delivery_attempt_count as physic124_122_5_, orders5_.physical_delivery_attempts as physic125_122_5_, orders5_.physical_dispatch_timestamp_array as physic126_122_5_, orders5_.physical_pickup_attempts as physic127_122_5_, orders5_.pickup_attemp_count as pickup128_122_5_, orders5_.pick_up_driver_id as pick_u129_122_5_, orders5_.pickup_id as pickup130_122_5_, orders5_.pickup_pos_receipt_number as pickup131_122_5_, orders5_.pickup_planned_date_time as pickup132_122_5_, orders5_.pickup_promise_date_time as pickup133_122_5_, orders5_.pickup_time as pickup134_122_5_, orders5_.pickup_time_now as pickup135_122_5_, orders5_.pickup_timeslot_availability_id as pickup136_122_5_, orders5_.pos_terminal_number as pos_te137_122_5_, orders5_.prefix_changed as prefix138_122_5_, orders5_.prefix_history as prefix139_122_5_, orders5_.previous_driver_id as previo140_122_5_, orders5_.price_id as price_141_122_5_, orders5_.promo_id as promo_142_122_5_, orders5_.provided_weight as provid143_122_5_, orders5_.psf_status as psf_st144_122_5_, orders5_.public_id as public145_122_5_, orders5_.receipt_id as receip146_122_5_, orders5_.receipt_number as receip147_122_5_, orders5_.recipient_id as recipi149_122_5_, orders5_.recipient_city_changed as recipi148_122_5_, orders5_.if_recipient_not_available as if_rec150_122_5_, orders5_.reference_id as refere151_122_5_, orders5_.request_details as reques152_122_5_, orders5_.rescheduled_delivery_datetime as resche153_122_5_, orders5_.reverse_code as revers154_122_5_, orders5_.routeid as routei155_122_5_, orders5_.routing_status as routin156_122_5_, orders5_.rule_id as rule_i157_122_5_, orders5_.scanned_piece_count as scanne158_122_5_, orders5_.seller_id as seller159_122_5_, orders5_.seller_name as seller160_122_5_, orders5_.sender_from as sender161_122_5_, orders5_.sender_phone as sender162_122_5_, orders5_.sender_photo_id as sender163_122_5_, orders5_.sender_prefix as sender164_122_5_, orders5_.sender_signature_id as sender165_122_5_, orders5_.sender_zone as sender166_122_5_, orders5_.sequence_number as sequen167_122_5_, orders5_.service_type_id as servic168_122_5_, orders5_.shipment_id as shipme169_122_5_, orders5_.shop_order as shop_o170_122_5_, orders5_.size as size171_122_5_, orders5_.sms_verification_event_id as sms_ve172_122_5_, orders5_.sms_verification_number as sms_ve173_122_5_, orders5_.sms_verified as sms_ve174_122_5_, orders5_.status as status175_122_5_, orders5_.storfox_sale_order_id as storfo176_122_5_, orders5_.supplier_id as suppli177_122_5_, orders5_.timeslot_availability_history_id as timesl194_122_5_, orders5_.to_area_id as to_are178_122_5_, orders5_.to_city as to_cit179_122_5_, orders5_.to_warehouse_id as to_war180_122_5_, orders5_.type as type181_122_5_, orders5_.unique_id as unique182_122_5_, orders5_.value as value183_122_5_, orders5_.volumetric_weight as volume184_122_5_, orders5_.wallet_settlement_date as wallet185_122_5_, orders5_.wallet_settlement_reference as wallet186_122_5_, orders5_.warehouse_id as wareho187_122_5_, orders5_.weight as weight188_122_5_, orders5_.width as width189_122_5_, orders5_.with_driver as with_d190_122_5_, orders5_.with_driver_time as with_d191_122_5_, orders5_.wrong_allocated_warehouse as wrong_192_122_5_, emirateare6_.marketplace_id as marketpl2_73_6_, emirateare6_.active as active3_73_6_, emirateare6_.category as category4_73_6_, emirateare6_.center_latitude as center_l5_73_6_, emirateare6_.center_longitude as center_l6_73_6_, emirateare6_.code as code7_73_6_, emirateare6_.country_id as country_8_73_6_, emirateare6_.custom as custom9_73_6_, emirateare6_.import_code as import_10_73_6_, emirateare6_.level as level11_73_6_, emirateare6_.name as name12_73_6_, emirateare6_.parent_id as parent_13_73_6_, emirateare6_.parent_name as parent_14_73_6_, emirateare6_.support2gis as support15_73_6_, emirateare6_.type as type16_73_6_, emirateare6_.zindex as zindex17_73_6_ from order_locations orderlocat0_ left outer join warehouse warehouse1_ on orderlocat0_.warehouse_id = warehouse1_.id left outer join neighborhood neighborho2_ on orderlocat0_.neighborhood_id = neighborho2_.id left outer join alias alias3_ on orderlocat0_.alias_id = alias3_.id left outer join neighborhood neighborho4_ on orderlocat0_.rough_neighborhood_id = neighborho4_.id left outer join orders orders5_ on orderlocat0_.order_id = orders5_.id left outer join emirate_areas emirateare6_ on orderlocat0_.area_id = emirateare6_.id where orderlocat0_.id in ($1);
Date: 2024-01-02 14:30:12 Duration: 1s145ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = 'system', $2 = '2024-01-02 14:41:48', $3 = '[{"paid": false, "userId": 683802998, "timestamp": 1704206503.717}, {"paid": false, "userId": 683802998, "timestamp": 1704206504.348}]', $4 = '1341844605'
5 13s167ms 6 1s503ms 5s388ms 2s194ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33);Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 06 4 10s16ms 2s504ms 07 1 1s504ms 1s504ms 10 1 1s645ms 1s645ms [ User: safearrival client=10.0.0.132 - Total duration: 2m46s - Times executed: 2 ]
[ User: safearrival client=10.0.0.133 - Total duration: 1m39s - Times executed: 4 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33);
Date: 2024-01-02 06:37:08 Duration: 5s388ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '631889485', $2 = '1'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33);
Date: 2024-01-02 10:43:25 Duration: 1s645ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1326237554', $2 = '1327734379', $3 = '1329123141', $4 = '1331375406', $5 = '1334730971', $6 = '1335809311', $7 = '1336224861', $8 = '1336663260', $9 = '1336663449', $10 = '1336678473', $11 = '1337033407', $12 = '1337128141', $13 = '1337138611', $14 = '1337157577', $15 = '1337159230', $16 = '1337162723', $17 = '1337196942', $18 = '1337200203', $19 = '1337262195', $20 = '1337280047', $21 = '1337372524', $22 = '1337812574', $23 = '1337827130', $24 = '1338031832', $25 = '1338642246', $26 = '1338935092', $27 = '1338973031', $28 = '1339215380', $29 = '1339307990', $30 = '1339391510', $31 = '1339464939', $32 = '1339497103', $33 = '1339595146'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33);
Date: 2024-01-02 06:50:19 Duration: 1s585ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1339091323'
6 7s790ms 5 1s472ms 1s698ms 1s558ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25);Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 06 3 4s576ms 1s525ms 07 1 1s698ms 1s698ms 14 1 1s514ms 1s514ms [ User: safearrival client=10.0.0.132 - Total duration: 1m46s - Times executed: 4 ]
[ User: safearrival client=10.0.0.133 - Total duration: 1s226ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25);
Date: 2024-01-02 07:42:29 Duration: 1s698ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = 'jeddah', $2 = '191'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25);
Date: 2024-01-02 06:18:16 Duration: 1s576ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '631889485', $2 = '1'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25);
Date: 2024-01-02 06:01:30 Duration: 1s528ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '631889485', $2 = '10'
7 4s930ms 3 1s606ms 1s688ms 1s643ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32);Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 05 1 1s688ms 1s688ms 07 2 3s242ms 1s621ms [ User: safearrival client=10.0.0.132 - Total duration: 57s889ms - Times executed: 2 ]
[ User: safearrival client=10.0.0.133 - Total duration: 1s221ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32);
Date: 2024-01-02 05:52:50 Duration: 1s688ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1337213873', $2 = '1338440770', $3 = '1338518540', $4 = '1338761643', $5 = '1338764157', $6 = '1338835120', $7 = '1338853439', $8 = '1338912588', $9 = '1338939752', $10 = '1339007088', $11 = '1339045686', $12 = '1339176885', $13 = '1339183721', $14 = '1339184838', $15 = '1339189606', $16 = '1339193747', $17 = '1339204737', $18 = '1339209781', $19 = '1339212414', $20 = '1339215745', $21 = '1339217260', $22 = '1339220248', $23 = '1339256182', $24 = '1339260551', $25 = '1339263440', $26 = '1339265859', $27 = '1339489405', $28 = '1339572167', $29 = '1340078758', $30 = '1340085946', $31 = '1340106000', $32 = '1340183097'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32);
Date: 2024-01-02 07:42:26 Duration: 1s636ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1333772177', $2 = '1336058132', $3 = '1336288777', $4 = '1336636324', $5 = '1336978730', $6 = '1337296816', $7 = '1337329794', $8 = '1337344828', $9 = '1337619238', $10 = '1337649476', $11 = '1337659414', $12 = '1337724020', $13 = '1337772641', $14 = '1337857206', $15 = '1337862880', $16 = '1338025480', $17 = '1338027854', $18 = '1338234977', $19 = '1338250745', $20 = '1338499149', $21 = '1338635580', $22 = '1338636352', $23 = '1338835592', $24 = '1338931717', $25 = '1338972354', $26 = '1338988599', $27 = '1339185065', $28 = '1339210896', $29 = '1339259425', $30 = '1339347081', $31 = '1339364074', $32 = '1339387433'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32);
Date: 2024-01-02 07:40:23 Duration: 1s606ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '921272592', $2 = 'IN_SORTING_FACILITY', $3 = 'ACCEPTED', $4 = 'PICK_UP_FAILED', $5 = 'PICKUP_CONFIRMED', $6 = 'OUT_FOR_DELIVERY', $7 = 'ARRIVED', $8 = 'DISPATCHED', $9 = 'DELIVERY_SCHEDULED', $10 = 'UNASSIGNED', $11 = 'PICKED_UP', $12 = 'PICKUP_SCHEDULED', $13 = 'ON_HIS_WAY', $14 = '921272592', $15 = 'IN_TRANSIT'
8 4s615ms 3 1s481ms 1s579ms 1s538ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36);Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 07 1 1s553ms 1s553ms 08 1 1s579ms 1s579ms 11 1 1s481ms 1s481ms [ User: safearrival client=10.0.0.133 - Total duration: 1m1s - Times executed: 2 ]
[ User: safearrival client=10.0.0.132 - Total duration: 1s227ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36);
Date: 2024-01-02 08:35:38 Duration: 1s579ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1321917911', $2 = '1321952872', $3 = '1329868967', $4 = '1332859214', $5 = '1332932374', $6 = '1334011992', $7 = '1334757646', $8 = '1336066265', $9 = '1336091292', $10 = '1336144093', $11 = '1336389106', $12 = '1337150506', $13 = '1337719229', $14 = '1338027159', $15 = '1338674196', $16 = '1338948495', $17 = '1339043510', $18 = '1339067304', $19 = '1339103332', $20 = '1339537386', $21 = '1339552962', $22 = '1339774051', $23 = '1340052198', $24 = '1340058462', $25 = '1340114248', $26 = '1340288673', $27 = '1340420141', $28 = '1341116815', $29 = '1341235791', $30 = '1341261230', $31 = '1195880775', $32 = '1337708183', $33 = '1337708697', $34 = '1339074747', $35 = '1339031172', $36 = '1337717601'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36);
Date: 2024-01-02 07:06:44 Duration: 1s553ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '631889485', $2 = '1'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36);
Date: 2024-01-02 11:16:58 Duration: 1s481ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1323571038', $2 = '1329868536', $3 = '1329903548', $4 = '1333558421', $5 = '1333679552', $6 = '1335354242', $7 = '1335444925', $8 = '1335960253', $9 = '1336312846', $10 = '1336382237', $11 = '1336725970', $12 = '1336785737', $13 = '1337280014', $14 = '1338667905', $15 = '1340033775', $16 = '1340039059', $17 = '1340047848', $18 = '1340092657', $19 = '1340132840', $20 = '1340192930', $21 = '1340209474', $22 = '1340240414', $23 = '1340314175', $24 = '1340318632', $25 = '1340330196', $26 = '1340332460', $27 = '1340337007', $28 = '1340395668', $29 = '1340398967', $30 = '1340420051', $31 = '1340526438', $32 = '1340528854', $33 = '1340811162', $34 = '1340819366', $35 = '1340904849', $36 = '1340967904'
9 4s577ms 3 1s484ms 1s575ms 1s525ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20);Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 05 1 1s575ms 1s575ms 06 1 1s517ms 1s517ms 13 1 1s484ms 1s484ms [ User: safearrival client=10.0.0.132 - Total duration: 20s212ms - Times executed: 2 ]
[ User: safearrival client=10.0.0.133 - Total duration: 3s234ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20);
Date: 2024-01-02 05:26:05 Duration: 1s575ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1339069585'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20);
Date: 2024-01-02 06:53:12 Duration: 1s517ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '631889485', $2 = '1'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20);
Date: 2024-01-02 13:44:38 Duration: 1s484ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '2024-01-02 13:44:47.964', $2 = '646734319', $3 = '2024-01-02 13:44:47.904', $4 = '802318123', $5 = '[{"paid": false, "userId": 1020830836, "timestamp": 1704037598.667}, {"paid": false, "userId": 1020830836, "timestamp": 1704037598.867}]', $6 = '[{"userId": 802162478, "timestamp": 1704131997.142, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', $7 = '[{"userId": 631889486, "newPrefix": "RUH566", "oldPrefix": "RUH100", "timestamp": 1704095712.943}]', $8 = '1340388376'
10 3s313ms 2 1s626ms 1s687ms 1s656ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52);Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 06 1 1s626ms 1s626ms 10 1 1s687ms 1s687ms [ User: safearrival client=10.0.0.132 - Total duration: 1s575ms - Times executed: 1 ]
[ User: safearrival client=10.0.0.133 - Total duration: 1s352ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52);
Date: 2024-01-02 10:36:27 Duration: 1s687ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1318585136', $2 = '1320237793', $3 = '1322050116', $4 = '1324369188', $5 = '1325653565', $6 = '1326828022', $7 = '1327168342', $8 = '1327190682', $9 = '1327258350', $10 = '1327851501', $11 = '1328271351', $12 = '1328954075', $13 = '1329395890', $14 = '1329556408', $15 = '1329593932', $16 = '1330652506', $17 = '1330844668', $18 = '1331102728', $19 = '1331345629', $20 = '1331642725', $21 = '1331688990', $22 = '1332179889', $23 = '1332180295', $24 = '1332629548', $25 = '1332650912', $26 = '1332914643', $27 = '1332929055', $28 = '1332957843', $29 = '1332974232', $30 = '1332986065', $31 = '1333168617', $32 = '1333429981', $33 = '1333801136', $34 = '1333862132', $35 = '1334347204', $36 = '1334763380', $37 = '1334835888', $38 = '1334872879', $39 = '1335320458', $40 = '1335333306', $41 = '1335357566', $42 = '1335460554', $43 = '1336058704', $44 = '1336058771', $45 = '1336084880', $46 = '1336145813', $47 = '1336164975', $48 = '1336249939', $49 = '1336303693', $50 = '1336391609', $51 = '1336397908', $52 = '1336700806'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52);
Date: 2024-01-02 06:22:18 Duration: 1s626ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1332886577', $2 = '1334191255', $3 = '1335357234', $4 = '1336220936', $5 = '1336221760', $6 = '1336223973', $7 = '1336224012', $8 = '1336224973', $9 = '1336296138', $10 = '1336312586', $11 = '1336313158', $12 = '1336315277', $13 = '1336315464', $14 = '1336339262', $15 = '1336339281', $16 = '1336340047', $17 = '1336698844', $18 = '1336702769', $19 = '1336752217', $20 = '1336778123', $21 = '1337292477', $22 = '1337337263', $23 = '1337451023', $24 = '1337592414', $25 = '1337686719', $26 = '1338472583', $27 = '1338632051', $28 = '1338657480', $29 = '1338672225', $30 = '1338677343', $31 = '1338679020', $32 = '1338680687', $33 = '1338681390', $34 = '1338691593', $35 = '1338706789', $36 = '1338791502', $37 = '1339023837', $38 = '1339035727', $39 = '1339038153', $40 = '1339057788', $41 = '1339065214', $42 = '1339067002', $43 = '1339069993', $44 = '1339071043', $45 = '1339103551', $46 = '1339129334', $47 = '1339129940', $48 = '1339321110', $49 = '1339362662', $50 = '1339375070', $51 = '1339385841', $52 = '1339573738'
11 3s148ms 2 1s554ms 1s594ms 1s574ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31);Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 09 2 3s148ms 1s574ms [ User: safearrival client=10.0.0.132 - Total duration: 2s73ms - Times executed: 2 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31);
Date: 2024-01-02 09:40:18 Duration: 1s594ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1322696300', $2 = '1324676463', $3 = '1324730191', $4 = '1324748523', $5 = '1325461266', $6 = '1325529049', $7 = '1326323981', $8 = '1326625789', $9 = '1326962170', $10 = '1327146415', $11 = '1327155830', $12 = '1327221587', $13 = '1327844080', $14 = '1328380202', $15 = '1328667236', $16 = '1328910817', $17 = '1329176920', $18 = '1329486827', $19 = '1329541678', $20 = '1329556348', $21 = '1329856404', $22 = '1329975383', $23 = '1330296073', $24 = '1330496300', $25 = '1331375519', $26 = '1331487772', $27 = '1331625233', $28 = '1331956710', $29 = '1332156942', $30 = '1333516507', $31 = '1333571911'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31);
Date: 2024-01-02 09:19:12 Duration: 1s554ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1322451588', $2 = '1323389626', $3 = '1323736383', $4 = '1324014833', $5 = '1324624266', $6 = '1324678619', $7 = '1325280271', $8 = '1325937748', $9 = '1326289116', $10 = '1326768133', $11 = '1327026611', $12 = '1327031136', $13 = '1327161371', $14 = '1327167398', $15 = '1327263126', $16 = '1327770119', $17 = '1329226531', $18 = '1329897920', $19 = '1329926179', $20 = '1329934886', $21 = '1330400424', $22 = '1331743127', $23 = '1331762681', $24 = '1331810955', $25 = '1331915515', $26 = '1333465422', $27 = '1333479537', $28 = '1334836444', $29 = '1335326550', $30 = '1335387367', $31 = '1336507489'
12 3s84ms 2 1s538ms 1s546ms 1s542ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45);Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 05 1 1s546ms 1s546ms 12 1 1s538ms 1s538ms [ User: safearrival client=10.0.0.132 - Total duration: 2s173ms - Times executed: 2 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45);
Date: 2024-01-02 05:51:49 Duration: 1s546ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1334738817', $2 = '1335207362', $3 = '1336338953', $4 = '1336428284', $5 = '1337273218', $6 = '1337812677', $7 = '1338413277', $8 = '1339099746', $9 = '1339476749', $10 = '1339546964', $11 = '1339548803', $12 = '1339689400', $13 = '1340016463', $14 = '1340024066', $15 = '1340052550', $16 = '1340098995', $17 = '1340100973', $18 = '1340163975', $19 = '1340182629', $20 = '1340211211', $21 = '1340262344', $22 = '1340282745', $23 = '1340321807', $24 = '1340346525', $25 = '1340353551', $26 = '1340417786', $27 = '1340420252', $28 = '1340420267', $29 = '1340525815', $30 = '1340713872', $31 = '1340725460', $32 = '1340765187', $33 = '1340765558', $34 = '1340765694', $35 = '1340769479', $36 = '1340783406', $37 = '1340786830', $38 = '1340792443', $39 = '1340817250', $40 = '1340835253', $41 = '1340839098', $42 = '1340866947', $43 = '1340900139', $44 = '1340928117', $45 = '1340935436'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45);
Date: 2024-01-02 12:01:02 Duration: 1s538ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1326941753', $2 = '1338682185', $3 = '1338688181', $4 = '1338701164', $5 = '1338706425', $6 = '1338709982', $7 = '1338835805', $8 = '1339464319', $9 = '1340054364', $10 = '1340302245', $11 = '1340335345', $12 = '1340720213', $13 = '1340748153', $14 = '1340776188', $15 = '1340779650', $16 = '1340903441', $17 = '1340919312', $18 = '1340923840', $19 = '1340996910', $20 = '1341022892', $21 = '1341031501', $22 = '1341047668', $23 = '1341106726', $24 = '1341148998', $25 = '1341158171', $26 = '1341168763', $27 = '1341169217', $28 = '1341255813', $29 = '1341267860', $30 = '1341271255', $31 = '1341310920', $32 = '1341314301', $33 = '1341353955', $34 = '1341368930', $35 = '1341377105', $36 = '1341392546', $37 = '1341396153', $38 = '1341439894', $39 = '1341460288', $40 = '1341502722', $41 = '1341502849', $42 = '1341503751', $43 = '1341504567', $44 = '1341504670', $45 = '1341598594'
13 3s82ms 2 1s484ms 1s598ms 1s541ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14);Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 07 1 1s598ms 1s598ms 08 1 1s484ms 1s484ms [ User: safearrival client=10.0.0.133 - Total duration: 1m42s - Times executed: 2 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14);
Date: 2024-01-02 07:04:34 Duration: 1s598ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '631889485', $2 = '1'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14);
Date: 2024-01-02 08:04:25 Duration: 1s484ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1313006202', $2 = '1313004673', $3 = '1312999971', $4 = '1312982263', $5 = '1312981161', $6 = '1312962926', $7 = '1312962088', $8 = '1312958543', $9 = '1312954388', $10 = '1312953300', $11 = '1312945133', $12 = '1312944996', $13 = '1312943229', $14 = '1312942859', $15 = '1312940252', $16 = '1312927703', $17 = '1312927214', $18 = '1312925836', $19 = '1312925089', $20 = '1312924920', $21 = '1312924531', $22 = '1312924452', $23 = '1312921687', $24 = '1312921507', $25 = '1312918903', $26 = '1312917139', $27 = '1312911737', $28 = '1312910881', $29 = '1312910465', $30 = '1312908505', $31 = '1312908140', $32 = '1312906446', $33 = '1312906181', $34 = '1312905943', $35 = '1312905796', $36 = '1312905483', $37 = '1312904829', $38 = '1312903792', $39 = '1312903081', $40 = '1312901792', $41 = '1312896222', $42 = '1312894763', $43 = '1312893191', $44 = '1312892352', $45 = '1312892229', $46 = '1312886716', $47 = '1312883900', $48 = '1312883691', $49 = '1312877115', $50 = '1312876692', $51 = '1312875538', $52 = '1312874219', $53 = '1312872997', $54 = '1312871287', $55 = '1312868774', $56 = '1312868205', $57 = '1312868156', $58 = '1312866810', $59 = '1312866705', $60 = '1312864844', $61 = '1312861232', $62 = '1312861056', $63 = '1312855977', $64 = '1312851121', $65 = '1312850734', $66 = '1312850047', $67 = '1312846827', $68 = '1312843471', $69 = '1312841509', $70 = '1312841404', $71 = '1312836697', $72 = '1312835706', $73 = '1312834466', $74 = '1312832719', $75 = '1312832615', $76 = '1312832537', $77 = '1312832099', $78 = '1312830456', $79 = '1312830442', $80 = '1312829973', $81 = '1312828832', $82 = '1312828442', $83 = '1312824434', $84 = '1312818907', $85 = '1312813517', $86 = '1312811986', $87 = '1312811820', $88 = '1312811305', $89 = '1312810876', $90 = '1312803743', $91 = '1312803148', $92 = '1312802534', $93 = '1312802440', $94 = '1312801793', $95 = '1312801704', $96 = '1312767580', $97 = '1312766612', $98 = '1312764301', $99 = '1312763929', $100 = '1312763211', $101 = '1312763192', $102 = '1312763120', $103 = '1312762825', $104 = '1312762791', $105 = '1312762224', $106 = '1312762166', $107 = '1312762165', $108 = '1312762105', $109 = '1312762099', $110 = '1312762094', $111 = '1312762050', $112 = '1312762012', $113 = '1312761962', $114 = '1312761956', $115 = '1312761953', $116 = '1312761911', $117 = '1312761872', $118 = '1312761815', $119 = '1312761795', $120 = '1312761771', $121 = '1312761751', $122 = '1312761736', $123 = '1312761689', $124 = '1312761607', $125 = '1312761588', $126 = '1312761554', $127 = '1312761529', $128 = '1312761526', $129 = '1312761474', $130 = '1312761440', $131 = '1312761428', $132 = '1312761371', $133 = '1312761345', $134 = '1312761344', $135 = '1312761340', $136 = '1312759960', $137 = '1312758973', $138 = '1312757910', $139 = '1312755940', $140 = '1312755565', $141 = '1312754581', $142 = '1312753471', $143 = '1312750759', $144 = '1312748764', $145 = '1312726586', $146 = '1312725885', $147 = '1312721649', $148 = '1312711316', $149 = '1312706099', $150 = '1312689991', $151 = '1312688897', $152 = '1312688858', $153 = '1312688820', $154 = '1312678662', $155 = '1312677750', $156 = '1312675486', $157 = '1312673459', $158 = '1312672619', $159 = '1312671894', $160 = '1312658318', $161 = '1312644270', $162 = '1312644217', $163 = '1312643928', $164 = '1312641624', $165 = '1312636164', $166 = '1312621269', $167 = '1312621172', $168 = '1312621090', $169 = '1312618741', $170 = '1312615676', $171 = '1312612307', $172 = '1312582858', $173 = '1312582744', $174 = '1312575160', $175 = '1312546066', $176 = '1312528153', $177 = '1312528125', $178 = '1312503168', $179 = '1312493662', $180 = '1312482649', $181 = '1312474633', $182 = '1312472314', $183 = '1312472025', $184 = '1312452971', $185 = '1312450248', $186 = '1312449027', $187 = '1312448693', $188 = '1312446804', $189 = '1312427111', $190 = '1312422224', $191 = '1312420213', $192 = '1312410804', $193 = '1312400135', $194 = '1312374116', $195 = '1312374083', $196 = '1312373825', $197 = '1312373808', $198 = '1312373760', $199 = '1312373738', $200 = '1312373709'
14 3s2ms 2 1s497ms 1s504ms 1s501ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40);Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 06 1 1s504ms 1s504ms 07 1 1s497ms 1s497ms [ User: safearrival client=10.0.0.132 - Total duration: 6s959ms - Times executed: 1 ]
[ User: safearrival client=10.0.0.133 - Total duration: 1s104ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40);
Date: 2024-01-02 06:39:30 Duration: 1s504ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '1329769441', $2 = '1330705965', $3 = '1332881787', $4 = '1334845484', $5 = '1334846873', $6 = '1335298539', $7 = '1335306368', $8 = '1335357215', $9 = '1335383598', $10 = '1335385100', $11 = '1335437845', $12 = '1335495501', $13 = '1336108390', $14 = '1336129105', $15 = '1336129655', $16 = '1336153714', $17 = '1336158094', $18 = '1336381883', $19 = '1336382676', $20 = '1336737152', $21 = '1337391883', $22 = '1338640738', $23 = '1338643882', $24 = '1338645637', $25 = '1338647143', $26 = '1338657250', $27 = '1338804473', $28 = '1338808489', $29 = '1338808975', $30 = '1339034941', $31 = '1339053719', $32 = '1339059329', $33 = '1339073057', $34 = '1339076602', $35 = '1339077297', $36 = '1339085960', $37 = '1339138233', $38 = '1339548763', $39 = '1339550851', $40 = '1339567057'
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40);
Date: 2024-01-02 07:05:36 Duration: 1s497ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '631889485', $2 = 'dealfy_saramart@fordeal.com', $3 = '2024-01-02 07:06:13.186', $4 = 'dealfy_saramart@fordeal.com', $5 = '2024-01-02 07:06:13.186', $6 = NULL, $7 = NULL, $8 = NULL, $9 = 'f', $10 = NULL, $11 = NULL, $12 = NULL, $13 = '0', $14 = NULL, $15 = NULL, $16 = NULL, $17 = NULL, $18 = NULL, $19 = '0.09', $20 = NULL, $21 = NULL, $22 = NULL, $23 = NULL, $24 = NULL, $25 = NULL, $26 = NULL, $27 = 't', $28 = NULL, $29 = NULL, $30 = '1020830837', $31 = '2024-01-06 19:59:13.182', $32 = NULL, $33 = 'f', $34 = NULL, $35 = NULL, $36 = NULL, $37 = NULL, $38 = NULL, $39 = NULL, $40 = '0', $41 = NULL, $42 = NULL, $43 = NULL, $44 = 'x-forwarded-for:[54.217.117.201, 10.0.0.152]; user-agent:[Apache-HttpClient/4.5.2 (Java/1.8.0_275)]; x-forwarded-host:[prodapi.safe-arrival.com]; ', $45 = 'METRIC', $46 = '0', $47 = NULL, $48 = NULL, $49 = NULL, $50 = NULL, $51 = NULL, $52 = NULL, $53 = NULL, $54 = NULL, $55 = NULL, $56 = NULL, $57 = NULL, $58 = NULL, $59 = NULL, $60 = '{"pickedFailedAttachments": [], "deliveryFailedAttachments": []}', $61 = NULL, $62 = NULL, $63 = NULL, $64 = NULL, $65 = NULL, $66 = NULL, $67 = NULL, $68 = NULL, $69 = NULL, $70 = NULL, $71 = NULL, $72 = NULL, $73 = NULL, $74 = 'NORMAL', $75 = NULL, $76 = 'f', $77 = NULL, $78 = 'f', $79 = 'f', $80 = 'f', $81 = 't', $82 = NULL, $83 = '2024-01-02 07:06:13.182', $84 = NULL, $85 = NULL, $86 = NULL, $87 = NULL, $88 = '2024-01-02 07:06:13.182', $89 = NULL, $90 = NULL, $91 = 'REGULAR', $92 = NULL, $93 = NULL, $94 = NULL, $95 = 'Bracelet', $96 = NULL, $97 = NULL, $98 = NULL, $99 = NULL, $100 = NULL, $101 = NULL, $102 = NULL, $103 = NULL, $104 = NULL, $105 = NULL, $106 = NULL, $107 = NULL, $108 = NULL, $109 = NULL, $110 = NULL, $111 = NULL, $112 = '0', $113 = NULL, $114 = '0', $115 = NULL, $116 = 'f', $117 = NULL, $118 = NULL, $119 = NULL, $120 = NULL, $121 = 'SENDER', $122 = 'f', $123 = 'CASH', $124 = '0', $125 = NULL, $126 = NULL, $127 = NULL, $128 = '0', $129 = NULL, $130 = NULL, $131 = NULL, $132 = NULL, $133 = NULL, $134 = '2024-01-02 07:06:13.186', $135 = 't', $136 = NULL, $137 = NULL, $138 = 'f', $139 = NULL, $140 = NULL, $141 = '1020837811', $142 = NULL, $143 = '0.083', $144 = NULL, $145 = '2m8jJMtW', $146 = NULL, $147 = NULL, $148 = 'f', $149 = NULL, $150 = 'DONT_DELIVER', $151 = 'SN75070179T1704179172143', $152 = NULL, $153 = NULL, $154 = NULL, $155 = NULL, $156 = NULL, $157 = NULL, $158 = '0', $159 = NULL, $160 = NULL, $161 = NULL, $162 = NULL, $163 = NULL, $164 = NULL, $165 = NULL, $166 = NULL, $167 = NULL, $168 = '631942479', $169 = NULL, $170 = 'f', $171 = 'MEDIUM', $172 = NULL, $173 = '8443', $174 = 'f', $175 = 'UNASSIGNED', $176 = NULL, $177 = NULL, $178 = NULL, $179 = NULL, $180 = NULL, $181 = NULL, $182 = 'ORDER', $183 = NULL, $184 = '98.99', $185 = '0', $186 = NULL, $187 = NULL, $188 = NULL, $189 = NULL, $190 = NULL, $191 = 'f', $192 = NULL, $193 = 'f', $194 = '1341528590'
15 2s30ms 1 2s30ms 2s30ms 2s30ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orderlocat10_.id as id1_108_10_, ordermarke11_.id as id1_111_11_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__, orderlocat10_.marketplace_id as marketpl2_108_10_, orderlocat10_.created_by as created_3_108_10_, orderlocat10_.created_date as created_4_108_10_, orderlocat10_.last_modified_by as last_mod5_108_10_, orderlocat10_.last_modified_date as last_mod6_108_10_, orderlocat10_.accuracy_status as accuracy7_108_10_, orderlocat10_.address as address8_108_10_, orderlocat10_.address_city as address_9_108_10_, orderlocat10_.address_street as address10_108_10_, orderlocat10_.address_type as address11_108_10_, orderlocat10_.alias_id as alias_i12_108_10_, orderlocat10_.apartment as apartme13_108_10_, orderlocat10_.area_id as area_id14_108_10_, orderlocat10_.at_least_once_bad_address as at_leas15_108_10_, orderlocat10_.is_bad_address as is_bad_16_108_10_, orderlocat10_.building as buildin17_108_10_, orderlocat10_.company_name as company18_108_10_, orderlocat10_.confirmed_by_recipient as confirm19_108_10_, orderlocat10_.details as details20_108_10_, orderlocat10_.email as email21_108_10_, orderlocat10_.floor as floor22_108_10_, orderlocat10_.geo_address as geo_add23_108_10_, orderlocat10_.google_id as google_24_108_10_, orderlocat10_.landmark as landmar25_108_10_, orderlocat10_.lat as lat26_108_10_, orderlocat10_.lng as lng27_108_10_, orderlocat10_.location_source_type as locatio28_108_10_, orderlocat10_.neighborhood_id as neighbo29_108_10_, orderlocat10_.neighborhood_name as neighbo30_108_10_, orderlocat10_.order_id as order_i31_108_10_, orderlocat10_.original_address as origina32_108_10_, orderlocat10_.phone as phone33_108_10_, orderlocat10_.phone_code as phone_c34_108_10_, orderlocat10_.phone_formatted as phone_f35_108_10_, orderlocat10_.phone_without_code as phone_w36_108_10_, orderlocat10_.is_pickup as is_pick37_108_10_, orderlocat10_.plain_city as plain_c38_108_10_, orderlocat10_.postcode as postcod39_108_10_, orderlocat10_.preferred_time as preferr40_108_10_, orderlocat10_.province as provinc41_108_10_, orderlocat10_.rough_neighborhood_id as rough_n42_108_10_, orderlocat10_.second_phone as second_43_108_10_, orderlocat10_.sender_name as sender_44_108_10_, orderlocat10_.system_address as system_45_108_10_, orderlocat10_.third_phone as third_p46_108_10_, orderlocat10_.version as version47_108_10_, orderlocat10_.warehouse_id as warehou48_108_10_, orderlocat10_.order_id as order_i31_108_3__, orderlocat10_.id as id1_108_3__, ordermarke11_.marketplace_id as marketpl2_111_11_, ordermarke11_.order_id as order_id3_111_11_, ordermarke11_.sequence as sequence4_111_11_, ordermarke11_.order_id as order_id3_111_4__, ordermarke11_.id as id1_111_4__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id left outer join order_locations orderlocat10_ on orders0_.id=orderlocat10_.order_id left outer join order_marketplace ordermarke11_ on orders0_.id=ordermarke11_.order_id where orders0_.id in ($1 , $2 , $3 , $4 , $5 , $6 , $7 , $8 , $9 , $10 , $11 , $12 , $13 , $14 , $15 , $16 , $17 , $18 , $19 , $20 , $21 , $22 , $23 , $24 , $25 , $26 , $27 , $28 , $29 , $30 , $31 , $32 , $33 , $34 , $35 , $36 , $37);Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 06 1 2s30ms 2s30ms [ User: safearrival client=10.0.0.133 - Total duration: 1s58ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orderlocat10_.id as id1_108_10_, ordermarke11_.id as id1_111_11_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__, orderlocat10_.marketplace_id as marketpl2_108_10_, orderlocat10_.created_by as created_3_108_10_, orderlocat10_.created_date as created_4_108_10_, orderlocat10_.last_modified_by as last_mod5_108_10_, orderlocat10_.last_modified_date as last_mod6_108_10_, orderlocat10_.accuracy_status as accuracy7_108_10_, orderlocat10_.address as address8_108_10_, orderlocat10_.address_city as address_9_108_10_, orderlocat10_.address_street as address10_108_10_, orderlocat10_.address_type as address11_108_10_, orderlocat10_.alias_id as alias_i12_108_10_, orderlocat10_.apartment as apartme13_108_10_, orderlocat10_.area_id as area_id14_108_10_, orderlocat10_.at_least_once_bad_address as at_leas15_108_10_, orderlocat10_.is_bad_address as is_bad_16_108_10_, orderlocat10_.building as buildin17_108_10_, orderlocat10_.company_name as company18_108_10_, orderlocat10_.confirmed_by_recipient as confirm19_108_10_, orderlocat10_.details as details20_108_10_, orderlocat10_.email as email21_108_10_, orderlocat10_.floor as floor22_108_10_, orderlocat10_.geo_address as geo_add23_108_10_, orderlocat10_.google_id as google_24_108_10_, orderlocat10_.landmark as landmar25_108_10_, orderlocat10_.lat as lat26_108_10_, orderlocat10_.lng as lng27_108_10_, orderlocat10_.location_source_type as locatio28_108_10_, orderlocat10_.neighborhood_id as neighbo29_108_10_, orderlocat10_.neighborhood_name as neighbo30_108_10_, orderlocat10_.order_id as order_i31_108_10_, orderlocat10_.original_address as origina32_108_10_, orderlocat10_.phone as phone33_108_10_, orderlocat10_.phone_code as phone_c34_108_10_, orderlocat10_.phone_formatted as phone_f35_108_10_, orderlocat10_.phone_without_code as phone_w36_108_10_, orderlocat10_.is_pickup as is_pick37_108_10_, orderlocat10_.plain_city as plain_c38_108_10_, orderlocat10_.postcode as postcod39_108_10_, orderlocat10_.preferred_time as preferr40_108_10_, orderlocat10_.province as provinc41_108_10_, orderlocat10_.rough_neighborhood_id as rough_n42_108_10_, orderlocat10_.second_phone as second_43_108_10_, orderlocat10_.sender_name as sender_44_108_10_, orderlocat10_.system_address as system_45_108_10_, orderlocat10_.third_phone as third_p46_108_10_, orderlocat10_.version as version47_108_10_, orderlocat10_.warehouse_id as warehou48_108_10_, orderlocat10_.order_id as order_i31_108_3__, orderlocat10_.id as id1_108_3__, ordermarke11_.marketplace_id as marketpl2_111_11_, ordermarke11_.order_id as order_id3_111_11_, ordermarke11_.sequence as sequence4_111_11_, ordermarke11_.order_id as order_id3_111_4__, ordermarke11_.id as id1_111_4__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id=customers1_.id left outer join drivers drivers2_ on orders0_.driver_id=drivers2_.id left outer join packages packages3_ on orders0_.package_id=packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id=suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id=drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id=drivers6_.id left outer join order_history orderhisto7_ on orders0_.id=orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id=ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id=barcodes9_.order_id left outer join order_locations orderlocat10_ on orders0_.id=orderlocat10_.order_id left outer join order_marketplace ordermarke11_ on orders0_.id=ordermarke11_.order_id where orders0_.id in ($1 , $2 , $3 , $4 , $5 , $6 , $7 , $8 , $9 , $10 , $11 , $12 , $13 , $14 , $15 , $16 , $17 , $18 , $19 , $20 , $21 , $22 , $23 , $24 , $25 , $26 , $27 , $28 , $29 , $30 , $31 , $32 , $33 , $34 , $35 , $36 , $37);
Date: 2024-01-02 06:45:34 Duration: 2s30ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.133 Application: 10.0.0.133 parameters: $1 = '631889485', $2 = '1'
16 1s929ms 1 1s929ms 1s929ms 1s929ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168);Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 09 1 1s929ms 1s929ms [ User: safearrival client=10.0.0.132 - Total duration: 4s848ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168);
Date: 2024-01-02 09:35:04 Duration: 1s929ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1323686809', $2 = '1323706995', $3 = '1323714993', $4 = '1325455491', $5 = '1325499136', $6 = '1326172787', $7 = '1327744609', $8 = '1327831615', $9 = '1327944227', $10 = '1328696510', $11 = '1328770464', $12 = '1329660294', $13 = '1329680722', $14 = '1329867552', $15 = '1330206149', $16 = '1330588769', $17 = '1330985737', $18 = '1331022309', $19 = '1331253429', $20 = '1331336536', $21 = '1331362017', $22 = '1331369735', $23 = '1331378549', $24 = '1331388323', $25 = '1331446014', $26 = '1331471821', $27 = '1331515239', $28 = '1331670015', $29 = '1331679514', $30 = '1331764540', $31 = '1332181697', $32 = '1332393544', $33 = '1332662900', $34 = '1332795834', $35 = '1332870877', $36 = '1332917639', $37 = '1332977832', $38 = '1333303986', $39 = '1333426389', $40 = '1333662595', $41 = '1333691910', $42 = '1333702142', $43 = '1333721445', $44 = '1333746336', $45 = '1333757083', $46 = '1333787464', $47 = '1333797900', $48 = '1333862166', $49 = '1333911022', $50 = '1333970817', $51 = '1333983640', $52 = '1333993045', $53 = '1334015052', $54 = '1334028440', $55 = '1334030019', $56 = '1334033335', $57 = '1334712152', $58 = '1334729366', $59 = '1334836042', $60 = '1334840000', $61 = '1334843571', $62 = '1334852671', $63 = '1334854549', $64 = '1334859661', $65 = '1334859795', $66 = '1334866017', $67 = '1334875935', $68 = '1334879341', $69 = '1334879370', $70 = '1334880042', $71 = '1334880539', $72 = '1334918116', $73 = '1335120119', $74 = '1335120128', $75 = '1335123447', $76 = '1335186233', $77 = '1335225717', $78 = '1335301574', $79 = '1335333403', $80 = '1335333960', $81 = '1335339444', $82 = '1335342232', $83 = '1335342556', $84 = '1335343372', $85 = '1335345749', $86 = '1335346088', $87 = '1335346155', $88 = '1335346662', $89 = '1335351978', $90 = '1335352404', $91 = '1335353580', $92 = '1335353763', $93 = '1335355152', $94 = '1335355859', $95 = '1335356533', $96 = '1335357783', $97 = '1335358197', $98 = '1335358460', $99 = '1335362517', $100 = '1335364967', $101 = '1335365993', $102 = '1335367221', $103 = '1335367668', $104 = '1335368093', $105 = '1335368242', $106 = '1335368915', $107 = '1335369624', $108 = '1335371865', $109 = '1335371888', $110 = '1335372601', $111 = '1335375381', $112 = '1335376927', $113 = '1335378761', $114 = '1335379371', $115 = '1335383849', $116 = '1335387211', $117 = '1335388135', $118 = '1335391785', $119 = '1335393781', $120 = '1335398233', $121 = '1335399534', $122 = '1335401785', $123 = '1335405141', $124 = '1335405889', $125 = '1335417946', $126 = '1335421835', $127 = '1335424966', $128 = '1335433062', $129 = '1335433113', $130 = '1335433435', $131 = '1335433727', $132 = '1335435751', $133 = '1335437773', $134 = '1335440212', $135 = '1335442555', $136 = '1335444006', $137 = '1335447690', $138 = '1335447893', $139 = '1335450718', $140 = '1335451579', $141 = '1335451612', $142 = '1335458418', $143 = '1335470184', $144 = '1335486930', $145 = '1335487348', $146 = '1335487422', $147 = '1335494842', $148 = '1335500996', $149 = '1335739053', $150 = '1335767121', $151 = '1335908878', $152 = '1335931534', $153 = '1336055191', $154 = '1336067394', $155 = '1336069927', $156 = '1336078493', $157 = '1336137031', $158 = '1336141296', $159 = '1336144524', $160 = '1336160026', $161 = '1336216282', $162 = '1336251435', $163 = '1336352669', $164 = '1336462001', $165 = '1336521862', $166 = '1336596089', $167 = '1336639125', $168 = '1336663712'
17 1s900ms 1 1s900ms 1s900ms 1s900ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183);Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 09 1 1s900ms 1s900ms [ User: safearrival client=10.0.0.132 - Total duration: 5s552ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183);
Date: 2024-01-02 09:06:13 Duration: 1s900ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1318391861', $2 = '1320596497', $3 = '1321474794', $4 = '1325087558', $5 = '1325088490', $6 = '1325101582', $7 = '1325349336', $8 = '1325352007', $9 = '1325419236', $10 = '1325498558', $11 = '1325949476', $12 = '1326153362', $13 = '1326166577', $14 = '1326212949', $15 = '1326241250', $16 = '1326866302', $17 = '1327057753', $18 = '1327138035', $19 = '1327902842', $20 = '1327905346', $21 = '1328142942', $22 = '1328153636', $23 = '1328155317', $24 = '1328650725', $25 = '1328691913', $26 = '1328735790', $27 = '1328779785', $28 = '1329378862', $29 = '1329531524', $30 = '1329647276', $31 = '1329882508', $32 = '1329901751', $33 = '1329926945', $34 = '1329936111', $35 = '1329955924', $36 = '1330305334', $37 = '1330367761', $38 = '1330461606', $39 = '1330461912', $40 = '1330472886', $41 = '1330473950', $42 = '1330475726', $43 = '1330476518', $44 = '1330477304', $45 = '1330479625', $46 = '1330485905', $47 = '1330486435', $48 = '1330488047', $49 = '1330489128', $50 = '1330491292', $51 = '1330498918', $52 = '1330500399', $53 = '1330508811', $54 = '1330510490', $55 = '1330523059', $56 = '1330533614', $57 = '1330540348', $58 = '1330550016', $59 = '1330555176', $60 = '1330558083', $61 = '1330561390', $62 = '1330564325', $63 = '1330566698', $64 = '1330568605', $65 = '1330573715', $66 = '1330576889', $67 = '1330580558', $68 = '1330583971', $69 = '1330608059', $70 = '1330611949', $71 = '1330615984', $72 = '1330620673', $73 = '1330623441', $74 = '1330633341', $75 = '1330637077', $76 = '1330647682', $77 = '1330647719', $78 = '1330652118', $79 = '1330715176', $80 = '1330840977', $81 = '1331103046', $82 = '1331379036', $83 = '1331390292', $84 = '1331400043', $85 = '1331403778', $86 = '1331456662', $87 = '1331462193', $88 = '1331464674', $89 = '1331465933', $90 = '1331487221', $91 = '1331557852', $92 = '1331595377', $93 = '1331764444', $94 = '1331926923', $95 = '1332075592', $96 = '1332144053', $97 = '1332156882', $98 = '1332165797', $99 = '1332182982', $100 = '1332188767', $101 = '1332651313', $102 = '1332677094', $103 = '1332687514', $104 = '1332701495', $105 = '1332832462', $106 = '1332865507', $107 = '1332868443', $108 = '1332881799', $109 = '1332940858', $110 = '1332959703', $111 = '1332964294', $112 = '1332971020', $113 = '1332973984', $114 = '1332984092', $115 = '1332994603', $116 = '1332994887', $117 = '1332995187', $118 = '1332995466', $119 = '1332998225', $120 = '1333151882', $121 = '1333169870', $122 = '1333185527', $123 = '1333262746', $124 = '1333265318', $125 = '1333314498', $126 = '1333343137', $127 = '1333366493', $128 = '1333400299', $129 = '1333408631', $130 = '1333411854', $131 = '1333574173', $132 = '1333660194', $133 = '1333676152', $134 = '1333681137', $135 = '1333706404', $136 = '1333711446', $137 = '1333754929', $138 = '1333802327', $139 = '1333803120', $140 = '1333863591', $141 = '1333870433', $142 = '1334000100', $143 = '1334000800', $144 = '1334003836', $145 = '1334013213', $146 = '1334014102', $147 = '1334014173', $148 = '1334015106', $149 = '1334028700', $150 = '1334265893', $151 = '1334415516', $152 = '1334831066', $153 = '1334840556', $154 = '1334856935', $155 = '1334859736', $156 = '1334861467', $157 = '1334861732', $158 = '1334863387', $159 = '1334870426', $160 = '1334922163', $161 = '1334950300', $162 = '1335120198', $163 = '1335182810', $164 = '1335339728', $165 = '1335342654', $166 = '1335343115', $167 = '1335344976', $168 = '1335346622', $169 = '1335348809', $170 = '1335364736', $171 = '1335437502', $172 = '1335443239', $173 = '1335737987', $174 = '1335739908', $175 = '1335848878', $176 = '1336033627', $177 = '1336510004', $178 = '1336520089', $179 = '1336520943', $180 = '1336522679', $181 = '1336676067', $182 = '1337029089', $183 = '1337049734'
18 1s763ms 1 1s763ms 1s763ms 1s763ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12);Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 05 1 1s763ms 1s763ms [ User: safearrival client=10.0.0.132 - Total duration: 2s330ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12);
Date: 2024-01-02 05:09:48 Duration: 1s763ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1336301817'
19 1s745ms 1 1s745ms 1s745ms 1s745ms select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120);Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 06 1 1s745ms 1s745ms [ User: safearrival client=10.0.0.132 - Total duration: 3s888ms - Times executed: 1 ]
-
select distinct orders0_.id as id1_122_0_, customers1_.id as id1_45_1_, drivers2_.id as id1_67_2_, packages3_.id as id1_127_3_, suppliers4_.id as id1_183_4_, drivers5_.id as id1_67_5_, drivers6_.id as id1_67_6_, orderhisto7_.id as id1_105_7_, ordercharg8_.id as id1_102_8_, barcodes9_.id as id1_13_9_, orders0_.marketplace_id as marketpl2_122_0_, orders0_.created_by as created_3_122_0_, orders0_.created_date as created_4_122_0_, orders0_.last_modified_by as last_mod5_122_0_, orders0_.last_modified_date as last_mod6_122_0_, orders0_.actual_delivery_option as actual_d7_122_0_, orders0_.actualdelivery_time as actualde8_122_0_, orders0_.actual_pickup_time as actual_p9_122_0_, orders0_.allocated_from_warehouse as allocat10_122_0_, orders0_.amount as amount11_122_0_, orders0_.api_supplier_id as api_sup12_122_0_, orders0_.approximate_distance as approxi13_122_0_, orders0_.audit_version as audit_v14_122_0_, orders0_.authenticated_by_otp as authent15_122_0_, orders0_.back_id as back_id16_122_0_, orders0_.booking_date_time as booking17_122_0_, orders0_.cancellation_requires_type as cancell18_122_0_, orders0_.cashier_id as cashier19_122_0_, orders0_.chargeable_weight as chargea20_122_0_, orders0_.cod_settlement_date as cod_set21_122_0_, orders0_.cod_settlement_reference as cod_set22_122_0_, orders0_.cod_status as cod_sta23_122_0_, orders0_.cod_status_updated_by as cod_sta24_122_0_, orders0_.cod_transfer_type as cod_tra25_122_0_, orders0_.code as code26_122_0_, orders0_.completed as complet27_122_0_, orders0_.create_transaction as create_28_122_0_, orders0_.currency_id as currenc29_122_0_, orders0_.customer_id as custome31_122_0_, orders0_.customer_care_id as custome30_122_0_, orders0_.deadline_time as deadlin32_122_0_, orders0_.dec_date as dec_dat33_122_0_, orders0_.deleted as deleted34_122_0_, orders0_.delivered_lat as deliver35_122_0_, orders0_.delivered_lng as deliver36_122_0_, orders0_.delivered_to as deliver37_122_0_, orders0_.delivered_to_phone as deliver38_122_0_, orders0_.delivered_to_photo_id as deliver39_122_0_, orders0_.delivery_address_changed_date as deliver40_122_0_, orders0_.delivery_attemp_count as deliver41_122_0_, orders0_.delivery_planned_datetime as deliver42_122_0_, orders0_.delivery_planned_timestamp_array as deliver43_122_0_, orders0_.delivery_signature_id as deliver44_122_0_, orders0_.device_details as device_45_122_0_, orders0_.dimension_unit as dimensi46_122_0_, orders0_.dispatch_attempt_count as dispatc47_122_0_, orders0_.driver_id as driver_48_122_0_, orders0_.driver_bonus_id as driver193_122_0_, orders0_.drop_timeslot_availability_id as drop_ti49_122_0_, orders0_.dropoff_pos_receipt_number as dropoff50_122_0_, orders0_.dsc_date as dsc_dat51_122_0_, orders0_.encrypted_id as encrypt52_122_0_, orders0_.escalation_status as escalat53_122_0_, orders0_.escalation_status_updated_by as escalat54_122_0_, orders0_.escalation_status_updated_date as escalat55_122_0_, orders0_.estimated_delivery_date_time as estimat56_122_0_, orders0_.estimated_pick_up_time as estimat57_122_0_, orders0_.eta_id as eta_id58_122_0_, orders0_.external_user_name as externa59_122_0_, orders0_.failed_image_attachments as failed_60_122_0_, orders0_.fetch_item_id as fetch_i61_122_0_, orders0_.finance_pick_up_driver_id as finance62_122_0_, orders0_.finance_pick_up_supplier_id as finance63_122_0_, orders0_.first_delivery_time as first_d64_122_0_, orders0_.first_driver_id as first_d65_122_0_, orders0_.first_ofd_date as first_o66_122_0_, orders0_.first_pick_up_time as first_p67_122_0_, orders0_.fragile as fragile68_122_0_, orders0_.from_area_id as from_ar69_122_0_, orders0_.from_city as from_ci70_122_0_, orders0_.from_warehouse_id as from_wa71_122_0_, orders0_.future_pickup_requested_date as future_72_122_0_, orders0_.head_id as head_id73_122_0_, orders0_.heavy_type as heavy_t74_122_0_, orders0_.height as height75_122_0_, orders0_.id_card_required as id_card76_122_0_, orders0_.internal_promise_date as interna77_122_0_, orders0_.is_no_service_area as is_no_s78_122_0_, orders0_.is_old as is_old79_122_0_, orders0_.is_public as is_publ80_122_0_, orders0_.is_uae as is_uae81_122_0_, orders0_.item_payment_id as item_pa82_122_0_, orders0_.last_cod_status_date as last_co83_122_0_, orders0_.last_delivery_attempt_date as last_de84_122_0_, orders0_.last_mile_driver_id as last_mi85_122_0_, orders0_.last_ofd_date as last_of86_122_0_, orders0_.last_routing_status_date as last_ro87_122_0_, orders0_.last_status_date as last_st88_122_0_, orders0_.last_status_updated_user_id as last_st89_122_0_, orders0_.length as length90_122_0_, orders0_.logistic_type as logisti91_122_0_, orders0_.merchant_promise_date as merchan92_122_0_, orders0_.nc_date as nc_date93_122_0_, orders0_.new_prefix as new_pre94_122_0_, orders0_.note as note95_122_0_, orders0_.old_prefix as old_pre96_122_0_, orders0_.old_recipient_address as old_rec97_122_0_, orders0_.old_recipient_city_id as old_rec98_122_0_, orders0_.old_recipient_city_name as old_rec99_122_0_, orders0_.old_recipient_lat as old_re100_122_0_, orders0_.old_recipient_lng as old_re101_122_0_, orders0_.old_recipient_neighborhood_id as old_re102_122_0_, orders0_.old_recipient_neighborhood_name as old_re103_122_0_, orders0_.old_sender_address as old_se104_122_0_, orders0_.old_sender_city_id as old_se105_122_0_, orders0_.old_sender_city_name as old_se106_122_0_, orders0_.old_sender_lat as old_se107_122_0_, orders0_.old_sender_lng as old_se108_122_0_, orders0_.old_sender_neighborhood_id as old_se109_122_0_, orders0_.old_sender_neighborhood_name as old_se110_122_0_, orders0_.order_charge_paid_history_list as order_111_122_0_, orders0_.order_count as order_112_122_0_, orders0_.order_payment_id as order_113_122_0_, orders0_.order_piece_count as order_114_122_0_, orders0_.order_transfer_id as order_115_122_0_, orders0_.package_changed as packag116_122_0_, orders0_.package_id as packag117_122_0_, orders0_.package_type_id as packag118_122_0_, orders0_.parent_id as parent119_122_0_, orders0_.parent_supplier_id as parent120_122_0_, orders0_.payer as payer121_122_0_, orders0_.payment_status as paymen122_122_0_, orders0_.payment_type as paymen123_122_0_, orders0_.physical_delivery_attempt_count as physic124_122_0_, orders0_.physical_delivery_attempts as physic125_122_0_, orders0_.physical_dispatch_timestamp_array as physic126_122_0_, orders0_.physical_pickup_attempts as physic127_122_0_, orders0_.pickup_attemp_count as pickup128_122_0_, orders0_.pick_up_driver_id as pick_u129_122_0_, orders0_.pickup_id as pickup130_122_0_, orders0_.pickup_pos_receipt_number as pickup131_122_0_, orders0_.pickup_planned_date_time as pickup132_122_0_, orders0_.pickup_promise_date_time as pickup133_122_0_, orders0_.pickup_time as pickup134_122_0_, orders0_.pickup_time_now as pickup135_122_0_, orders0_.pickup_timeslot_availability_id as pickup136_122_0_, orders0_.pos_terminal_number as pos_te137_122_0_, orders0_.prefix_changed as prefix138_122_0_, orders0_.prefix_history as prefix139_122_0_, orders0_.previous_driver_id as previo140_122_0_, orders0_.price_id as price_141_122_0_, orders0_.promo_id as promo_142_122_0_, orders0_.provided_weight as provid143_122_0_, orders0_.psf_status as psf_st144_122_0_, orders0_.public_id as public145_122_0_, orders0_.receipt_id as receip146_122_0_, orders0_.receipt_number as receip147_122_0_, orders0_.recipient_id as recipi149_122_0_, orders0_.recipient_city_changed as recipi148_122_0_, orders0_.if_recipient_not_available as if_rec150_122_0_, orders0_.reference_id as refere151_122_0_, orders0_.request_details as reques152_122_0_, orders0_.rescheduled_delivery_datetime as resche153_122_0_, orders0_.reverse_code as revers154_122_0_, orders0_.routeid as routei155_122_0_, orders0_.routing_status as routin156_122_0_, orders0_.rule_id as rule_i157_122_0_, orders0_.scanned_piece_count as scanne158_122_0_, orders0_.seller_id as seller159_122_0_, orders0_.seller_name as seller160_122_0_, orders0_.sender_from as sender161_122_0_, orders0_.sender_phone as sender162_122_0_, orders0_.sender_photo_id as sender163_122_0_, orders0_.sender_prefix as sender164_122_0_, orders0_.sender_signature_id as sender165_122_0_, orders0_.sender_zone as sender166_122_0_, orders0_.sequence_number as sequen167_122_0_, orders0_.service_type_id as servic168_122_0_, orders0_.shipment_id as shipme169_122_0_, orders0_.shop_order as shop_o170_122_0_, orders0_.size as size171_122_0_, orders0_.sms_verification_event_id as sms_ve172_122_0_, orders0_.sms_verification_number as sms_ve173_122_0_, orders0_.sms_verified as sms_ve174_122_0_, orders0_.status as status175_122_0_, orders0_.storfox_sale_order_id as storfo176_122_0_, orders0_.supplier_id as suppli177_122_0_, orders0_.timeslot_availability_history_id as timesl194_122_0_, orders0_.to_area_id as to_are178_122_0_, orders0_.to_city as to_cit179_122_0_, orders0_.to_warehouse_id as to_war180_122_0_, orders0_.type as type181_122_0_, orders0_.unique_id as unique182_122_0_, orders0_.value as value183_122_0_, orders0_.volumetric_weight as volume184_122_0_, orders0_.wallet_settlement_date as wallet185_122_0_, orders0_.wallet_settlement_reference as wallet186_122_0_, orders0_.warehouse_id as wareho187_122_0_, orders0_.weight as weight188_122_0_, orders0_.width as width189_122_0_, orders0_.with_driver as with_d190_122_0_, orders0_.with_driver_time as with_d191_122_0_, orders0_.wrong_allocated_warehouse as wrong_192_122_0_, customers1_.marketplace_id as marketpl2_45_1_, customers1_.created_by as created_3_45_1_, customers1_.created_date as created_4_45_1_, customers1_.last_modified_by as last_mod5_45_1_, customers1_.last_modified_date as last_mod6_45_1_, customers1_.address_id as address_7_45_1_, customers1_.company_id as company_8_45_1_, customers1_.contract_id as contract9_45_1_, customers1_.country_id as country10_45_1_, customers1_.credit_customer as credit_11_45_1_, customers1_.cs_field_urgent_rto_enabled as cs_fiel12_45_1_, customers1_.cs_rto_confirmation_required as cs_rto_13_45_1_, customers1_.currency_id as currenc14_45_1_, customers1_.customer_type as custome15_45_1_, customers1_.default_pickup_point as default16_45_1_, customers1_.deleted as deleted17_45_1_, customers1_.device_details as device_18_45_1_, customers1_.do_not_send_event as do_not_19_45_1_, customers1_.enabled_unknown_package as enabled20_45_1_, customers1_.ending_balance as ending_21_45_1_, customers1_.google_id as google_22_45_1_, customers1_.has_awb as has_awb23_45_1_, customers1_.hide_address as hide_ad24_45_1_, customers1_.is_legal_name_used as is_lega25_45_1_, customers1_.lat as lat26_45_1_, customers1_.lng as lng27_45_1_, customers1_.merchant_type as merchan28_45_1_, customers1_.only_custom_packages as only_cu29_45_1_, customers1_.otp_for_cod as otp_for30_45_1_, customers1_.otp_for_prepaid as otp_for31_45_1_, customers1_.owner_id as owner_i32_45_1_, customers1_.pod_upload_requred as pod_upl33_45_1_, customers1_.push_status as push_st34_45_1_, customers1_.recipient_activated as recipie35_45_1_, customers1_.report_status as report_36_45_1_, customers1_.sales_id as sales_i37_45_1_, customers1_.sms_status as sms_sta38_45_1_, customers1_.status as status39_45_1_, customers1_.unique_reference_id_validation as unique_40_45_1_, customers1_.user_id as user_id41_45_1_, drivers2_.marketplace_id as marketpl2_67_2_, drivers2_.created_by as created_3_67_2_, drivers2_.created_date as created_4_67_2_, drivers2_.last_modified_by as last_mod5_67_2_, drivers2_.last_modified_date as last_mod6_67_2_, drivers2_.activated as activate7_67_2_, drivers2_.arabic_name as arabic_n8_67_2_, drivers2_.birthday as birthday9_67_2_, drivers2_.bonus as bonus10_67_2_, drivers2_.city_id as city_id11_67_2_, drivers2_.company_trade_license as company12_67_2_, drivers2_.dedicated as dedicat13_67_2_, drivers2_.deleted as deleted14_67_2_, drivers2_.device_details as device_15_67_2_, drivers2_.dispatchable as dispatc16_67_2_, drivers2_.duty_status as duty_st17_67_2_, drivers2_.emirates_id_back as emirate18_67_2_, drivers2_.emirates_id_front as emirate19_67_2_, drivers2_.gender as gender20_67_2_, drivers2_.image_id as image_i21_67_2_, drivers2_.image_of_emiratesidback_id as image_o22_67_2_, drivers2_.image_of_emiratesidfront_id as image_o23_67_2_, drivers2_.image_of_license_id as image_o24_67_2_, drivers2_.kpi_status as kpi_sta25_67_2_, drivers2_.last_activity_date as last_ac26_67_2_, drivers2_.license_image as license27_67_2_, drivers2_.parent_supplier_id as parent_28_67_2_, drivers2_.photo as photo29_67_2_, drivers2_.push_status as push_st30_67_2_, drivers2_.rate as rate31_67_2_, drivers2_.rta_card as rta_car32_67_2_, drivers2_.sms_status as sms_sta33_67_2_, drivers2_.sms_verification_enabled as sms_ver34_67_2_, drivers2_.start_date_as_dedicated as start_d35_67_2_, drivers2_.status as status36_67_2_, drivers2_.supplier_id as supplie37_67_2_, drivers2_.type_id as type_id38_67_2_, drivers2_.user_id as user_id39_67_2_, drivers2_.utilization as utiliza40_67_2_, drivers2_.vehicle_id as vehicle41_67_2_, drivers2_.warehouse_id as warehou42_67_2_, packages3_.marketplace_id as marketpl2_127_3_, packages3_.active as active3_127_3_, packages3_.capacity as capacity4_127_3_, packages3_.code as code5_127_3_, packages3_.courier_type as courier_6_127_3_, packages3_.custom as custom7_127_3_, packages3_.cutoff_end as cutoff_e8_127_3_, packages3_.cutoff_start as cutoff_s9_127_3_, packages3_.deleted as deleted10_127_3_, packages3_.delivery_label as deliver11_127_3_, packages3_.delivery_label_helper as deliver12_127_3_, packages3_.from_city_id as from_ci13_127_3_, packages3_.has_cutoff as has_cut14_127_3_, packages3_.is_old as is_old15_127_3_, packages3_.is_public as is_publ16_127_3_, packages3_.menu_id as menu_id17_127_3_, packages3_.name as name18_127_3_, packages3_.parent_id as parent_19_127_3_, packages3_.price_id as price_i20_127_3_, packages3_.supplier_id as supplie21_127_3_, packages3_.to_city_id as to_city22_127_3_, packages3_.vehicle_type as vehicle23_127_3_, suppliers4_.marketplace_id as marketpl2_183_4_, suppliers4_.created_by as created_3_183_4_, suppliers4_.created_date as created_4_183_4_, suppliers4_.last_modified_by as last_mod5_183_4_, suppliers4_.last_modified_date as last_mod6_183_4_, suppliers4_.admin_user_id as admin_us7_183_4_, suppliers4_.api_group_id as api_grou8_183_4_, suppliers4_.cancellation_email as cancella9_183_4_, suppliers4_.cod_fee_calculation as cod_fee10_183_4_, suppliers4_.cod_fee_charge as cod_fee11_183_4_, suppliers4_.code as code12_183_4_, suppliers4_.customer_id as custome13_183_4_, suppliers4_.daily_aging_report_enabled as daily_a14_183_4_, suppliers4_.daily_limit as daily_l15_183_4_, suppliers4_.daily_quota as daily_q16_183_4_, suppliers4_.deleted as deleted17_183_4_, suppliers4_.email as email18_183_4_, suppliers4_.fax as fax19_183_4_, suppliers4_.force_system_route_access as force_s20_183_4_, suppliers4_.integration_type as integra21_183_4_, suppliers4_.is_default as is_defa22_183_4_, suppliers4_.last_updated_date as last_up23_183_4_, suppliers4_.legal_name as legal_n24_183_4_, suppliers4_.min_quota as min_quo25_183_4_, suppliers4_.name as name26_183_4_, suppliers4_.number_of_drivers as number_27_183_4_, suppliers4_.number_of_fleet as number_28_183_4_, suppliers4_.overweight_fee as overwei29_183_4_, suppliers4_.phone as phone30_183_4_, suppliers4_.photo as photo31_183_4_, suppliers4_.prefix as prefix32_183_4_, suppliers4_.price_formula as price_f33_183_4_, suppliers4_.report_cc_emails as report_34_183_4_, suppliers4_.report_to_emails as report_35_183_4_, suppliers4_.send_request_on as send_re36_183_4_, suppliers4_.service_fee_calculation as service37_183_4_, suppliers4_.service_fee_charge as service38_183_4_, suppliers4_.status as status39_183_4_, suppliers4_.telegram_group_id as telegra40_183_4_, suppliers4_.tracking_url as trackin41_183_4_, suppliers4_.utilization as utiliza42_183_4_, suppliers4_.website as website43_183_4_, drivers5_.marketplace_id as marketpl2_67_5_, drivers5_.created_by as created_3_67_5_, drivers5_.created_date as created_4_67_5_, drivers5_.last_modified_by as last_mod5_67_5_, drivers5_.last_modified_date as last_mod6_67_5_, drivers5_.activated as activate7_67_5_, drivers5_.arabic_name as arabic_n8_67_5_, drivers5_.birthday as birthday9_67_5_, drivers5_.bonus as bonus10_67_5_, drivers5_.city_id as city_id11_67_5_, drivers5_.company_trade_license as company12_67_5_, drivers5_.dedicated as dedicat13_67_5_, drivers5_.deleted as deleted14_67_5_, drivers5_.device_details as device_15_67_5_, drivers5_.dispatchable as dispatc16_67_5_, drivers5_.duty_status as duty_st17_67_5_, drivers5_.emirates_id_back as emirate18_67_5_, drivers5_.emirates_id_front as emirate19_67_5_, drivers5_.gender as gender20_67_5_, drivers5_.image_id as image_i21_67_5_, drivers5_.image_of_emiratesidback_id as image_o22_67_5_, drivers5_.image_of_emiratesidfront_id as image_o23_67_5_, drivers5_.image_of_license_id as image_o24_67_5_, drivers5_.kpi_status as kpi_sta25_67_5_, drivers5_.last_activity_date as last_ac26_67_5_, drivers5_.license_image as license27_67_5_, drivers5_.parent_supplier_id as parent_28_67_5_, drivers5_.photo as photo29_67_5_, drivers5_.push_status as push_st30_67_5_, drivers5_.rate as rate31_67_5_, drivers5_.rta_card as rta_car32_67_5_, drivers5_.sms_status as sms_sta33_67_5_, drivers5_.sms_verification_enabled as sms_ver34_67_5_, drivers5_.start_date_as_dedicated as start_d35_67_5_, drivers5_.status as status36_67_5_, drivers5_.supplier_id as supplie37_67_5_, drivers5_.type_id as type_id38_67_5_, drivers5_.user_id as user_id39_67_5_, drivers5_.utilization as utiliza40_67_5_, drivers5_.vehicle_id as vehicle41_67_5_, drivers5_.warehouse_id as warehou42_67_5_, drivers6_.marketplace_id as marketpl2_67_6_, drivers6_.created_by as created_3_67_6_, drivers6_.created_date as created_4_67_6_, drivers6_.last_modified_by as last_mod5_67_6_, drivers6_.last_modified_date as last_mod6_67_6_, drivers6_.activated as activate7_67_6_, drivers6_.arabic_name as arabic_n8_67_6_, drivers6_.birthday as birthday9_67_6_, drivers6_.bonus as bonus10_67_6_, drivers6_.city_id as city_id11_67_6_, drivers6_.company_trade_license as company12_67_6_, drivers6_.dedicated as dedicat13_67_6_, drivers6_.deleted as deleted14_67_6_, drivers6_.device_details as device_15_67_6_, drivers6_.dispatchable as dispatc16_67_6_, drivers6_.duty_status as duty_st17_67_6_, drivers6_.emirates_id_back as emirate18_67_6_, drivers6_.emirates_id_front as emirate19_67_6_, drivers6_.gender as gender20_67_6_, drivers6_.image_id as image_i21_67_6_, drivers6_.image_of_emiratesidback_id as image_o22_67_6_, drivers6_.image_of_emiratesidfront_id as image_o23_67_6_, drivers6_.image_of_license_id as image_o24_67_6_, drivers6_.kpi_status as kpi_sta25_67_6_, drivers6_.last_activity_date as last_ac26_67_6_, drivers6_.license_image as license27_67_6_, drivers6_.parent_supplier_id as parent_28_67_6_, drivers6_.photo as photo29_67_6_, drivers6_.push_status as push_st30_67_6_, drivers6_.rate as rate31_67_6_, drivers6_.rta_card as rta_car32_67_6_, drivers6_.sms_status as sms_sta33_67_6_, drivers6_.sms_verification_enabled as sms_ver34_67_6_, drivers6_.start_date_as_dedicated as start_d35_67_6_, drivers6_.status as status36_67_6_, drivers6_.supplier_id as supplie37_67_6_, drivers6_.type_id as type_id38_67_6_, drivers6_.user_id as user_id39_67_6_, drivers6_.utilization as utiliza40_67_6_, drivers6_.vehicle_id as vehicle41_67_6_, drivers6_.warehouse_id as warehou42_67_6_, orderhisto7_.marketplace_id as marketpl2_105_7_, orderhisto7_.created_by as created_3_105_7_, orderhisto7_.created_date as created_4_105_7_, orderhisto7_.last_modified_by as last_mod5_105_7_, orderhisto7_.last_modified_date as last_mod6_105_7_, orderhisto7_.cashier_id as cashier_7_105_7_, orderhisto7_.cod_status as cod_stat8_105_7_, orderhisto7_.created_by_user_id as created_9_105_7_, orderhisto7_.created_by_user_role as created10_105_7_, orderhisto7_.driver_id as driver_11_105_7_, orderhisto7_.escalation_status as escalat12_105_7_, orderhisto7_.event_date as event_d13_105_7_, orderhisto7_.external_id as externa14_105_7_, orderhisto7_.lat as lat15_105_7_, orderhisto7_.lng as lng16_105_7_, orderhisto7_.order_id as order_i17_105_7_, orderhisto7_.parent_supplier_id as parent_18_105_7_, orderhisto7_.psf_status as psf_sta19_105_7_, orderhisto7_.rescheduled_delivery_date_time as resched20_105_7_, orderhisto7_.shipment_id as shipmen21_105_7_, orderhisto7_.status as status22_105_7_, orderhisto7_.supplier_id as supplie23_105_7_, orderhisto7_.warehouse_id as warehou24_105_7_, orderhisto7_.order_id as order_i17_105_0__, orderhisto7_.id as id1_105_0__, ordercharg8_.marketplace_id as marketpl2_102_8_, ordercharg8_.created_by as created_3_102_8_, ordercharg8_.created_date as created_4_102_8_, ordercharg8_.last_modified_by as last_mod5_102_8_, ordercharg8_.last_modified_date as last_mod6_102_8_, ordercharg8_.base_currency_id as base_cur7_102_8_, ordercharg8_.charge as charge8_102_8_, ordercharg8_.charge_type as charge_t9_102_8_, ordercharg8_.currency_id as currenc10_102_8_, ordercharg8_.exchange_rate as exchang11_102_8_, ordercharg8_.order_id as order_i12_102_8_, ordercharg8_.paid as paid13_102_8_, ordercharg8_.paid_to_customer as paid_to14_102_8_, ordercharg8_.paid_to_wing as paid_to15_102_8_, ordercharg8_.payer as payer16_102_8_, ordercharg8_.quantity as quantit17_102_8_, ordercharg8_.receipt_id as receipt18_102_8_, ordercharg8_.receipt_number as receipt19_102_8_, ordercharg8_.refund as refund20_102_8_, ordercharg8_.order_id as order_i12_102_1__, ordercharg8_.id as id1_102_1__, barcodes9_.barcode as barcode2_13_9_, barcodes9_.barcode_type as barcode_3_13_9_, barcodes9_.created_date as created_4_13_9_, barcodes9_.creator_id as creator_5_13_9_, barcodes9_.order_id as order_id6_13_9_, barcodes9_.request_uuid as request_7_13_9_, barcodes9_.supplier_id as supplier8_13_9_, barcodes9_.order_id as order_id6_13_2__, barcodes9_.id as id1_13_2__ from orders orders0_ left outer join customers customers1_ on orders0_.customer_id = customers1_.id left outer join drivers drivers2_ on orders0_.driver_id = drivers2_.id left outer join packages packages3_ on orders0_.package_id = packages3_.id left outer join suppliers suppliers4_ on orders0_.supplier_id = suppliers4_.id left outer join drivers drivers5_ on orders0_.previous_driver_id = drivers5_.id left outer join drivers drivers6_ on orders0_.last_mile_driver_id = drivers6_.id left outer join order_history orderhisto7_ on orders0_.id = orderhisto7_.order_id left outer join order_charge_items ordercharg8_ on orders0_.id = ordercharg8_.order_id left outer join barcode barcodes9_ on orders0_.id = barcodes9_.order_id where orders0_.id in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120);
Date: 2024-01-02 06:41:54 Duration: 1s745ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = '1323389686', $2 = '1324651399', $3 = '1333814610', $4 = '1334372945', $5 = '1334395707', $6 = '1334753843', $7 = '1334872157', $8 = '1334874408', $9 = '1335309979', $10 = '1335340042', $11 = '1335345993', $12 = '1335354893', $13 = '1335489980', $14 = '1335729580', $15 = '1336060662', $16 = '1336222589', $17 = '1336223332', $18 = '1336225183', $19 = '1336231498', $20 = '1336233558', $21 = '1336234014', $22 = '1336234663', $23 = '1336235783', $24 = '1336235817', $25 = '1336238852', $26 = '1336304106', $27 = '1336310294', $28 = '1336316290', $29 = '1336364421', $30 = '1336384817', $31 = '1336392757', $32 = '1336397830', $33 = '1336469456', $34 = '1336694562', $35 = '1336695098', $36 = '1336695757', $37 = '1336703590', $38 = '1336705447', $39 = '1336735574', $40 = '1336739443', $41 = '1336772310', $42 = '1336777734', $43 = '1336791367', $44 = '1336875941', $45 = '1336942907', $46 = '1336953368', $47 = '1337044660', $48 = '1337320178', $49 = '1337337660', $50 = '1337353241', $51 = '1337360676', $52 = '1337366801', $53 = '1337367796', $54 = '1337376980', $55 = '1337386334', $56 = '1337386393', $57 = '1337619052', $58 = '1337728330', $59 = '1337733271', $60 = '1337904658', $61 = '1337910882', $62 = '1337967183', $63 = '1338027054', $64 = '1338031154', $65 = '1338035680', $66 = '1338214897', $67 = '1338635506', $68 = '1338638129', $69 = '1338643744', $70 = '1338645669', $71 = '1338648276', $72 = '1338648819', $73 = '1338744021', $74 = '1338785960', $75 = '1338786148', $76 = '1338791895', $77 = '1338795070', $78 = '1338809417', $79 = '1338937124', $80 = '1338945339', $81 = '1338946788', $82 = '1338968964', $83 = '1339005698', $84 = '1339022066', $85 = '1339028042', $86 = '1339032726', $87 = '1339037834', $88 = '1339055424', $89 = '1339058161', $90 = '1339058617', $91 = '1339078038', $92 = '1339090509', $93 = '1339090686', $94 = '1339092281', $95 = '1339094590', $96 = '1339101289', $97 = '1339101710', $98 = '1339120068', $99 = '1339123211', $100 = '1339123492', $101 = '1339132748', $102 = '1339135163', $103 = '1339136925', $104 = '1339147359', $105 = '1339175739', $106 = '1339199267', $107 = '1339266724', $108 = '1339364190', $109 = '1339364543', $110 = '1339544254', $111 = '1339548940', $112 = '1339552652', $113 = '1339553071', $114 = '1339558192', $115 = '1339571409', $116 = '1339574445', $117 = '1339575742', $118 = '1339575747', $119 = '1339575881', $120 = '1339578259'
20 1s719ms 1 1s719ms 1s719ms 1s719ms delete from dashboard_dataset_dea where is_active is false and date_num between '2024-01-02' and '2024-01-02';Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 19 1 1s719ms 1s719ms [ User: safearrival client=10.0.0.132 - Total duration: 1s150ms - Times executed: 1 ]
-
delete from dashboard_dataset_dea where is_active is false and date_num between '2024-01-02' and '2024-01-02';
Date: 2024-01-02 19:27:09 Duration: 1s719ms Database: postgres User: safearrival Remote: safearrival client=10.0.0.132 Application: 10.0.0.132 parameters: $1 = 'system', $2 = '2024-01-02 19:35:46.244', $3 = '[{"paid": false, "userId": 1020830836, "timestamp": 1701152787.351}, {"paid": false, "userId": 1020830836, "timestamp": 1701152787.513}]', $4 = '[{"userId": 1239443162, "timestamp": 1701940095.826, "supplierId": 638465814, "orderStatus": "delivery_rejected", "escalationStatus": null}, {"userId": 1004788386, "timestamp": 1702290329.677, "supplierId": 638465814, "orderStatus": "recipient_mobile_no_response", "escalationStatus": null}, {"userId": 1239443162, "timestamp": 1702471112.281, "supplierId": 638465814, "orderStatus": "out_of_delivery_area", "escalationStatus": null}, {"userId": 631889486, "timestamp": 1703790790.768, "supplierId": 920780628, "orderStatus": "delivery_rejected", "escalationStatus": null}, {"userId": 631889486, "timestamp": 1703873835.795, "supplierId": 920780628, "orderStatus": "delivery_rejected", "escalationStatus": null}, {"userId": 631889486, "timestamp": 1703965588.456, "supplierId": 920780628, "orderStatus": "future_delivery_requested", "escalationStatus": null}, {"userId": 631889486, "timestamp": 1704224144.098, "supplierId": 920780628, "orderStatus": "delivery_rejected", "escalationStatus": null}]', $5 = '[{"userId": 802162478, "timestamp": 1701630823.594, "supplierId": 648753577, "orderStatus": "picked_up_auto", "escalationStatus": null}]', $6 = '[{"userId": 631889486, "newPrefix": "JIZ316", "oldPrefix": "JIZ316", "timestamp": 1701153139.095}, {"userId": 631889486, "newPrefix": "JIZ323", "oldPrefix": "JIZ316", "timestamp": 1702472473.869}]', $7 = '1316646904'
-
Events
Log levels
Key values
- 12,672 Log entries
Events distribution
Key values
- 0 PANIC entries
- 1035 FATAL entries
- 2155 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 1,441 Max number of times the same event was reported
- 3,190 Total events found
Rank Times reported Error 1 1,441 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Jan 02 03 126 04 182 05 184 06 183 07 185 08 192 09 184 10 82 11 12 12 2 13 6 14 11 15 13 16 1 17 12 18 7 19 8 20 8 21 7 22 6 23 6 Jan 03 00 6 01 6 02 6 03 6 - ERROR: duplicate key value violates unique constraint "uk_sgpteywtssdjduqa2yo32cx4t"
- ERROR: duplicate key value violates unique constraint "unique_code"
- ERROR: duplicate key value violates unique constraint "uk_lw0prtot0xeg3q2angafdyq2a"
Detail: Key (barcode)=(UL5237557952666-01-02) already exists.
Statement: insert into order_piece (created_by, created_date, last_modified_by, last_modified_date, barcode, driver_id, height, length, order_id, status, supplier_id, warehouse_id, weight, width, id) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15)Date: 2024-01-02 03:18:33 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
Detail: Key (code)=(UL5237557952666) already exists.
Statement: update orders set last_modified_date=$1, code=$2, from_area_id=$3, from_city=$4, old_recipient_address=$5, old_recipient_city_id=$6, old_recipient_lat=$7, old_recipient_lng=$8, old_recipient_neighborhood_id=$9, old_recipient_neighborhood_name=$10, old_sender_address=$11, old_sender_city_id=$12, old_sender_lat=$13, old_sender_lng=$14, old_sender_neighborhood_id=$15, old_sender_neighborhood_name=$16, to_area_id=$17, to_city=$18 where id=$19Date: 2024-01-02 03:54:33 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
Detail: Key (user_id)=(648086236) already exists.
Statement: insert into alert_listener (supplier_id, user_id, id) values ($1, $2, $3)Date: 2024-01-02 04:50:22 Database: safearrival Application: User: safearrival client=10.0.0.132 Remote: 10.0.0.132
2 1,035 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Jan 02 03 16 04 14 05 68 06 73 07 76 08 70 09 71 10 70 11 65 12 63 13 61 14 63 15 50 16 54 17 49 18 50 19 27 20 11 21 14 22 21 23 3 Jan 03 00 11 01 17 02 12 03 6 - FATAL: terminating connection due to administrator command
Statement: select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100) and (CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ($101) and ol.is_pickup = $102 order by o.created_date desc limit 1
Date: 2024-01-02 03:18:46
3 601 ERROR: canceling statement due to statement timeout
Times Reported Most Frequent Error / Event #3
Day Hour Count Jan 02 03 5 04 5 05 55 06 45 07 68 08 50 09 49 10 53 11 41 12 30 13 29 14 34 15 23 16 22 17 25 18 19 19 14 20 4 21 5 22 8 23 1 Jan 03 00 4 01 5 02 5 03 2 - ERROR: canceling statement due to statement timeout
Statement: select * from orders as o left join order_locations ol on (o.id = ol.order_id) where o.status in ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100) and (CASE ol.phone like '+%' when true then ol.phone when false then concat('+', ol.phone) end) = ($101) and ol.is_pickup = $102 order by o.created_date desc limit 1
Date: 2024-01-02 03:18:46 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
4 45 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #4
Day Hour Count Jan 02 07 6 09 8 10 3 11 3 14 7 17 18 - ERROR: could not serialize access due to concurrent update
Statement: update recurred_order_event set count=$1, date=$2, in_progress=$3, order_id=$4, sender_phone=$5 where id=$6
Date: 2024-01-02 07:04:10 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
5 40 ERROR: could not serialize access due to read/write dependencies among transactions
Times Reported Most Frequent Error / Event #5
Day Hour Count Jan 02 07 1 09 5 10 1 11 17 12 1 14 14 17 1 - ERROR: could not serialize access due to read/write dependencies among transactions
Detail: Reason code: Canceled on identification as a pivot, during write.
Hint: The transaction might succeed if retried.
Statement: insert into recurred_order_event (count, date, in_progress, order_id, sender_phone, id) values ($1, $2, $3, $4, $5, $6)Date: 2024-01-02 07:04:09 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
6 14 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #6
Day Hour Count Jan 02 11 2 13 4 14 4 15 1 16 2 18 1 - LOG: process 31796 still waiting for ExclusiveLock on tuple (847464,4) of relation 108138 of database 103767 after 10000.041 ms
- LOG: process 31756 still waiting for ExclusiveLock on tuple (847464,4) of relation 108138 of database 103767 after 10000.040 ms
- LOG: process 10901 still waiting for ExclusiveLock on tuple (861075,4) of relation 108138 of database 103767 after 10000.037 ms
Detail: Process holding the lock: 31777. Wait queue: 31796.
Statement: update orders set last_modified_by=$1, last_modified_date=$2, physical_pickup_attempts=$3 where id=$4Date: 2024-01-02 11:08:19 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
Detail: Process holding the lock: 31777. Wait queue: 31796, 31756.
Statement: update orders set last_modified_by=$1, last_modified_date=$2, cod_status=$3, cod_status_updated_by=$4, last_cod_status_date=$5, last_status_date=$6, physical_pickup_attempts=$7, status=$8, supplier_id=$9 where id=$10Date: 2024-01-02 11:09:05 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
Detail: Process holding the lock: 10967. Wait queue: 10901.
Statement: update orders set last_modified_by=$1, last_modified_date=$2, order_charge_paid_history_list=$3, physical_pickup_attempts=$4 where id=$5Date: 2024-01-02 13:22:33 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
7 14 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #7
Day Hour Count Jan 02 06 1 09 1 11 3 13 4 14 2 15 1 16 1 18 1 - LOG: process 7251 still waiting for ShareLock on transaction 916319883 after 10000.044 ms
- LOG: process 22035 still waiting for ShareLock on transaction 916450839 after 10000.361 ms
- LOG: process 31777 still waiting for ShareLock on transaction 916540066 after 10000.056 ms
Detail: Process holding the lock: 7212. Wait queue: 7251.
Context: while updating tuple (735461,7) in relation "orders"
Statement: update orders set last_modified_by=$1, last_modified_date=$2, order_charge_paid_history_list=$3, physical_delivery_attempts=$4, physical_pickup_attempts=$5, prefix_history=$6 where id=$7Date: 2024-01-02 06:12:22 Database: safearrival Application: User: safearrival client=10.0.0.132 Remote: 10.0.0.132
Detail: Process holding the lock: 22846. Wait queue: 22035.
Context: while updating tuple (1529191,9) in relation "orders"
Statement: update orders set last_modified_by=$1, last_modified_date=$2, order_charge_paid_history_list=$3, physical_delivery_attempts=$4, physical_pickup_attempts=$5 where id=$6Date: 2024-01-02 09:11:14 Database: safearrival Application: User: safearrival client=10.0.0.133 Remote: 10.0.0.133
Detail: Process holding the lock: 31751. Wait queue: 31777.
Context: while updating tuple (847464,4) in relation "orders"
Statement: update orders set last_modified_by=$1, last_modified_date=$2, physical_pickup_attempts=$3 where id=$4Date: 2024-01-02 11:08:17 Database: safearrival Application: User: safearrival client=10.0.0.132 Remote: 10.0.0.132