IMPORT TAKES LONG TIME THAN EXPORT
Hi,
My database is of
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
EXPORT the schema which is of around 358 GB size
expdp username/password@TEST directory=DATAPUMP dumpfile=TEST_SEP22_%U.dmp logfile=TEST_SEP22.log schemas=TEST parallel=6 exclude=statistics
The export completed in 30 minutes
When started to import into another schema in the same server even using parallel=6 it takes around 15 hours.Can anyone say why it takes a long time to import.
impdp username/password@TEST directory=DATAPUMP dumpfile=TEST_SEP22_%U.dmp logfile=TESTIMP_SEP22.log remap_schema=TEST:TEST_R1 remap_tablespace=TS_TEST:TS_TEST_R1 parallel=6
Please advice.
Thnks in advance
ora wrote:
Is there any parameter to make the import faster still in 10g
Please adviceAdvice: OPen the fine Utilities reference manual found at tahiti.oracle.com, and check the section on DataPump. THere you will find listed and explained all of the available parameters. I'm sure you will find some of them promising for performance improvement.
The reason the import takes longer than the export is because of all the internal houskeeping going on in relation to every INSERT that is processed. The export is simply reading the db, then writing to a flat file.
Similar Messages
-
Oracle SQL Select query takes long time than expected.
Hi,
I am facing a problem in SQL select query statement. There is a long time taken in select query from the Database.
The query is as follows.
select /*+rule */ f1.id,f1.fdn,p1.attr_name,p1.attr_value from fdnmappingtable f1,parametertable p1 where p1.id = f1.id and ((f1.object_type ='ne_sub_type.780' )) and ( (f1.id in(select id from fdnmappingtable where fdn like '0=#1#/14=#S0058-3#/17=#S0058-3#/18=#1#/780=#5#%')))order by f1.id asc
This query is taking more than 4 seconds to get the results in a system where the DB is running for more than 1 month.
The same query is taking very few milliseconds (50-100ms) in a system where the DB is freshly installed and the data in the tables are same in both the systems.
Kindly advice what is going wrong??
Regards,
PurushothamSQL> @/alcatel/omc1/data/query.sql
2 ;
9 rows selected.
Execution Plan
Plan hash value: 3745571015
| Id | Operation | Name |
| 0 | SELECT STATEMENT | |
| 1 | SORT ORDER BY | |
| 2 | NESTED LOOPS | |
| 3 | NESTED LOOPS | |
| 4 | TABLE ACCESS FULL | PARAMETERTABLE |
|* 5 | TABLE ACCESS BY INDEX ROWID| FDNMAPPINGTABLE |
|* 6 | INDEX UNIQUE SCAN | PRIMARY_KY_FDNMAPPINGTABLE |
|* 7 | TABLE ACCESS BY INDEX ROWID | FDNMAPPINGTABLE |
|* 8 | INDEX UNIQUE SCAN | PRIMARY_KY_FDNMAPPINGTABLE |
Predicate Information (identified by operation id):
5 - filter("F1"."OBJECT_TYPE"='ne_sub_type.780')
6 - access("P1"."ID"="F1"."ID")
7 - filter("FDN" LIKE '0=#1#/14=#S0058-3#/17=#S0058-3#/18=#1#/780=#5#
8 - access("F1"."ID"="ID")
Note
- rule based optimizer used (consider using cbo)
Statistics
0 recursive calls
0 db block gets
0 consistent gets
0 physical reads
0 redo size
0 bytes sent via SQL*Net to client
0 bytes received via SQL*Net from client
0 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
9 rows processed
SQL> -
Table Import Takes long time and still running
Hi All,
MY DB Version: 10.2.o
OS: Windows Server 2003
I am trying to import on table which i have the export dump file which i take using expdp previously when i load that table on the same host
by using below command:
expdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=expdpEMP_DEPT.log
after that i zip that dump and move it to external usb and now i need that table i copy that table and unzip that that dump
Command i am using to do the import is :
impdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=impdpEMP_DEPT.log
But the query of import is still runing even not showing any amount of rows to be imported.
i already make the tablespace in which the table was previosuly before dropping
but when i check the sapce of tablespace that is also not consuming
one error i got preiviously while performing this task is:
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Master table "CDR"."SYS_IMPORT_TABLE_03" successfully loaded/unloaded
Starting "CDR"."SYS_IMPORT_TABLE_03": cdr/********@tsiindia directory=TEST_DIR dumpfile=CAT_IN_DATA_042012.DMP tables=CAT_IN_DATA_042012 logfile=impdpCAT_IN_DATA_042012.log
ORA-39065: unexpected master process exception in RECEIVE
ORA-39078: unable to dequeue message for agent MCP from queue "KUPC$C_1_20120622102502"
Job "CDR"."SYS_IMPORT_TABLE_03" stopped due to fatal error at 12:10
i done some google on the same proble
and i check streams_pool_size it will show zero and then i make it to 48M and after that
SQL> show parameter streams_pool_size;
NAME TYPE VALUE
streams_pool_size big integer 48M
But still it takes time
Any help1) check the session :
SQL> select username,sid,serial#,status,event,seconds_in_wait,wait_time,state,module from v$session where username='CDR'
2 ;
USERNAME SID SERIAL# STATUS EVENT SECONDS_IN_WAIT WAIT_TIME STATE MODULE
CDR 73 1 ACTIVE wait for unread message on broadcast channel 3 0 WAITING
CDR 75 1 ACTIVE wait for unread message on broadcast channel 10 0 WAITING
CDR 77 1 ACTIVE wait for unread message on broadcast channel 10 0 WAITING
CDR 81 313 ACTIVE wait for unread message on broadcast channel 530 0 WAITING impdp.exe
CDR 87 70 ACTIVE enq: SS - contention 1581 0 WAITING toad.exe
CDR 90 1575 ACTIVE wait for unread message on broadcast channel 3 0 WAITING
CDR 92 1686 ACTIVE enq: SS - contention 619 0 WAITING
CDR 99 5 ACTIVE PX Deq Credit: send blkd 0 0 WAITING TOAD 9.1.0.62
CDR 103 3 ACTIVE direct path read 0 0 WAITING TOAD 9.1.0.62
CDR 105 6 ACTIVE direct path read 0 0 WAITING TOAD 9.1.0.62
CDR 107 6 ACTIVE PX Deq Credit: send blkd 0 0 WAITING TOAD 9.1.0.62
USERNAME SID SERIAL# STATUS EVENT SECONDS_IN_WAIT WAIT_TIME STATE MODULE
CDR 108 16 ACTIVE PX Deq Credit: send blkd 1 0 WAITING TOAD 9.1.0.62
CDR 109 40 ACTIVE PX Deq Credit: send blkd 1 0 WAITING TOAD 9.1.0.62
CDR 110 6 ACTIVE enq: TX - row lock contention 1 0 WAITING TOAD 9.1.0.62
CDR 111 21 ACTIVE direct path read 0 0 WAITING TOAD 9.1.0.62
CDR 112 27 ACTIVE PX Deq Credit: send blkd 1 0 WAITING TOAD 9.1.0.62
CDR 113 8 ACTIVE log buffer space 0 0 WAITING TOAD 9.1.0.62
CDR 117 4496 ACTIVE db file scattered read 0 0 WAITING TOAD 9.1.0.62
CDR 119 9 ACTIVE PX Deq Credit: send blkd 0 0 WAITING TOAD 9.1.0.62
CDR 120 27 ACTIVE PX Deq Credit: send blkd 0 0 WAITING TOAD 9.1.0.62
CDR 123 1 ACTIVE sort segment request 22349 0 WAITING
CDR 129 22 ACTIVE PX Deq Credit: send blkd 0 0 WAITING TOAD 9.1.0.62
USERNAME SID SERIAL# STATUS EVENT SECONDS_IN_WAIT WAIT_TIME STATE MODULE
CDR 131 14402 INACTIVE SQL*Net message from client 2580 0 WAITING TOAD 9.1.0.62
CDR 135 11 ACTIVE log buffer space 0 0 WAITING TOAD 9.1.0.62
CDR 136 6 ACTIVE direct path read 0 0 WAITING TOAD 9.1.0.62
CDR 138 234 ACTIVE sort segment request 19859 0 WAITING
CDR 162 782 INACTIVE SQL*Net message from client 550 0 WAITING TOAD 9.1.0.62
2) check the impprt status:
SQL> select owner_name, job_name, operation, job_mode, state FROM dba_datapump_jobs;
OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE
CDR SYS_IMPORT_TABLE_01 IMPORT TABLE EXECUTING
3) in a new window
C:\Documents and Settings\vikas>impdp cdr/cdr123_awcc@tsiindia dumpfile=CAT_IN_DATA_042012.dmp tables=CAT_IN_DATA_042012 logfile=impdpCAT_IN_DATA_042012.log directory=test_dir parallel=4
Import: Release 10.1.0.2.0 - Production on Friday, 22 June, 2012 15:04
Copyright (c) 2003, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Master table "CDR"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
Starting "CDR"."SYS_IMPORT_TABLE_01": cdr/********@tsiindia dumpfile=CAT_IN_DATA_042012.dmp tables=CAT_IN_DATA_042012 logfile=impdpCAT_IN_DATA_042012.log directory=test_dir parallel=4 -
Non-self-contained movie huge & takes a very very long time to export
This is for FCE 4.
I have a 1.5 hour movie, and when I export it to quicktime (Not quicktime conversion) it takes WAY too long.
I have "make self-contained movie" unchecked, so I thought creating a reference movie would be very quick. Why is it taking so long and why is the resulting file huge?
My source files is DV, and only minor editing and effects were used. However the entire movie was cropped & resized. Is that why?Ah I think I figured it out.
I did another test project with the same source DV file, but didn't do ANY editing to it.
It took 2 minutes to export a 70mb reference mov file from a 7 minute DV sequence.
Then I cropped & resized the sequence by changing parameters in the "motion" tab.
Then it took 20 minutes to export a much larger reference mov file from the same 7 minute DV sequence.
Then I clicked "render all" after selecting every render option in the drop-down menu.
Then it took less than 1 minute to export a 70mb reference mov file from the same 7 minute DV sequence.
So I guess I was having problems because I didn't render "everything", because I didn't select "FULL" on the drop-down menu for rendering. I thought only RED segments in the timeline needs to be rendered prior to export, but apparently the "FULL" render must be selected as well so that the entire timeline is nice and purple. (or some shade of blue)
Also, a cropped and resized video is very large in size (GB) if it is exported as a reference file only without prior rendering. * Can someone else confirm that this is the normal behavior in FCE? *
Oh well, lesson learned.. This movie is going to take a very long time to export, and result in a very large file. But I can't use it without cropping & resizing it!
Message was edited by: Yongwon Lee -
Why import of change request in production takes more time than quality?
Hello All,
why import of change request in production takes more time than import into quality?Hi jahangeer,
I believe it takes same time to import a request in both quality and production as they will be in sync.
Even then if it takes more time in production that may depend on the change request.
Thanks
Pavan -
When I send an email no matter how small it now seems to take a much longer time than usual (by watching the gear wheel spinning). Anyone have any ideas how I can get my sending back to a much shorter time?
Have you burned Discs with other programs using this computer? Are you certain that you have a drive that will burn discs?
-
Problem Export to Excel it takes long time and Takes more space.
Hello All,
when we export to Excel in portal(reports), it takes long time and it takes more space.
how to overcome this problem please any one knows provide the proper solution for this issues
Regards,
Ch.Hi Chetans,
I have had the same problem, and I had to create a OSS message to SAP in order to solve this issue, until now I don't have an answer. They made me to change a lot of configuration in Java and BW without luck. To tell you more, when we try to export to excel the java instance restarts aumotatically.
But we have this problem, when we try to export a huge quantity of data, so I found a note which says the limitation of exporting to excel. Take a special attention to the Performance section.
Note 1178857
[https://service.sap.com/sap/support/notes/1178857|https://service.sap.com/sap/support/notes/1178857]
I recomend you that you create a message to SAP. If you find a solution, please let me know.
Regards, Federico -
Imovie takes a long time to export
I Edited in iMovie a two-hour movie, I added music and transitions. And now takes three hours to export and said that will export the full movie after 94 hours.Is a long time.
How can I try trahat it takes fewer time to export. For example 4 hoursHi again Tirney,
That does sound like a long time for a 2 hour movie. Did you export using File>Finalize Project? If so, that may take quite a while to complete. That's because Finalize Project actually exports at all the different sizes, such as Mobile, Medium, Large, HD 720p and HD 1080p depending on the original source. It's best to decide what size you want, then choose (from iMovie's Menu) the option Share>Media Browser.
If producing a DVD, you can access the movie from iDVD's Media/Movies pane. Just drag the movie into a Theme background.
Otherwise, you can access the movie from the project's package contents folder. In Finder multi-column view, click on your User (Home) folder Movies, then iMovie Projects. Right-click (or Control-click) on the name of your project and select Show Package Contents. In the Movies folder you will see your exported movie (or movies). They will be either .m4v or .mov files, but both will be in H.264 format. If you wish to use them elsewhere, copy then paste them to your Desktop (or preferred location) - don't move anything from the package contents folder!
John -
hi,
can any one help me for some issue..
in my UAT daily restration is happen for 5 schemas but while droping one of schema it take lot of time from last three days can any one suggest me what i have to do to resolved the same issue.
and also statustics gathering take long time
please suggest.
Thanks !!!
Vishal Hande.>
in my UAT daily restration is happen for 5 schemas but while droping one of schema it take lot of time from last three days can any one suggest me what i have to do to resolved the same issue.
>
Do you mean you are doing the export and import? If so, check the session and see what it's waiting on (V$SESSION_WAIT). Or put a trace and see where it's hanging. It may be doing the statistics gathering or waiting on something
You need to give us all information. When you mean restore, we will think of database restore (RMAN or user-managed restore). So please supply all details in relation to what you are doing along with the database version and OS. -
The Application Takes long time to Start
Hello All,
We ar eon Unix->64 Bit-> Essbase 11.1.1.3.
Problem Description : The application is taking long to start up. around 5 to 6 minutes. This is very first time it is happening.
There were no specific changes done to the application in the recent releases.
I have tried all options 1. Compacating outline, 2. Purging the application log etc. all other applications respond good on this host except this. Usually any application should not take more than 1 to 2 minutes to start up.
There are no specific errors or XCP files recorded in the logs and folders.
Appreciate your suggestions
MSThanks Jitendra and Prabhas,
I know i have posted this thread sometime back and later I had to jump on a New release, so did not get time to check your inputs.
Well I am back on this issue again. I have been working on various option to get this issues solved " start of App takes long time"
Here are some Details. We are on SunOs 64 Bit, has 12CU with dual core, with Essbase 11.1.1.3 running on it. This is an ASO application and has just 7 dimensions, Out of which the ORGANIZATION Dimension is pretty huge with Multiple Hierarchies enabled ( Both Stored and Dynamic ) and has more than 20,00,000 members including the alternate hierarchies ( Shared members)
I did a smoke test by building dimension by dimension the app was startiung up in just *40* seconds. and when i reached the ORG dimension and added more than 70,000 memebrs . there i fall sick. the app now gets back to its old issue ( Takes more than 10 mainutes to start).
CPU Usage ranges between 3.1 % to 4 %
PID USER NLWP PRI NI VSZ RSS S STIME ELAPSED %CPU COMMAND
4424 user1 1 59 20 1608 1032 S 18:13:33 00:00 0.0 grep COMMAND
4428 user1 1 59 20 1608 1032 S 18:13:33 00:00 0.0 grep ESS
4766 user1 88 55 20 6814168 5684200 O 17:37:48 35:45 3.1 /path/xyz/masked/ASO_APP hgfedc NOCREAT.
But My question here is, in the last moth cube i still similar number of members in the cube and nothing really had changed.
Essbase GURU's Please give me some Hint to think out of box now.
Thanks
MS -
Materialized view takes long time to refresh but when i tried select & insert into table it's very fast.
i executed SQL and it takes ust 1min ( total rows is 447 )
but while i refresh the MVIEW it takes 1.5 hrs ( total rows is 447 )
MVIEW configration :-
CREATE MATERIALIZED VIEW EVAL.EVALSEARCH_PRV_LWC
TABLESPACE EVAL_T_S_01
NOCACHE
NOLOGGING
NOCOMPRESS
NOPARALLEL
BUILD DEFERRED
REFRESH FORCE ON DEMAND
WITH PRIMARY KEY
Not sure why so much diffrenceinfant_raj wrote:
Materialized view takes long time to refresh but when i tried select & insert into table it's very fast.
i executed SQL and it takes ust 1min ( total rows is 447 )
but while i refresh the MVIEW it takes 1.5 hrs ( total rows is 447 )A SELECT does a consistent read.
A MV refresh does that and also writes database data.
These are not the same thing and cannot be directly compared.
So instead of pointing at the SELECT execution time and asking why the MV refresh is not as fast, look instead WHAT the refresh is doing and HOW it is doing that.
Is the execution plan sane? What events are the top ones for the MV refresh? What are the wait states that contributes most to the processing time of the refresh?
You cannot use the SELECT statement's execution time as a direct comparison metric. The work done by the refresh is more than the work done by the SELECT. You need to determine exactly what work is done by the refresh and whether that work is done in a reasonable time, and how other sessions are impacting the refresh (it could very well be blocked by another session). -
SELECT statement takes long time
Hi All,
In the following code, if the T_QMIH-EQUNR contains blank or space values ,SELECT statement takes longer time to acess the data from OBJK table. If it T_QMIH-EQUNR contains values other than blank, performance is good and it fetches data very fast.
Already we have indexes for EQUNR in OBJK table.
Only for blank entries , it takes much time.Can anybody tell why it behaves for balnk entries?
if not T_QMIH[] IS INITIAL.
SORT T_QMIH BY EQUNR.
REFRESH T_OBJK.
SELECT EQUNR OBKNR
FROM OBJK INTO TABLE T_OBJK
FOR ALL ENTRIES IN T_QMIH
WHERE OBJK~TASER = 'SER01' AND
OBJK~EQUNR = T_QMIH-EQUNR.
Thanks
AjayHi
You can use the field QMIH-QMNUM with OBJK-IHNUM
in QMIH table, EQUNR is not primary key, it will have multiple entries
so to improve the performance use one dummy internal table for QMIH and sort it on EQUNR
delete adjacent duplicates from d_qmih and use the same in for all entries
this will improve the performance.
Also use the fields in sequence of the index and primary keys also in select
if not T_QMIH[] IS INITIAL.
SORT T_QMIH BY EQUNR.
REFRESH T_OBJK.
SELECT EQUNR OBKNR
FROM OBJK INTO TABLE T_OBJK
FOR ALL ENTRIES IN T_QMIH
WHERE IHNUM = T_QMIH-QMNUM
OBJK~TASER = 'SER01' AND
OBJK~EQUNR = T_QMIH-EQUNR.
try this and let me know
regards
Shiva -
Why it takes long time to shut down after i upgrade to OS X ver 10.8.2?
why it takes long time to shut down after i upgrade to OS X ver 10.8.2?
Can't really say, but I see this occurring on all of my Macs since the 10.8.2 update and keep reading about it at several other Mac user boards.
Bottom line: it's a general problem, but more of an inconvenience, than a serious problem. Probably will be solved with the next update. -
Why it takes long time to download and udates for iphone4
why it takes long time to download and updates for iphone4 ?
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Why do you need this if you are going to Oracle. Try
removing this. It might be trying things out with the
old driver and then moving to the new driver. This has nothing to do with it. (And it doesn't "try things out")
>
Also check your machines. They might be slow. There is
no reason, it should take more than few hundred
milliseconds to connect to a database on localhost as
your case is.Possible reasons...
- Network traffic
- Faulty router/gateway
- Busy server
- Faulty network card (either end)
- Conflict with another box -
Why it takes long time to establish Database Connection ???
Can any one please have a look on the following code snippet and show me which mistake I'm doing so it take long time to connect to DB(more than 5 minutes !!!!)
Thanx in advance ...
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Class.forName("oracle.jdbc.driver.OracleDriver");
String dbString2 = "jdbc:oracle:thin:@" + "127.0.0.1" + ":" + "1521" + ":" + "nat";
aCon = DriverManager.getConnection(dbString2, "scott", "tiger");
stmt = aCon.createStatement();
System.out.println("Connection to DB Established");
catch (ClassNotFoundException cnfe)
System.out.println("Class not found:");
cnfe.printStackTrace();
catch (SQLException sqle)
System.out.println("SQL Exception: " + sqle.toString());
sqle.printStackTrace();Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Why do you need this if you are going to Oracle. Try
removing this. It might be trying things out with the
old driver and then moving to the new driver. This has nothing to do with it. (And it doesn't "try things out")
>
Also check your machines. They might be slow. There is
no reason, it should take more than few hundred
milliseconds to connect to a database on localhost as
your case is.Possible reasons...
- Network traffic
- Faulty router/gateway
- Busy server
- Faulty network card (either end)
- Conflict with another box
Maybe you are looking for
-
Mail not recieving forwarded mail from Comast
At one time I could get my comcast mail forwarded but could not send. Kept working at it and now I can send mail, recieve mail to my gmail account but now mail to my comcast.net account will not forward to my mac but does forward it to my android gma
-
Hi, I have a tag on my OPC server with datatype String. When I write an empty value to the tag through PCo I always get the error: "Invalid tag value for x". Writing a space works but this is not good because the PLC will interpret this differently.
-
Hello. I've been searching, but not finding, answers. I have a new iMac with 32GB RAM and a 256GB SSD. I just updated AE to 13.0 from v 12(.2?). Same problem with both versions. I'm trying to stabilize a 28 minute video. The analysis churns adequatel
-
Why do I need to sign in each time?
I have downloaded and installed CC, upgraded the account, but on startup the illustrator splash says "AI Tryout" and on opening this and all CC applications I need to press "sign in" to access the application. Now I am afraid I will not be able to op
-
Live Broadcasting with DV Cameras
Hi, I'm using this tutorial and everything seems to work ok: I can connect to my FMS2 and I can start the streaming, but nothing is displayed, although the security popup is display and I select the camera. I've tried using a Canon XL1 and a Sony DCR