(9I) EXPORT의 TABLESPACE OPTION, IMPORT의 STATISTICS OPTION

제품 : ORACLE SERVER
작성날짜 : 2004-08-13
(9I) EXPORT의 TABLESPACE OPTION, IMPORT의 STATISTICS OPTION
===========================================================
PURPOSE
Oracle 9i에서의 새로운 IMPORT parameter 인 STATISTICS 와
EXPORT 의 새로운 기능인 TABLESPACE parameter에 관한 설명이다.
SCOPE
Export Transportable Tablespace Feature는 8i~10g Standard Edition에서는
지원하지 않는다.
Explanation & Example
1. Oracle 9i에서는 STATISTICS 라는 새로운 Import parameter 값을 제공한다.
비교 ) Oracle 8i에서는 ANALYZE parameter와 RECALCULATE_STATISTICS
parameter의 조합으로 사용한다.
- ALWAYS : 미리 계산된 통계정보가 불안정하든 하지 않든 간에
상관없이 통계정보를 항상 import. (Default)
- NONE : 미리 계산된 통계정보를 import하지 않는다.
- SAFE : 불안정하면 table을 import한후 통계정보를 재계산하고
그렇지 않으면 미리 계산된 통계정보를 import.
- RECALCULATE : 미리 계산된 통계정보를 import하는 대신에 import한 후
table에 대한 통계정보를 재계산.
여기서 잠깐 통계정보가 불안정하다는 것은 언제를 말하는지를 짚어본다.
: Export time에 아래와 같은 경우에 미리 계산된 통계정보를 불안정하다
고 표시한다.
- Export하는 동안에 row error가 있을 때
- Client character set 또는 NCHAR character set이 server의
character set 또는 NCHAR character set과 다를 때
- Query option을 사용할 때 ( 8i 이상에서 제공하는 새로운
parameter)
- 특정 partition 또는 subpartition만이 export될 때
비교 ) Export 시에 STATISTICS parameter는 estimate, compute, none
의 세가지 값을 가지며 estimate가 default이다.
2. Oracle 9i 에서는 특정 tablespace에 있는 table을 export하기 위한
TABLESPACE라는 새로운 parameter를 제공한다.
- index가 어느 tablesapce에 속해 있는지의 여부에 상관없이 tablespace
에 속한 table와 연관된 index는 모두 export된다.
- TABLESPACE mode로 export을 받기 위해서는 EXP_FULL_DATABASE
privilege를 가지고 있어야 한다.
비교 ) 8i에서의 TABLESPACE option은 8i에서의 새로운 기능인
TRANSPORTABLE TABLESPACE 기능을 사용하는 데 필요한 단지 meta
data만을 export받는 것에 그친다. TABLESPACE 단위로 data을 받을
수는 없다.
9i에서도 믈론 TABLESPACE option은 TRANSPORTABLE TABLESPACE 기
능을 위해서도 사용이 된다.
RELATED DOCUMENTS
<Note:159787.1>
Oracle 9i New Features for Administrtors.

Hi
1)if I use the 3rd option it should gather stats for
all the objects including indexes. However, when I
used that option it didn't gather satas for Index. Do
I need to use cascade=>TRUE option?
Yes, default is FALSE, so need to force TRUE
2) I need to backup my current stats and gather new
stats for entire DB. If I export DATABASE stats will
it export all stats including index, system?
Yes
3) If I collect stats using GATHER_DATABASE_STATS, Do
I need to explicitly collect other stats for index,
system etc?
No

