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

Tags: Database

Similar Questions

  • 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

  • Display the value of the column automatically based on another column in a table

    Hello

    I use APEX 5.0, I have a requirement to display the field automatically based on the tabular presentation of other numbers.

    img.png

    in the screen shot attached above when I press Add button line a new line is created and enter the value in 'place no.', 'dept and identification of height place' when I press tab or get out of the column "height", "GID" should appear automatically.

    To display the GID my query will be like that. "Select GID from x where no = '1011' place and dept = 88 and height = 88'.

    How to get the value of from GID of the another value entered in Place no, dept and height in tabular form.

    Thanks in advance

    Ravi.

    Hi Ravi

    No need to point of Application or process. I just completed the task with the following steps

    (1) create 4 hidden items

    P2_SELWID

    P2_SELDEPTH

    P2_SELHEIGHT

    P2_CALCWNAME

    (2) gives 3 CSS classes in three columns of tables.

    . WID

    . DEPTH

    . HEIGHT

    (3) create the function jQuery for re - get three items from the page on a line if one of them has been changed.

    Add the following code to the function and the declaration of global variables

    function setRowItemValues(p_rownum){
        wid_col_id = 'f02_' + rownum ;
        wid_col_val = $('#'+wid_col_id).val();
        depth_col_id = 'f03_' + rownum ;
        depth_col_val = $('#'+depth_col_id).val();
        height_col_id = 'f04_' + rownum;
        height_col_val = $('#'+height_col_id).val();
        wname_col_id = 'f05_' + rownum;
        // set P2_SELWID,P2_SELDEPTH,P2_SELHEIGHT
        $s("P2_SELWID", wid_col_val );
        $s("P2_SELDEPTH", depth_col_val );
        $s("P2_SELHEIGHT", height_col_val );
        $s("P2_SELWNAMEID", wname_col_id );
        // Call the Dynamic Action to get WNAME if all values are not null
        if( wid_col_val != ''  && depth_col_val != '' && height_col_val != '' ){
            //Call DA to Get WNAME from WINT
            $.event.trigger("CalcWNAME");
            // set the Tabular form
            $('#'+wname_col_id).val($x("P2_CALCWNAME").value);
        }
    }
    

    and run when the Page loads

    $(document).on("change", ".WID,.DEPTH,.HEIGHT", function(){
        rownum = $(this).attr('id').substr(4);
        setRowItemValues(rownum);
    });
    

    (4) create a dynamic Action to get WNAME based on a PL/SQL function. Note the submitted page elements.

    CalcWNAME

    (5) set of the corresponding element in the line of the function jQuery, after completing the DA.

    Please check and I hope your problem is now solved.

    Concerning

    Mahmoud

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

  • Bookmarks created automatically based on the word 2013 Table of contents.

    Bookmarks created automatically based on the word 2013 Table of contents.  In the earlier version of Word, the Style of the Table of contents built into bookmarks when PDFing.

    I thought about it.  There is a new check box, you must activate in 2013 of Word when exporting to PDF format that allows to convert the elements of bookmarks when PDFing.

  • Auto fill cells with color based on the result in the cell

    Is it possible to automatically fill a color in an excel cell based on the result that is displayed in a cell

    for example, if the result is in (0.00 - 1.00 = green), (superior to-2.00 orange)...

    -1.00
    0.54
    -2.50

    Hi CP.

    If you use excel 2007
    Use the conditional format in the home TAB
  • cursor turns into auto-scroll and will automatically start scrolling up and down.

    Original title: after the big update Tuesday, October 9, 2012 my mouse started acting and auto switch to scroll without touching!

    It is especially obvious when you use any browser. I thought it was a conflict with Zone Alarm, but after uninstalling ZA problem persists. Symptoms is the cursor turns into auto-scroll to move the only mouse will scroll the pages upwards or downwards. The other thing when I place the mouse over Favorites, it automatically opens all favorite links! I tried to restore to before Oct. 9, update, but the problem persists!

    Hello

    Thanks for posting in the Microsoft Community Forum. Rest assured that we would do our best to help you.

    What is the number of KB of the update that was installed?

    It sounds like a third-party software or service is causing the problem.

    You can perform the following steps and check if that helps:

    Step 1:

    You can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts. The following article explains how to solve problems in Windows Vista or Windows 7 by performing a clean boot:

     

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Step 2:

    You can also scan your computer the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Hope this information helps. Please do not hesitate to answer, we would be happy to help.

  • The auto segment space management

    Hello
    DB version: oracle enterprise edition 10.2.4.0 64-bit
    Version of the operating system: windows 2003

    My database tablespaces is in the management of space segement "manual." so, if I want to conver the management of space segment on "automatic".

    Automatic:-objects in the repository automatically managing their free space. It offers high performance for the management of free space.
    Manual:-objects in the storage will manage their free space using free lists. It is provided for backward compatibility.

    (1) so, how can I know if the database is backward compatible?
    (2) are at - it problems with his performance after conversion
    (3) or is there other serious problems other than performance.
    (4) how can we identify the interms of difference in performance after the migration of the "Handbook" on "automatic".

    Thank you.

    Ckpt salvation,

    Please visit this link which is routed in fairly deep on the SAMS.

    http://www.tanelpoder.com/files/Poder_Freelists_vs_ASSM.ppt

    HTH
    Aman...

  • T410s - screen Auto-Dims the display content-based?

    This is a really weird thing... never seen a behavior in a LCD screen like this before.

    I noticed that the screen very slowly descends the brightness of the backlight, and almost don't notice you at first, when the low contrast images are displayed on most of the screen.

    I first noticed while browsing, but the best way to reproduce the problem is to open two copies of painting, maximize their and make the size of the image fills the screen.  Let one of them is all white and fill another with all gray.  Adjust the brightness of your screen up.  Now alt - tab between the two copies of painting every 10 seconds.

    What I see is that when I leave the gray image on the screen for a few seconds, you can see the brightness of the backlight begin to decline in about 10 discrete steps, more than 3 seconds.  When you switch to the image in white you end up with a dark looking screen, and then you can see as the brightness of the backlight itself upward during the few seconds of couple.

    You will notice the effect more with less ambient light, or by the dos commands and gauge the total luminous power of the monitor in a room dark.

    To be clear, I'm not saying that an image is smaller than the other.  I mean if leave you it on the gray screen for a few seconds and then switch back to the white screen, * after * switch you back, on the next 5 seconds, you will see the total display increasing brightness.

    Sorry for the long explanation, but... I see it?  Or is it some lost 'improving contrast newness' of the LCD?  I'd really like to hear your experience.

    Thank you

    -Jeremy

    I found the solution here:

    http://forums.Lenovo.com/T5/T400-T500-and-newer-T-series/T410s-screen-turning-white/m-p/215992

    It's a 'characteristic' energy saving.

  • Create a report based on reviews of capacity planning

    It is sort of a noob question, but I don't know how to do this.  I have attached the screenshot, I want to be able to send this form as a report.  I would do this?

    The report which is probably the closest to virtual machines VMWare Cluster capacity, just plan or run.

    Golan

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

  • need help with the automatic management of the space segment

    Hello

    I use Oracle 10.2.0.4 on win 2008 Server SP2. I would like to know if we can set the Segment space management auto for RBS and temporary storage spaces. As the data are not permanent in these storage spaces, it will handle automatically?

    Please advice

    I would like to know if we can define the management function of space Segment car for RBS and temporary storage spaces.

    Are you on 10g, use the UNDO tablespace.

    If you try to create the undo tablespace with "auto segment space management", you get an error.

    12:25:50 SQL> @ver
    FROM v$VERSION
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    
    12:26:49 SQL> create undo  tablespace undo datafile 'D:\DB\UNDO_01.dbf' size 2M segment space management auto;
    create undo  tablespace undo datafile 'D:\DB\UNDO_01.dbf' size 2M segment space management auto
                                                                      *
    ERROR at line 1:
    ORA-30024: Invalid specification for CREATE UNDO TABLESPACE
    
    12:30:50 SQL> create temporary tablespace temp1 tempfile 'D:\DB\TEMP1.dbf' size 1M segment space management auto;
    create temporary tablespace temp1 tempfile 'D:\DB\TEMP1.dbf' size 1M segment space management auto
                                                                                                  *
    ERROR at line 1:
    ORA-30573: AUTO segment space management not valid for this type of tablespace
    

    The management of cancellation setting must be on "AUTO" for automatic management of the undo tablespace. The temporary tablespace is automatically supported by oracle itself.

    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref413]

    Anand

  • SX80 and automatic switching based on the mic input camera

    Please can someone confirm that the SX80 is able to switch camera entries automatically based on the microphone the highest entry level?

    That's what the "Audio input Microphone [1-8] VideoAssociation VideoInputSource: [1...» [5]"command is for, no?

    Is there something else to make it work?

    Thank you.

    Is the correct answer of Acevirgil. The other way outside the SpeakerTrack is with a control mixer and microphone of third party.

    It is very difficult to do things, with the 'right', which means the following

    • The switch happens as soon as the conversation
    • Each switch takes exactly the same amount of time
    • Only concentrated no panoramic, not tilting, video non-zoom is sent to complete far or near end view
    • Logic manages several open mics or prevent it from happening
    • Should handle non-English periods gracefully with views of appropriate camera - i.e. without open mics
    • ignore the random noises, paper, phone, door open, outside the irrelevant sounds, etc...

    There are about more than a dozen, but those are the most important. Out of all that I've seen on the soundtrack is by far the best of the OEM. It fails on some of the points above, but doing good things.

  • Can add you automatically some than Tags based on folder name when you import into PSE12?

    I thought that I used to be able to add tags automatically, based on the name of the folder, when you import? I can't ind now. Was this wishful thinking?

    Chris@Badgers wrote:

    I thought that I used to be able to add tags automatically, based on the name of the folder, when you import? I can't ind now. Was this wishful thinking?

    What is possible when you download from the camera or a card reader, is to use the options in the Advanced section. You can add images to a selected album and you can use a template to import IPTC metadata; right of author and writer.

    This is not based on the name of the folder.

    What you can do when you have displayed your subfolders in the left panel is to highlight the subfolder and create an 'instant album' with the name of the subfolder.

    Ask if you need more details.

  • License required for "Automatic SQL Tuning Advisor"?

    I noticed a lot of databases in my company show using a component called "Automatic SQL Tuning Advisor" or "Automatic maintenance - Setup SQL" in DBA_FEATURE_USAGE_STATISTICS.

    Do we know if this component requires a License Pack Tuning or it could be one of the internal out-of-box/system uses that do not require a license?

    Thank you!

    I need a License Pack - Tuning

    Options and Packs

    MOS Doc ID 276103.1

    Best to check with your sales representative

Maybe you are looking for