添加索引 create index 索引名称 on 表名(字段1,字段2,...); 索引未生效的解决方式 -- 表索引统计信息表 dba_tab_statistics -- 方法1: 使用hint 强制指定索引 select /*+index(tmp 索引名)*/ * from tmp where col1 in (...); -- 方法2: 使用表分析语句,重新收集统计信息 Analyze table 表名 compute statistics;