Statistics gathered during import

Does after IMP import the tables are analyzed automatically?
When i done import process of TEST user
imp system/manager file=/home/oracle/test.dmp FROMUSER=TEST TOUSER=TEST
and when i execute following query
SELECT table_name,last_analyzed FROM DBA_TABLES WHERE owner=TEST'
I find that table/indexes are analyzed automatically.
Does it means statistics are gathered automatically during import?
Oracle 10.2.0.1

Refer to this link please
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1020893
It seems it takes statistics for tables during export
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com

Similar Messages

  • Table Statistics failed during Import

    Hi All,
    I am trying to import an existing schema in Oracle 10g.
    I am using the impdp utility.
    The export dump consists of the complete schema (metadata and data).
    But it failed with the following logs.
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling DBMS_METADATA.CONVERT []
    ORA-06502: PL/SQL: numeric or value error
    LPX-00007: unexpected end-of-file encountered
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6235
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    1945A21C 14916 package body SYS.KUPW$WORKER
    1945A21C 6300 package body SYS.KUPW$WORKER
    1945A21C 12279 package body SYS.KUPW$WORKER
    1945A21C 3279 package body SYS.KUPW$WORKER
    1945A21C 6889 package body SYS.KUPW$WORKER
    1945A21C 1262 package body SYS.KUPW$WORKER
    1CD814AC 2 anonymous block
    Job "THHIS"."SYS_IMPORT_FULL_02" stopped due to fatal error at 11:47:38
    I had then used the parameter EXCLUDE=STATISTICS and then the import was successful.
    I would like to the significance of this STATISTICS.
    I mean would EXCLUDE=STATISTICS always be ok?
    I have exported and imported the scheme as a user and not as sysdba. Does this make any difference?
    any suggestion would be highly appreciated.
    Thanks,
    Tanuja

    Hi,
    See related threads here:
    ORA-39125 & DBMS_METADATA
    Error ORA-39125 and ORA-04063 during export for transportable tablespace
    ORA-39125: Worker unexpected fatal error in string while calling string [string]
    Cause: An unhandled exception was detected internally within the worker process for the Data Pump job while calling the specified external routine. This is an internal error. Additional information may be supplied.
    Action: If problem persists, contact Oracle Customer Support.
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • BW 7.0: several ORA-01408 during import

    Hi,
    I'm copying my BW system with export/import procedure from prd to dev. During import, and I think only on fact-tables, there are several ORA-01408 such as:
    DbSl Trace: Error 1408 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-1408 occurred when executing SQL stmt (parse error offset=57)
    (DB) ERROR: DDL statement failed
    (CREATE  INDEX "/BIC/EAV_FAORDT~P" ON "/BIC/EAV_FAORDT" ( "KEY_AV_FAORDTP" , "KEY_AV_FAORDTT" , "KEY_AV_FAORDTU" , "KEY_AV_FAORDT1" , "KEY_AV_FAORDT2" , "KEY_AV_FAORDT3" , "KEY_AV_FAORDT4" , "KEY_AV_FAORDT5" , "KEY_AV_FAORDT6" , "KEY_AV_FAORDT7" , "KEY_AV_FAORDT8"  ) TABLESPACE PSAPNBDFACT STORAGE (INITIAL 188743680 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1408)
      error message returned by DbSl:
    ORA-01408: such column list already indexed
    (DB) INFO: disconnected from DB
    Note 885441 describe to igonere this indexes error... is it ok for me?
    Source system has got:
    SAP_ABA     700     0018     SAPKA70018
    SAP_BASIS     700     0018     SAPKB70018
    PI_BASIS     2006_1_700     0008     SAPKIPYM08
    ST-PI     2008_1_700     0000     -
    SAP_BW     700     0020     SAPKW70020
    FINBASIS     600     0015     SAPK-60015INFINBASIS
    SEM-BW     600     0015     SAPKGS6015
    BI_CONT     703     0012     SAPKIBIIQ2
    ST-A/PI     01L_BCO700     0000     -
    So... it should enough updated to exclude note 925309.
    Regards.
    Thankyou....

    Also several ORA-01452... have you got any idea?
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "/BIC/FACC_PCO1~0" ON "/BIC/FACC_PCO1" ( "KEY_ACC_PCO1P", "KEY_ACC_PCO1T", "KEY_ACC_PCO1U", "KEY_ACC_PCO11", "KEY_ACC_PCO12", "KEY_ACC_PCO13", "KEY_ACC_PCO17" ) TABLESPACE PSAPNBDFACT STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1452)
      error message returned by DbSl:
    ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
    (DB) INFO: disconnected from DB

  • Setting of Optimizer Statistics Gathering

    I'm checking in my db setting and database is analysing each day. But as I notice there are a lot of tables that information shows last analysis in about month ago... Do I have to change some parameters?

    lesak wrote:
    I don't have any data that show you that my idea is good. I'd like to confirm on this forum that my idea is good or not. I've planned to make some changes to have better performance of query that read from top use tables. If this is bad solutions it's also important information for me.One point of view is that your idea is bad. That point of view would be to figure out what the best access for your query is and set that as a baseline, or figure out what statistics get you the correct plans on a single query that has multiple plans that are best with different values sent in through bind variables, and lock the statistics.
    Another point of view would be to gather current plans for currently used queries, then do nothing at all unless the optimizer suddenly decides to switch away from one, then figure out why.
    Also note the default statistics gathering is done in a window, if you have a lot of tables changing it could happen that you can't get stats in a timely fashion within the window.
    Whether the statistics gathering is appropriate may depend on how far off histograms are from describing the actual data distribution you see. What my be appropriate worry for one app may be obsessive tuning disorder for another. 200K rows out of millions may make no difference at all, or may make a huge difference if the newly added data is way off from what the statistics make the opitmizer think it is.
    One thing you are probably doing right is to recognize that tuning particular queries may be much more useful than obsessing over statistics.
    Note how much I've used the word "may" here.

  • Statistics on DP import...

    Hello,
    I didn't want to ride on 'user2376553' posting (importing statistics using datapump so I want to ask this question here.
    I tried finding the answer by searching google, but didn't find anything on this.
    When using exp/imp, it creates statistics on tables when it does the import by default. (COMPUTE=Y is the default)
    But what about Data Pump? Does it compute statistics by default during import (and update the underlying tables that DBA_TABLES comes from)?

    MOS Doc 793585.1 - EXCLUDE=STATISTICS Or EXCLUDE=INDEX_STATISTICS During Datapump Import Still Analyzes The Indexes
    THIS IS WRONG!!!
    Datapump always restores statistics. The statistics that are on the source database are restored on the target database not regenerated. (the tables are NOT reanalyzed.) The only time this is not true is prior to 11.1.0.7 and only in 2 cases. Prior to 11.1.0.7, the only time the statistics were regenerated is when there were system generated columns or system generated indexes. In those 2 cases, the statistics are regenerated. (Tables or indexes are re-analyzed.) All other cases they are restored.
    The Data Pump behavior prior to 11.1.0.7 is the same as exp/imp. Statistics are normally restored unless
    1. there were system generated names (column or index)
    2. user specified statistics=recalculate
    Dean

  • Error in phase: ADD_TO_BUFFER in SPAM during import of SAPKB70017 and 18

    Hello
    What is problem in this case? During import of SAPKB70017 and SAPKB70018 I get following error(there is no SLOG file in /usr/sap/trans/log):
    The import was stopped, since an error occurred during the phase
    ADD_TO_BUFFER, which the Support Package Manager is unable to resolve
    without your input.
    After you have corrected the cause of the error, continue with the
    import by choosing Support Package -> Import queue from the initial
    screen of the Support Package Manager.
    The following details help you to analyze the problem:
        -   Error in phase: ADD_TO_BUFFER
        -   Reason for error:
        -   Return code: 0211
        -   Error message:
    Notes on phase ADD_TO_BUFFER
    In this phase the queue is placed in the transport buffer of your
    system. This phases can terminate due to the following reasons:
    o   TP_INTERFACE_FAILURE: The tp interface could not be called. There is
         an RFC error.
    o   CANNOT_ADD_PATCH_TO_BUFFER: A Support Package could not be included
         in the transport buffer. The program tp is trying to open a file in
         the file system. For more information, refer to the SLOG log file in
         the directory /usr/sap/trans/log.
    A prerequisite of the Support Package Manager is that the Change and
    Transport System (CTS) is configured correctly. For more detailed
    information, read the online documentation available from Help -> SAP
    Library -> mySAP Technology Components -> SAP Web Application Server ->
    Change and Transport System .
    A list of the most important SAP Notes for Online Correction Support
    (OCS) is available in SAP Note 97620, which is updated regularly.

    Hi Jan,
    First, check whether your STMS is configured properly. Next check the transport directory and the transport tool from within STMS (system -> check in menu options).
    If these 2 are ok, then you might check from within the OS layer by manually adding to buffer (tp add to buffer <Request No> <SID>).
    Also, I am assuming you are doing this from client 000 with a non-standard user having proper authorizations.
    I believe this to be an issue of permissions at the OS layer.
    Regards
    Siva

  • Error occuring during import of certificate for SSO configuring in BI

    Hi,
    I am configuring the SSO with logon ticket for BI system.
    I downloaded the certificate from portal server.
    But while importing this certificate on R/3 server it shows error
    "Error occurred during import"
    Message no. TRUST008
    Please suggest me any solution on it.
    Thanks & Regards,
    Vishal.

    Hi Vishal,
    Probably the certificate already exists - see https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0077873d-0b01-0010-1abb-cfbf21d1aa43 page 4.
    Hope it helps
    Detlev

  • Unable to open the export file during Import ABAP phase on tar(System copy)

    Hi Experts,
    We are encountering the following error during Import ABAP phase on target system as we are performing system copy on target system as part of hardware migration(Data center migration).
    Scenario:
    Sourrce system -  BI- ABAP(7.01), Win 2003 x64 unicode,Oracle 10.2.0.4
    Target system - BI-ABAP(7.01), Win 2008 R2 unicode, Oracle 11.2.0.1
    Actually on source system the data has been generated using migration monitor by using table splitting option and transferred on target system thru ftp option.
    During Import process while selecting the Database installation type we have selected the installation method as "Standard systemcopy/Migration(load based)" and not checked the option "Start Migration montior Manually".
    As far as my concern this error has nothing to do with this selection.please correct me If i am wrong.
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20110428082000
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: version R7.01/V1.4 [UNICODE]
    Compiled Feb 24 2009 23:41:07
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe -dbcodepage 4103 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (TFH) ERROR: Unable to open
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA\ARFCSDATA.TOC
    (TFH) ERROR: OS error message: Invalid argument
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    T:\usr\sap\BWS\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20110428082003
    Kindly revert with resolutions and suggestions and any hint to the oss notes as we haven't found anything specific to this error.
    Regrds,
    Dheeraj

    \\10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA\ARFCSDATA.TOC
    Please check if above said file located under specified path where SAPINST searvhing for it ie at
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA. if this file dont exist them it may be the case that your export is not proper.
    Also check if user from which you have started this SAPINST is able to access
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA.
    Thanks..
    Mohit

  • Error importing SharePoint site collection - "there is an error during importing the Roles tag"

    Hi, we are having trouble restoring a SharePoint 2010 site collection using our DPM 2012 installation. The recovery process goes fine (restore of the database, attach to the sql server, export into WFE's filesystem) and the last phase, the SharePoint import,
    seems to end with an exception. We see this in the WssCmdletsWrapperCurr.errlog file:
    Caught Exception while trying to import Url .....
    Exception message =
    There is an error during importing the Roles tag
    Exception Stack =
    at Microsoft.SharePoint.Deployment.ReadAttribute.String(....
    It looks like it is a SharePoint import issue, but I'm not sure. We have tried to restore the site into an empty one, and the exception appears again, although it *seems*  that the content has been recovered. We have imported using the security info
    on the recovery point.
    I've searched for that error message in the Net but I've been unable to find anything appropriate.
    Do you have any hints?
    Thanks.

    Hi, we are having trouble restoring a SharePoint 2010 site collection using our DPM 2012 installation. The recovery process goes fine (restore of the database, attach to the sql server, export into WFE's filesystem) and the last phase, the SharePoint import,
    seems to end with an exception. We see this in the WssCmdletsWrapperCurr.errlog file:
    Caught Exception while trying to import Url .....
    Exception message =
    There is an error during importing the Roles tag
    Exception Stack =
    at Microsoft.SharePoint.Deployment.ReadAttribute.String(....
    It looks like it is a SharePoint import issue, but I'm not sure. We have tried to restore the site into an empty one, and the exception appears again, although it *seems*  that the content has been recovered. We have imported using the security info
    on the recovery point.
    I've searched for that error message in the Net but I've been unable to find anything appropriate.
    Do you have any hints?
    Thanks.

  • Error During Import: File Could Not Be Imported

    I am trying to load some .AVI movies from my digital camera into iMovie; most of them will, but 1 or 2 for some reason will not. I have played some of these videos on my old G3, which I replaced with this new computer; most loaded in OK.
    The clips that won't load look smaller than the others when playing (don't know why). I played the movies and converted them to Quicktime again in MPEG Streamclip and they played fine (also in VLC PLayer, FWIW).
    I am getting this error message: Error during Import: File Could Not Be Imported.
    Also, I am trying to change the orientation of one clip that I inadvertently shot sideways; I did this in Bitlist but it won't load now into iMovie. Is there away to change the orientation in Quicktime (I'm not buying QT pro) or another free converter that will work?
    Thanks in advance...

    try to ...
    * open the avi/mpegs in Streamclip
    * choose 'DV stream' as export option
    * in the 'DV stream' dialog, you're offered the option 'turn'.. rotate in the wanted direction and choose '75%' size to get all into the video...

  • Availment of 50% cenvat credit on ADC (add.duty of customs) during imports

    Dear All,
                 I have a client requirement who wants to avail only 50% of ADC (additional duty of customs) during imports.
    I observed during debugging that if I manually change the sub-transation type from IP to blank, the system posts 50% of ADC amount to AED G/L Account and rest of the amount to Cenvat on-hold account.
    I wanted to ask the experts if there is any enhancement point in the program or any user exit using which I can achieve my task. If not through userexit, kindly suggest me any work-around.
    Note: The above requirement is against the legal changes that are brought in during 2006-2007 budget change that unlike the CVD components, ADC can be availed 100% during the same fiscal year and therefore I request you not to suggest me to get the same clarified from the client.
    Thanks
    Guru Prasad

    Check this answered links [import capital AED 50 %  |Re: import capital AED 50 %;
    [Capital Procurement in SAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/808c60ca-013b-2c10-34a2-94d1eb442e6f?quicklink=index&overridelayout=true]

  • Problem during import of 121 transport requests to productive system

    Hello
    We have problem during import of transport requests to productive system. Import of 121 transport requests stopped very soon in phase "N" (in TRBAT I have only one entry and in  TRJOB  as well).
    In sm50 there is an BGD running under user DDIC in client 000 now for 14453 seconds (program SAPLSDB2). This should be import.
    In SM37 I can see it as  job "RDDGEN0L" with  repport"RDDGENBB". Based on some literature it should perform "Converting all structure changes generated by the import and recorded in table TBATG, other than the structure changes to matchcode objects." Very interesting  that TBATG has only four entries related to 2 indexes in table "DFKKOPK" , one in table "DFKKREP06" and one" ENQU" for EFKKEXC". (only this last one has not status error)
    For fist two indexes I know they are not present  as objects "LIMU""INDX" in any transport request beeing imported.
    Also on productive system there is no"VOL" and "ZOL"indexes for table "DFKKOPK"(instead they are created on test system ie. not transported from development to test system)
    Last command for that process is "CREATE INDEX "DFKKOPK~HKO" ON "DFKKOPK" ("MANDT", "HKONT", "OPBEL") PCTFREE 10 INITRANS 002 TABLESPACE PSA
    PTR3 STORAGE (INITIAL 0000000016 K NEXT 0000000016 K MINEXTENTS 0000000001 MAXEXTENTS UNLIMITED PCTINCREAS"
    There is enaught space on disk and in tablespaces (it is an oracle/HPux server).
    Does anyone knows workaroun to solve production

    are you importing these transport requests simultaneously into production?
    I would suggest you try doing in smaller groups of 5 or 10 and then see whether you are able to import the requests
    Rohit

  • Error during import of business object BOREPMA (crystal reports)

    Dear Colleagues,
    we have a problem with importing of crystal reports into productive system,
    export works fine - I get .car files, but import finished with error : "Error occurred in data conversion".
    We could not find any reason for this error..... may be someone had same issue in the past?
    How can I check what happens in background during import?
    Thank you very much for response

    Hi Nick,
    our problem is following: we changed *existing crystal report* on development workstation, and trying to import to q-workstation, as it was not possible, we made changes on q-workstation and trying to import to productive-workstation. We don't have crystal report designer on productive workstation and it is a reason why we can not create new report with same name as you suggested (on productive workstation).
    In general, how should crystal reports be transferred between different systems (development, test,, productive) if you have crystal report designer only on development system? We think the export-import function can do this, but there is a data conversion error.... OSS message is created since 9 month, we don't get really solution from SAP...
    Did you had the same problem or you have crystal report designer on productive workstation and can change coding there?
    Thank you very much
    Best rehgards
    Natalia Barannikov

  • "An Error Occurred During Import"

    I am importing video from a Canon Vixia HF10 HD CMOS camcorder into iMovie 08. After the thumbnails are created, I select the clips I want and click on Import. I tried in a a Large (960x540) and Full (1920x1080) format and receive the same error message - "An Error Occurred During Import." I am then instructed to check the footage carefully and try again.
    What could be causing this error?

    I had exactly the same problem in loading files from by HF10 onto my iMac but I didn't have the same problem on my Macbook. So I tried to copy the clips from my Macbook onto the iMac but imovie on the iMac wouldn't recognise them ...
    This suggested to me that the problem was with the Imac's version of imovie being unable to read the file types from the HF10.
    I had, in parallel, been trying to fix an error shown when iMovie on the imac starts up :
    "The QuickTime components necessary to view, edit, import, and export several kinds of movies are not installed. These components are included with the iMovie installer; please re-install"
    The discussion and solution to this problem can be found under the "Missing QuickTime Components" discussion on this site however to save you time I have copied below fgalvani70's solution (Bravo !) which works perfectly ... both the missing component issue and the import issue are now perfectly resolved !!
    1 - install software Pacifist (http://www.charlessoft.com/) (it's shareware but you can use without problems)
    2 - Insert Original Apple installation disk
    iMovie '08 missed a Quicktime Component called: “AppleIntermediateCodec.component”. This component is necessary for importing movies in iMovie 08.
    So, just let Pacifist read the Install DVD and extract only the ‘AppleIntermediateCodec.component’ to the default directory.
    It's under Contents of BundledSoftware.mpkg -> Contents of AppleIntermediateCodec.pkg -> Library -> QuickTime
    Select AppleIntermediateCodec.component and click Install

  • No sound during import from camcorder

    When I am importing video from a DV tape in a camcorder I don't hear any sound. After the clip is captured, you can hear the sound during playback. Is there a setting that allows you to hear the sound during import? I have tried importing HDV format from a camcorder and regular DV from a tape deck with the same results.

    iMovie does not play sound on import. This makes sense if you consider that most current camcorders do not import in real time. They are faster or slower than real time depending on the speed of the Mac.
    See if your camera has a speaker. You can listen from the camcorder.

Maybe you are looking for