Hi, Bill
You are right, there is really something to do with
the index.
I drop&re-created that PK index, it became much
faster, but after 5 minutes, it became slow again, and I am sure no records
insert/delete/update happened. I drop&re-created that indexes again, nothing
happened this time, it is still slow!
It is really weird!
And I found on the bad performance database,
a simplest query: select count(*) from table_name will take 4
seconds!
the explain_plan said it used cost-optimizer, using
fast_full_index_scan on that PK index,
what should I do with the index? I already tried to
re-created the PK index.
The bad performance database is on a super-box, 4
CPUs and more memory. the good performance one is on a normal
box.
And the table and index is analyzed at
same way.
thanks a lot for your
reply. Kevin Wang
|
- question on EXPL... kevin wang
- Re: questio... Mike Killough
- Re: questio... kevin wang
- Re: questio... kevin wang
- Re: questio... Mohammad Rafiq
- RE: questio... אדר יחיאל
- RE: questio... Nicoll, Iain (Calanais)
- RE: questio... Seefelt, Beth
- Re: questio... kevin wang
- Re: questio... Jared Still
- Re: questio... Mohammad Rafiq