Results 1 to 4 of 4

Thread: Explain plan

  1. #1
    Join Date
    Sep 2014
    Posts
    3

    Unhappy Unanswered: Explain plan

    I have two databases where data flow via Oracle streams.. Source and target database.
    Here they have identical table structure.. However I am seeing that for target one particular query one of the explain plan is using index and is using nested loop.
    However for source, it is not using index and is using hash join..

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Are statistics current for table & index using hash join?
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Sep 2014
    Posts
    3

    Explain plan

    yes stats are current

  4. #4
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    same tables with same data should give same results.
    Since results are different, then you need to find what is different that causes different plan.
    We can not compare & contrast; only you can do so.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •