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

Similar Messages

  • 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_

  • 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.

  • I am trying to finalize a movie project and I get an "error in user parameter list" message.  What does that mean, and how can I fix it?

    I am trying to finalize a movie project and I get an "error in user parameter list" message.  What does that mean, and how can I fix it?

    what movie editing software are you using?

  • I'm trying to compress a file but I get an error that "I don't have permission to access dovecot."  How do I get this permission?

    I'm trying to compress a file but I get an error that "I don't have permission to access dovecot."  How do I get this permission?

    I ended up doing just as you said and downloading the program seperately.  However, I'd like to point out that after I downloaded the server.app to my MBA it did allow me to compress it.  For some reason it wouldn't let me do it from the server so I could airdrop it over.  I'd only get the error previously mentioned.  Must be a server thing eh?

  • 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

  • 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

  • Subpartition Template COMPRESS NOCOMPRESS parameter

    Hi ,
    I'm trying to create a table with subpartitions by list already partitioned by list,
    I want to configure that some of my subpartitions are compressed and the rest nocompressed,
    but I couldn't find how to specify it,
    I could specify if the partition at all is compressed or not but not a subpartition level,
    Thanks in advance

    Hi,
    I'm afraid it's not possible to specify this at the subpartition level at the moment.
    I have logged an enhancement request on this.
    Thanks for reporting this issue,
    David

  • I need to compress a podcast to send to iWeb is that possible??

    I used garageband to do my podcast I exported to iWeb I get a drop down message telling me that the episode will result in along download time for web site visitors. For best performance your movie file shold be no larger than 10 MB. you can use iMovie's QuickTime web export settings to reduce the file size.
    The problem I have is how do I send this to iMovie??? this a audio podcast not video I don't understand why I must use iMovie to reduce the file size although the episode did post on iWeb, I wanted to know how to reduce file sizes and I have QT Pro thank you

    Apple only suggests iMovie because an import/export to QuickTime can allow you to adjust compression settings.
    Since you have Pro simply open the file, note the codec and settings. Export using lower settings to reduce the file size.
    Start with the frequency (probably 48kHz) and cut it back to 32. Check the sample bit rate (probably 128) and lower it to 96.
    If your file doesn't need stereo use mono (half as big of a file size).
    If your file requires those high quality audio settings cut the file into shorter "segments" and make more than one PodCast.

  • Oracle 10g exp error with query parameter

    Hi all,
    I am trying to perform an export but getting this error when using the query parameter. I think it's a syntax problem but not sure where.
    I'm in a dos prompt
    E:\>exp file=xxxxx.dmp log=xxxx.log tables=xxxxx query='where responseid not in (select responseid from aaaa_bbbbb)';
    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
    Thx

    This is why I love this forum so much.
    I've probably done thousands of exports and never used the query parameter.
    Here's something that will help you. Please read and note the requirement to escape, or protect, special characters and such.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm
      exp scott/tiger TABLES=emp QUERY=\"WHERE job=\'SALESMAN\' and sal \<1600\"ji li

  • Export parameter in elementary search help not working.

    I have created an elementary search help that will display all sold-tos for entered ship-to(s).  Everything works fine except that the sold-to that is selected from the hit list is not being entered into the customer field on the selection screen.
    eg transaction VD03, F4 on Customer, enter import parameters VKORG VTWEG SPART and KUNN2, hit list is displayed correctly and one line selected.  I expect that my export parameter KUNNR should now appear in the Customer field of VD03 but its not.
    This is my elementary search help definition:
    Elementary srch hlp  ZDEBIC                         Active
    Short description    Customers for Ship-to
      Selection method   Z_DEBIC            Dialog type
      Text table                            Hot key         2
    Search help exit    Z_SHIP_TO_SEARCH_HELP_EXIT
    Parameter  IMP  EXP  LPos  SPos  Data Element  Default Value
    SORT1                       1                  AD_SORT1                         
    SORT2                       2                  AD_SORT2                         
    MCOD1                      4                  MCDD1                         
    MCOD3                      5                  MCDD3                         
    PSTLZ                        6                  PSTLZ                         
    KTOKD                       7                  KTOKD                         
    VKORG     x       x       8        1        VKORG         VKO
    VTWEG     x       x       9        2        VTWEG        VTW
    SPART      x       x      10       3        SPART          SPA
    KUNN2      x               11       4        KUNN2          KUN
    KUNNR              x       3                  KUNNR                         
    I suspect the problem may be with default value KUN against KUNN2, but if I put it against KUNNR, I get a message "No values for this selection" instead of my hit list.
    Can anybody give me a clue as to the problem?
    Thanks,
    Brigitte

    I just found out - I had asked my fellow ABAPer to have a look at it and he just told me that he had changed the Parameter Assignment of the Collective Search Help from the proposed one of KUNN2 C KUNNR to KUNNR C KUNNR.  It seems that was necessary as well so I'm putting this in for future reference of anybody with the same problem.

  • Automatic EXP export of database 11gR1

    Dear All,
    I use to take backup daily of my database 11gR1 on Linux from my client window machine through exp comand.
    I have to go on a leave for one week. I want to automate this procedure that export of schemas in database is taken automatically on daily basis. What is the easiest process to do this.
    Regards,
    Imran

    You should use Oracle 11g Scheduler to automate your backup process
    Please refer to below pages:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/schedover.htm#i1106753
    http://johanlouwers.blogspot.com/2009/03/oracle-database-11g-scheduler.html
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • [JS CS3] What does copyingProfiles parameter of packageForPrint method mean?

    Hi all,
    I wrote a script that packages all InDesign files in the selected folder — the script and its detailed description is here: http://kasyan.ho.com.ua/package_for_archive.html
    But I can’t figure out what copyingProfiles parameter of packageForPrint method means?
    First of all, I don’t see the corresponding checkbox in InDesign’s Package Publication dialog box.
    Secondly, it makes no difference whether I set it to true or false: no profiles are copied.
    The reference states: “copyingProfiles — bool — If true, copies color profiles to the package folder”.
    But what profiles is it supposed to copy? The ones chosen in Color Settings dialog?
    Kasyan

    [Still OT ...] Weird.
    7-Zip reports the compression of Windows' "Send to compressed folder" zips as "Deflate" -- I would say that's pretty old fashioned. Your file gets a description of "LZMA", which doesn't really tell me anything at all. Perhaps it's too old.[*]
    [Really getting OT for InDesign Scripting] 7-Zip for Windows is free (http://www.7-zip.org/), fast, user friendly, can compress and unpack from the Explorer, and supports lots and lots of file types. Even a Mac archived .DMG file is not a problem! (You do need to know the basics of that, though.) Weirdest-I-found-so-far: you can "open" a Windows Executable program and extract its code and data segments ...
    [Ed.] [*] Idly browsing the 7-zip site, I came across a description of its native compression:
    "LZMA is default and general compression method of 7z format. The main features of LZMA method:"
    (a list of super-modern features follows -- including multi- and P4-hyper-threading.)
    That's what WinZip calls "legacy"? Boy am I getting old.

  • EXP-00056: ORACLE error 936 encountered error while exporting data

    Hi,
    When i execute following query i get "EXP-00056: ORACLE error 936 encountered".
    Anything m i missing in the query or do i need to specifiy any other parameter.
    c:\exp HKKR/HKKR@oracle10 tables=T_Transaction_image query=\"where transaction_id in select transaction_id from t_transaction where transaction_datetime between to_date\(\'01-april-2012 09:00:00\',\'dd-mm-yyyy hh24:mi:ss\'\) AND to_date\(\'01-april-2012 09:30:00\',\'dd-mm-yyyy hh24:mi:ss\'\)\" file='/u01/app/oracle/HKKR_TRANSImage_DATE061212.DMP' LOG='/u01/app/oracle/HKKR_TRANSimage_DATE061212.log' rows=y buffer=100000
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    *. . exporting table T_TRANSACTION_IMAGE*
    *. . exporting partition NOV11*
    EXP-00056: ORACLE error 936 encountered
    ORA-00936: missing expression
    Export terminated successfully with warnings.
    Regards,
    Yogesh

    missing parenthesis for the sub-query
    ... where transaction_id in ( select ... )

  • Exp/imp no data just structure uses a ton of disk space

    I am attempting to migrate a schema from one db instance to another and have run into a problem with disk space. All I want to migrate is the structure. So I am exporting with out the data. Yet the tablespace datafiles grow to a size as if they actually held data. I don't have the disk space for this and would like to know if there is a way around this problem. Also, can anyone provide some insight into why the space would be taken up even though no data is being imported.
    I am not a DBA but our DBA suggested I include a compress=n parameter. However, this doesn't appear to solve the issue.
    Thanks,
    Jason

    Go Google for "Databee" and then search their home page for the DDL Wizard
    OK, forget that: just go visit http://www.ddlwizard.com/
    (It is tricky to see on their home page).
    Feed it your row-less export dump files and turn them into a bunch of 'create xxxx' statements. Edit those statements so they aren't asking for stupid INITIAL extent sizes. Run those statements. Then do a standard import using ignore=y. That will get your tables created empty and small and the subsequent import will get all your other schema objects back.
    The DBA that suggested compress=n is on the right track: compress=y will mean import will seek to create empty tables as big as the fully-populated table currently is, pre-allocating all the space it thinks the table will eventually need given the amount of data that might, one day, be inserted into it.
    Compress=n will seek to create the table with the smallest requested extent size and no more than that: row inserts will make it grow big later on, but that growth is left to happen when it needs to happen.
    The only other potential fly in the ointment is, as someone else said, the fact that if you're importing into a tablespace that has been created 'extent management local uniform size 100M', then the mere fact of creating a completely empty table will cause 100M of space to be consumed. You would be much better off making sure your tablespaces are created 'extent management local autoallocate': then you start of with small space allocations and only get bigger when you really need it.

Maybe you are looking for

  • Cannot insert object error using Power View in Excel 2013

    I created a short table in Excel 2013, positioned the cursor in the table and clicked Inset/Power View Report. I get a status window saying Excel is opening a Power View sheet but then I get a Power View error: Cannot Insert Object. I am able to inse

  • Connect HP Printer to Mac Mini OSX 10.10.2

    I apparently need to get my HP Officejet 4500 printer connected to Mac Mini OSX 10.10.2. HP advises I already have the correct drivers? I am confounded. This question was solved. View Solution.

  • New In My Verizon: Streamlined Payments, Personalized Support

    It's easier than ever for customers to manage their payments in My Verizon. The Payment flow has been streamlined from five screens to one, saving time for customers making payments or enrolling in paperless billing and Auto Pay. In addition, a "Reco

  • Touchpad Settings and multi-touc​h (SL series specifical​ly) ?

    One of the few things that is very difficult to do in linux is fine tune the touchpad settings. I was wondering if anyone has spent the time to fine tune their settings and would be willing to share? Also, has anyone figured out how to enable multipl

  • System defragment

    Defragmentation  on discs are done weekly as scheduled, but System (now fragmented 12%) woundn't defragment. When I highlight the "System" and click defragment, the progress stops about 1.7% or so.  The message says it should be defragmented when mor