Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Distributed Query in 8i->9i now slower 9i->9i
"Sybrand Bakker" <postbus_at_sybrandb.nospam.demon.nl> wrote in message news:<1041j61iava6h67_at_corp.supernews.com>...
> Basically your post runs down to
> 'It doesn't work, why?'
> If you provide me your crystall ball, I will tell you.
> Your post doesn't contain anything but vague statements.
Sorry... here is more specific data... I apologize about the formatting
Note the one line I mark with a !> that is a big difference between the two plans and seems to indicate taking advantage of memory significantly more than the slower run??
6 seconds: 8i linked to SUBGL_LINK (9i)
Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
SELECT STATEMENT Optimizer Mode=CHOOSE 1 395 SORT AGGREGATE 1 565 HASH JOIN 1 565 395 REMOTE 1 29 2 SUBGL_LINK.POWERSRC.COM SERIAL NESTED LOOPS 63 32 K 392 HASH JOIN 1 492 263 NESTED LOOPS 1 484 260 NESTED LOOPS 1 414 257 NESTED LOOPS 1 344 254 NESTED LOOPS 1 290 252 HASH JOIN 1 236 250 TABLE ACCESS FULL PORTFOLIO 2 26 1 HASH JOIN 73 15 K 248 NESTED LOOPS 2 248 5 REMOTE 2 140 3 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 23 1 K SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 834 80 K 242 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 23 1 K SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 23 1 K SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 K 111 K SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 K 111 K SUBGL_LINK.POWERSRC.COM SERIAL TABLE ACCESS FULL PNL_BOOK_SDS_MAPPING 1 K 10 K 2 !> REMOTE 4 M 179 M SUBGL_LINK.POWERSRC.COM SERIAL ------------------
Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
SELECT STATEMENT Optimizer Mode=CHOOSE 1 393 SORT AGGREGATE 1 565 HASH JOIN 1 565 393 NESTED LOOPS 1 557 389 NESTED LOOPS 1 487 387 NESTED LOOPS 1 417 385 NESTED LOOPS 1 363 383 NESTED LOOPS 1 334 381 NESTED LOOPS 1 290 253 HASH JOIN 1 236 251 TABLE ACCESS FULL PORTFOLIO 2 26 2 HASH JOIN 62 13 K 248 NESTED LOOPS 1 124 4 REMOTE 1 70 3 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 54 1 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 K 108 K 243 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 54 2 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 63 2 K 128 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 29 2 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 54 2 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 70 2 SUBGL_LINK.POWERSRC.COM SERIAL REMOTE 1 70 2 SUBGL_LINK.POWERSRC.COM SERIAL TABLE ACCESS FULL PNL_BOOK_SDS_MAPPING 1 K 10 K 3
SUBGL_LINK_PLR_FND_FLEX_VALUES FND_FLEX_VALUES_BOOKID, SUBGL_LINK_PLR_FND_FX_VAL_TL FND_FX_VAL_TL_BOOKID, SUBGL_LINK_PLR_GL_BALANCES GL_BALANCES_REALGM_CURR, SUBGL_LINK_PLR_GL_PERIODS GL_PERIODS_REALGM_CURR, SUBGL_LINK_PLR_GL_CODE_COMB, SUBGL_LINK_PLR_FND_FLEX_VALUES, SUBGL_LINK_PLR_FND_FX_VAL_TL, SUBGL_LINK_PLR_FND_FLEX_VALUES FND_FLEX_VALUES_CONTEXT, SUBGL_LINK_PLR_FND_FX_VAL_TL FND_FX_VAL_TL_CONTEXT,PLR.PNL_BOOK_SDS_MAPPING,
AND SUBGL_LINK_PLR_GL_CODE_COMB.ENABLED_FLAG = 'Y' AND GL_BALANCES_REALGM_CURR.SET_OF_BOOKS_ID = 1 AND GL_BALANCES_REALGM_CURR.CURRENCY_CODE = 'USD' )AND ( GL_PERIODS_REALGM_CURR.PERIOD_NAME=GL_BALANCES_REALGM_CURR.PERIOD_NAME )
AND ( FND_FX_VAL_TL_BOOKID.FLEX_VALUE_ID=FND_FLEX_VALUES_BOOKID.FLEX_VALUE_ID AND FND_FLEX_VALUES_BOOKID.FLEX_VALUE_SET_ID = 1006793 ) AND ( FND_FLEX_VALUES_BOOKID.FLEX_VALUE=SUBGL_LINK_PLR_GL_CODE_COMB.SEGMENT12)
( SUBGL_LINK_PLR_GL_CODE_COMB.SEGMENT2 ) = 'REALGM' AND ( SUBGL_LINK_PLR_FND_FX_VAL_TL.DESCRIPTION ) <> 'Prior Period' AND ( FND_FX_VAL_TL_CONTEXT.DESCRIPTION ) = 'Trade' AND ( SUBGL_LINK_PLR_GL_CODE_COMB.SEGMENT1 ) IN ('027','028','033','101','118','120','123','124','125','127','128','130','000')AND (