Re: Large index creation speed up / issues with direct path read temp / direct path write temp

From: Lothar Flatz <l.flatz_at_bluewin.ch>
Date: Sat, 4 Jul 2015 12:49:20 +0200
Message-ID: <5597BA30.9080908_at_bluewin.ch>



Hi Stefan,

I thought as well that could be likely the reason why parallel was not set higher. However it is better to ask people. You might be in for a surprise. :-)

Thanks

Lothar

On 04.07.2015 11:36, Stefan Koehler wrote:
> Hi,
>
> _at_Jonathan:
> You are right of course. Thank you very much for correction. I should check the Safari auto-correction more carefully as it should be "it is pretty
> avoidable i guess". However the "real" data might be bigger than the 70 GB as GG is using index key compression. AFAIK this is only done on index leaf
> block level and not already done by sorting in some kind of way. Am i right or are there enhancements as well?
>
> _at_Lothar:
> Imo increasing the parallelism can make the service vs. application wait time even more worse. 30-40 ms vs. 753 ms is pretty obvious for some disk
> (and possibly HBA) queuing effect or a ZFS issue. SAN storage incites to publish only a few large LUNs, but neglects the disk queuing :-)
>
> Best Regards
> Stefan Koehler
>
> Freelance Oracle performance consultant and researcher
> Homepage: http://www.soocs.de
> Twitter: _at_OracleSK
>
>> Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk> hat am 4. Juli 2015 um 11:00 geschrieben:
>>
>> Stefan,
>>
>> 2GB memory to do 70GB index should be an easy one-pass sort the algorithm is "n-squared" viz: we might have to produce 140 streams of 1GB (allowing
>> for various overheads out of 2GB) but then a merge of 140 streams at (say) 1MB per reload per stream needs only 140MB of memory. With 2GB you might
>> be able to sort something in the order of 1TB in a one-pass.
> --
> http://www.freelists.org/webpage/oracle-l
>
>

-- 




--
http://www.freelists.org/webpage/oracle-l
Received on Sat Jul 04 2015 - 12:49:20 CEST

Original text of this message