What is compress=y parameter in exp?

HI all,
Can anybody throw light on compress=y parameter.Does it really compresses the backup?

CONSISTENT
Default: n
Specifies whether or not Export uses the SET TRANSACTION READ ONLY statement to ensure that the data seen by Export is consistent to a single point in time and does not change during the execution of the exp command. You should specify CONSISTENT=y when you anticipate that other applications will be updating the target data after an export has started.
If you use CONSISTENT=n, each table is usually exported in a single transaction. However, if a table contains nested tables, the outer table and each inner table are exported as separate transactions. If a table is partitioned, each partition is exported as a separate transaction.
Therefore, if nested tables and partitioned tables are being updated by other applications, the data that is exported could be inconsistent. To minimize this possibility, export those tables at a time when updates are not being done.
Table 1-2 shows a sequence of events by two users: user1 exports partitions in a table and user2 updates data in that table.
Table 1-2 Sequence of Events During Updates by Two Users
TIme Sequence User1 User2
1
Begins export of TAB:P1
No activity
2
No activity
Updates TAB:P2
Updates TAB:P1
Commits transaction
3
Ends export of TAB:P1
No activity
4
Exports TAB:P2
No activity
If the export uses CONSISTENT=y, none of the updates by user2 are written to the export file.
If the export uses CONSISTENT=n, the updates to TAB:P1 are not written to the export file. However, the updates to TAB:P2 are written to the export file because the update transaction is committed before the export of TAB:P2 begins. As a result, the user2 transaction is only partially recorded in the export file, making it inconsistent.
If you use CONSISTENT=y and the volume of updates is large, the rollback segment usage will be large. In addition, the export of each table will be slower because the rollback segment must be scanned for uncommitted transactions.
Keep in mind the following points about using CONSISTENT=y:
CONSISTENT=y is unsupported for exports that are performed when you are connected as user SYS or you are using AS SYSDBA, or both.
Export of certain metadata may require the use of the SYS schema within recursive SQL. In such situations, the use of CONSISTENT=y will be ignored. Oracle Corporation recommends that you avoid making metadata changes during an export process in which CONSISTENT=y is selected.
To minimize the time and space required for such exports, you should export tables that need to remain consistent separately from those that do not.
For example, export the emp and dept tables together in a consistent export, and then export the remainder of the database in a second pass.
A "snapshot too old" error occurs when rollback space is used up, and space taken up by committed transactions is reused for new transactions. Reusing space in the rollback segment allows database integrity to be preserved with minimum space requirements, but it imposes a limit on the amount of time that a read-consistent image can be preserved.
If a committed transaction has been overwritten and the information is needed for a read-consistent view of the database, a "snapshot too old" error results.
To avoid this error, you should minimize the time taken by a read-consistent export. (Do this by restricting the number of objects exported and, if possible, by reducing the database transaction rate.) Also, make the rollback segment as large as possible.
taken from
http://download.oracle.com/docs/cd/B1050101/server.920/a96652/ch01.htm_

