Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 9019 invoked from network); 29 Nov 2007 10:53:16 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 29 Nov 2007 10:53:08 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A52BD7C9F1B;
 Thu, 29 Nov 2007 11:53:01 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 22959-02; Thu, 29 Nov 2007 11:53:01 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 12F5E7C9E7E;
 Thu, 29 Nov 2007 11:53:01 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 29 Nov 2007 11:06:04 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 949B27CA094
 for <oracle-l@freelists.org>; Thu, 29 Nov 2007 11:06:04 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 17762-10 for <oracle-l@freelists.org>;
 Thu, 29 Nov 2007 11:06:04 -0500 (EST)
Received: from pro38.abac.com (pro38.abac.com [66.226.64.39])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3F8657CA03F
 for <oracle-l@freelists.org>; Thu, 29 Nov 2007 11:05:51 -0500 (EST)
Received: from BHAIRAVIPC01 (c-24-8-13-142.hsd1.co.comcast.net [24.8.13.142])
 (authenticated bits=0)
 by pro38.abac.com (8.14.1/8.14.1) with ESMTP id lATG5XYi004354
 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO);
 Thu, 29 Nov 2007 08:05:34 -0800 (PST)
 (envelope-from krish.hariharan@quasardb.com)
From: <krish.hariharan@quasardb.com>
To: <Kurt-Franke@web.de>, <anysql@gmail.com>, <oracle-l@freelists.org>
References: <827901310@web.de>
Subject: RE: Any way to forace parallel query for another session?
Date: Thu, 29 Nov 2007 09:05:32 -0700
Message-ID: <002b01c832a1$accabb70$6401a8c0@BHAIRAVIPC01>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by Ecartis
In-Reply-To: <827901310@web.de>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-Spam-Score: 0.65 (NO_REAL_NAME)
X-archive-position: 3575
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: krish.hariharan@quasardb.com
Precedence: normal
Reply-to: krish.hariharan@quasardb.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

Since you are going to be constrained on the write with exp as John Hallas
said, it would likely end up in a "hurry up and wait" scenario. 

If your environment is like ours, then the constraint is usually not export,
but
1. transporting the data to the target environment 
2. importing the data

I would think you would be better off, parallelizing the process as follows
(or equivalent), instead of just the export component of it, which is not
likely to be the long pole.

Assuming datapump is not applicable to your situation (and even if it were
there are parts here that may still be relevant)

1. Export the structures
2. Export the data (small group of tables for small tables, and partitioning
with predicates for larger tables, without losing data of course, and using
direct path where applicable).
3. Gzip/compress the files after the fact or using named pipes depending on
your environment
4. Transport the files efficiently scp -C or robocopy (hearsay for me) or
play with the mtu/sdu on a remote import session (by habit and not reason, I
use file transfer methods)
5. Import in multiple sessions and close out by rebuilding the indexes and
the constraints with no validate 

Depending on your version of Oracle and the volume of data being moved, the
frequency of such moves, and your SLAs, you may also want to look at other
options such as direct path loads, RMAN, TTS, for data movement for
environment replication.

-Krish

-----Original Message-----
From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org]
On Behalf Of Kurt Franke
Sent: Thursday, November 29, 2007 6:47 AM
To: anysql@gmail.com; oracle-l@freelists.org
Subject: Re: Any way to forace parallel query for another session?


Hi,

you may build a logon trigger on database, check there if program in
v$session
is exp or imp and if found then call the alter session with native dynamic
sql:
EXECUTE IMMEDIATE 'ALTER SESSION FORCE PARALLEL QUERY PARALLEL n';


regards

kf


> -----Ursprüngliche Nachricht-----
> Von: anysql@gmail.com
> Gesendet: 28.11.07 13:04:37
> An: "oracle-l@freelists.org" <oracle-l@freelists.org>
> Betreff: Any way to forace parallel query for another session?


> Hi:
> 
>  
> 
> I want to speed up the exp or imp process, one way is to force parallel of
the exp/imp session. We can use "ALTER SESSION FORCE PARALLEL QUERY PARALLEL
n" for current session.
> 
>  
> 
> Is their any interface to change another session of the force parallel
query setting?
> 
>  
> 
> 
> 
> 
> 
> Thanks.
> 
>  
> 
> -- Fangxin Lou, Oracle DBA, from China
> 
>  
> 
> Good tools make work easy and improve life quality
> 
> -- http://www.dbatools.net
> 
>  
> 
> Personal software, life, research and professional Oracle recovery service
> 
> -- http://www.anysql.net/en
> 
> -- http://www.anysql.net   (Chinese)


--
http://www.freelists.org/webpage/oracle-l



--
http://www.freelists.org/webpage/oracle-l


