Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Thanks to everyone, post the information you requested, tell me if I did something wrong.
- Table definition and indexes:
- =# \d production.spr_items_item
- Tabella "production.spr_items_item"
- Colonna | Tipo | Ordinamento | Può essere null | Default
- --------------+--------------------------+-------------+-----------------+-------------------------------------------------------
- id | integer | | not null | nextval('production.spr_items_item_id_seq'::regclass)
- code | character varying(32) | | not null |
- phases | jsonb | | not null |
- attrs | jsonb | | not null |
- stats | jsonb | | not null |
- is_valid | boolean | | not null |
- err_desc | character varying(256) | | |
- created | timestamp with time zone | | not null |
- edited | timestamp with time zone | | not null |
- item_type_id | integer | | not null |
- barcode | character varying(128) | | |
- quantity | integer | | not null |
- need_refresh | boolean | | not null |
- Indici:
- "spr_items_item_pkey" PRIMARY KEY, btree (id)
- "index_barcode" hash (barcode)
- "index_stats" gin (stats)
- "spr_items_item_item_type_id_b1c28cbd" btree (item_type_id)
- Vincoli di integrità referenziale
- "spr_items_item_item_type_id_b1c28cbd_fk_spr_items_itemtype_id" FOREIGN KEY (item_type_id) REFERENCES production.spr_items_itemtype(id) DEFERRABLE INITIALLY DEFERRED
- Referenziato da:
- TABLE "production.spr_waste_wasteitem" CONSTRAINT "spr_waste_wasteitem_item_id_463f78c6_fk_spr_items_item_id" FOREIGN KEY (item_id) REFERENCES production.spr_items_item(id) DEFERRABLE INITIALLY DEFERRED
- Explain analyze:
- "Nested Loop (cost=0.00..598896.25 rows=348726 width=1539) (actual time=4912.401..29000.204 rows=13141 loops=1)"
- " Join Filter: (spr_items_item.item_type_id = spr_items_itemtype.id)"
- " -> Seq Scan on spr_items_itemtype (cost=0.00..1.01 rows=1 width=4) (actual time=2.883..2.883 rows=1 loops=1)"
- " Filter: ((code)::text = 'pannello'::text)"
- " -> Seq Scan on spr_items_item (cost=0.00..594536.16 rows=348726 width=1539) (actual time=4909.511..28986.387 rows=13141 loops=1)"
- " Filter: (((stats -> 'production_date'::text) IS NOT NULL) AND ((stats -> 'shift_array'::text) IS NOT NULL) AND ((upper((stats ->> 'shift_array'::text)) ~~ '%1349%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1350%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1351%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1352%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1353%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1354%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1355%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1356%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1357%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1358%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1359%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1360%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1361%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1362%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1363%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1364%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1365%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1366%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1367%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1368%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1369%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1370%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1371%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1372%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1373%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1374%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1375%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1376%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1377%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1378%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1379%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1380%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1381%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1382%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1383%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1384%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1385%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1386%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1387%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1388%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1389%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1390%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1391%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1392%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1393%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1394%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1395%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1396%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1397%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1398%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1399%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1400%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1401%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1402%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1403%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1404%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1405%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1406%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1407%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1408%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1409%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1410%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1411%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1412%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1413%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1414%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1415%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1416%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1417%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1418%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1419%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1420%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1421%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1422%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1423%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1424%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1425%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1426%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1427%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1428%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1429%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1430%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1431%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1432%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1455%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1456%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1457%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1458%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1459%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1460%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1461%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1462%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1463%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1464%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1465%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1466%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1467%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1468%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1631%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1633%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1634%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1635%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1636%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1637%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1638%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1639%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1640%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1641%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1642%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1643%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1644%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1645%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1646%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1647%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1648%'::text) OR (upper((stats ->> 'shift_array'::text)) ~~ '%1649%'::text)))"
- " Rows Removed by Filter: 567988"
- "Planning time: 1.638 ms"
- "Execution time: 29002.602 ms"
- Full query:
- SELECT production.spr_items_item.id,
- production.spr_items_item.item_type_id,
- production.spr_items_item.code,
- production.spr_items_item.barcode,
- production.spr_items_item.phases,
- production.spr_items_item.attrs,
- production.spr_items_item.stats,
- production.spr_items_item.quantity,
- production.spr_items_item.is_valid,
- production.spr_items_item.need_refresh,
- production.spr_items_item.err_desc,
- production.spr_items_item.created,
- production.spr_items_item.edited
- FROM production.spr_items_item
- INNER JOIN production.spr_items_itemtype ON (production.spr_items_item.item_type_id = production.spr_items_itemtype.id)
- WHERE (production.spr_items_itemtype.code = 'pannello'
- AND (production.spr_items_item.stats -> 'production_date') IS NOT NULL
- AND (production.spr_items_item.stats -> 'shift_array') IS NOT NULL
- AND (UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1349%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1350%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1351%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1352%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1353%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1354%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1355%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1356%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1357%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1358%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1359%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1360%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1361%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1362%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1363%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1364%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1365%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1366%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1367%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1368%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1369%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1370%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1371%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1372%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1373%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1374%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1375%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1376%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1377%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1378%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1379%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1380%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1381%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1382%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1383%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1384%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1385%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1386%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1387%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1388%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1389%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1390%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1391%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1392%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1393%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1394%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1395%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1396%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1397%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1398%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1399%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1400%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1401%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1402%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1403%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1404%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1405%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1406%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1407%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1408%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1409%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1410%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1411%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1412%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1413%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1414%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1415%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1416%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1417%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1418%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1419%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1420%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1421%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1422%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1423%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1424%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1425%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1426%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1427%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1428%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1429%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1430%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1431%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1432%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1455%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1456%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1457%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1458%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1459%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1460%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1461%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1462%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1463%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1464%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1465%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1466%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1467%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1468%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1631%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1633%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1634%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1635%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1636%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1637%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1638%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1639%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1640%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1641%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1642%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1643%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1644%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1645%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1646%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1647%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1648%')
- OR UPPER((production.spr_items_item.stats ->> 'shift_array')::text) LIKE UPPER('%1649%')))
- Explain link:
- https://explain.depesz.com/s/c97P
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement