Increase the Insert performance while using th e DBlink
Dear Friends ,
I am trying to insert 4 lacs records into a table by using the DB-Link.It is taking very long time ( 1hour) to insert the records,is there any other way where to increase the performance.
This is my insert statement.
insert /*+ APPEND PARALLEL NOLOGGING */ into target_table
select * from source_table@dblink_name
There is little chance alter table your_table noparallel would help (if parallel keyword was specified at table creation)
It seems you'll have to be more specific (I consider using parallelism as the last resort so consequently I don't have much experience)
- is this a one time job ?
there are several other methods (export/import, datapump, external tables ...) to get the job done
- is this a regular procedure ?
is it feasible to use methods mentioned above
- how frequently has to be performed ?
is it still feasible to use methods mentioned above (taking dblink performance as not acceptable)
- is it mandatory to transfer 400 000 rows from the other database ?
wouldn't be better to pull from the other database just the rows you need ?
wouldn't be better to make the other database the driving site ?
Regards
Etbin
Edited by: Etbin on 25.12.2011 13:30
Try to remove (not sure if it can be done) the status answered as others would think no other contributions are needed
you are supposed to mark the thread answered when you think a satisfactory solution from your point of view has been provided. Take a look at FAQ link (on upper right)
Similar Messages
-
How to improve the load performance while using Datasources for the Invoice
HI All,
How to improve the load performance while using Datasources for the Invoice . Actually my invoice load (Appx. 0.4 M records) is taking very long time nearly ~16 to 18 hrs to update data from R/3 to 0ASA_DS01.
If I load through flat file it will load with in ~20 Min for the same amount of data.
Please suggest how to improve load performance.
PS: I have done the Inpo package settings as per the OSS note.
Regads
Srininivasarao.Namburi.Hi Srinivas,
Please refer to my blog posting [/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction|/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction] which gives the details about the package size setting for extractors. I am sure that will be helpful in your case.
Thanks,
Divyesh
Edited by: Divyesh Jain on Jul 20, 2010 8:47 PM -
After upgrading to Lion, the Finder will increase the virtual memory while using external HD
after upgrading to Lion, the Finder will increase the "virtual memory size" while using external HD. I check it using Activity Monitor and found that "Finder" wll increase the "Virtual Memory Size" and "Private Memory Size". and then after a while. the system told me my HD is full and hanging there.
My External HD is 1TB. and I have installed new version Paragon NTFS for Mac V.9.01. I am not sure it is related or not.
but I attached my external HD. the "Finder" will start to increase the "Virtual Memory Size".
please help out this case and solve this issue.
thank you !!!The one has nothing to do with the other. Virtual memory size and Private memory size are used by developers to analyze their software. it has nothing to do with anything related to the user.
-
Bad INSERT performance when using GUIDs for indexes
Hi,
we use Ora 9.2.0.6 db on Win XP Pro. The application (DOT.NET v1.1) is using ODP.NET. All PKs of the tables are GUIDs represented in Oracle as RAW(16) columns.
When testing with mass data we see more and more a problem with bad INSERT performance on some tables that contain many rows (~10M). Those tables have an RAW(16) PK and an additional non-unique index which is also set on a RAW(16) column (both are standard B*tree). An PerfStat reports tells that there is much activity on the Index tablespace.
When I analyze the related table and its indexes I see a very very high clustering factor.
Is there a way how to improve the insert performance in that case? Use another type of index? Generally avoid indexed RAW columns?
Please help.
DanielHi
After my last tests I conclude at the followings:
The query returns 1-30 records
Test 1: Using Form Builder
- Execution time 7-8 seconds
Test 2: Using Jdeveloper/Toplink/EJB 3.0/ADF and Oracle AS 10.1.3.0
- Execution time 25-27 seconds
Test 3: Using JDBC/ADF and Oracle AS 10.1.3.0
- Execution time 17-18 seconds
When I use:
session.setLogLevel(SessionLog.FINE) and
session.setProfiler(new PerformanceProfiler())
I don’t see any improvement in the execution time of the query.
Thank you
Thanos -
Type of error in the log file while using using call transaction mode u2018Eu2019
Hi Gurus,
Please Answer for this qusetion urgently
what type of error exactly you will be seeing in the log file while using call transaction mode u2018Eu2019?
Thanks/
Radha.Hi,
Can you be clear.
In call transaction , no error logs are created, you have to handle the errors explicitly using the structure BDCMSGCOLL.
Whenever you use E mode then if the transaction encounters any of the errors i.e. data type mismatching or invalid values etc, it will stop at that screen.
You can handle the errors in call transaction in the following method.
create a table using the structure BDCMSGCOLL.
then
loop at ......
CALL TRANSACTION 'XK01' USING I_BDCDATA MODE 'N' UPDATE 'S' MESSAGES INTO I_MESGTAB.
endloop.
SORT I_MESGTAB BY MSGID MSGV1 ASCENDING.
DELETE ADJACENT DUPLICATES FROM I_MESGTAB.
LOOP AT I_MESGTAB.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = I_MESGTAB-MSGID
LANG = I_MESGTAB-MSGSPRA
NO = I_MESGTAB-MSGNR
V1 = I_MESGTAB-MSGV1
V2 = I_MESGTAB-MSGV2
V3 = I_MESGTAB-MSGV3
V4 = I_MESGTAB-MSGV4
IMPORTING
MSG = MESG1.
IF I_MESGTAB-MSGTYP = 'S' .
WA_SUCCMESG-MESG = MESG1.
APPEND WA_SUCCMESG TO I_SUCCMESG.
else IF I_MESGTAB-MSGTYP = 'E' .
WA_ERRMESG-MESG = MESG1.
APPEND WA_ERRMESG TO I_ERRMESG.
ENDIF.
ENDLOOP.
Hope this is clear.
Thanks and Regards. -
How do I view a website over the full screen while using the 6 plus in horizontal mode
How do I view a website over the full screen while using the iPhone 6 plus in horizontal mod?
You said you found several domain.sites files.
iWeb uses one at a time to create webpages.
Your webpages, your site, has disappeared with MobileMe.
You have to find a new host and publish there.
But to publish you need one of your domain files.
Try iWebSites to open them :
http://www.wyodor.net/_Demo/Aptana/iWebSites.html -
No connection to the Integration Builder while using ABAP Proxies
Hi All,
Here am getting an error when i say SPROXY in R3 system.
No connection to the Integration Builder while using ABAP Proxies.
For this i have gone through the blog no 3022.
and i did all the connection.And then i have gone through the steps
Go to---->test connection steps.I added the address called com.sap.aii.server.name.repository in SPROXSET table.
and i run the Tcode SPROXY.Now am getting into DUMP when is say SPROXY.
And also i run a program called SPROX_CHECK_IFR_ADDRESS to add the address
but i didn't found the path for Excahnge Profile it was disable.
and later i run a program SPROX_CHECK_IFR_CONNECTION
now it went into DUMP.
Can Anyone suggest me how to fix this error.
Thanks,
Kalyan.hi kalyan
1)check whether your R/3 system is based on WEBAS 640 or WEBAS620 (if it is on WEBAS 620 you need to install xi ADD ON,if on WEBAS 640 no need)
2)check the report SPROX_CHECK_IFR_ADDRESS
The address is taken the from following parameters in the exchange profile (section 'connections'):
http://server:port/exchangeProfile --> Connection
com.sap.aii.connect.repository.name: Server (e.g. pwdf0436)
com.sap.aii.connect.repository.httpport: Port (e.g. 1080)
com.sap.aii.connect.repository.contextroot: Root (e.g. rep)
Furthermore, the logon data is also read from the exchange profile(section 'ApplicationSystem'):
com.sap.aii.applicationsystem.serviceuser.name: User
com.sap.aii.applicationsystem.serviceuser.pwd: Password
rgrds
kummari -
<p>Also what are the limitations in terms of data size or performance related issues while using csv or text file?</p><p>Is it the best practice to use csv , text file to use as a datasource to improve performance?</p><p>Please Advice.... </p><p> </p>
<p>Hi,</p><p>Create Same Data Input for CSV and Text File ,Create 2 different reports one for CSV and One for Text ,run them one you have done that.</p><p>Go to Report Menu and Select Performance Information .Use the Data in that to check which one is good datasource to improve performance</p><p>Cheers</p><p>Rahul</p>
-
How can I increase the thumbnail size when using Safari to upload an image to a website?
I upload many images to multiple websites and when using Safari to upload these images, the thumbnails are so small I can barely make out what the image is. I can easily figure out how to increase the thumbnail size when viewing them in Finder and set the default to my liking, but I cannot seem to find a way to do this in Safari. The last topic I saw on this was form 2013 and have not seen any update. Is there a way to do this?
Delete all unused, invisible layers.
Sometimes zip compression is better than jpg compression (in the pdf output settings). Zip is lossless, and works better with non gradient colour or no images.
Flattening the image before you save it to pdf can reduce the file size if you are using jpg compression.
Post a preview of your pdf and we can comment further on how to reduce the file size. -
Can I use an external mic such as the Tascam iM2 while using FaceTime?
HHi all. I want to improve my audio quality while using FaceTime with a small group. I can't seem to make the Tascam iM2 to work. does FaceTime support external mics? I'm using it on an iPad 2 using iOS 8.
thanks much
fletchTroy, I beg to disagree. I've just done a test and find that I can record video from my external USB microphone (A logitech AK5370). Here is the menu:
I can also select the system (line) input or an input from an app which captures sound from applications
For info this is a user's discussion group and we are all users like you and not affiliated with Apple.
Geoff. -
Date Error on the Service Order while using service product
Hi PM experts,
I am working on the scenario resource-related billing, using service product in the service order created from a service notification linked to a contract with service product as the line item. service product is the material of DIEN material type.
when i was trying to save the service order created using transaction code-IW31, i am getting the Error Message:
" *SYS:Date 00.00.0000 not expected*".
This error started only yesterday, and it was not there before. Basis team has confirmed that they have not done any new
updates to the system.
Had anyone encounered this problem before, if yes kindly let me know the solution and the steps to resolve it.
thanks for the help.
regards,
rajaramanHi,
Here is the error description with message number,
SYST: Date 00.00.0000 not expected.
Message no. FGV004
As an update to this thread, while searching for the reasons for the problem, i found that the characteristics used in the
warranty class were carrying default date value as 00.00.0000. can this be a reason for getting this error as the service
product number which is a DIEN material type is linked to the master warranty which is in turn assigned to the equipment.
Hope this information helps.
regards,
rajaraman -
Stop the iMac screen while using an external monitor.
I succeeded to play an .avi file in full screen on my 32" samsung lcd...but i would like to stop the iMac monitor while watching the avi. If i choose to stop the iMac monitor also the tv screen became black, and also if i start a screensaver on the iMac this will also appear on the lcd tv evenif i set up the external monitor as an extension of the desktop and not as a duplicate. There's a solution?
Tnx for the answers and sorry for my poor englishThat one as well will dim both displays.
I have played around with this off and on for over a year now. The best that I have come up with is in this [Apple Discussion Thread|http://discussions.apple.com/message.jspa?messageID=5587803#5587803]
Sense then I have also found a way to dim the menu bar, but it was a little buggy to use all the time called [MenuShade|http://macapper.com/2007/10/17/menushade-dim-your-menu-bar>
Simply hide everything on the desktop as best you can and use a black desktop or photo image.
Dennis -
How to handle the bad record while using bulk collect with limit.
Hi
How to handle the Bad record as part of the insertion/updation to avoid the transaction.
Example:
I am inserting into table with LIMIT of 1000 records and i've got error at 588th record.
i want to commit the transaction with 588 inserted record in table and log the error into
error logging table then i've to continue with transaction with 560th record.
Can anyone suggest me in this case.
Regards,
yuva>
How to handle the Bad record as part of the insertion/updation to avoid the transaction.
>
Use the SAVE EXCEPTIONS clause of the FORALL if you are doing bulk inserts.
See SAVE EXCEPTIONS in the PL/SQL Language doc
http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm
And then see Example 12-9 Bulk Operation that continues despite exceptions
>
Example 12-9 Bulk Operation that Continues Despite Exceptions
-- Temporary table for this example:
CREATE TABLE emp_temp AS SELECT * FROM employees;
DECLARE
TYPE empid_tab IS TABLE OF employees.employee_id%TYPE;
emp_sr empid_tab;
-- Exception handler for ORA-24381:
errors NUMBER;
dml_errors EXCEPTION;
PRAGMA EXCEPTION_INIT(dml_errors, -24381);
BEGIN
SELECT employee_id
BULK COLLECT INTO emp_sr FROM emp_temp
WHERE hire_date < '30-DEC-94';
-- Add '_SR' to job_id of most senior employees:
FORALL i IN emp_sr.FIRST..emp_sr.LAST SAVE EXCEPTIONS
UPDATE emp_temp SET job_id = job_id || '_SR'
WHERE emp_sr(i) = emp_temp.employee_id;
-- If errors occurred during FORALL SAVE EXCEPTIONS,
-- a single exception is raised when the statement completes.
EXCEPTION
-- Figure out what failed and why
WHEN dml_errors THEN
errors := SQL%BULK_EXCEPTIONS.COUNT;
DBMS_OUTPUT.PUT_LINE
('Number of statements that failed: ' || errors);
FOR i IN 1..errors LOOP
DBMS_OUTPUT.PUT_LINE('Error #' || i || ' occurred during '||
'iteration #' || SQL%BULK_EXCEPTIONS(i).ERROR_INDEX);
DBMS_OUTPUT.PUT_LINE('Error message is ' ||
SQLERRM(-SQL%BULK_EXCEPTIONS(i).ERROR_CODE));
END LOOP;
END;
DROP TABLE emp_temp; -
I bought iPhone 6 plus last week, which came with ios 8.1 pre-installed, now when I call, my voice is not reaching/transmitting to other person on the call while talking on speaker mode but as soon as I turn off speaker mode my voice reaches to that person.
Another problem iHi kshitij 2589,
Thanks for visiting Apple Support Communities.
It sounds like you can't be heard on calls when using speakerphone. I know it can be frustrating to encounter unexpected issues with a new device.
I'd recommend going through these tips first, to see if they have an impact on the behavior you're seeing:
Test the microphone
To find out if there is an issue with the microphone itself—and not the app you're using or your cellular connection—test the microphone with the built-in Voice Memos app. Speak into the microphone and then play back the recording. You should be able to hear your voice clearly.
Follow these steps, testing after each with Voice Memos.
Unplug anything plugged into the headset jack.
If you're on a call and holding your phone next to your ear, speak into the microphone and make sure you don't block it with your fingers or shoulder.
If you're using a screen protector or case that covers the microphone, remove it. Clear any debris from the microphones.
Restart your device.
Update to the latest version of iOS.
If you've tried these steps and people still can't hear you well on calls, contact Apple Support.
You can find the steps above in this Apple Support article:
If your voice is too faint or sounds unclear using iPhone, or iPod touch - Apple Support
All the best,
Jeremy -
HOW DOES COMPRESSION OF AN INFOCUBE INCREASE THE LOAD PERFORMANCE?
Hi all
I see that Compression of infocube is one of the parameters to improve/increase load performance. If I am not wrong, Can some one please explain how compressing a cube improves the load performance?
Thanks in advance
RishiHi,
I see that Compression of infocube is one of the parameters to improve/increase load performance. If I am not wrong, Can some one please explain how compressing a cube improves the load performance?
As per my information Compression improves the Quaer performance not loading perforamnce
when u do compression the same characterstics which are having the same values those records will be moved to E Fact table
ex Custno Mat NO Qty Value
C101 M101 10 100
c101 m101 20 200
when u do comperession the recors will be compressed as below
c101 m101 30 300
when the query execution instead of reading two reocrds and compressing at the time of producing output at report level
but when already compressed it fetchs one record directly form E table like that the query perforamnce will be improved.
Not loading perforamnce.
Thansk & regards,
sathish
Maybe you are looking for
-
My CD/DVD drive keeps making noises with no disc inserted
My computer's CD/DVD drive makes the noise of it trying to pull in a disc whenver my computer is sat down or squeezed slightly from being picked up. I'm not sure why it keeps doing this. Is there anything wrong with it? Or is it just a little too sen
-
Digital Signature and Rights Management
Hello all, I'm following the document below and have a couple of questions on how to achieve that objective, that is how to provide a persistent document security. http://www.adobe.com/security/pdfs/acrobat_livecycle_security_wp.pdf I understand that
-
Best Midi Keyboard for garage band?
Hi is it possible to import wav samples into garage band, and then assign them to an external beat pad to create loops using an external beat pad? Also, what do you guys think is the best midi keyboard to get for garage band? (if the beat pad thing w
-
Has the intelligent Migrate Comments feature disappeared in Acrobat X?
One feature our organization uses on a daily basis is the Migrate Comments tool in Acrobat 9 and versions prior. Rather than just importing the comments to the matching position in the new file, Migrate intelligently reads the text structure of the d
-
Hi all, I would like to change the way ISE 1.1 generates the guest usernames. I don't want to generate based on email or at random, but using another method as default, like: <complete firstname>.<complete lastname>.<creation year>.< cr month>.<cr da