Get the App
SLTechnology News&Howtos  ›  Database  › 

Index Optimization Series 15-- Combinatorial query and in-related Optimization

Shulou Source: shulou.com Published: 2022-06-01 13:29:55 10月02日 Update

Drop table t purge

Create table t as select * from dba_objects

Update t set object_id=rownum

Create index idx_id_type on t (object_id,object_type)

UPDATE t SET OBJECT_ID=20 WHERE ROWNUM= 20 AND OBJECT_ID=20 AND "OBJECT_TYPE" = 'TABLE' AND "OBJECT_ID"

Tags: Selection index query function situation condition test correlation combination Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Apple Linux Docker Microsoft