'auto collection optimizer stats' in em12cr3

During installation of EM 12cR3 YES noted for "disable statistics gathering jobs" and indicated it would disable for me.

After installation, I look at dba_auto_task and see that "automatic optimizer stats collection" is enabled.

The installation Prerequisites overview of the Kit EM docs also say to disable this for installation and upgrade.

What is not clear to me is: ' did for the installation/update?  should collection be enabled after the installation is complete? »

Hi Sherrie,

disables statistical optimizer auto should be only during installation and upgrade of 12 c cloud control

Once its done you can activate the automatic collection of optimizer statistics at rest DB level

Kind regards

Rahul

Tags: Enterprise Manager

Similar Questions

  • enabled automatic optimizer stats collection, but is not running and not appearing not

    enabled automatic optimizer stats collection, but is not running and not appearing not

    I've activated automatic optimizer stats collection days ago, but it never worked. DB version is 11 GR 2, OS redhat 5. It shows active in dba_autotask_client, but not in autotask_task. Please help on this issue.

    SQL > select client_name, State of dba_autotask_client;

    CLIENT_NAME STATUS
    --------
    ACTIVE automatic optimizer stats collection
    advise OFF auto space
    SQL tuning advisor ENABLED

    SQL > select TaskName, status, to_char (last_good_date, ' ' YYYY-MM-DD HH24:MI:SS) last_good_date, last_good_duration
    of dba_autotask_task
    where client_name = "auto optimizer stats collection"; 2 3

    no selected line

    SQL > select program_action, number_of_arguments, active
    of dba_scheduler_programs
    where owner = 'SYS '.
    and program_name = 'GATHER_STATS_PROG '; 2 3 4

    PROGRAM_ACTION NUMBER_OF_ARGUMENTS ENABL

    DBMS_STATS.gather_database_stats_job_proc 0 TRUE

    SQL > select w.window_name, c.autotask_status, c.optimizer_stats, w.repeat_interval, w.enabled
    -, w.duration, w.last_start_date, w.next_start_date
    dba_autotask_window_clients 2 c, dba_scheduler_windows w
    3 where 4 c.window_name = w.window_name
    5 order by last_start_date desc;

    WINDOW_NAME AUTOTASK OPTIMIZE ITS REPEAT_INTERVAL

    MONDAY_WINDOW ON ON freq = all days; byday = MY. byhour = 22; byminute = 0; BYSECOND = 0 TRUE
    SUNDAY_WINDOW ON ON freq = all days; byday = Sun; byhour = 6; byminute = 0; BYSECOND = 0 TRUE
    SATURDAY_WINDOW ON ON freq = all days; byday = SAT; byhour = 6; byminute = 0; BYSECOND = 0 TRUE
    FRIDAY_WINDOW ON ON freq = all days; byday = FRI; byhour = 22; byminute = 0; BYSECOND = 0 TRUE
    THURSDAY_WINDOW ON ON freq = all days; byday = THU; byhour = 22; byminute = 0; BYSECOND = 0 TRUE
    WEDNESDAY_WINDOW ON ON freq = all days; byday = SEA; byhour = 22; byminute = 0; BYSECOND = 0 TRUE
    TUESDAY_WINDOW ON ON freq = all days; byday = KILL; byhour = 22; byminute = 0; BYSECOND = 0 TRUE

    7 selected lines.

    SQL >

    Select max (last_analyzed) from all_tables;

    display SQL results above

  • Stats from India gets collected self when stats auto collection is on?

    In 10g and 11g, its Index stats get collected auto when stats auto collection is enabled (by default)? When do we need? As I saw nothing in the INDEX_STATS in 10g and 11g.

    Thank you.

    Default is for all COLUMNS size AUTO. statistics for the index are also taken.

    Index statistics will be fulfilled only if you post the structure. The INDEX_STATS view is filled only after running a name to analyze index validate structure. If you disconnect you no longer see statistics

    analyze the index validate structure;

    Select * from index_stats;

    You will see the information.

    Published by: André on January 12, 2009 14:16

    Published by: André on January 12, 2009 14:25

  • 60 d Auto Lighting Optimizer

    In the menu, trying to change Auto Lighting Optimizer.  When I select this item, I can't make any changes...  The screen displays a static (unchangeable) "Disable" selection (white letters on a blue bar) and underneath a single 'OFF' point enclosed in a red box.  The multicontroller has no effect trying to reveal other options/selections.

    ALO and high priority of tone can be used together. Make sure so that you priority high tone are not enabled.

  • After upgrade to 11g, I don't have any autotask auto optimizer stats job

    Select client_name, TaskName, operation_name dba_autotask_task STATUS; SQL > SQL > SQL > SQL >

    CLIENT_NAME TASKNAME OPERATION_NAME STATUS
    -------------------------------- -------------------------------- -------------------------------- --------
    SQL tuning advisor AUTO_SQL_TUNING_PROG automatic sql tuning task ENABLED
    Auto space Advisor auto_space_advisor_prog auto space Advisor job ENABLED

    I can't find jobs to recreate this work special or all the autotask.

    someone else, had a solution to workaround or how t avoid next time?

    It's OK - I followed

    Troubleshooting problems of Autotask Scheduler (Doc ID 1561498.1)

  • collect the stat

    Hello
    On the 11g R2, it takes 4 hours to the following:
    DBMS_STATS.gather_schema_stats exec ('MYUSER');

    Here are the parameters of the optimizer:
    SQL> show parameter optimizer
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ----------
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.2.0.3
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    I ran awrsqrpt on this topic:
    Plan 1(PHV: 0)
    --------------
    
    Plan Statistics                         DB/Inst: MYDB  Snaps: 452-456
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    
    Stat Name                                Statement   Per Execution % Snap
    ---------------------------------------- ---------- -------------- -------
    Elapsed Time (ms)                        1.2136E+07   12,136,467.0    62.5
    CPU Time (ms)                             5,977,594    5,977,593.8    94.9
    Executions                                        1            N/A     N/A
    Buffer Gets                              2.2470E+08  224,704,664.0    96.4
    Disk Reads                               1.5996E+07   15,995,728.0    90.4
    Parse Calls                                       1            1.0     0.0
    Rows                                              1            1.0     N/A
    User I/O Wait Time (ms)                   5,993,542            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                   97,413            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     4            N/A     N/A
    Sharable Mem(KB)                                 78            N/A     N/A
              -------------------------------------------------------------
    How can I do this faster stats collection?

    Thank you.

    ((1) parallel option 2) as true strength can make collect faster employment statistics

  • Role and authorization in the CR for the user to collect ESXTOP Stats

    Hello world

    We have a team of test and development, who wants to test themselves in their test server and staging while doing what they want in time real stats to cpu, mem, and Disk.But it not the issue of the production, so we do not want to sit with them and live real-time statistics report. Now they want the temp user are created with root privilege so that they can collect ESXTOP report by running the command ESXTOP. Then what a privilege we will give and which group the user temp will be added so that they can report esxtop only run and fired. But they have several machines virtual spead on the different cluster and in different esxi host. Any help will be much appreciated on this.

    Thank you

    vmguy

    I would modify a role in order to give them access to the "Performance report".

    With what they are going to be able to get the host or VM performance data:

    • Real time
    • Day (s)
    • Week (s)
    • Month (s)

    for the CPU, store data, disk, memory, network, virtual disks, etc.

  • priority to collect simultaneous stat program

    Hello

    I would like to know if

    1. I can't run gather schema stats 'ALL' simultaneous program without any other other interfereing concurrent programs. The idea is just to have a good performance of the stats together without any error.

    2. is running gather stats conc program effect the performance of the system.

    3. with 10% it will rebuild the index associated as well.

    3. prior to going for above, is there a way I can check the current statistics.



    Kind regards
    Atif

    Error ORA-20005 #1: ERROR: while GATHER_TABLE_STATS:
    object_name = * ORA - 20005: Statistics object are locked (stattype = ALL) *.

    This indicates that one (or more) of database objects are locked and you will need to run "Gathering statistics for schema" when not one/process can access these objects.

    -to solve this problem, we have unlocked the statistics using the script
    exec dbms_stats.unlock_schema_stats ('schema_owner');

    ERROR
    Could not properly update the history table - fnd_stats_hist.
    -1 ORA-00001: unique constraint (APPLSYS. FND_STATS_HIST_U1) violated

    Please see (gather schema Stats fail with ORA-0001 "constraint unique (APPLSYS. (FND_STATS_HIST_U1) violated"error [470556.1 ID]).

    Note: Please do not disseminate the contents of the documents of MOS because this violates the agreed strategy of support Oracle.

    Now, I would like to know because I've truncated the table FND_STATS_HIST... What happens to the statistical information of patterns that I've not met stats for? should I restore the backup table omit the patterns that I had just finished Gather stats for?

    You can purge/truncate table because it contains historical data only - http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_STATS_HIST&c_owner=APPLSYS&c_type=TABLE

    Also, I cancelled the simultaneous application of one of the schemas in the middle... but the dba_tables last_analyzed always displays the current date for all tables. So how can I check for which tables / indexes the gather stats do not work?

    LAST_ANALYZED displays the current date, means that the table was already analyzed.

    Thank you
    Hussein

  • Capitalized auto of the state abbreviations in the text field?

    I work in an address field in a form I did a layout automatically capitalized the first letter of each word listed (this form is transferred to the iPads of our sellers, so they don't have to worry about formatting while they are on the ground with a client). I have a validation script reads:

    Event.Value = event.value.toLowerCase () replace (/ \b\w/g, function (match) {return match.toUpperCase () ;});})

    It would make an input value:

    "Mr. client man .

    false address 123

    baltimore, md 21227.

    post automatically to:

    "Mr. customer man .

    false address 123

    Baltimore, Md 21227"

    The only downside is with this script is the abbreviation of the State should be capitalized (in this case "Md" should appear "MD" - even when entered as "md"). I'm not competent enough to write a script to do this, and I don't know yet if it is possible - but is it possible that a field can automatically recognize a state abbreviation?

    Also far that go for solutions to this problem, I can add or change the script, but I can't add a separate field with its own rules, so I hope someone might have a plausible solution.

    Thanks for any idea that you can provide!

    I think that your best option is to use a set of commands like this:

    Event.Value = event.value.replace (/ md /ig, "MD");

  • Optimizer / schema Sta - Stats are not collected on certain tables in a schema

    Hello

    I have a unique situation. Every weekend, we collected his stats on SCHEMA AR.

    execute fnd_stats.gather_schema_statistics ('AR', 10, 4)

    Recently, I noticed that for some tables in the schema, the last_analyzed very old watch. Could someone explain the reasons why the stats are not collected for the table?

    DB - 10g
    HP - UX OPERATING SYSTEM

    I checked if the table is marked for locked statistics - STATTYPE_LOCKED in DBA_TAB_STATISTICS. The column returns null.

    Thank you
    Josiane

    This seems to be a database of EBS. If so, can you find an entry for this table in the FND_EXCLUDE_TABLE_STATS table? This table has a list of tables for which statistics are not met.

    Is there is no entry in the FND_EXCLUDE_TABLE_STATS table, then it's a TEMPORARY table?

    HTH
    Srini

  • Automatic optimizer statistics collection

    Hello

    on 11.2.0.4 standard edition, Win 2008

    How to check if the automatic optimizer statistics collection is enabled?

    Thank you.

    select * from dba_autotask_client where client_name = "auto optimizer stats collection"
    
  • default 10g Auto Gather Stats Job running NECESSARY or NOT?

    Hello
    our database is 10 gr 2
    Operating system is windows


    in my 10g database, I already have a regular job of running statistics which collects level schema statistics. There is only 1 schema of the application.


    Is it necessary to permanently keep the Oracle default 10g Auto collect Stats Job?


    If two jobs are running (default 10 g auto gather stats job running in the window management 22:00 to 06:00) and our stats of manual diagram gathering job (market every day at 7 to 11) then that statistical jobs would be examined by CBO. ?

    should I deactivate default job statistics?

    Thank you...

    Probably the Oracle supplied job is "smarter" that no matter what mechanism you provided.
    I will disable your own job.
    The Oracle supplied job only collects outdated statistics, outside office hours.
    Your business brings together (all? / stale?) statistics during office hours. Your job may fail due to the ora-0054.
    Collection of statistics of segment during office hours is not desirable. Collection of statistics of system during office hours may be desirable.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • How to improve the process of collecting stats

    Hello

    We have every day to collect the stats of five patterns but it last 6-7 hours

    We use the following command to do this

    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname = > 'FFPREPRODBATCH', estimate_percent = > DBMS_STATS.) AUTO_SAMPLE_SIZE);
    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname = > 'FFPREPRODMASTER', estimate_percent = > DBMS_STATS.) AUTO_SAMPLE_SIZE);
    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname = > 'FFPREPRODMCT', estimate_percent = > DBMS_STATS.) AUTO_SAMPLE_SIZE);
    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname = > 'FFPREPRODCMS', estimate_percent = > DBMS_STATS.) AUTO_SAMPLE_SIZE);
    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname = > 'FFPREPRODUSER', estimate_percent = > DBMS_STATS.) AUTO_SAMPLE_SIZE);

    last schema was taking more time about 5 hours.

    Please tell me how I can improve the speed.

    Thank you.

    user12009184 wrote:
    Hello

    We have every day to collect the stats of five patterns but it last 6-7 hours

    We use the following command to do this

    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname => 'FFPREPRODBATCH', estimate_percent => DBMS_STATS. AUTO_SAMPLE_SIZE);
    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname => 'FFPREPRODMASTER', estimate_percent => DBMS_STATS. AUTO_SAMPLE_SIZE);
    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname => 'FFPREPRODMCT', estimate_percent => DBMS_STATS. AUTO_SAMPLE_SIZE);
    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname => 'FFPREPRODCMS', estimate_percent => DBMS_STATS. AUTO_SAMPLE_SIZE);
    exec DBMS_STATS. GATHER_SCHEMA_STATS (ownname => 'FFPREPRODUSER', estimate_percent => DBMS_STATS. AUTO_SAMPLE_SIZE);

    last schema was taking more time about 5 hours.

    Please tell me how I can improve the speed.

    Thank you.

    SQL performance with dbms_stats, read below
    http://www.DBA-Oracle.com/art_builder_dbms_stats.htm

  • Auto-relation (Simple query) SQL statement

    Hello

    I just want to know is the following: auto-relation SQL statement
    SELECT ROWID,ACCOUNT_ID,ACCOUNT_NAME,IS_CLOSED,TYPE_ID,ACCOUNT_ID_PARENT 
    FROM GL_ACCOUNTS
    WHERE GL_ACCOUNTS.TYPE_ID = GL_ACCOUNTS_PARENT.TYPE_ID AND
    GL_ACCOUNTS.ACCOUNT_ID_PARENT = GL_ACCOUNTS_PARENT.ACCOUNT_ID
    If not pls I want to create a

    Thanks in advance,

    Kind regards

    Abdetu...

    Abdetu wrote:
    Hello

    I just want to know is the following: auto-relation SQL statement

    SELECT ROWID,ACCOUNT_ID,ACCOUNT_NAME,IS_CLOSED,TYPE_ID,ACCOUNT_ID_PARENT
    FROM GL_ACCOUNTS
    WHERE GL_ACCOUNTS.TYPE_ID = GL_ACCOUNTS_PARENT.TYPE_ID AND
    GL_ACCOUNTS.ACCOUNT_ID_PARENT = GL_ACCOUNTS_PARENT.ACCOUNT_ID
    

    If not pls I want to create a

    Thanks in advance,

    Kind regards

    Abdetu...

    Do you want a self-join or query CONNECT BY (a particular type of self-join that runs recursively).

    Both are described in the documentation

  • Auto new imaging HP T610 problem

    I have a bunch of new T610s from HP that I need the image. I used one to create the environment I want, and I can manually copy this image to the HPDM, then manually deploy that image on a new (self discovered) thin client.

    When I add a "rule" for first Contact Rules:

    Name: Auto Image

    Filter set (all criteria, IP address contains 10.22 which is the first two parts of all our internal IP space, I really want to a filter that would say all/all) if I click on generate a list of devices, it shows all existing devices.

    Trigger: first Contact

    Operating system: HP WES/XPe

    Category: imagery

    : Model 20131118 rule (self created when I took the picture manually)

    Activated: ticks

    When I plug a new HP T610, it is automatically detected by HPDM (DHCP specifies the HPDM) and then proceeds to restart in a cycle, and never made the task of imagery.

    The HPDM log shows:

    Card to the master repository repository

    Special Envoy to the device management gateway

    Task has been retrieved by the Agent

    Task has been retrieved by the Agent

    Task has been retrieved by the Agent

    Task has been retrieved by the Agent

    Task has been retrieved by the Agent

    etc., until I cancel the job

    Reset the status of the task to cancelled

    Can someone tell what I could be doing wrong, or how I can make this work? Should I manually start a task image, is the "first time" works not properly, I have to narrow the filter to avoid 'already seen' devices somehow?

    Thanks for your suggestions.

    Thanks for your suggestion, I checked that the devices already come with the new version of the agent.

    I found/solved the problem, which I had changed the settings by default in:

    Tools-> Configuration-> task settings-> write filter, WOL and adjournment of the task

    I changed it to "run regardless of the State of the write filter.

    So obviously the thin client was sent to the statement to start the task of imaging, rebooted, then collected the statement again from the beginning etc... creation of the loop.

    Once I changed this back to the ' If write filter on restart to clean the overlay, to execute and to commit and then restart for commitment is taken into account ", everything works perfectly.

    Hope this helps someone else...

    Kind regards

    Adam

Maybe you are looking for