Similar Messages

  • COMPRESS=Y parameter in exp comand in signifies that

    in oracle,COMPRESS=Y parameter in exp comand in signifies that

    Check:
    >
    COMPRESS
    Default: y
    Specifies how Export and Import manage the initial extent for table data.
    The default, COMPRESS=y, causes Export to flag table data for consolidation into one initial extent upon Import. If extent sizes are large (for example, because of the PCTINCREASE parameter), the allocated space will be larger than the space required to hold the data.
    If you specify COMPRESS=n, Export uses the current storage parameters, including the values of initial extent size and next extent size. The values of the parameters may be the values specified in the CREATE TABLE or ALTER TABLE statements or the values modified by the database system. For example, the NEXT extent size value may be modified if the table grows and if the PCTINCREASE parameter is nonzero.
    Note:
    Although the actual consolidation is performed upon import, you can specify the COMPRESS parameter only when you export, not when you import. The Export utility, not the Import utility, generates the data definitions, including the storage parameter definitions. Therefore, if you specify COMPRESS=y when you export, you can import the data in consolidated form only.
    Note:
    LOB data is not compressed. For LOB data, values of initial extent size and next extent size at the time of export are used.
    >
    URL: http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm
    Edited by: AP on Dec 13, 2010 6:05 AM

  • How to use a subquery in query parameter in exp command

    I am trying to export certain rows of a table using exp command
    exp TRA/simple@TRA consistent=y indexes=n constraints=n tables=TRA$EMPL query=\"where deptid in \(select objectid from Person\)\" file=/dbase/dump/archv.2009-10-2917:24:00.dmp
    but im getting an error
    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

    On what OS you are trying to do that ?
    What oracle version ?
    Did you try to use parameter file ?
    Have in mind that when using parameter file , special characters don't need to be escaped.

  • What jpeg compression does image capture use to save an image

    I am about to scan colour positive slides from many years ago, using image capture and a scanner (Epson 2450 photo).  Can anyone tell me what jpeg compression is used when the scan is saved to disk?  Further, is there any way to alter the quality of suh compression, from say, medium, to highest?

    You might be able to find it when you export it from Image Capture.

  • What is a user parameter list in iMovie? I am trying to sent the movie from imovie to idvd and I keep getting an error with the user parameter list. Help?

    What is a user parameter list in iMovie? I am trying to sent the movie from imovie to idvd and I keep getting an error with the user parameter list. Help?

    Can you give more details?   What exactly is the entire error message text?  there should be an error number too.   Are you trying to finalize this to an external disk?

  • What is the DIO parameter VI

    I have a Problem.
    I want to use PCLK like an output when I send a message in output.
    For that, I must change the direction of the PCLK.
    I have readden that I must set "Clock reverse mode" attribute to ON in the DIO parameter VI.
    My problem is that I don't know what is the DIO parameter and I have not found this VI.
    Could you explain me what I must doing.
    Thanks

    Hi,
    First of all, it would be great if you could give us some information about the hardware you are using.
    I suspect it's a 6533 also called DIO-32HS
    If this is the case the links below will provide you with some information.
    To answer your question: The DIO parameter vi is part of the Traditional NI-DAQ driver and can be found under
    Measurement I/O -> Traditional NI-DAQ -> Digital I/O -> Advanced Digital I/O
    If you can't find the vi there, you have probably not installed the Traditional NI-DAQ driver.
    (you can find it here: http://joule.ni.com/nidu/cds/fn/p/sn/n23:3478.36.5303.927/lang/en )
    The 6533 can be used with both Traditional NI-DAQ and NI-DAQmx but not with the 2 at the same time.
    So using vi's from NI-DAQmx and Traditional DAQ in your VI won't work.
    If you are thinking of using NI-DAQmx as driver then you could use the Timing block and set it on Handshaking -> Burst (Export Clock)
    Also you can look at example of NI-DAQmx using the example finder and limiting the search for your hardware on the bottom left.
    Then under Hardware input and output -> DAQmx -> Digital handshaking you can find examples.
    http://digital.ni.com/public.nsf/allkb/862567530005F09C862566F6007E9FE7?OpenDocument
    http://digital.ni.com/public.nsf/websearch/AAED1384D13962DE862566B80064275A?OpenDocument
    Kind Regards,
    Joris Donders
    National Instruments
    Applications Engineering
    www.ni.com/support

  • What does compression png fast/none mean?

    I'm trying to figure out what does compression for png Fast/ None & Smallest/ slow mean?

    It means exactly what it says.
    None = no compression (largest file);
    Fast = Just a little compressed, saves and opens fast.
    Smallest / slow = tightest compression, smallest file, slow to open and save,

  • What does compression do for individual instruments?

    What does compression do for individual instruments? Does it help to separate the instrument from other instruments in the mix?

    Is there a garageband textbook that I can find because I would like to know more in general about a lot of the features like what the AU filters and hi-pass and such are. What does AU stand for? Thanx for your help Christoph.

  • COMPRESS/NOCOMPRESS in IMP/EXP

    When saving a database from Ora 9.2.0.1.0, EXP adds a NOCOMPRESS option to each table definition. This appears to be an invalid IMP option when importing into Win98 Personal Ora 9.0.1.1.0. Is it possible to overide creation of this flag, or ignore it on import (editing the DMP file seems to be prevented by a hashcode in the header).

    Do it again and add IGNORE=y and post the results.
    oracle@chopin:~> imp help=y
    Import: Release 8.1.7.0.0 - Production on Fri Dec 5 11:29:47 2003
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    You can let Import prompt you for parameters by entering the IMP
    command followed by your username/password:
    Example: IMP SCOTT/TIGER
    Or, you can control how Import runs by entering the IMP command followed
    by various arguments. To specify parameters, you use keywords:
    Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
    Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
    or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword Description (Default) Keyword Description (Default)
    USERID username/password FULL import entire file (N)
    BUFFER size of data buffer FROMUSER list of owner usernames
    FILE input files (EXPDAT.DMP) TOUSER list of usernames
    SHOW just list file contents (N) TABLES list of table names
    IGNORE ignore create errors (N) RECORDLENGTH length of IO record
    GRANTS import grants (Y) INCTYPE incremental import type
    INDEXES import indexes (Y) COMMIT commit array insert (N)
    ROWS import data rows (Y) PARFILE parameter filename
    LOG log file of screen output CONSTRAINTS import constraints (Y)
    DESTROY overwrite tablespace data file (N)
    INDEXFILE write table/index info to specified file
    SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
    ANALYZE execute ANALYZE statements in dump file (Y)
    FEEDBACK display progress every x rows(0)
    TOID_NOVALIDATE skip validation of specified type ids
    FILESIZE maximum size of each dump file
    RECALCULATE_STATISTICS recalculate statistics (N)
    VOLSIZE number of bytes in file on each volume of a file on tape
    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set
    Import terminated successfully without warnings.
    oracle@chopin:~>
    *****************************************************+
    When an a dump file is produced with COMPRESS or NOCOMPRESS, it carry special implications hard to change
    after the export was made up.
    Joel P�rez

  • What are the import parameter for FM SWE_EVENT_CREATE

    Hello all,
    I want to use the function module SWE_EVENT_CREATE in order to create an event in order to execute a process chain which is triggered by this event.
    Beside the EVENT I have also OBJTYPE and OBJKEY as import parameter, but I do not know what should I enter there.
    In the TA sm64 where I have created the event, I could not find any other information than the event name.
    Any ideas would be great.
    Best regards,
    Stefan from Munich/Germany

    Hello Stefan,
    for OBJTYPE and EVENT see table SWETYPECOU
    OBJKEY usually is an idoc-number (edidc-docnum)
    hope it will help
    Regards Thomas

  • Problem in using query parameter in exp(9.2)

    Hi Folks,
    I'm not able to take export from a table with query option on a Solaris machine. here is my parameter file which has query parameter in it. I'm also posting error message.
    file=utf_exp_raw_citation.dmp
    log=utf_exp_raw_citation.log
    owner=utf8admin
    statistics=none
    tables=raw_citation
    query=\"where nvl(source,'AAA') in ('EMC','HMD','HSR','KIE','NASA','PIP','AAA')"\
    rows=y
    Error:-*
    $ exp utf8admin/[email protected] parfile=exp_raw_citation_07_01_2011_new.dat
    LRM-00116: syntax error at ')' following 'AAA'
    LRM-00113: error when processing file 'exp_raw_citation_07_01_2011_new.dat'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    Please help me in this.
    regards
    Krishna Prasad Donepudi

    I suggest you utilize a parameter file to avoid the shell messing with metacharacters on command line

  • What should be the parameter for forName() method if i use MS SQL server

    if i use the MS SQL Server Personnal Edition, what string i should pass as parametter to forName() method of class Class.
    Class.forName ("XXXXXXXX");
    ie what should be in the place of XXXXXXX in the above line of code if i use SQL server
    thank u

    com.microsoft.sqlserver.jdbc.SQLServerDriver
    http://msdn2.microsoft.com/en-us/library/ms378956.aspx

  • In miro what is po field parameter name

    I don't know what is the parameter name in po field in miro, my problem is i have to check a business area of corresponding plant, i have been implement a badi 'zmrm_header_check',  if i put hard coded po number then its work correctly , i have to put a po number dynamically to pick up plant number..
    So please solve my problem.

    Hi,
    As of my understanding, you are trying to get the PO Number from the MIRO into BADI. If so, you can get it through Parameter ID like
    'GET PARAMETER ID '<ID>' FIELD <variable>.
    For PO Number field 'BES'.
    In general to know Parameter ID of any screen field, go to technical information from F1 help and know the Data element and Parameter ID will be assigned to that Data element.
    If my understanding is wrong, can you please elaborate your query.
    Regards,
    Vijay

  • What is Disk Utility parameter : 'Owners Enabled' about?

    There is a parameter in the Disk Utility dialogue window , bottom left corner that says (on mine) Owners Enabled: No.  What does that signify and how, where or why is it set?

    That parameter can be set manually in the getInfo window of the drive itself (in Finder, not inside Disk Utility). See if this adds any insight:
    PH10670- OS X Mountain Lion: If you don’t have permission to use a disk

  • What does Compression do with Cube Contents?

    Hi,
    I have been wondering what does the Compression process do to the Cube's content? Are they literally compressed like WinZip operation?
    What is the difference between a Compression with "No Marker Update Check box" checked and unchecked? Will they make a diffenrec in the reporting information? Will it affect my keyfigures?
    Thanks in advance...
    --Jkyle

    Compressing data in a cube will have to be specifed with a request id. The system will then aggregate the data until this request after removing the request id. this aggregated data is then moved to the 'E' table from 'F' fact table.
    What you get finally should be lesser volume of data records and the reporting should hence be faster...
    Marker update is specified when you use non cumulative key figures in the cube. there is a how to document on inventory mgmt scenarios that should explain it in detail...

Maybe you are looking for