Parallel mode
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 you
You 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.
Similar Messages
-
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 -
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..
-
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 -
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 -
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 -
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> -
Prg 1520 parallel mode to get (32ch) to (32ch) 4472 chassi 1050?
How do I program the 1520 and use the parallel S/H signals from (32ch) 1520 to (32ch) 4472 in a PXI/SCXI 1050 chassi? (already have the adapter board and cables)
Hi Ayman,
I made a slight mistake it is actually a PXI/SCXI 1010 chassi.
But other than that the hardware is the same,
qty=4 SCXI 1520 boards with the parallel adpater feature off the rear panel going to the SMB connectors (32 connectors on a single panel board that plug into the 1520 chassi back side with 50 ping SCSI type connector)
qty= 16 SMB (1meter) cables
qty=4 PXI 4472
all running from an NI 8176 embedded controller on Win XP
(we use these because the 4472 have separate A/D per channel to get benefits of fast S/H data)
Any help is appreciated.
John -
Syncrhronization problems in Parallel Mode
I've developed a program im TestStand using the Parallel Process Model. I'm controlling 4 equipments with GPIB and a DaQ Card. When I run my first Socket I don't have problems and the sequence works perfect, but when I run more than one Socket the sequence fails and give me the error:"Attempt to unlock a lock that is not locked by this thread". Everytime I make some write or read operation to my equipment with GPIB I lock this step between lock and unlock. Can someboday help me? Maybe I'm not using properly the lock functions. Where can I find examples about this?
Without seeing your sequence it is difficult to say what exactly is going wrong. Basically, to use a TestStand lock, you create it with a name and lock it using the name before the critical section of your code. When you lock a lock, you specify a lifetime for which when it expires the lock will automatically be unlocked (I believe the default lifetime is until the sequence finishes executing). In addition you can perform an EarlyUnlock operation to release the lock before the lock lifetime expires.
Another way of using locks is to use the synchronization tab of the step properties dialog on any step. You give it a name of a lock and it will automatically create and lock the lock before calling the step's code module and then automatically unlock it after the step compl
etes.
-Doug
Maybe you are looking for
-
I have a Sony wega HDTV, and it does not have HDMI port, does anyone know if I can use Apple TV on it? If so, how is it set up?
-
(WD ABAP) TreeByNestingTableColumn in ALV?
To anybody who can answer this: Is it possible to have a TreeByNestingTableColumn in the ALV? And if it is, can someone provide code as to how this is possible? Regards, Christopher Cedro
-
Page mode vs. Draft mode
Hello, Is there a recommendation around which mode a user should be in, as it pertains to the volume of data in the report? If the report contains a large number of records, is it better to be in Page mode vs. Draft mode, and visa versa? Thank you v
-
Is it possible to change the contentobject of a customdocument class to new content (so not yet in the repository)? I've modified the showDocProps.jsp, and I want to be able to change the content of the Document with a browse button. I tried to use t
-
Bapi_pr_create error
Hi, I am getting error 06 243 Internal number assignment not defined (please enter number) BAPI 001 No instance of object type PurchaseRequisition has been created. External ref