i have a column that is varchar2 (2000 bytes), this is an existing column and is being used in many places, the issue is when i am trying to compare with this column the query is taking 30-40 seconds to execute. the query is as simple as below-
select response_id from t_response where desc_response = to_char(1000);
desc_response
is that column.
i found that we have only one index as of now on this table and that is on response_id column.