Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: create imp and exp Oracle as single-task binaries?
I once experimented with it (8.1.7.smth on linux), but started having
crashes. Don't remember what exactly crashed, but it didn't work. I believe
last version where it was supported, was 8.0?
Anyway, even if it would run correctly, I wouldn't use it anywhere else than during one-time migrations or maybe loading staging databases. Of course ST binaries behaviour should be thouroughly tested before.
Also, if your system is IO bound, you won't get any benefit from STL, because the same amount of data has to be read during exp anyway... I'd set direct parameter to true and recordlength maximum for increasing exp speed. Buffer parameter doesn't have any effect when doing direct mode export.
For imp, there's lot's of opportunities for speeding up it's speed. For huge tables/schemas I would:
1) Import the table definitions without any constraints or indexes. 2) Disable triggers if any. 3) Import data using large buffer parameter. (Import is always done inconventional mode). For extremely huge tables CTAS over dblinks could be used instead.
I hope I didn't miss anything... There's actually more stuff which you could use such are unsupported _disable_logging and _wait_for_sync parameters which you could use during migrations or test environments...
So, there's plenty of other stuff which to try out first before single task linking.
Cheers,
Tanel.
> Hi:
>
> I saw the following message while searching web for some tips to improve
exp
> speed. Has anyone tried this "un-supported" way and found improved
> performance? Had any problems? I don't have a machine that I can try this.
>
> Guang
>
> ---------
> Oracle Export/Import Scripts: How to create imp and exp Oracle as
> single-task binaries
> Posted by: Administrator
>
>
> If someone is interested in implementing the create a new Oracle import
> binary as a single-task, see the steps below.
>
> The import and export programs (imp/exp) run in two task mode to protect
the
> SGA from potential corruption by user programs. By relinking these two
> programs in single task mode you can gain much improvement in speed. In
many
> cases up to 30%.
>
> To read the complete article, click on the Read more ... link.
>
> Submitted by our member: Chris
>
>
> Oracle themselves use this method although it is NOT supported by Oracle.
>
> Running in single-task is much faster but it requires more memory since
the
> Oracle executable's text is no longer shared between the front-end and
> background processes. If you need to transfer large amounts of data
between
> databases, relink the executale for greater efficiency.
>
> To relink the RDBMS kernel and create the two new imp/exp programs, use
the
> following:
>
> $ cd $ORACLE_HOME/rdbms/lib
> $ make -f ins_rdbms.mk singletask
> $ make -f ins_rdbms.mk expst
> $ make -f ins_rdbms.mk impst
> $ make -f ins_rdbms.mk sqlldrst
> $ mv expst $ORACLE_HOME/bin/
> $ mv impst $ORACLE_HOME/bin/
> $ mv sqlldrst $ORACLE_HOME/bin/
>
> Now use expst and impst instead of imp or exp when doing export & import
of
> data.
>
> Let me know if you have any problems, or improve the above procedure
> somehow.
>
> Thanks.
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Guang Mei
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tanel Poder INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Jul 02 2003 - 09:51:57 CDT
![]() |
![]() |