Impdp LOB in parallel mode
I am using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit. I am importing LOBS with parallel option but my status shows import is not hapennig in parallel - mode. I have only 1 worker with Worker Parallelism: 1.
Import> status
Job: SYS_IMPORT_TABLE_01
Operation: IMPORT
Mode: TABLE
State: EXECUTING
Bytes Processed: 0
Current Parallelism: 16
Job Error Count: 0
Dump File: /admin/data_pump/lob_tame_%u.dmp
Dump File: /admin/data_pump/lob_tame_01.dmp
Dump File: /admin/data_pump/lob_tame_02.dmp
Dump File: /admin/data_pump/lob_tame_03.dmp
Dump File: /admin/data_pump/lob_tame_04.dmp
Dump File: /admin/data_pump/lob_tame_05.dmp
Dump File: /admin/data_pump/lob_tame_06.dmp
Dump File: /admin/data_pump/lob_tame_07.dmp
Worker 1 Status:
State: EXECUTING
Object Schema: MAIN
Object Name: LOB_TABLE
Object Type: TABLE_EXPORT/TABLE/TABLE_DATA
Completed Objects: 1
Completed Rows: 4,798
Completed Bytes: 28,255,491,864
Percent Done: 100
Worker Parallelism: 1
Import>
My database sever has 8 cpu. My import command is
impdp main@database directory=data_pump_dir dumpfile=lob_table_%U.dmp remap_schema=dev:main tables=LOB_table content=data_only TABLE_EXISTS_ACTION=TRUNCATE parallel=16.
Please let me know why my import is not hapenning in parallel mode?
I appriciate any input . Thanks for reading.
Thank you DBMS Direct . I tried changing the parallelism to 7 but it did not help. Please let me know of any other suggsestion..
Similar Messages
-
Impdp / SQLfile and parallel mode ?
Hi,
On 10g database we have a dump generated in parallel mode (parallel=8) and DUMPFILE=expdp_file%u.dat
Files are expdp_file01.dat, expdp_file02.dat, ... , expdp_file08.dat
I would like to retrieve all the grants in a sql file with this command :
impdp dba@mydatabase dumpfile=expdp_full%u.dat LOGFILE=impdp_gudb_test.log DIRECTORY=EXP_DIR sqlfile=grant.sql include=grant schemas=DBA parallel=8
Error occurs :
ORA-39002: invalid operation
ORA-39047: Jobs of type SQL_FILE cannot use multiple execution streams.
Is there another way to retrieve all the grant from a multipart dump ?
Thanks for help.
Regards,Just leave the parallel=8 off. SQL file jobs can only run in serial mode. The export parallel does not have to match the import parallel, so just remove the parallel clause.
Dean -
Generating XML in Parallel Mode-DBMS_XMLGEN/ DBMS_XMLQUERY / SQLX?
Is it possible to generate XML in parallel mode for big result sets using DBMS_XMLGEN or DBMS_XMLQUERY or SQLX?
ThanksSQL/XML may work. WHat does the showplan output show
-
How to call a method in parallel mode
Hi,
I have a web application (ADF/JSF/EJB3) developed under jdev 11g
I need to call a method in my backing bean but in parallel mode.
The idea is that when the user click on a button to compute something i do not want the user to wait untill the process is finished.
e.g.
public String doSomeAction(){
callMethodXY();
return null;
I do not want to wait until callMethodXY is finished to continue with my process.
I just want to call it in parallel and continue working normally.
Which is the best approach.
Regards,
EmileEmile,
No, not my opinion at all. I was simply stating a fact that if you do this in another thread, you must not access FacesContext nor the binding container from that other thread - it's a technical limitation. If you have something that needs doing in the background, then a thread is a fine way to do it.
John -
How to handle runtime error in PreUUT step when running in Parallel mode
I would like to run Test UUTS in parallel mode, and some actions are done in PreUUT such like read serial number and fixture control.
The process model won't goto PostUUT Step when runtime error occurs in PreUUT step, so i would like to add some actions to check if sequence error in cleanup and go back to setup in PreUUT step, but i find it skip all the actions in setup and main step?
What should i do if i want to go back to run PreUUT again as the first time to run when runtime error occurs?
Or, is there any good way to handle this kind of error withour restart program?
Solved!
Go to Solution.This question does not depend on PreUUT or ParallelModel at all.
First of all:
A Runtime Error is a situation where TestStand encounters a problem which makes further testing either impossible or senseless. So a Runtime Error always indicates a situation where proceeding the test sequence is not recommended.
Nevertheless, there are situation where you want to handle those errors without stopping the execution. A "traditional example" for this is initialising serial/GPIB devices. If the device does not reply, there might be different issues the operator can easily resolve and (if corrected) the sequence can proceed properly. The operators action could be:
- Check if device is switched on
- Check connection between PC and device
So the error state is used to inform the operator about the malfunctioning device and regarding of the actions the operator takes, the execution will either proceed or terminate.
When TestStand encounters a Runtime Error, it initially reacts with displaying a dialog. This behavior can be modified in the Station Options >> Preferences >> On Runtime Error.
Furthermore, you can install callback sequences which are called if an error occurs. Those would be either SequenceFilePostStepRuntimeError or ProcessModelPostStepRuntimeError (depending on the fact if you are changing the process model or simply working with client sequence file callback overrides). These are "normal" sequences you can use in order to get system information, loop on the step or....essentially do whatever you want. If you want to proceed though, you must not forget to reset the error flag.
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Using SCXI-1520 in Parallel Mode.
Hi all,
I am using SCXI-1000 chassis and PCI-1024E DAQ card.
I want to use my SCXI-1520 in Parallel mode.
Is there any other way to configure my 1520 in parallel mode other than directly connecting to DAQ board using SCXI-1180 feed through panel and SCXi-1302?
Some of my friends are telling that there are some Patch files, through which we can use the scxi-1520 in parallel mode. Is it true? If it is true please give me how use the Patch files( or alternative solutions).
Thanq
Regards
PreetamPreetam,
As explained in the SCXI-1520 user manual, Traditional NI-DAQ does not support true parallel mode operation of the SCXI-1520. However, NI-DAQmx does. I would recommend installing NI-DAQ 7.2, which includes the latest version of both Traditional NI-DAQ and NI-DAQmx. Then you can use the NI-DAQmx driver to control your SCXI-1520 in parallel mode. To configure the SCXI-1520 in parallel mode with NI-DAQmx, simply select the Parallel Mode check box when setting up your chassis and modules in MAX. I hope this information helps.
SCXI-1520 User Manual
NI-DAQ 7.2 Download -
/sapapo/c5 transaction in parallel mode
Hello All,
I just got a doubt regarding transaction /SAPAPO/C5. One of my coleague is saying we should not execute this program in parallel mode, he says it may create some inconsistency( he got info from one of SAP person ). Is it true?, does any body any Info about this?. Can we execute in parallel?.
Thanks for your help in Advance.
Regards,
SriniHi Srini
As far as I know, I do not know the clear restriction on this. And I know some customer who
use parallel processing of /SAPAPO/C5.
(Off course, when you schedule C5 in parallel, each job should different orders. So you need to be careful about selection variant).
Best Regard
Keiji -
Is there any issues using a DAC card (M-Series) in TestStand in Parallel Mode? I would like to have 4 instances running in parallel all using ine DAC card. Of course, each instance would be using separate channels. How would you create the reference to the DAC card? I assumed that one insides could open the DACCA card but could be a race conditon.
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and VisonThe M series cards (if I remember correctly) only have one clock for input and one for output. This means that you can only do one operation at a time on the device, even if it has multiple channels. If you are doing a true parallel test (rather than a batch test), I would recommend using a Lock in TestStand on the card so that only one UUT tries to access the device at a time. If you are using Batch, you can use the same setup, or have a "worker" thread that does the DAQ operations and then sends the data to each thread using a Notifier. Depending on how long you are using the card, this may be more trouble than just doing it independently and using locks.
Allen P.
NI -
DBA view for Tables in Parallel mode
Is there a view where I can what tables in my DB were created in Parallel mode?
SQL> desc dba_tables
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
TABLE_NAME NOT NULL VARCHAR2(30)
TABLESPACE_NAME VARCHAR2(30)
CLUSTER_NAME VARCHAR2(30)
IOT_NAME VARCHAR2(30)
STATUS VARCHAR2(8)
PCT_FREE NUMBER
PCT_USED NUMBER
INI_TRANS NUMBER
MAX_TRANS NUMBER
INITIAL_EXTENT NUMBER
NEXT_EXTENT NUMBER
MIN_EXTENTS NUMBER
MAX_EXTENTS NUMBER
PCT_INCREASE NUMBER
FREELISTS NUMBER
FREELIST_GROUPS NUMBER
LOGGING VARCHAR2(3)
BACKED_UP VARCHAR2(1)
NUM_ROWS NUMBER
BLOCKS NUMBER
EMPTY_BLOCKS NUMBER
AVG_SPACE NUMBER
CHAIN_CNT NUMBER
AVG_ROW_LEN NUMBER
AVG_SPACE_FREELIST_BLOCKS NUMBER
NUM_FREELIST_BLOCKS NUMBER
DEGREE VARCHAR2(10)
INSTANCES VARCHAR2(10)
CACHE VARCHAR2(5)
TABLE_LOCK VARCHAR2(8)
SAMPLE_SIZE NUMBER
LAST_ANALYZED DATE
PARTITIONED VARCHAR2(3)
IOT_TYPE VARCHAR2(12)
TEMPORARY VARCHAR2(1)
SECONDARY VARCHAR2(1)
NESTED VARCHAR2(3)
BUFFER_POOL VARCHAR2(7)
ROW_MOVEMENT VARCHAR2(8)
GLOBAL_STATS VARCHAR2(3)
USER_STATS VARCHAR2(3)
DURATION VARCHAR2(15)
SKIP_CORRUPT VARCHAR2(8)
MONITORING VARCHAR2(3)
CLUSTER_OWNER VARCHAR2(30)
DEPENDENCIES VARCHAR2(8)
COMPRESSION VARCHAR2(8)
DROPPED VARCHAR2(3)DEGREE -- Describes the Degree of Parallelism.
-Anantha -
Hi All
I have a sequential mode test that opens connection with com port1 (station globals variable) and
connects to power supply via telnet (ip and port 1 station globals variable too).
In case i will connect additional uut to PC and Power supply ports 2 and run it in parallel mode how I could increment the port values.
Thank youYou should definitely consider disabling the constraints & indexes and then altering your session to skip_unusable_indexes=true. You can opt for NOLOG on your insert statement itself. Finally, you can re-build the indexes in parallel with NOLOG. Of course at that point a backup is in order.
-
Dynamically set number of sockets in parallel mode
I am new to teststand (been programing LabVIEW for a long time)
I know this is do-able but not sure where to implement it - hoping for an example.
Before the 'Test UUTs' entry point I would like a message popup;
- based on the user button pressed I would like to set the number of sockets to either 3 or one (three sockets when running in auto mode, one socket if running in manual mode) all within Parallel model (can't change models on the fly)
ideally I would like the entire thing encased in a loop that would ask "auto, manual, exit" so that a manual session could be run, and at the completion one or more sessions in auto mode before exiting.
SO WITHIN EITHER A MANUAL OR AUTO SESSION 'NEXT UUT' WOULD STILL BE AVAILABLE, and after exiting from next uut the outer loop would still allow switching session modes
the loop would need to be right up front so the number of sockets could be set before the mode options are loaded.
if there is an example of a modified parallel process model that has similar mods, I would be very gratefull,
thanx
lmd2
ALE System Integration
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
[email protected]Hi lmd2,
Attached is a quick example of one way to do what you are asking. This is only a general example, and there may be a bettter implementation depending on the architecture of your application. The link here also has information on setting the number of sockets for a specific sequence file. Hope this helps.
Regards,
Ebele O.
National Instruments
Attachments:
ParallelModel.seq 455 KB -
Impdp Performing a Schema-Mode Import Example
The Oracle docs ( http://docs.oracle.com/cd/B12037_01/server.101/b10825/dp_import.htm#i1006564) has an example of performing a schema-mode import as follows:
impdp hr/hr SCHEMAS=hr DIRECTORY=dpump_dir1 DUMPFILE=expschema.dmp
EXCLUDE=CONSTRAINT, REF_CONSTRAINT, INDEX TABLE_EXISTS_ACTION=REPLACE
Looking carefully at this example what does " INDEX TABLE_EXISTS_ACTION=REPLACE" mean, specifically with respect to "INDEX"?
Does it mean it will drop the table and associated index if it already exists and then re-create and load it using the dump file contents?Index is an argument to "EXCLUDE" and Table_Exists_Action is separate option. In this example, It is excluding Indexes during import. It has nothing to do with "TABLE_EXISTS_ACTION=REPLACE"
Thanks -
Create CTXCAT index in parallel mode
I am using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production with oracle text version 11.2.0.2.0.
Following script is used to create the ctxcat index but I noticed it is not creating the index in parallel. We have 16 cpu server. The table onto which text index is created has no partition.
BEGIN
--Storage preference
Ctx_Ddl.Create_Preference ('IDX_STORE', 'basic_storage');
Ctx_Ddl.Set_Attribute (preference_name => 'IDX_STORE',
attribute_name => 'I_TABLE_CLAUSE',
attribute_value => 'TABLESPACE C_DATA_02');
Ctx_Ddl.set_attribute ('IDX_STORE',
'I_INDEX_CLAUSE',
'TABLESPACE C_IDX_02 COMPRESS 2');
Ctx_Ddl.set_attribute (
'IDX_STORE',
'R_TABLE_CLAUSE',
'TABLESPACE C_DATA_02 LOB(DATA) STORE AS (CACHE)'
--Wordlist
ctx_ddl.create_preference ('nbcwordlist', 'BASIC_WORDLIST');
ctx_ddl.set_attribute ('nbcwordlist', 'PREFIX_INDEX', 'TRUE');
ctx_ddl.set_attribute ('nbcwordlist', 'PREFIX_MIN_LENGTH', 1);
ctx_ddl.set_attribute ('nbcwordlist', 'PREFIX_MAX_LENGTH', 64);
ctx_ddl.set_attribute ('nbcwordlist', 'SUBSTRING_INDEX', 'NO');
END;
CREATE INDEX FTS_IDX ON INDVL_SRCH_NM (SRCH_NM)
INDEXTYPE IS CTXSYS.CTXCAT
PARAMETERS('STORAGE IDX_STORE STOPLIST C_STOPLIST WORDLIST C_WORDLIST')
PARALLEL (DEGREE 16);
What should be done to create this index in parallel? Is there any other thing that can be done to speed up creation without disabling prefix index.
Thanks. I appreciate you time and effort.
Edited by: spur230 on Nov 14, 2011 4:53 PMHi,
in the manual some remarks are made for parallel indexing, see http://download.oracle.com/docs/cd/E14072_01/text.112/e10945/ind.htm#CIHCBABI
So it is possible to index in parallel, but you don't have control, the oracle db decides this for you. So it is possible that Oracle thinks that single indexing is faster, more work is done in the database besides the index creation, and many more factors (also mentioned in above document).
I did many parallel indexing on systems, but always on quiet moments, so I have the most resources for creating indexes. Furthermore I noticed that system statistics can influence the creation. If the statistics are good for the CPU and I/O, the parallel creation can be optimised by the db.
Herald ten Dam
http://htendam.wordpress.com -
Media Encoder CC 2014 not encoder in parallel mode.
Media encoder cc normally render in parallel.
Media Encoder 2014 will not.
Why?
2014 How do I render in parallel?That doesn't answer any of my questions.
1. Are those custom or system presets?
- If system presets, what are they?
- If custom, could you specify the basic settings of that preset?
2. Are you exporting to Dolby in any of those presets?
3. Is "Enable Parallel Encoding" checkbox checked in preferences?
The reason I ask is because we purposely don't allow parallel encoding with some combinations of settings and obviously if you disabled parallel encoding in the prefs, it will not work. -
Insert query is using parallel mode
Hi All,
Insert query is running against below tables. It is using Parallelism as the below explain shows.
Execution Plan
Id Operation Name Rows Bytes Cost (%CPU) Time TQ IN-OUT PQ Distrib
0 INSERT STATEMENT 779K(100)
1 LOAD TABLE CONVENTIONAL
2 PX COORDINATOR
3 PX SEND QC (RANDOM) :TQ10002 4116K 443M 779K (0) 999:59:59 Q1,02 P->S QC (RAND)
4 HASH JOIN ANTI BUFFERED 4116K 443M 779K (0) 999:59:59 Q1,02 PCWP
5 BUFFER SORT Q1,02 PCWC
6 PX RECEIVE 4116K 235M 36221 (0) 758:17:06 Q1,02 PCWP
7 PX SEND HASH :TQ10000 4116K 235M 36221 (0) 758:17:06 S->P HASH
8 TABLE ACCESS FULL GL_POSTING_INTERIM_50123 4116K 235M 36221 (0) 758:17:06
9 PX RECEIVE 471M 23G 742K (0) 999:59:59 Q1,02 PCWP
10 PX SEND HASH :TQ10001 471M 23G 742K (0) 999:59:59 Q1,01 P->P HASH
11 PX BLOCK ITERATOR 471M 23G 742K (0) 999:59:59 Q1,01 PCWC
12 TABLE ACCESS FULL GL_BALANCES 471M 23G 742K (0) 999:59:59 Q1,01 PCWP WE are not using any parallel hint again all the tables in the insert query.
Environment details.
DB version - 11.2.0.1
OS version - IBM AIX 6.1
Please let me know why query is going for parallelism automatically as i am not using any parallel hint or any auto parallel.
NAME TYPE VALUE
fast_start_parallel_rollback string FALSE
parallel_adaptive_multi_user boolean TRUE
parallel_automatic_tuning boolean FALSE
parallel_degree_limit string CPU
parallel_degree_policy string MANUAL
parallel_execution_message_size integer 16384
parallel_force_local boolean FALSE
parallel_instance_group string
parallel_io_cap_enabled boolean FALSE
parallel_max_servers integer 8
parallel_min_percent integer 0
NAME TYPE VALUE
parallel_min_servers integer 0
parallel_min_time_threshold string AUTO
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_servers_target integer 64
parallel_threads_per_cpu integer 2
recovery_parallelism integer 0Please suggest.
ThanksThat will depend on the query and whether it decides to use parallel or not. Having PARALLEL_AUTOMATIC_TUNING set to FALSE does not disable parallel query in your database. Unless you are talking about some other parameter when you say "parallel auto is manual"?
Here is a worked example. Note my parallel settings at the end:
create table rj_test (id number(10), name varchar2(20));
exec dbms_stats.set_table_stats(ownname=>'SYS',tabname=>'RJ_TEST',numrows=>'1000000',numblks=>'10000');
SQL> explain plan for
2 select id, count(*)
3 from rj_test
4 group by id;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 3757798270
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1000K| 12M| 1058 (12)| 00:00:06 |
| 1 | HASH GROUP BY | | 1000K| 12M| 1058 (12)| 00:00:06 |
| 2 | TABLE ACCESS FULL| RJ_TEST | 1000K| 12M| 962 (3)| 00:00:05 |
9 rows selected.
SQL> select degree from user_tables where table_name = 'RJ_TEST';
DEGREE
1
SQL> alter table rj_test parallel (degree 8);
Table altered.
SQL> explain plan for
2 select id, count(*)
3 from rj_test
4 group by id;
Explained.
SQL> select * from table(dbms_xplan.display);
SQL> set lines 120
SQL> set pages 1000
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 2739002282
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | TQ |IN-OUT| PQ Distrib |
| 0 | SELECT STATEMENT | | 1000K| 12M| 145 (11)| 00:00:01 | | | |
| 1 | PX COORDINATOR | | | | | | | | |
| 2 | PX SEND QC (RANDOM) | :TQ10001 | 1000K| 12M| 145 (11)| 00:00:01 | Q1,01 | P->S | QC (RAND) |
| 3 | HASH GROUP BY | | 1000K| 12M| 145 (11)| 00:00:01 | Q1,01 | PCWP | |
| 4 | PX RECEIVE | | 1000K| 12M| 145 (11)| 00:00:01 | Q1,01 | PCWP | |
| 5 | PX SEND HASH | :TQ10000 | 1000K| 12M| 145 (11)| 00:00:01 | Q1,00 | P->P | HASH |
| 6 | HASH GROUP BY | | 1000K| 12M| 145 (11)| 00:00:01 | Q1,00 | PCWP | |
| 7 | PX BLOCK ITERATOR | | 1000K| 12M| 133 (3)| 00:00:01 | Q1,00 | PCWC | |
| 8 | TABLE ACCESS FULL| RJ_TEST | 1000K| 12M| 133 (3)| 00:00:01 | Q1,00 | PCWP | |
15 rows selected.
SQL> show parameter parallel
NAME TYPE VALUE
fast_start_parallel_rollback string LOW
parallel_adaptive_multi_user boolean TRUE
parallel_automatic_tuning boolean FALSE
parallel_degree_limit string CPU
parallel_degree_policy string MANUAL
parallel_execution_message_size integer 16384
parallel_force_local boolean FALSE
parallel_instance_group string
parallel_io_cap_enabled boolean FALSE
parallel_max_servers integer 16
parallel_min_percent integer 0
parallel_min_servers integer 1
parallel_min_time_threshold string AUTO
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_servers_target integer 16
parallel_threads_per_cpu integer 2
recovery_parallelism integer 0
SQL>
Maybe you are looking for
-
Call for Adobe to flush it's lame tech support:
I think I speak for many people when I say that Adobe's outsourced "tech" "support" is niether tech nor support. Come on Adobe, step up to the plate and give your customers a little more respect by offering them the kind of support that would be expe
-
Photoshop CS4 issues with Snow Leopard
Hi all, I recently upgraded my OS from Leopard to Snow Leopard ( 10.6.4 ). I keep a clone of my OS/Apps drive on an external firewire. After upgrading the OS on my main drive, I initialized the OS/Apps drive and made a bootable clone of the main driv
-
I just started using FCE and I've successfully created a sequence that is not complicated. I am only using 1 video track and separating each video segment with a Title 3D title page. I am not overlaying the title page. The background is displayed in
-
Shadow Copy feature on Servers with DPM
Hello There, Is it a recommended configuration to have Shadow Copy enabled on the file servers which are also being backed up by DPM? Please suggest. And what are the pros and cons of using this mixed configuration. Regards, maqsood Maqsood Mohammed
-
InDesign CC crashing, corrupting files
My InDesign CC crashes at random, but the files that are open when it crashes are unrecoverable. It doesn't ask me if I want to recover these files, it just simply says they can't be opened once I try and open them again. My OS is up to date, as well