How to reset high water mark into LOBSEGMENT

Hi
I am using oracle 10g R2. I need to reset high water mark from LOBSEGMENT, I have already reset it from table segment. Please help me regarding this. Necessary information as under :
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - Productio
NLSRTL Version 10.2.0.3.0 - Production
SQL> SELECT dbms_metadata.get_ddl('TABLE','F_JOB_LIST_1','T24') FROM DUAL;
DBMS_METADATA.GET_DDL('TABLE',
CREATE TABLE "T24"."F_JOB_LIST_1"
( "RECID" VARCHAR2(200),
"XMLRECORD" "SYS"."XMLTYPE" ,
CONSTRAINT "F_JOB_LIST_1_PK" PRIMARY KEY ("RECID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "GLOBUSINDEXXML" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "GLOBUSDATAXML"
XMLTYPE COLUMN "XMLRECORD" STORE AS CLOB "LOB_F_JOB_LIST_1"(
TABLESPACE "GLOBUSDATAXML" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10
NOCACHE LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)) ENABLE ROW M
OVEMENT
Regards
Rabi
Edited by: user623166 on Dec 30, 2011 9:17 PM

You can rebuild the LOB segment using ALTER TABLE MOVE or you can shrink the table using cascade. Cascade will also shrink the LOB segment as much as possible.
In version 11g, you can compress LOB segments and turn on de-duplication if you have an advanced compression license. You cannot shrink LOB segments if they are stored as SECUREFILE.

Similar Messages

  • High water mark creates performance degradation

    Hi all,
    I need help...
    How to find High water mark for tables. How to decide what are all tables needs to be reorginised. I want clear cut idea on this issue.
    Please help me.
    Regards,
    Kiran

    You use online segment shrink to reclaim fragmented free space below the high water mark in an Oracle Database segment. The benefits of segment shrink are these:
    Compaction of data leads to better cache utilization, which in turn leads to better online transaction processing (OLTP) performance.
    The compacted data requires fewer blocks to be scanned in full table scans, which in turns leads to better decision support system (DSS) performance.
    Please visit here:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/schema.htm#ADMIN10161
    what were the objects and recommendations generated after Segment Advisor job execution?
    SQL> select af.task_name, ao.attr2 segname, ao.attr3 partition, ao.type, af.message
    from dba_advisor_findings af, dba_advisor_objects ao
    where ao.task_id = af.task_id
    and ao.object_id = af.object_id
    what are the objects my database that can be reduced?
    select tablespace_name, segment_name, segment_type, partition_name,
    recommendations, c1 from table(dbms_space.asa_recommendations('FALSE', 'FALSE', 'FALSE'));
    where c1 is the command to be used.Before such operations this has to be issued,
    ALTER TABLE ... ENABLE ROW MOVEMENT.
    Hope it helps.
    Adith

  • Need to save some e mails but my high water mark is on how do i have e mails

    want to save e mails.have folder but my high water mark comes up.what to do

    You can save iCloud emails to your computer by creating a new Mailbox in Apple Mail, making sure that it is under 'On My Mac'. If you then drag messages from the iCloud mailbox to the new mailbox they will be downloaded and removed from the server. Don't try to do too many at once, and if you have a lot expect it to take quite some time.

  • License high water mark

    Hi Gurus,
    In alert log file , i find License high water mark with some number after shutdown immediate command.
    What does it signify ?
    Is this problem ?
    What information can we derive after finding this ?
    Thanks & Regards

    It is the number of sessions. A end user may open multiple sessions. A connection pooled applicaion such as a web server based application may open a minimun number of connection pooled sessions such as 20 to 50 at all times even if idle.
    What kind of applications do you have using the database.
    Did you query v$session to see how many sessions there were?
    Ok, so you do not use dbms_scheduler but do you use PQO? If a single user submits a query that runs under PQO then numerous sessions may be created to run the query.
    I have seen a single .net applicaiton flood a database with connections. Every time it ran a look it opened a new connection when it was supposed to be using a pooled connection. It took the developers a while but they eventually found where another parameter had to set in the system to get the .net code to function correctly.
    What you expect and what you have appear to be different. Looking at v$session should allow you to confirm the information and if the number of sessions is greater than what you expect it should allow you to trace them back to the source.
    HTH -- Mark D Powell --

  • Datafile High Water Mark Script....

    Hello,
    How can I find out high water mark for a datafile?
    Thanks.

    Hi,
    If you have access on Oracle Metalink, so you can take a look at Note:130866.1 about calculation of High water mark of datafiles. In addition to that, you also take a look at this [url http://forums.oracle.com/forums/message.jspa?messageID=1605840#1605840]thread.
    Cheers
    Legatti

  • High water  mark level

    hi all
    Does 'HWML' has any significant role in performance
    regards
    josh

    hi,
    just out of interest this script will tell you each datafile size and its high water mark value.
    set serveroutput on
    execute dbms_output.enable(2000000);
    declare
    cursor c_dbfile is
    select tablespace_name
    ,file_name
    ,file_id
    ,bytes
    from sys.dba_data_files
    where status !='INVALID'
    order by tablespace_name,file_id;
    cursor c_space(v_file_id in number) is
    select block_id,blocks
    from sys.dba_free_space
    where file_id=v_file_id
    order by block_id desc;
    blocksize binary_integer;
    filesize binary_integer;
    extsize binary_integer;
    begin
    /* get the blocksize of the database, needed to calculate the startaddress */
    select value
    into blocksize
    from v$parameter
    where name = 'db_block_size';
    /* retrieve all datafiles */
    for c_rec1 in c_dbfile
    loop
    filesize := c_rec1.bytes;
    <<outer>>
    for c_rec2 in c_space(c_rec1.file_id)
    loop
    extsize := ((c_rec2.block_id - 1)*blocksize + c_rec2.blocks*blocksize);
    if extsize = filesize
    then
    filesize := (c_rec2.block_id - 1)*blocksize;
    else
    /* in order to shrink the free space must be uptil end of file */
    exit outer;
    end if;
    end loop outer;
    if filesize = c_rec1.bytes
    then
    dbms_output.put_line('Tablespace: '
    ||' '||c_rec1.tablespace_name||' Datafile: '||c_rec1.file_name);
    dbms_output.put_line('Can not be resized, no free space at end of file.')
    dbms_output.put_line('.');
    else
    if filesize < 2*blocksize
    then
    dbms_output.put_line('Tablespace: '
    ||' '||c_rec1.tablespace_name||' Datafile: '||c_rec1.file_name);
    dbms_output.put_line('Has a highwater mark of: '||2*blocksize
    ||' Bytes, actual size: '||c_rec1.bytes||' Bytes');
    dbms_output.put_line('.');
    else
    dbms_output.put_line('Tablespace: '
    ||' '||c_rec1.tablespace_name||' Datafile: '||c_rec1.file_name);
    dbms_output.put_line('Has a highwater mark of: '||filesize
    ||' Bytes, actual size: '||c_rec1.bytes);
    dbms_output.put_line('.');
    end if;
    end if;
    end loop;
    end;
    regards
    Alan

  • Explain about high water mark and low watermark

    explain about high water mark and low watermark?

    biju2012 wrote:
    Here are a few links..
    http://www.orafaq.com/tuningguide/
    Look at Analysing problem SQL > Data Storage Problems > High Water Mark
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:575223085419
    I checked both those links, and neither says anything about a "low water mark". One link has a copyright notice of 2003, the other starts with a question about 8.1.6.
    Given the nature of the question I think we should be allowed to guess that the OP is probably thinking about the "low high water mark" and "high high water mark" that applies to segments using ASSM (automatic segment space management).
    Under ASSM, Oracle doesn't format blocks for use in absolute order, it will pick batches of blocks (typically 16 - unless that's changed fairly recently) in the most recently allocated extent. This means that you can end up with some UNFORMATTED blocks near the start of the extent with some FORMATTED blocks later in the extent.
    The "low high watermark" is the last block below which there are no UNFORMATTED blocks; the "high high watermark" is the block above which there are no FORMATTED blocks. Looking at it another way - between the low and high high watermarks you may find both formatted and unformatted blocks, but this condition doesn't exist anywhere else in the segment.
    Regards
    Jonathan Lewis

  • Table high-water mark

    Hi Guys,
    please help me in this table high-water mark in sql tuning.
    regards
    Sub

    use the dbms_space.unused_space procedure to tell you what you want to know. total_bytes - unused_bytes will tell you used bytes -- your HWM in bytes. total_blocks - unused_blocks will tell you used blocks -- your HWM in blocks.
    But this information is not of much use in tuning as it only tell you where in the table allocation your data ends. Beyond the HWM is terra incognito, so far as the optimizer is concerned.

  • What is High Water mark?

    Hi,
    What is high water mark in an Oracle data block? I have gone thorugh some material on this, but could not understand fully.
    Thanks.

    In that case No body can answer anything unless otherwise he is from oracle corp who was involved in development of DB
    A copy from other site and pasting here doesnt sound weell but atleast he did a search for you
    But your point is valid moreover it seems the OP does not have time to search in google :)

  • High water mark

    what is high water mark iin oracle all about. secondly what type of PL/SQL is describe dbms_start

    High Water Mark is all about knowing what table storage is used and what table storage is free. Blocks stored below the high water mark may be full, but if not they should be considered for use when inserting or updating records. On the other hand, blocks below the high water mark also need to be inspected during a full-table-scan query whether they are empty or not.
    DESCRIBE is not PL/SQL. It is a SQLPlus command used to show the API of a table or a procedure. Described [sic] in the SQLPlus reference manual at http://tahiti.oracle.com

  • Why high water mark?

    Hi,
    These days I am always thinkin' about a question that why Oracle introduces high water mark.
    I've found some documents describing this concept, but I still can't make out what's the advantage of the high water mark.
    If someone could tell me, I will be very appreciated!

    Jaffy wrote:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:669044239081
    regards
    Jaffythanks Jaffy, I think I can accept this answer, maybe Oracle takes FTS from HWM as a safe way.
    The same thanx to Pavan Kumar and Aman....
    ----quote from http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:669044239081:
    The blocks are in use. The table is a complex data structure, it is not a fifo/lifo queue or
    anything like that -- it is a big old heap. Once used -- implies "could still be used".
    Edited by: user12977032 on May 14, 2010 12:54 AM

  • Query high water mark for my rollbacksegment

    can somone give me a query to find it out high water mark from my rollback segments.
    Thansk

    Which version of Oracle are you using ?
    If 9i and above, you'd better choose auto undo management, then there's no need to worry about rollback segment "HWM"
    Actually there's no HWM problem for rollback segment, in 8i and before, you can set the OPTIMAL size of your rollback segment.
    The idea is let rollback segment shrink to OPTIMAL size after it grows. However, if rollback segment is sized properly, it shoundn't grow. Because frequent rollback segment shrinking and growing will have impact on performance, it's not worth the few hundred mega space saved temporarily.

  • How do I get water marks off of my phone case screen?

    I recently bought an iPhone 5 case from t mobile and I tried wiping the screen down with some water and drying it off because is was dirty. When it dried and I put it on my phone, there were there little purple shiny marks on the case screen so I thought it had to do with my cleaning it with water. Is there any way I can remove these marks as well as the fingerprints that are on it?

    I basically unsynced all my music from my computer to find this stuff that is apparently not on my computer but won't go away from my phone...
    Do I seriously have to do a restore to get it off?
    Why are there so many discrepancies between what my phone shows is on it and what iTunes shows on my phone when it is plugged in?
    HELP!

  • WAAS - TCP Connection High-Water Mark

    Is there a way to tell the historical statistic for maximum number of TCP connections in a WAE? We are in the middle of a deployment and I am wondering how well we sized our HQ cluster.

    Through CM dashboard -> manage devices and go to edge or core device, you will be able to see the connections for each device.
    The other option, is to check and see if you are seeing a lot of bypass traffic.
    Once WAAS reaches max, traffic will be bypassed until max sessions drops

  • High Water Mark for Undo tablespace..!!

    Hello Everybody,
    I was searching since long to get how much maximum the undo tablespace might have reached.
    Can somebody please help me with the query to find out what is the maximum that undo tablespace has been reached.
    Any help will be greatly appreciated.
    Thanks -
    Harsh.

    Hi,
    Undo tablespace are different from the normal tablespace. They consist of undo segments which can have undo blocks in three status
    1)ACTIVE
    This means that undo extent is Active and being currently used by a transaction
    2)UNEXPIRED
    This represents the extents which are required to satisfy the time specified by Undo_retention Initialisation parameter.
    3)EXPIRED
    These are extents which are not being used by transaction and have crossed the time specified by Undo_retention .
    (http://askoracledba.blogspot.com/2008/04/undo-tablespace-sizing.html)
    Now there might be case that the blocks for committed transactions which has passed undo_retention are in middle of datafile.
    In case you want HWM information so as to reduce the datafilesize, then I would recommend you to create a new undo tablespace and switch to it. After that you can drop the old undo tablespace.
    -Amit
    http://askoracledba.blogspot.com

Maybe you are looking for

  • Computer hard drive crashed. Need to transfer iPod music to new computer -- how to do this??

    My Windows 7 computer crashed, and now I need to transfer my tunes from my iPod Nano to my new computer. I have both purchased songs and songs I uploaded from CD's.  Can anyone help tell me how to do this?  When I plug in my iPod the iTunes software

  • Report - Day wise /Week wise

    Hi Experts, I have 2 reports for which the data is fetched from 1 DSO. I have CREATED DATE and DESPATCHED DATE in that. I want to view both the reports Day Wise / Week Wise. In the DSO i have mapped the Created Date to the CalDay and CalWeek/Year. Wh

  • Flex 4 SDK beta 2 download

    There's no beta 2 sdk download. At the top of the beta 2 download page it says... "As a reminder, everything that is in the Flex 4 SDK is also included in Flash Builder 4, so you will not need to download the SDK if you plan on using Flash Builder."

  • IPhone to TV connection

    My iPhone connects to my Samsung LCD TV via an Apple Component AV cable. I can watch video podcasts downloaded to the iPhone through iTunes. Sorry if this has been discussed before, but I couldn't find it: is there a way to view any other, non-iTunes

  • Import custom duty

    Hi, After Receipt of Bill of lading. BOD is in INR.Our po is in forgine currancy .How to do invoice verification. Regards, Vivek