The high water in the data file

What is the concept of the high-water line in the data files? What is its use?

>
What is the concept of the high-water line in the data files? What is its use?
>
High waters indicates the end of the space used in a segment. which means no space beyond the mark has been used.

The doc of database concepts
http://docs.Oracle.com/CD/B28359_01/server.111/b28318/logical.htm
>
High tide is the boundary between the old and new space within a segment.
>

Two main uses are the direct path loads and loads Parallels. Each of these adds to the data above the high water mark of a segment and then moves the mark at the end of the data that have been added. These loads are faster, because the freelists and extensions and the blocks being loaded must not be checked for existing data.

DBA Guide
http://docs.Oracle.com/CD/E11882_01/server.112/e17120/tables004.htm
>
All INSERT operations of direct-path series of accesses, as well as parallel direct-path INSERT into tables partitioned, insert data above the high waters of the segment line hit.
>
Each of these documents has additional information on the processes used.

Tags: Database

Similar Questions

  • The high water table and data files

    Hi all

    I just have a small question regarding high Tables in correlationi with the HWM to a data file. I have a data file that I would like to resize. At this point, I can reduce the data file of 100 GB to 70 GB which is the HWM of the data file. However, I know that I can compress probably some tables in the tablespace and assuming that these tables have extensions the datafile, will be running 'alter table shrink space,' also decrease the HWM of the data file? Or is there no correlation between the 2 HWM?

    Thank you.

    Note You can use alter table move and change reconstructions of index to move generally the scope used to the logical beginning of the data files. How good Oracle repacks extensions dependent measure used tablespace management and the size and order of executed moves/reconstruction. Retractable table option allocates no new extensions so it won't move that objects forward in the file.

    But again, there is very little point in trying to pack each scope to the front of the file if you cause Oracle immediately need to expand the file to store the new allowance claims. Existing free extensions in the logical HWM of the file will be reused when possible with managed tablespaces locally packaging 100% is not necessary.

    If the dictionary is indeed this reuse is more variable, but based on your previous posts, there is no need to worry about this situation.

    HTH - Mark D Powell.

  • Is there no matter what it is called line high water mark for the data files?

    Hi all

    I'm a little confused about that. Many links suggest that HWM is for Segments (data index etc.). But at the same time, I see a lot of discussion (on this forum as well) which suggest that the HWM is an attribute of the data file.

    for examplefind a watermark on a data file

    Please specify.

    Thank you

    user8896122 wrote:

    Hi all

    I'm a little confused about that. Many links suggest that HWM is for Segments (data index etc.). But at the same time, I see a lot of discussion (on this forum as well) which suggest that the HWM is an attribute of the data file.

    for examplefind a watermark on a data file

    Please specify.

    Thank you

    When all else fails Read The Fine Manual (see LINK below)

    Glossary

  • Generate the analog waveform based on the data file

    I want to create an analog voltage output that follows I have a data file (excel, csv, text (which is easy)).  The data file creates a waveform with equal time between steps (dT =.0034 sec).  After the output through all the data points, I want it repeat indefinitely.

    What is the best way to create the waveform of a data file?

    To create a type of waveform data, calculate the dt by subtracting two values in column 1 and get the array of Y from column 2. If you save the file as a comma separated or tab text file, you can then use the spreadsheet file read. After obtaining a 2D array, you would use the index table and the subset of table functions.

    Assuming you use a capture card data OR for the output signal, you can pass a type of waveform data to a writing DAQmx and set for the generation of types.

  • Open the data file Outlook - access denied

    I have an Outlook data file created and used when I was running Outlook 2003 on Windows XP - Pro. I have a new computer with Windows 7 Home Premium. I'm still on Outlook 2003. When I try to open the data file, I get - file access is denied. You don't have permission to access the file C:\Users\Valued Customer\Outlook_xxx.pstr

    I am logged in as administrator.
    The permissions for all folders in the path and the file itself grant full control.

    I changed the owner to my new login name.

    NG wrong - try: http://social.answers.microsoft.com/Forums/en-US/category/officeoutlook TaurArian [MVP] 2005-2010-implementation to date of Services

  • Open or convert the .dat files

    How to open image files that have a file extension ".dat".  I have Windows Vista and most of the photo files are .jpg, .gif

    You may be able to view the .dat file if you rename in .jpg.

    Also... the free software IrfanView can be able to open the file:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    IrfanView and IrfanView plugins
    http://www.download.HR/download-IrfanView.html
    (scroll down a bit for the download links)
    (Download plugins too)

  • easy transfer can be used to reload the data files after formatting hard drive?

    I have been informed by level microsoft 2 I have to reformat my hard drive to fix the problem with windows backup (snapshot won't work).  easy transfer will copy all THE data files, including OUTLOOK 2007 on hard drive and then I can reinstall on reformatted drive.

    Easy transfer copy some things but not all things. He does more that can make a simple copy/paste (such as the settings for example) but, for example, not programs transfer (those who need to be put back in place).  Here is a description of what it does (and does not): http://support.microsoft.com/kb/928635.  It will transfer Outlook 2007 PDF files and other personal data if they are selected - you need to know which files you need and where to select them - but it won't transfer the program (which must be put back in place).  It must be run before you reformat the hard disk to collect data and then you can transfer everything what you have registered once the system is re-installled.  You would do the re-setup prior to the transfer.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I re - attach the data files for the programs?

    Original title:

    reconnection of the files

    BONE had to be reinstalled.  All data is saved but lost programs.  Programs now reinstalled, but how can I re - attach the data files for the programs?

    Hello

    You copy the data on your computer (Documents, Photos, etc.) and file extensions should be automatically associated with programs they have written in.

    Otherwise:

    "Changing programs by default by using Set Program Access and defaults of the computer"

    http://Windows.Microsoft.com/en-us/Windows/set-program-access-computer-defaults#1TC=Windows-7

    "How to change file Associations in Windows 7 and Windows 8.

    http://www.7tutorials.com/how-associate-file-type-or-protocol-program

    See you soon.

  • ORA-19846: cannot read the header of the data file of the remote site 21

    Hello

    I have a situation or I can say a scenario. It is purely for testing base. Database is on 12.1.0.1 on a Linux box using ASM (OMF).

    Standby is created on another machine with the same platform and who also uses ASM (OMF) and is in phase with the primary. Now, suppose I have create a PDB file on the primary of the SEED and it is created successfully.

    After that is a couple of log, do it again passes to the waiting, but MRP fails because of naming conventions. Agree with that! Now, on the primary, I remove the newly created PDB (coward the PDB newly created). Once again a couple of switches of newspapers which is passed on to the wait. Of course, the wait is always out of sync.

    Now, how to get back my watch in sync with the primary? I can't roll method until the required data (new PDB) file does not exist on the main site as well. I get the following error:

    RMAN > recover database service prim noredo using backupset compressed;

    To go back to November 8, 15

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 70 = device = DISK stby type instance

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at the 18:55:32 08/11/2015

    ORA-19846: cannot read the header of the data file of the remote site 21

    The clues on how to I go ahead? Of course, recreating the eve is an option as its only based on test, but I don't want recreation.

    Thank you.

    I tried like below:

    1 a incremental backup of the primary of the CNS where off the eve also taken primary backup controlfile as Eve format.

    2 copy the backup of the watch parts, catalogged them on the day before.

    3 recovered Eve with noredo option - it fails here with the same error pointing to the 21 data file.

    OK, understood. Try not to get back the day before first, rather than restore the controlfile and then perform the restoration.

    Make it like:

    1. take incremental backup of primary SNA, also ensures the backup controlfile format.

    2. copy pending, get the location of the data file (names) by querying v$ datafile on the eve. Restore the controlfile ensures from the backup controlfile you took on primary and mount.

    3. Since you are using OMF, the path of primary and standby data file will be different. (/). If you require catalog data from the database files pending.

    (Reason: you restore controlfile from elementary to step 2, which takes place from the main access road). Use the details that you obtained in step 2 and catalog them.

    4. turn the database copy by RMAN. (RMAN > switch database to copy ;))

    5 Catalog backup items that you copied in step 2.

    6. recover the standby database using 'noredo' option.

    7. finally start the MRP. This should solve your problem.

    The reason I say this works is because here, you restore the controlfile to primary first, which will not have details 21, datafile, and then you are recovering. So it must succeed.

    In the previous method, you tried to first collect all the day before, and then restore the controlfile. While remedial classes, always watch seeks datafile 21 as he controlfile is not yet updated.

    HTH

    -Jonathan Rolland

  • I CAN QUERY A TABLE EVEN AFTER THE DELETION OF THE DATA FILE

    Hello

    Can someone explain to me the reason why I am able to interview some tables even after the deletion of the data that are associated with file?

    SQL > select table_name, tablespace_name from dba_tables where owner = 'SCOTT ';

    TABLE_NAME, TABLESPACE_NAME

    ------------------------------ ------------------------------

    TEST2 USERS

    TEST USERS

    SALGRADE USERS

    USERS OF BONUS

    USERS OF THE EMP

    USERS OF DEPT

    6 selected lines.

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    [oracle@localhost orcl] $ rm /app/oracle/oradata/orcl/users01.dbf

    [oracle@localhost orcl] $ sqlplus scott/scott

    SQL * more: Production version 11.2.0.1.0 on Mon Mar 30 21:35:54 2015

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select count (*) from test2;

    Select count (*) from test2

    *

    ERROR on line 1:

    ORA-01116: error opening the database file 4

    ORA-01110: data file 4: ' / app/oracle/oradata/orcl/users01.dbf'

    ORA-27041: could not open the file

    Linux error: 2: no such file or directory

    Additional information: 3

    SQL > select count (*) of the test;

    COUNT (*)

    ----------

    5000

    SQL >

    The first output is as expected. But why am I still able to query the table of test, even if the data file has been deleted.

    Hello

    The process of database have a file handle for the data file - this remains even when the file is deleted (it disappears from the normal file system navigation)

    You can see if you have lsof installed

    just try

    lsof | grep datafile_name

    Once the database is restarted and the released file handle so you will not be able to do this any more - and in fact you will get errors when it can't find the file.

    See you soon,.

    Rich

  • RMAN issues - no backup or copy of the data file found

    Oracle 11 g 2

    Linux RHEL 6.5

    I inherited a database backup and restore question since the DBA is OoO.

    Here is the script used for the backup:

    Configure default device the disk type;
    Configure controlfile autobackup on;
    Configure controlfile autobackup peripheral type disc format in ' / u01/app/oracle/bkp/controlfile/%F.ctl';
    Configure retention policy to recovery of 30-day window;
    View all;
    Run {}
    stop immediately;
    bootable media;
    allocate channel dup1 device type disk;
    allocate channel dup2 device type disk;
    SQL "create pfile =" /u01/app/oracle/bkp/pfile/initpfile.ora "of spfile;
    backup format ' / u01/app/oracle/bkp/cold_db/cold_bkp_%U' database;
    output channel dup1;
    output channel dup2;
    ALTER database open;
    }

    When I try the following restore script:

    run
    {
    Start pfile='/u01/app/oracle/bkp/pfile/initpfile.ora' nomount;
    Restore controlfile to ' / u01/app/oracle/bkp/controlfile/c-123131414-20140509-00.ctl';
    change the editing of the database;
    restore the database;
    ALTER database open resetlogs;
    }

    I get error RMAN-06023: no backup or copy of the data file found

    I'm trying to restore a database backup from 5 days ago and I use this backup control file.

    I'll close this discussion and continue to involve the Oracle.  Thank you all for your help.

  • You cannot change the data file

    Unable to Alter Database Datafile

    Hi all

    Using Alter database datafile ' C:\Oracle\APP\ORADATA\...\USERS01. DBF' SIZE 100M;

    getting this error.

    SQL > Alter database datafile ' C:\Oracle\APP\ORADATA\...\USERS01. DBF' SIZE 100M;
    Error report:
    SQL error: ORA-01237: do not extend datafile 4

    ORA-01110: data file 4: ' C:\Oracle\APP\ORADATA\...\USERS01. DBF'

    ORA-27059: reduce file size

    OSD-04005: SetFilterPointer() failure, unable to read the file

    s/o-error: (OS 112) there is not enough space on the disk.

    01237 00000 - "cannot extend %s datafile.

    * cause: year Operating system error has occurred during resizing.

    * Action: Resolve the cause of the error of operating system and start the command

    I understand that the OS space is full and I guess this isn't specific Oracle error, but certainly an OS level error, someone could suggest me how to deal with the erasure of space, is it possible to erase and reuse the data files? Please suggest.

    Help out me

    Thank you and best regards,
    Cabbage

    You need create more space by deleting unnecessary files or narrowing of the files.

  • Problem copying the data file

    Hello

    I'm relatively new to essbase. I'm trying to see if taking the back to the top of the map files, data file and security, can restore us the essbase application.

    I copied the outline of a cube ASO 'A' in another word to say 'B '.

    I'm doing the same thing for the data file. But the problem is that I'm not able to see all the data in 'B' when I got the data. I do not know if what I'm doing is just. Could someone please suggest?

    Thank you

    Bob

    Hello

    Once you copy the contour on different App folder stop and start Essbase and see if you are able to see the dimensions in this app (you must have the otl file and keep the files renamed as database name), open the outline and save.

    Export the data from the first application and import these data files on the second request snack if you want to go with manual steps.

    Am not very sure I have no idea of ASO and it's just my guess.

    Thank you

    Amith

  • Field in the data file exceeds the maximum length - CTL file error

    Hello

    I load data into the new system using the CTL file. But I get the error message 'field in the data file exceeds the maximum length "for few records, other records are processed successfully." " I checked the length of the error record in the extracted file, it is less than the length of the target table, VARCHAR2 (2000 bytes). Here is an example of error data,


    Hi Rebecca ~ I just talk to our Finance Department and they agreed that ABC payments can be allocated to the outstanding invoices, you can send all future invoices directly to me so that I could get paid on time. ~ hope it's okay ~ thank you ~ Terry ~.

    This error is caused because of the special characters in the string?

    Here is the ctl file that I use,

    OPTIONS (SKIP = 2)

    DOWNLOAD THE DATA

    CHARACTERSET WE8ISO8859P1

    INFILE '$FILE '.

    ADD

    IN THE TABLE "XXDM_DM_17_ONACCOUNT_REC_SRC".

    WHEN (1)! = 'FOOTER ='

    FIELDS TERMINATED BY ' |'

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS)

    < nom_de_colonne >,

    < nom_de_colonne >,

    COMMENTS,

    < nom_de_colonne >,

    < nom_de_colonne >

    )

    Thanks in advance,

    Aditya

    Hello

    I suspect it's because of the construction in default length of character in sqldr data types - char (255) must take no notice of what the definition of the current table is by default.

    Try adding CHAR (2000), to your controlfile so you end up with something like this:

    OPTIONS (SKIP = 2)

    DOWNLOAD THE DATA

    CHARACTERSET WE8ISO8859P1

    INFILE '$FILE '.

    ADD

    IN THE TABLE "XXDM_DM_17_ONACCOUNT_REC_SRC".

    WHEN (1)! = 'FOOTER ='

    FIELDS TERMINATED BY ' |'

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS)

    ,

    ,

    COMMENTS TANK (2000).

    ,

    )

    See you soon,.

    Harry

  • When OMF add the data file in the tablespace

    Hi friends,

    We use oracle 11.2 with CMS (oracle managed file) for the database on the linux platform. the parameter - DB_CREATE_FILE_DEST had been set. at the present time, we received a message from global warming this tablespace criterion is 85% full.

    According to the document of the oracle, OMF auto will add a data file in the tablespace tast. more than a week, I do not see any data file has been added by OMF.

    I want to know when OMF adds the data file in the tablespace? 85% or 95% or some (parameter) setting this action?

    Thank you

    newdba

    OMF does not automatically add a new data file.  You must explicitly add a new data file with the ALTER TABLESPACE ADD DATAFILE command tbsname.

    What is OMF is to provide a Unique name and a default size (100 MB) for the data file.  That is why the ALTER TABLESPACE... Command ADD DATAFILE that you run didn't need to specify the file size or file name.

    Hemant K Collette

Maybe you are looking for