Parallel processing for increaing the performance
various ways of parallel processing in oracle especially using hints
Please let me knw if there exists any online documentation in understanding the concept
First of all: As a rule of thumb don't use hints. Hints make programs too unflexible. A hint may be good today, but might make things worse in future.
There are lots of documents available concerning parallel processing:
Just go to http://www.oracle.com/pls/db102/homepage?remark=tahiti and search for parallel (processing)
Due to my experience in 10g, enabling parallel processing might slow down processing extremely for regular tables. The reason are lots of waits in the coordination of the parallel processes.
If, however, you are using parallel processing for partitioned tables, parallel processing works excellent. In this case, take care to choose the partitioning criterion properly to be able to distribute processing.
If, for example, your queries / DMLs work on data corresponding to a certain time range, don't use the date field as partitioning criterion, since in this case parallel processing might work on just a single partition. Which again would result in massive waits for process coordination.
Choose another criterion to distribute the data to be accessed to at least <number of CPUs -1> partitions (one CPU is needed for the coordination process). Additionally consider to use parallel processing only in cases where large tables are involved. Compare this situation with writing a book: If you are planning to have some people writing a (technical) book consisting of just 10 pages, it wouldn't make any sense at all concerning time reduction. If, however, the book is planned to have 10 chapters, each chapter could be written by a different author. Reducing the resulting time to about 1/10 compared to a single author writing all chapters.
To enable parallel processing for a table use the following statement:
alter table <table name> parallel [<integer>];If you don't use the <integer> argument, the DB will choose the degree of parallelism, otherwise it is controlled by your <integer> value. Remember that you allways need a coordinator process, so don't choose integer to be larger than <number of CPUs minus 1>.
You can check the degree of parallelism by the degree column of user_/all_/dba_tables.
To do some timing tests, you also can force parallel dml/ddl/query for your current session.
ALTER SESSION FORCE PARALLEL DML/DDL/QUERY [<PARALLEL DEGREE>];
Similar Messages
-
The parallel process for mrp.
hi exports
we plan to do the scope of planning for the total planning as a background job.
while doing that system ask for the parallal processing for mrp
what is customize step and procedure to do the parallel process for mrp.Dear Raj,
With the help of parallel processing procedures, you can significantly improve the runtime of the total planning run.
To process in parallel, you can either select various sessions on the application server or various servers.
Parallel processing runs according to packages using the low-level code logic:
The work package, with a fixed number of materials that are internally defined in the program, is distributed over the individual servers/sessions. Once a server/session has finished processing a package, it starts processing the next package.
If a low-level code is being planned, the servers/sessions that have finished must wait until the last server/session has finished its package to avoid inconsistencies. Then the next low-level code is processed per packages.
The parallel processing procedure is switched on in the initial screen of total planning.
Activities
Define the application server with the number of sessions that can be used:
If you want to define various servers for parallel processing, enter the server with the number of sessions.
If you only want to use one server, but several sessions, enter the application server and the appropriate number of sessions.
Further notes
Parallel processing shortens the time required for calculation, however, it cannot shorten the database time as the system still only operates using one database.
The Customizing Transaction is OMIQ
Regards
PSV -
Parallel processing for one large message
I have some troubles from messaging performance perspective.
Sender:ABAP Proxy
Receiver:File Adapter
I'd like use parallel processing for one large message.
And the file for receiver is needed to be one file.
Could you let me know how to set them ?
Best regards,
Koji NagaiHi
Can you elaborate your requirement more?
How are you trying to achieve parallel processing in XI.
Since you mentioned that the source is Proxy, there should be some trigger mechanism say selection screen, you restrict the values here and use append strategy in File and can execute the same.
REgards
Krish -
Parallel processing for ABAP prorams in Process chain.
Hi All,
In one of the process chain, we have added the ABAP program. In Backend,the job is running as "BI_PROCESS_ABAP".
I just want to know, same like DTP, can we keep parallel processing for the ABAP programs also. Please suggest.
Thanks.Hello Jalina
Also check with BASIS if the memory allocated to run this program has not overflowed and the selections you have in your ABAP program is in small chunks and use variants to run them in parallel OR series
Thanks
Abhishek Shanbhogue -
Duplicate IR through parallel processing for automated ERS
Hi,
We got duplicate IR issue in production when running the parallel processing for automated ERS job. This issue is not happening in every time. Once in a while the issue happeing. That means the issue has happened in June month as twice. What could be the reasons to got this issue. On those days the job took more time comaredt o general. We are unable to replicate the same scenareo. When i am testing the job is creating IRs successfully. Provide me the reasons for this.Wow - long post to say "can I use hardware boxes as inserts?" and the answer is yes, and you have been able to for a long time.
I don't know why you're doing some odd "duplicated track" thing... weird...
So, for inserts of regular channels, just stick Logic's I/O plug on the channel. Tell it which audio output you want it to send to, and which audio input to receive from. Patch up the appropriate ins and outs on your interface to your hardware box/patchbay/mixer/whatever and bob's your uncle.
You can also do this on aux channels, so if you want to send a bunch of tracks to a hardware reverb, you'd put the I/O plug on the aux channel you're using in the same way as described above. Now simply use the sends on each channel you want to send to that aux (and therefore hardware reverb).
Note you'll need to have software monitoring turned on.
Another way is to just set the output of a channel or aux to the extra audio outputs on your interface, and bring the outputs of your processing hardware back into spare inputs and feed them into the Logic mix using input objects.
Lots of ways to do it in Logic.
And no duplicate recordings needed...
I still don't understand why the Apple-developers didn't think of including such a plug-in, because it could allow amazing routing possibilities, like in this case, you could send the audio track to the main output(1-2 or whatever) BUT also to alternate hardware outputs, so you can use a hardware reverb unit, + a hardware delay unit etc...to which the audio track is being sent , and then you could blend the results back in Logic more easily.
You can just do this already with mixer routing alone, no plugins necessary. -
Parallel Processing for a single Package
Hi,
I have PKg1 that have mixture of For Each Loop container, DFT's and Seq containers and I want to run more than one thread for this package where i can process data in parallel.
Please let me know how i can create this using SSIS 2012.
Thanks,Hi,
DFTs connected by precedence constraints and I want to run this package more than once (multiple threads) at a given point of time. is this possible? if
yes, please let me know how I can achieve this.
Thanks..
If the DFTs are connected then there will be absolutely no parallel processing. Running the same package in parallel most likely result in a lock. It depends how it is architectured, but with a RDBMS in default installation or files it is not going to fly.
When you have a DFT with say OLEDB destination each using its own connection, and they are not connected then each gets opened independently and thus allowing you to ingress data simultaneously.
Arthur My Blog -
Parallel processing for information broadcasting
Hi SDN,
How can we control parallel processing for information broadcasting in BI background management?
Early answer is appreciated.
Thanks in Advance.
NamrataHi,
agree with the above postings
you can find more details regarding this in below given link
http://help.sap.com/saphelp_nw70/helpdata/en/ef/4c0b40c6c01961e10000000a155106/frameset.htm
hope this helps
Regards,
rik -
Job fail with Timeout for parallel process (for SID Gener.): 006000
Hello all,
Im getting below error and not able to find any issue with Basis side. Please anyone help on this!
Job started
Data package has already been activated successfully (will be skipped)
Process started
Process started
Process started
Process started
Process started
Import from cluster of the data package to be activated () failed
Process 000001 returned with errors
Process 000002 returned with errors
Process 000003 returned with errors
Process 000004 returned with errors
Background process BCTL_4XU7J1JPLOHYI3Y5RYKD420UL terminated due to missing confirmation
Process 000006 returned with errors
Data pkgs 000001; Added records 1-; Changed records 0; Deleted records 0
Log for activation request ODSR_4XUG2LVXX3DH4L1WT3LUFN125 data package 000001...000001
Errors occured when carrying out activation
Analyze errors and activate again, if necessary
Activation of M records from DataStore object CRACO20A terminated
Activation is running: Data target CRACO20A, from 1,732,955 to 1,732,955
Overlapping check with archived data areas for InfoProvider CRACO20A
Data to be activated successfully checked against archiving objects
Parallel processes (for Activation); 000005
Timeout for parallel process (for Activation): 006000
Package size (for Activation): 100000
Task handling (for Activation): Backgr Process
Server group (for Activation): No Server Group Configured
Parallel processes (for SID Gener.); 000002
Timeout for parallel process (for SID Gener.): 006000
Package size (for SID Gener.): 100000
Task handling (for SID Gener.): Backgr Process
Server group (for SID Gener.): No Server Group Configured
Activation started (process is running under user *****)
Not all data fields were updated in mode "overwrite"
Data package has already been activated successfully (will be skipped)
Process started
Process started
Process started
Process started
Process started
Import from cluster of the data package to be activated () failed
Process 000001 returned with errors
Process 000002 returned with errors
Process 000003 returned with errors
Process 000004 returned with errors
Errors occured when carrying out activation
Analyze errors and activate again, if necessary
Activation of M records from DataStore object CRACO20A terminated
Report RSODSACT1 ended with errors
Job cancelled after system exception ERROR_MESSAGEThanks for the link TSharma I will try that today.
UPDATE:
I ran a non-parallel Data Pump and just let it run overnight. This time it finished after 9 hours. In this run I set the STATUS=300 parameter in the PARFILE which basically echos STATUS updates to standard out every 300 seconds (5 minutes).
And as before after 2 hours it finished 99% of the export and just spit out WAITING status for the last 7 hours until it finished. The remaining TABLES it exported (a few hundred) were all very small or ZERO rows. There clearly is something going on that is not normal. I've done this expdp before on clones of this database and it usually takes about 2-2.5 hours to finish.
The database is about 415 Gigabytes in size.
I will update what the TRACE finds and I'm also opening a case with MOS. -
How can i use Bi-Technical Content is used for measuring the performance of
Hi
recenetly i implemented the BI7.0 for one client. I want to know how to use 'BI Administraction Cockpit,.
Actual what technical content does ???
And how can i use technical content or statistics for measuring the performance of my queries. Please let me know
kumarHi Ravi,
BI Admin Cockpit is enhancement of BW Statistics.
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/08a75d19e32d2fe10000000a11466f/frameset.htm
Check this thread also:
BI Statistics comparision with the old
Regarding the performance check the link below.
Re: Query - Performance
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/15c54048035a39e10000000a422035/frameset.htm
Regards,
Anil -
Process for taking the Oracle 9.2.0.5 backup on solaris
Hi All,
Thanks for you support.
Please help me on this
Process for taking the Oracle 9.2.0.5 backup on solarisi am new to DBA activity's. that's why i am looking
for guidence, to take the oracle 9.2.0.5 backup on
solaris.Still please be specific what's your problem is.
Is your database down you can't get it startup ,
or your database is crashed you need to recover it?
Define 'backup'
At least tell us what you did and what you didn't, if you have no clue what's going on check Oracle document,
http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/toc.htm -
Change control process for updating the UPK topics
Is anyone using a change control process for updating the UPK topics for JD Edwards EnterpriseOne?
With publishing the whole module and everything linked, I am finding it difficult if a developer is updating a topic and maybe in the middle of it, but has it checked in to the server?
I would like to hear what others may be doing to control this.
Thank you,
Linda Paar
MOM BrandsHello,
If you have not already joined the UPK community in My Oracle Support, I would recommend you ask your question in that forum as there is a lot of experience there. Additional information can be found in the announcement at the top of this forum: https://forums.oracle.com/forums/ann.jspa?annID=1175
Best regards,
Marc -
Increase the number of background work processes for data load performance
Hi all,
There are 10 available background work processes in the BW system. We're doing some mass load to multiple ODS.But system uses only 3 background processes. How can i
increase the number of used background work processes for new data load.
I tried to change number of prosesses with RSODSO_SETTINGS. But no successes. Are there any other settings need to change?
thanks,
YigitHi sankar,
I entered the max proc. number into ROIDOCPRMS. But it doesn't make difference. System still uses only 3 of background processes. RSCUSTA2 is replaced with
RSODSO_SETTINGS in BI 7.0 and this trans. can only change the processes for data activation, SID generation and rollback. I need to change the process numbers for data extraction. -
SMQS in 2004s - recommended degree of parallel processing for BW
Hi
Regarding max connections for the outbound scheduler.
With BI SPS 08 the standard was changed and the degree of parallelity '2' was introduced. We are now running BI 7.0 SPS 12 and we still have a degree of parallelity at '2' for the BW system when we look at SMQS.
What is the recommended number of max parallel connections and what is your expirence with changing the number of parallel connections (problems, performance etc.)?
Thanks in advance, kind regards,
Torben
Message was edited by:
Torben Pedersenwell, we have set it to 10 and it really seems to increase the performance! More oracle 060 dumps (deadlocks) have occured since this changed, but by choosing the right processing type in the infopackage and by deleting index before a load oracle 060 errors have descreased significant.
-
How to manage parallel processing for queue JMS/MDB?
Hello, we are developing a system in WebLogic Server 10g (10.3.0) that contains multiple JMS queues associated with each in an MDB. We need know how manage the parallelism of the message for each queue? for example:
Queue 1: up to 4 messages in parallel
Queue 2: up to 2 messages in parallel
Queue 3: up to 5 messages in parallel
Can also perform this configuration from the WebLogic Server Admin Console?
Thank you very much,
Lucas.Thanks a lot Tom for the reply, I have read about the descriptor setting 'max-beans-in-free-pool' and I searched this concept at the Administration Console without success.
I suppose other way is create a “Session Pools” under the JMSServer, and then create a “Consumer” and define the setting “Messages Maximum”. One of the disadvantages is that “Session Pools” don’t support JTA, from the documentation:
+Session pools enable an application to process messages concurrently. Session pools are now used rarely, as they are not a required part of the J2EE specification, do not support JTA user transactions, and are largely superseded by message-driven beans (MDBs), which are a required part of the J2EE specification.+
I continue reading the MDB chapter of the performance and tuning guide in the documentation, thanks for any contribution to the topic.
Lucas. -
How to limit number of parallel processes for a query???
Hi,
I have set table parallelism to degree (4 in my case) and when i run a query on that table i see on v$session that this query is using 8 parallel processes.
Why my query is using all this processes?? Can i limit this number?? I think this will cause poor performance if all my parallel processes stay BUSY on v$pq_slave.
1 1 P000 BUSY 22 0 8 0 2051 10 2 15 0 79179 76884
2 1 P001 BUSY 22 0 8 0 2054 10 2 15 0 81905 77443
3 1 P004 BUSY 2 0 1592 0 0 0 0 1592 0 1039 3
4 1 P005 BUSY 2 0 1592 0 0 0 0 1592 0 1038 4
5 1 PZ99 BUSY 533 0 0 0 1 3 0 0 0 1071 1107
6 2 P000 BUSY 14 0 8 0 2053 10 3 15 1 53014 73297
7 2 P001 BUSY 14 0 8 0 2048 10 2 15 1 51266 73318
8 2 P002 BUSY 14 0 8 0 2052 10 2 15 2 51043 73271
9 2 P003 BUSY 14 0 8 0 2053 9 2 15 2 49417 73327
10 2 P004 BUSY 13 0 8 0 2055 9 2 15 2 68428 12468
11 2 P005 BUSY 13 0 8 0 2059 10 2 15 1 69968 12473
12 2 PZ99 BUSY 461 0 0 0 1 3 0 0 0 921 936
Tks,
Paulo.select /*+ PARALLEL(a,4) */ ...... from owner.table a;
Or
ALTER SESSION FORCE PARALLEL DML PARALLEL <degree>
(But I am not sure whether this will affect the degree of select also ?)
Maybe you are looking for
-
ATI Radeon 9600 Mac & PC Edition will not work with leopard
When I installed a new ATI Radeon 9600 Mac & PC Edition, 256MB; my Dual 2 GHz G5 (June 2004) will not allow me to drive my Apple Cinema Display while running under leopard, (neither 10.5.1 or 10.5.2 with Leopard Graphics Update). The mac starts up as
-
Can I use SubPanels to display and run multiple executables from the same GUI?
I have two Labview executables that performs some A/D I/O, each using an independent USB-6008. I would like to run both of these executables from a single UI. Is this possible usin SubPanels? Or some other method? I found KB regarding exe's and VI
-
Posting from Deposit *No Matching record found (JDT1) (ODBC-2028)*
Hello Experts, While posting the transactions from Deposit Module, system gives an error No Matching record found (JDT1) (ODBC-2028) .... ? if I UNCHECK the option, Reconcile amounts after deposit, it posts the transactions but I do not know the impa
-
Help me find a good Coldfusion Web host!
Guys please tell me who else is out there. I use http://www.hostek.com and they really suck. My site keeps going down even though I get like no traffic at all. It's ridiculous. Each time I update the site it just hangs. I really need a new host. Yeah
-
PMS Colors in AI/PDF files and Mac OS X 10.8 Preview
As you might know, either Adobe or Pantone changed the default definitions or color built of Pantone Coated library to LAB in CS6 instead of CYMK. This change did not break anything on Mac OS X 10.6 (Snow Leopard) or Mac OS X 10.7 (Lion), but it did