11g segment Advisor

I recently activated Segment Advisor in my 11 GR 2 Exadata database (automated maintenance tasks have been disabled when we first went live).

I have it running for 3.5 hours per night at the moment. Of course, it is not enough to complete the analysis of a data base of 22Tb in a single night, but my question is if it will continue where he was arrested the previous night or if she will try to start from the beginning.

It is running about five times so far, but has only analyzed a tablespace. I think I'm being unusually impatient and it of just to take a moment to get through a tablespace, but worry that he will be stuck analyzing the same part of the database never without my intervention...

Hello

I have it running for 3.5 hours a night at the moment. Obviously, this is not enough to complete analysis of a 22Tb database in one night, but my question is whether it will continue where it was stopped the previous night or whether it will attempt to start again at the beginning. 

It is not analyze all database objects. Can you please check this auto Segment in "http://docs.oracle.com/cd/E11882_01/server.112/e10595/schema003.htm".

Thank you
Baskar.l

Tags: Database

Similar Questions

  • Auto Segment Advisor - retractable automatically based on reviews

    We have recently improved gr 10, 2-11 GR 2, and I'm looking for a better way to implement one of our old processes with built-in tools in 11 g.

    Specifically, we had a work that took place on a regular basis to shrink the tables that has known many DML, literally hundreds of tables and indexes through virtually every tablespace. With Segment Auto Advisor included in 11g, I discovered that it does a great job to detect tables and tablespaces that needs to be reduced, but it seems that I have to manually select the items to shrink a tablespace at a time.

    I want to be able to do came with an approach, similar to Auto Setup SQL, where I can set up a job to automatically apply the recommendations of advisers of Segment, which is retractable tables based on the conclusions of the Segment Advisor. For example, if the amount of usable space in a tablespace of candidate is greater than 500 MB, then reduce all the tables in the context of this recommendation that would free more than 50 MB.

    Is there a way to do this? I guess that there are views of dictionary that can be queried to find the candidate tables requiring a narrowing and then call the command ALTER TABLE RETRACTABLE appropriate to ensure.

    Has anyone else made something like that? Perhaps it could be an improvement to the counsel of the auto segment in a later version?

    Thank you
    Bill

    Use dbms_advisor.implement_task

    Thank you

  • Segment Advisor do not, run trips to PLANNED

    After removing a large amount of data from one of my databases, I installed the Manager of the company and subsequently tried to launch the Segment Advisor on the tablespace in question must be able to shrink down. I had to reinstall the Enterprise Edition, but before that, I had no problem to start the Segment advise on databases. Now, however, I submit work very well, but on the page tasks to advise, they are just like APPENDIX, even if I set the option for the task to start immediately. I tried this using accounts SYS and SYSTEM and even made SYSTEM a SYSDBA just to try anything that might be the problem, but none of my tasks to change the race. And I tried to launch the Advisor on very small tablespaces, but with exactly the same result. When I saw result for one of my tasks, the STATE said Initial, even for spots on small tablespaces I started there a few hours, and 0 seconds run time. I also put the Unlimited period, is not a problem to exhale.

    Someone can give me any ideas or clues as to what could be the problem and how I can fix this problem, so my tasks start to operate immediately when I put the option immediately? I checked the clock on the main page of Enterprise Manager and it corresponds to the computer's clock, this isn't a question of time either.

    http://www.reachdba.com/showthread.php?537-Oracle-segment-Advisor-10G

    those who live by the GUI, die by the GUI.

  • Use integrated Advisor automatic segment does not work.

    When I go to the page of automatic work segment on the EM, the button Configure is inactive and grey. I want to enable the job to advise of the segment to run every night at 22:00.

    What can be the reason for which the button Configure is not active and how to activate the automatic segment Advisor work run every night at 22:00.

    Thank you

    It seems that the task is not yet created for this db of yours and I don't know why? What you can do is create a test database either here or on other box and copy the code from there, edit, and run by yourself. If you want to code a new job than to watch this section for specific objects should be useful,.
    [Running Segment Advisor manually with PL/SQL | http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/schema.htm#sthref2113]

    HTH
    Aman...

  • Allowing jobs in 11g DB stats

    In one of our database 11g Prod, all stats collection below is enabled (as default sound regular to run every day).


    • The task of gathering optimizer statistics automatically collects statistics for all objects with no. or outdated statistics.
    • The task automatic Segment Advisor provides advice on which segments of data base have a free space that can be recovered.
    • Tasks of automatic setting SQL, which examines SQL statement performance and makes SQL profile

    Recently, we had editing data block, after that the above works has taken a lot of time and caused a lot of readings/o & inturn caused of performance problem.

    After which, I disabled automatic Segment Advisor task and setting automatic SQL. But there is no wholesale do not load after that so there is no performance problem.

    We need to re activate these tasks now, are there guidelines allowing these tasks? And furthermore are these required stats or any can be disabled permanently?

    Thank you
    Jils

    LS automatic Segment Advisor task and setting automatic SQL are required? Or can be disabled forever? Pls confirm.

    It is not mandatory. You can disable it and run it manually each time as needed.

  • Recommendations of the segment Wizard

    Oracle 11g - 11.2.00

    I have 23 recommendations segment Advisor in Enterprise Manager.
    I'm trying to recover recoverable space by reduction of 6 tables that belong to the same tablespace.
    The first time I tried to use Enterprise Manager. I connected with the user Sys as sysdba.
    Automatic work was created and took 3 minutes to make it end successfully.
    No error was informed in the alert log file.
    But when I access the Enterprise Manager, nothing has changed.
    The same recommendations are still there. Even the recoverable space is the same.

    So I tried to use sqlplus with the LF user.
    Squema LF is the owner of the tables.
    I run these commands: (the same run by Enterprise Manager).
    change LF table. LF_NF_EXIT_SAP allow movement of the line;
    I got the answer that the table has been changed.
    change LF table. LF_NF_EXIT_SAP shrink space;
    I got tha that even answer that the table has been changed.
    Engage
    It is not a DML command, so I don't think I need to use it, but I used.
    I got the answer that the validation has been performed.

    Then I checked in Enterprise Manager, once again, and nothing has changed again...
    No errors in the log of alerts again...
    The same number of recommendations with the same usable space...

    I don't understand the error.
    This is the first time that we try to reduce the objects. It is our first Oracle system.
    Could you please help me?

    Thanks in advance,

    Ed

    For one of the tables, it has 1.5 GB of reclaimed space.

    What is the cost of the disk space?
    What is your time worth to mess with it?

    Can I just leave it like that?

    Yes

    This space will be used anyway?

    YES!

  • EXP-00003: no definition of storage found for segment

    Hello

    I get and error when you try to export (exp) through an Oracle Server client 'Version 11.2.0.1.0 - Production' under Solaris 10 from a remote 11.2.0.4.0 64-bit Enterprise Edition . After I nspecting the export EXP-00003 error code log file is received from all the imported tables, but more important still, he went around all the tables that is not all inserted records, I realized that only after importation of the generated dump file. Is there any initialization parameter? or any special setting that I need to specify for this error?


    Kind regards.

    Hello

    Your problem is the reason

    http://Oracle-base.com/articles/11g/segment-creation-on-demand-11gr2.php

    Who can't face the exp utility - you should use datapump...

    See you soon,.

    Rich

  • Shrink a table and space recovery

    Windows 2008 Server - Oracle 11g 11.0.2

    I had a problem with a table with more than 30 million lines.
    I discovered that a routine created unnecessary lines inside this table.
    The owner of the application sets the routine and I deleted more than 23 million rows in the table.

    To reclaim the space in the table, I activated the option of moving line.
    And then I used the command space shrink.

    I checked in EM and I saw that the table using 10.3 Gbs, now it is using only 2.2 GB.

    In EM, this new free space, more than 8 GB, acknowledged in tablespace and datafile.
    Segment Advisor did not recognize the new free space yet, so the recommendation to reduce is stil there.
    And I want to resize the data file.

    I used EM to resize the data from 12 GB to 5 GB file.
    I see in MS that only 2.5 Gbs are used in this data file.
    But I got the error ORA-03297, file contains data used beyond the requested value of resizing.

    What can I do in order to resize the data file?

    Thanks in advance,
    Ed

    There is a map of tablespace option in MS where you can hover over the segments towards the end of the data file to find out what they are, then you can use one of the many methods to move them from the road.

    Administration--> tablespaces--> click on tablespace--> menu actions drop-down menu to display the contents of the Tablespace--> expand scope map

    May take a while to process.

    See http://www.oracle-base.com/articles/misc/ReclaimingUnusedSpace.php

  • Tablespace routines

    Oracle 11.2.0 (11g) _ Windows Server 2008

    A consultant Oracle installed here our first system based on Oracle databases.

    And he let a routine in order to rebuild the tablespace:

    SET PAGESIZE 1000
    SET LINESIZE 120
    GO HEAD

    COIL C:\SATI\log_07_rebuild_tablespace_idx.log


    SELECT 'ALTER INDEX | INDEX_NAME |
    ' REBUILD TABLESPACE TS_IDX_01 STORAGE (INITIAL 64K NEXT 64K); »
    FROM USER_INDEXES.

    SPOOL OFF

    COIL C:\SATI\log_07_rebuild_tablespace_idx.txt

    @C:\SATI\log_07_rebuild_tablespace_idx.log

    SPOOL OFF

    But despite TS_IDX_01, we have other storage spaces in the system:
    SYSAUX, SYSTEM, TS_DAT_01, TS_RBS_01, TS_SAP_01, TS_SPO_01, TS_TMP_01.

    We load a lot of data to the Oracle database.
    I shouldn't run reconstruction for other tablespaces? Those who and in what order?
    Our consultant is on vacation, and some users complain about the performance.
    Could you please help me?

    Eduardo

    Hello

    And he let a routine in order to rebuild the tablespace:

    SELECT 'ALTER INDEX | INDEX_NAME |
    ' REBUILD TABLESPACE TS_IDX_01 STORAGE (INITIAL 64K NEXT 64K); »
    FROM USER_INDEXES.

    In fact you don't have to rebuild a Tablespace. The result of this query is a list of statements that will rebuild the index for TS_IDX_01 Tablespace.

    We load a lot of data to the Oracle database.
    I shouldn't run reconstruction for other tablespaces? Those who and in what order?

    You should be aware that the index rebuild can be heavy (it depends on the size of the index), it can lead to a lot of archived redo logs (if your indexes are logging mode) and can put a few locks on your Tables for DML. Thus, he did not recommend the do in Production hours.

    More about 11.2 you other statements such as SHRINK or COALESCE , which can be smooth to maintain the performance of the Index.

    If I were you, using EM Database Control, I would launch the Segment Advisor to see what clues should really be shrunk or refurbished:

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/schema.htm#CHDHBHAB

    Hope this helps.
    Best regards
    Jean Valentine

  • When you perform a rebuild of index/optimization?

    Hello

    I'm working on a 11.1.0.7 on Linux 64-bit environment. I have a few questions related to the rebuilt index / optimization.
    -How to find us on the question of whether or not an index is fragmented?
    -If it is fragmented, index rebuilt the next thing to solve the problem?
    -How do I know when to perform an index rebuild?

    Thank you!

    You can use the Segment Advisor; easier way to Oracle Enterprise Manager

    Well, if you read these threads... the answer is "most of the time, you do not have * need * to rebuild your index," so I have to disagree with your point :)

    John

  • Table Reorg - free space

    Hello

    I'm looking for an easy way to find free space in the user tables.
    Old data was removed tables, but where not yet reorganized.

    I need to know how much space is available after the removal process.

    Is there a way to see in the Enterprise Manager?

    Christian

    Version: 10.2.0.4

    Sure. Yes.
    Search for "Segment Advisor" in EM under "counsel"...

  • How will I know fragments of table

    Hello

    How will I know that the table is fragmented.

    Thank you

    If you are in 10g, you can try the Segment Advisor to identify the various questions etc. with your table. This will also provide recommendations on how to improve things.

    (below script shamelessly stolen on the brilliant Oracle Base site)

    -segment_adv_table.sql
    --
    -Use Segment Advisor to analyze a table.
    --
    -Original Version
    -http://www.oracle-base.com/articles/10g/SpaceObjectTransactionManagement10g.php
    --
    -owner is SCOTT
    -table is EMP
    --
    -do a search/replace to change these 2 values and rerun ;)
    --
    --
    DECLARE
    l_object_id NUMBER;
    BEGIN
    -Create a task to advise segment for the SCOTT. EMP table.
    () DBMS_ADVISOR.create_task
    advisor_name-online 'Segment Advisor',
    Task_Name-online "EMP_SEGMENT_ADVISOR."
    Task_DESC => "Segment Advisor for EMP");

    () DBMS_ADVISOR.create_object
    Task_Name-online "EMP_SEGMENT_ADVISOR."
    object_type-online 'TABLE. "
    attr1-online "SCOTT."
    attr2-online "EMP",.
    attr3 => NULL,
    attr4-online "null."
    attr5 => NULL,
    object_id-online l_object_id);

    () DBMS_ADVISOR.set_task_parameter
    Task_Name-online "EMP_SEGMENT_ADVISOR."
    parameter-online "RECOMMEND_ALL."
    value => 'TRUE');

    DBMS_ADVISOR.execute_task (task_name-online 'EMP_SEGMENT_ADVISOR');

    END;
    /

    -View the results.
    SET LINESIZE 250
    TaskName FORMAT A20 COLUMN
    Object_type COLUMN FORMAT A20
    Diagram of the COLUMN FORMAT A20
    Object_name FORMAT A30 COLUMN
    Object_name FORMAT A30 COLUMN
    Message COLUMN FORMAT A40
    COLUMN more_info FORMAT A40

    SELECT f.task_name,
    f.impact,
    o.type as object_type,
    o.attr1 in the form of schema,
    o.attr2 AS object_name,
    f.message,
    f.more_info
    OF dba_advisor_findings f
    JOIN dba_advisor_objects o WE f.object_id = o.object_id AND f.task_name = o.task_name
    WHERE f.task_name IN ('EMP_SEGMENT_ADVISOR', 'USERS_SEGMENT_ADVISOR')
    ORDER BY f.task_name, f.impact DESC;

  • How the space is reused after update?

    General question Oracle if not sure db version is necessary to answer question but version 11.1.0.7

    I have an Oracle about 1 million lines table that contains 5 small varchar columns and a blob, blob images average size is 50 k. I am currently archiving of old images of blob on a local disk and affecting the image of the null BLOB.

    How Oracle reuses the space between blobs which I put to null? I really don't want the tablespace data files extend more and hope that before expanding, it will reuse the space between the blobs that are set to null.

    Thank you

    Hello

    A little test just to be sure:

    Creates a table lob_test (id number, blob of data);

    Filled the table with data and performing a data update lob_test = null;

    =================================================
    See below:

    SQL > select object_name, object_type from user_objects where
    object_type = 2 "LOB";

    OBJECT_NAME
    -------------------------------------------------------------------

    OBJECT_TYPE
    -------------------
    SYS_LOB0000059918C00002$ $
    LOB

    SQL >

    SQL > select round (sum (bytes) / 1024/1024) mb from WHERE user_segments where nom_segment
    = ' SYS_LOB0000059918C00002$ $";

    MB
    ----------
    13

    SQL > alter table lob_test modify lob (data) (shrink space);

    Modified table.

    SQL > select round (sum (bytes) / 1024/1024) mb from WHERE user_segments where nom_segment
    = ' SYS_LOB0000059918C00002$ $";

    MB
    ----------
    0

    SQL >

    =====================================================
    Conclusion: nulled blobs are actually picked up by a shrink operation!

    PS: the segment Advisor did not return all the advice to all the...

  • 10g - how do I know if the Advisor is enabled for a given maintenance window

    Hello

    Currently, I'm trying to disable sql tuning advisor and segment space Advisor during the week on a list of 10 g and 11 g databases.

    Before you disable advisors, I need to know what DB is active and what daily maintenance window.

    11g, I can make the following statement:

    SQL> select SEGMENT_ADVISOR, SQL_TUNE_ADVISOR, WINDOW_NAME from dba_autotask_window_clients;
    
    SEGMENT_ SQL_TUNE WINDOW_NAME
    -------- -------- ------------------------------
    ENABLED  ENABLED  MONDAY_WINDOW
    ENABLED  ENABLED  TUESDAY_WINDOW
    ENABLED  ENABLED  WEDNESDAY_WINDOW
    ENABLED  ENABLED  THURSDAY_WINDOW
    ENABLED  ENABLED  FRIDAY_WINDOW
    ENABLED  ENABLED  SATURDAY_WINDOW
    ENABLED  ENABLED  SUNDAY_WINDOW
    
    7 rows selected.
    
    

    However, this view does not exist in 10g can anyone help me get this information on the 10g database?

    Thank you

    Michael

    Please refer to the space management for schema objects

    SQL> select OWNER, JOB_NAME, SCHEDULE_NAME, STATE from dba_scheduler_jobs where JOB_NAME='AUTO_SPACE_ADVISOR_JOB';
    

    HTH

    Kind regards

    NORTH CAROLINA

  • Unexplained Tablespace growth then shrinks in 11g

    Is there something in the automated jobs that cause a tablespace to show growth, then shrink within 10-15 minutes?  We alerted through OEM of a WARNING, followed shortly after by a time CLEAR.  I remember reading something on this time, but couldn't find this documentation again.  Can anyone help?

    FBahr wrote:

    John - work Advisor automatic segment running, cause this situation?

    Yes, it could... did you read my response? The Advisor of Compression is part of employment Advisor auto segment.

Maybe you are looking for