Similar Messages

  • ORACLE 8I EXPORT의 QUERY OPTION 기능

    제품 : ORACLE SERVER
    작성날짜 : 2000-09-19
    Oracle 8i EXPORT의 Query Option 기능
    ====================================
    Oracle 8i에서는 export 작업 수행 시 Query Option을 이용하여 테이블의
    부분적인 추출이 가능하다.
    SQL> select empno, ename, job, sal from emp order by job;
    EMPNO ENAME JOB SAL
    7788 SCOTT ANALYST 3000
    7902 FORD ANALYST 3000
    9999 홍길동 ANALYST 2000
    7369 SMITH CLERK 800
    7876 ADAMS CLERK 1100
    7934 MILLER CLERK 1300
    7900 JAMES CLERK 950
    7566 JONES MANAGER 2975
    7782 CLARK MANAGER 2450
    7698 BLAKE MANAGER 2850
    7839 KING PRESIDENT 5000
    7499 ALLEN SALESMAN 1600
    7654 MARTIN SALESMAN 1250
    7844 TURNER SALESMAN 1500
    7521 WARD SALESMAN 1250
    위와 같이 구성된 EMP 테이블에서 만일 'MANAGER'로 JOB을 가진 사원중 SAL
    컬럼이 2500이상인 레코드를 export하고 싶다면, 다음과 같이 수행하면 된다.
    % exp scott/tiger tables=emp query=\"where job=\'MANAGER\' and sal\>=2500\"
    Export: Release 8.1.5.0.1 - Production on Tue Sep 19 16:14:15 2000
    About to export specified tables via Conventional Path ...
    . . exporting table EMP 2 rows
    exported
    Export terminated successfully without warnings.
    한글 컬럼에 대해서도 동일한 where 조건에 지정이 가능하다.
    % exp scott/tiger tables=emp query=\"where ename like \'홍%\'\"
    V8.1.5 버젼에서 제공되는 Query 옵션의 특징:
    1. 테이블 레벨의 export 명령어에서만 가능하다.
    2. Direct 옵션과 함께 사용될 수 없다.
    3. Nested 테이블을 갖는 테이블에는 적용할 수 없다.
    4. Partition 테이블에 대한 export에도 적용가능하다.
    5. Import 명령에는 적용되지 않는다.

    Thanks Guys,
    I am still a bit lost though...
    It may be simply a matter of me finding Oracle 8i so I can do what I need to do.
    Where can I get Orcale 8i from? Does anybody have it? The oracle site only has a version back to 9.2 I queried with a employee from Oracle University here in Australia, and he suggested asking in the forums.
    Just so you know what I'm trying to do:
    Data Server:
    Running Aix with Oracle 7.14... actually could be 7.41 - I'll check today.
    This system will not be upgraded to any later version of Orcale, because systems are in place, and core systems at our other sites have to be the same. (my project is a local one)
    Web Server:
    Running XP profession with IIS and using ASP (active server pages)
    Currently running Oracle 10g, and ASP code connects to the local database on this machine via an ODBC connection.
    At the moment, I have scripts on the Aix server that dumps data from Oracle 7.x into a .csv file.
    Then, I have scripts that copy those csv files to the XP server, and they are imported to the local Oracle 10g database.
    To display this data on the website, I use ASP via the odbc connection to query the local database on the XP server.
    As said in my previous post, there must be an easier way to do this.
    I need a local database on the XP server too, and am thinking the best way is to downgrade to 8i.
    Can anybody tell me where I can get 8i to try this out? I have been trying to reasearch this for a while now without luck. Any help would be appreciated, and thanks for those who have replied so far.
    -Tom

  • Where is export mail option

    Greetings.. i have a straightforward question.. is it correct that there isn't an "export mail" option in 10.6.8 ?   Mail version 4.6
    I have read various comments on forums about exporting mailboxes, sometimes there is mention of choose Export Mail but there has also been advice to copy the mailboxes to a usb then transfer to another computer.
    I definitely don't have an Export Mail option available.. only Import and Copy. I would like Export tho .

    Thank you for replying but i already knew to do as you suggest,  and i had done much searching within the menus,there isn't an Export Mailbox option in the Mailbox menu ( and i was highlighting specific mailboxes).
    Amongst references to taking accounts online etc and smart mailboxes in the Mailbox menu the more applicable ones i have are Rename, Delete and Archive. Also Rebuild which i don't want to get into.  But no Export.
    Under File menu i have Import and under Edit there is Copy.  I pretty much know my way around things so this one does surprise me.
    I don't think it was on my PowerPC eMac either ( i found an old mailbox file on a usb which i must have transferred) but i thought it might be on this iMac although by some standards it is becoming old.

  • When sharing through the export media option as pro res 422 i get error code 108

    when sharing through the export media option as pro res 422 i get error code 108 and message saying could not complete because an error occurred when encoding frame 3297 - error 108!!!
    what is this frame...is it a jpeg file i have imported...how do i locate it... its a 40 minute movie and it will share to dvd just wont let me create a quicktime .mov file... any suggestions.

    What frame rate is the project? Divide the 3297 by the frame rate to get an approximate location? What are the specs of the media at that location, video and audio?

  • List- Export- Spreadsheet option disabled in ALV Report

    Hi,
    In one of the ALV Report the option List->Export->Spreadsheet option is disabled. How to enable that option?
    I am calling the REUSE_ALV_GRID_DISPLAY Function module with the following parameters
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program = w_repid
            it_fieldcat        = i_fieldtab[]
            is_layout          = ls_layout
            it_events          = i_events[]
            i_save             = 'A'
            is_variant         = i_variant
          TABLES
            t_outtab           = it_display
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
    This is the problem with only this report. So I believe it is not due to authorization.
    Regards,
    Anusha

    Hi Anusha,
    This link should help you. You just need to change the deep structure.
    [Export Option is Grayed out in ALV Grid Display;
    You already figured it out
    Edited by: sap_wiz on Jul 6, 2011 4:42 PM

  • Require help in understanding exporting and importing statistics.

    Hi all,
    I am bit new to this statistics.
    Can anyone please explain me in detail about these commands.
    1) exec DBMS_STATS.GATHER_TABLE_STATS (ownname => 'MRP' , tabname => 'MRP_ATP_DETAILS_TEMP', estimate_percent => 100 ,cascade => TRUE);
    2) exec DBMS_STATS.CREATE_STAT_TABLE ( ownname => 'MRP', stattab => 'MRP_ATP_3');
    3) exec DBMS_STATS.EXPORT_TABLE_STATS ( ownname => 'MRP', stattab => 'MRP_ATP_3', tabname => 'MRP_ATP_DETAILS_TEMP',statid => 'MRP27jan14');
    4) exec DBMS_STATS.IMPORT_TABLE_STATS ( ownname => 'MRP', stattab => 'MRP_ATP_3', tabname => 'MRP_ATP_DETAILS_TEMP');
    I understand that these commands are used to export and import table statistics.
    But please anyone help me in understanding this indetail.
    Thanks in advance.
    Regards,
    Shiva.

    Shiva,
    Please post the details of the application release, database version and OS.
    Please see (FAQ: Statistics Gathering Frequently Asked Questions (Doc ID 1501712.1) -- What is the difference between DBMS_STATS and FND_STATS).
    For exporting/importing statistics summary of FND_STATS Subprograms can be found in (Doc ID 122371.1)
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=FND_STATS&c_owner=APPS&c_type=PACKAGE&c_detail_type=source
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=FND_STATS&c_owner=APPS&c_type=PACKAGE%20BODY&c_detail_type=source
    Thanks,
    Hussein

  • Export excel option is not working in test environment in Firefox.

    In our application 'export excel' option is present in 4 different pages. All the excels working in development environment in both IE and FF. In testing env, all the excels working fine in
    IE. But only two excels are working in FF in testing env. Remaining not working and 'The connection was reset The connection to the server was reset while the page was loading' error page appears when we click on 'export excel' button. Can any one help on this issue...

    Hello,
    You can do one of the following:
    Select the table in Firefox and then copy it to the clipboard. In Excel do Paste Special and select either 'Unicode text' or 'text' to copy it into Excel.
    Use the Table2Clipboard extension. This will provide the Right-Click menu option, it will copy the data into the clipboard and you can then paste the selection into Excel.
    I hope that helps.

  • Why can't I see an export value option in my radio button properties? I am using Acrobat X pro.

    Why can't I see an export value option in my radio button properties? I am using Acrobat X pro.

    Thanks so much. Thought it was just the name of the button and did not realize it was the value. Now able to use them for calculations.

  • Print ,Export etc options not working on dashboard level in 11g OBIEE ?

    Hi
    I have multiple analyses on a dashboard and now i want to add print,export etc links on dashboard level but when i try to do this with following steps
    1- Edit dashboard > Tools > Dashboard properties > Dashboard Report links
    Select Print , Export etc options click ok button and save dashboard
    But when i run the dashbord these options(Print , Export etc) comes with every analysis but i want it only on dashboard level comes one time only for whole dashboard.
    Any help about it ?
    Its urgent
    Thank you

    Hi,
    go to edit dashboard--->
    --->look at u r answres repot properties ---->just right click and select report link then check it
    customised ---> select pdf ,print what ever u want
    i.e
    Analysis level — The link settings apply only to the particular analysis.
    To specify the report links at the analysis level, click the Properties button for the analysis in the "Page Layout area" of the Dashboard builder and select Report Links
    THanks
    Deva
    Edited by: Devarasu on Mar 15, 2012 6:54 PM

  • How to change export report option

    hi
    Im using Crystal report plug in for Eclipse.
    I want to export report to PDF, EXCEl etc...
    for that there is Export report option.
    I want to customize that export report dialog box.
    How can I do that?
    I want to set default path to export file.
    default extention etc.
    want to remove some options like export to rpt...
    & is this forum active or not????
    I've posted 3 threads but no one is answering me.....
    Edited by: Omkar Kelkar on Nov 7, 2008 2:15 PM

    Hi,
    I need some information from your side.
    Which reports are you using?( Crystal Report, Webi or Deski) with exact version of it.
    If the reports are running properly from the designer and you are having issue with application or in coding then you can post this question to BO Java SDK Application (Java Development) forum for better assistance.
    Thanks,
    Sumit Kanhe

  • Access to Export formatting options that may not be readily available?

    How can I access Export formatting options that existed in CR XI using CR VS2010?
    I am converting an app from CR XI to CR VS2010 and am attempting to generate DiskFile exports.  The general process is succesful, but there certain formatting options I cannot find in the API:
    NumberOfLinesPerPage(n);
    UserDefinedCharactersPerInch(n);
    CharFieldDelimiter(c)
    UseReportDateFormat(b)
    UseReportNumberFormat(b)
    I have found some mention that some or all of these are still available via the RAS interface.  Given my efforts in updating my database connections on the fly, I am now somewhat versed in RAS access, but am struggling with how to use it to format my exports.  Can I set the above options somehow, and if so are there any examples of how to do this?

    Yes, the RDC.  In fact, I was reading a doc entitiled Migrating from RDC to .NET which had this:
    ExportOptions.UseReportDateFormat
    RDC
    Set the date format to be the same as report.
    Report.ExportOptions.UseReportDateFormat = True
    .NET
    Not supported in the .NET assemblies, but supported in the ReportClientDocument object model provided with the Report Application Server (RAS). RAS is available with Crystal Reports Server and BusinessObjects Enterprise.
    ExportOptions.UseReportNumberFormat
    RDC
    Set the number format to be the same as report
    Report.ExportOptions.UseReportNumberFormat = True
    .NET
    Not supported in the .NET assemblies, but supported in the ReportClientDocument object model provided with the Report Application Server (RAS). RAS is available with Crystal Reports Server and BusinessObjects Enterprise. 1/3/2006 4:51:00 PM Copyright © 2006 Business Objects. All rights reserved. Page 44
    crxi_r2_migrating_from_rdc_to_net.pdf
    I admit I missed the Text Format properties. Thank you.  I'm just not a heavy with this.  In the RDC, when I set UseReportNumberFormat and UseReportDataFormat then that would apply regardless of my output file type.  With this, it seems only to apply to CSV.

  • Within itunes, can I use the file/library/export library option to transfer itunes to a new pc

    Within itunes, can I use the file/library/export library option to transfer itunes to a new pc? I have read the other options but they will be difficult for me to action. Can this be used as an easier route?

    No. See this migrate iTunes library post.
    tt2

  • How Do I Add CODECs (e.g., FFV1, Lagarith) to Photoshop's 'Export Video' Options?

    Hi all,
    I'm trying to add lossless CODECs (e.g., FFV1, Lagarith) to Photoshop (and Premiere and After Effects and Adobe Media Encoder) so that I can generate archival videos with the highest possible lossless compression ratios.  I've installed several CODECs, but none of them appear in Photoshop's 'Export Video' options, for example.  How do I get these CODECs to appear?
    For the record, I'm using CS5.
    Any help is greatly appreciated.
    Dave

    Found it!
    I was concentrating almost entirely on Photoshop, where the new CODECs weren't appearing.  To make things worse, I'm new to AME and wasn't looking in the right places.  Selecting AVI and then breesing down to the Codec dropdown revealed Lagarith, ffdshow (FFV1, HuffYUV, etc.).  Awesome.  Now, let's give these suckers a whirl....
    Thank you so much, Mylenium!

  • EXPORT 시 QUERY OPTION에 대한 사용 예(ORACLE 8I 이상)

    제품 : ORACLE SERVER
    작성날짜 : 2004-03-17
    EXPORT 시 QUERY OPTION에 대한 사용 예(ORACLE 8I 이상)
    ============================================
    PURPOSE
    ============
    oracle 8i에서 export 시 query option에 대한 사용 예
    8i에서 export의 query syntax 를 이용하여 table data의 한 부분만 exporting 이 가능
    - 8i 에서 select 문장의 where 절을 사용하는 것처럼 export 시에 부분적으로 table data 를 받아 낼수 있는 기능을 소개 한다.
    - Direct 옵션은 사용될 수 없다..
    - where 절에 해당하는 export utility는 query parameter 를 사용한다.
    UNIX syntax:
    - Example:
    1.SCOTT.Emp table의 ename 이 JAME과 비슷한 이름의 data 를 export ..
    exp scott/tiger query=\"where ename like \'JAME%\'\" tables=emp file=exp.dmp log=exp.log
    2. employee와 cust table에서 new york 주의 data 만 export ..
    exp scott/tiger query=\"where st=\'NY\'\" tables=(employee,cust) file=exp.dmp log=exp.log
    query 문장에서 UNIX reserved characters( ", ', ,< .. 등) 를 사용하는 경우에는 escape ('\') 을 반드시 사용해야 한다.
    예)query=\"where JOB = \'SALESMAN\' and salary \< 1600\"
    더 중요한 것은 command line에서 export option을 사용할때는 반드시 escape 이 있어야 하나
    parfile을 사용할때는 eacape이 불필요하다.
    예를 보면 .. p라는 이름의 file을 다음과 같이 생성
    tables=emp query="where job='SALESMAN'"
    parfile을 이용해서 export 를 실행해 보면
    [rmtdchp6]/apac/rdbms/64bit/app/oracle/product/9.2.0> exp scott/tiger parfile=p
    Export: Release 9.2.0.4.0 - Production on Wed Mar 17 00:12:34 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses KO16KSC5601 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table EMP 4 rows exported
    와 같이 정상 처리 됨을 알수 있다.
    만일 command line에서 위의 내용을 실행하게 되면 다음과 같이 error 를 만난다.
    exp scott/tiger tables=emp query="where job='SALESMAN'"
    LRM-00101: unknown parameter name 'job'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    command line에는 query 내에 single(')나 double quotes(") 를 사용한다면 반드시 double quotes(") 를 사용하여
    query 문을 묶어야 한다.그러나 query 내에서 single ('')나 double quotes(") 를 사용하지 않는다면 single quotes (')을 사용하여
    query 문을 수행할 수도 있다..
    다음 예를 보면..
    1>exp scott/tiger tables=emp query=\'where deptno=20\'
    Export: Release 9.2.0.4.0 - Production on Wed Mar 17 00:22:00 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses KO16KSC5601 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table EMP 4 rows exported
    2>exp scott/tiger tables=emp query=\'where job=\'SALESMAN\'\'
    LRM-00112: multiple values not allowed for parameter 'query'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    즉.. 정리를 하자면
    command line에서 query 내에 '," 을사용하지 않는 다면 '나 " 으로 query option을 사용할수 있다
    query=\'where deptno = 20\'
    query=\"where deptno = 20\"
    query=\'where deptno \< 2\'
    (이 경우 single 이나 double quotes 을 둘다 사용할수 있다.)
    parfile을 사용하는 경우에는 다음과 같이 단순하게 사용이 가능하다.
    query='where deptno = 20'
    query="where deptno = 20"
    query='where deptno < 20'
    WINDOWS NT / 2000 와 NETWARE syntax:
    다음의 자료를 참조바란다.
    Example:
    EXP demo/demo tables=emp file=exp1.dmp query="""where deptno>30"""
    double quotes(") 를 둘러 싸는 경우에는 space 가있으면 안된다.
    parfile의 사용은 다음과 같이 하시면 됩니다.
    file=exp66.dmp
    query="where deptno > 20"
    tables=(emp)
    log=log66.txt
    userid=scott/tiger
    Explanation
    Windows NT or Win2000의 경우 command line에서는 3 double quotes 이 필요하고
    'PARFILE 을 사용하는 경우에는 double quotes(") 한번만 필요함
    Reference Documents
    Oracle8i Utilities guide
    Note:91864.1

  • PDF export format options are ignored when exporting

    I can't get the PDF export format options to work.  No exception is thrown; it's as though the export format options are simply ignored.  In broad terms, the relevant code looks like this:
    ExportOptions exportOptions = new ExportOptions();
    exportOptions.setExportFormatType(ReportExportFormat.PDF);
    PDFExportFormatOptions pdfExportOptions = new PDFExportFormatOptions();
    pdfExportOptions.setCreateBookmarksFromGroupTree(true);
    exportOptions.setFormatOptions(pdfExportOptions);
    ByteArrayInputStream byteArrayInputStream =
        (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(exportOptions);
    Other options (setting start and end pages for export) are also ignored.
    Curiously, I am able to apply export format options just fine for other formats; e.g. when setting the export format type to ReportExportFormat.characterSeparatedValues and using a CharacterSeparatedValuesExportFormatOptions object as appropriate, I am able to set options like delimiter and separator just fine.
    How can I prevent the PDF export format options from being ignored?

    hi
    Are you using RAS or Crystal Report runtime? and what's the version? It might be a bug. Have you tried:
    ByteArrayInputStream byteArrayInputStream =
        (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
    and does it work?

Maybe you are looking for

  • Can't seem to update firmware on Zen Xtra (3

    I am having trouble upgrading firmware on player. I am trying to go from .0.0 to .20.08. Followed instructions and removed current OS from player. Launched the upgrade firmware file and followed instructions. Where I seem to be having trouble...is af

  • MIC problem in Lumia 620

    the MIC doesn't work in the calls , working only when I am using speaker Solved! Go to Solution.

  • When emailing a webpage from Safari using Mail, why is the page no longer rendered correctly?

    This never used to happen Previously (before Yosemite) when I was looking at a web page I wanted to share, I clicked on the email icon in Safari and a new Mail page opened with the web page I was looking at perfectly rendered.  I added an address and

  • 16x9 for Web

    I have just started fooling around with 16x9. I have been able to edit, export and Burn DVD no problem everything (after getting the setting s correct) works. Now I want to export to a quicktime file for the Web (in 16x9). The movie is 9 minutes long

  • UNIONS and Discriminant Value mapping using BizTalk 2013

    We're converting our old BizTalk 2006 TIObjects to BizTalk2013 and have used the TIConversionTool. We are finding that the majority of TIObjects are converting successfully. But we have 2 cases where we have used UNIONS and Discriminant Values to all