oracle clob字段在查询很慢这是众所周知的
还是要建立表的索引:
create index search_id
on table(字段)
indextype is CTXSYS.CONTEXT;
查询:
select * from table where contains(字段,'内容',1)>0;
后续:
这样查询结果很快,但是查出来的数据不是我想要的,具体可能是程序的问题,不过这是解决查询clob字段慢的一个方法
转载于:https://blog.51cto.com/samfeng/785886