运维网's Archiver
论坛
›
Oracle运维
› oracle 查询 clob 字段
我是条汉子
发表于 2018-9-22 08:43:14
oracle 查询 clob 字段
oracle clob字段在查询很慢这是众所周知的
还是要建立表的索引:
create index search_id
on table(字段)
indextype is CTXSYS.CONTEXT;
查询:
select * from table where contains(字段,'内容',1)>0;
后续:
这样查询结果很快,但是查出来的数据不是我想要的,具体可能是程序的问题,不过这是解决查询clob字段慢的一个方法
页:
[1]
查看完整版本:
oracle 查询 clob 字段