Queries containing oracle clob field slow

Projects using Oracle table data query feel particularly slow, one second query only ten records.

At first thought it was a full table scan of the problem, coupled with the entry into force of the index, the query is still very slow.

Table only three fields, one of which is clob, so presumably, is not the cause of the query field.

Baidu later discovered that clob field is to take the disk I / O, the solution is: do not use * to query all columns, only when necessary inquiries.

In this way, the query speed really much faster

Guess you like

Origin www.cnblogs.com/andrew-chen/p/11841444.html