Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

My query was fine last week and now it is slow. Why? (for DBA)

8 like 0 dislike
Helloo
My query was fine last week and now it is slow. Why? (for DBA)
please reply me. i am waiting for your reply.
Thank you.
asked 1 year ago by sr_webmaster (21,000 points)

1 Answer

3 like 0 dislike
 
Best answer
The likely cause of this is because the execution plan has changed. Generate a current explain plan of the offending query and compare it to a previous one that was taken when the query was performing well. Usually the previous plan is not available.
Some factors that can cause a plan to change are:
.    Which tables are currently analyzed? Were they previously analyzed? (ie. Was the query using RBO and now CBO?)
.    Has OPTIMIZER_MODE been changed in INIT.ORA?
.    Has the DEGREE of parallelism been defined/changed on any table?
.    Have the tables been re-analyzed? Were the tables analyzed using estimate or compute? If estimate, what percentage was used?
.    Have the statistics changed?
.    Has the INIT.ORA parameter DB_FILE_MULTIBLOCK_READ_COUNT been changed?
.    Has the INIT.ORA parameter SORT_AREA_SIZE been changed?
.    Have any other INIT.ORA parameters been changed?
.    What do you think the plan should be? Run the query with hints to see if this produces the required performance.
answered 1 year ago by eagles11 (179,830 points)

Related questions

8 like 0 dislike
1 answer
9 like 0 dislike
1 answer
3 like 0 dislike
0 answers
asked 1 year ago by marck_don (191,010 points)
9 like 0 dislike
1 answer