Hi,
When i execute this query, it takes long time.
Select count(Ac_no) from CA_ACC_DETAILS -- Account details table, Contains 2000 records.
Actions were taken by me:
1)Verified V$lock table to confirm if there is any lock on table.
2) Explain Plan for select count(ac_no) from table -> This also takes lot of time, not getting completed.
What might be the issue? Where to check if particular query takes lot of time to execute? Is there any other way to resolve these kind of issues?
Please support on this.