GATHER_STATS_JOB (System tables or only?)

Hello all, had a question about statistics.
SQL > SELECT job_name, State OF DBA_SCHEDULER_JOBS;

JOB_NAME STATE
------------------------------ ---------------
AUTO_SPACE_ADVISOR_JOB ON DEMAND
GATHER_STATS_JOB ON DEMAND
FGR$ DISABLED AUTOPURGE_JOB
PURGE_LOG ON DEMAND
RLM$ SCHDNEGACTION ON DEMAND
RLM$ EVTCLEANUP ON DEMAND

6 selected lines.


does the job of his stats to gather that works... did collect stats for the table of system only or other patterns as well on a database level? If so, is there any document above to prove that... and how can I change the time it works? is it possible

Hello

A job Scheduler GATHER_STATS_JOB is predefined in Oracle database installation. GATHER_STATS_JOB collects statistics of optimizer for all objects in the database for which there is no statistics or only outdated statistics.

If you prefer to manage the collection of statistics manually, you can disable the job as follows:

RUN DBMS_SCHEDULER. DISABLE ('GATHER_STATS_JOB');

Also check the link for more details below:
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/tasks.htm

Krishna

Tags: Database

Similar Questions

  • want to remove non-system tablespace system table

    My space of system tables was to have user tables, so I moved these user tablespace tables. Now that tables appear in the two spaces of storage e.g. RET_OFF shows in the system and the users tablespace I drop tablespace system only. Can I do it. Help, please

    Hi again!

    OK, I see. Your REF_VAT_OFF table exists twice. The first resids in the System tablespace and belongs to the KNVATCEN user. The second lies in the VATSOFT tablespace and belongs to the KNVAT user. If you want to remove the first and then log in the user KNVATCEN and drop it like this:

    sqlplus knvatcen
    
    DROP TABLE ref_vat_off PURGE CASCADE CONSTRAINTS;
    

    This should solve your problem.

    Yours sincerely

    Florian W.

  • System table or view in oracle to contain the error message

    Hello

    I created a group Materialized View Refresh. and execution in a single schema.

    Start
    DBMS_REFRESH. Refresh ('TEST');
    end.

    There is a lot of reason for the failure of execution of the Group MV refresh (such as network, change of base table problem). At the time of the failure of execution of oracle to refresh group displays an error code and error message.

    Question: -.
    Could pelase propose you any system table or view in the oracle database that can contain any error message and error number? I have to get this error without exception handling in pl/sql block.

    Thank you and best regards,
    Vinod Gupta.

    As I mentioned, there are exceptions that you can't intercept. If this work of dbms_refresh.refresh ('TEST'); results in an exception fatal server (usually an ORA-600 or an error ORA-07445 ), you can not only catch a PL/SQL block exception. All you will see (if you have a client session), is the "+ ORA-03113 end-of-file on communication channel +" error.

    Yes, you can catch a number of other exceptions. And Yes, you can write these exceptions to the errorlog table.

    Create a package error log that makes the insertion in the errorlog table. Use an autonomous transaction because it allows the error log to insert without making all existing transactions.

    Also record all PL/SQL of the error stack trace, because it helps to determine where the exception occurred. Something like dbms_utility.format_call_stack allows to get the call stack and insert this result in the error log line in the error log table.

    Then call this package since the exception handler for the refresh job.

    But before you do, you need to consider whether or not you remove this exception or not. If you do, then Oracle work process does not see this exception and think that the work has been a success. It you do not have, the process will be the exception, to realize the task failed and reported that employment for re-delivery.

    So basically, your refresh job will look something like this:

    begin
      dbms_refresh.refresh ('TEST');
    
    exception when OTHERS then
      -- the package will record the actual SQLCODE error and call stack
      errorLog.saveException( appErrorMessage => 'Refresh job for TEST failed' ); 
    
      -- we want the job processor to see the error and reschedule the job for execution
      raise;
    end;
    
  • I have Windows XP Professional Version 2002, service Pack 2. I have this operating system in English only. Now, I would like to add Arabic language. How can I do?

    I have Windows XP Professional Version 2002, service Pack 2.  I have this operating system in English only.  Now, I would like to add Arabic language.  How can I do?

    Hello

    You want to change the display language on the system or the keyboard layout?

    Method 1:

    Language packs

    http://Windows.Microsoft.com/en-us/Windows/language-packs#lptabs=XP

    Method 2:

    a.Click Start and then click Control Panel.

    b. double-click regional and Language Options.

    c the languages tab, click details, and then click Add.

    d.Under an input language, add the language that you want to use.

    e.Under configuration keyboard/IME, click the keyboard layout you want, and then click OK.

    List of languages supported in Windows 2000, Windows XP and Windows Server 2003

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

    Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.

  • Reinstalling operating system and drivers only. Don't want any other software and tools...

    Hello

    I want a clean reinstall on my HP Mini 210. How can I reinstall the operating system and drivers only from the recovery partition? I don't want any other software and tools HP...

    P.S. I've done a reinstall from the recovery partition and then spend many hours, removal of unwanted and tools software, but traces of these programs remain anywhere in the registry, the Program Files folder...

    Here are the specifications of your computer of HP Mini 210-1077CA. According to the specification, this model comes with Windows 7 Starter, which is installed at the factory.

    Please see "Recovery discs to create or save an Image to a USB (Windows 7) recovery" for instructions on creating recovery media. See also "Using System Recovery, Factory Reset and Minimized Image Recovery Options" to determine if your computer supports the "recovery Image reduced" and how to perform this recovery option, if it supports.

    Reduced Image recovery does the following:
    Reinstall the original operating system.
    Re-installs all the drivers of original material.
    Reinstall the HP essential software (e.g., HP Support Assistant, HP Recovery Manager, etc.).
    Don't install applications for testing or trial games.

    Please click the White Star of KUDOS to show your appreciation

  • cannot re start my system by getting only a black screen with recovery of window failure

    original title: do not re start

    I have a dell inspiron laptop and tried to install windows7 vista upgrade, since, so I can not re boot my system by getting only a black screen with insufficient recovery window, I followed the instructions on the screen to re-boot without success, and when I insert the disc of the operating system for re install nothing happens, Pls help TKS.
    Myrna

    Hi myrnaspiers,

     

    1. What is the exact error you get when you try to start windows.

    2. what type of installation you have done, it's a custom Setup or an upgrade.

    3. check if you have the option to go back to the old version of windows.

    I suggest you follow the link to black screen when I start Windows 7 below.

     

    http://Windows.Microsoft.com/en-us/Windows7/why-is-my-screen-black-when-i-start-Windows-7

     

    I also suggest you start in safe mode.

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    If you have not used the repair which is a system repair option in Windows vista start DVD, you can use it and check if the problem persists.

    To open the Startup Repair refer

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-fix-a-boot-startup-problem

    For more information about the Startup Repair, refer

    http://Windows.Microsoft.com/en-us/Windows-Vista/startup-repair-frequently-asked-questions

  • How the identity if one table used only by synonyms and not by any other subprogrammes in a schema?

    Hi people

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    The ALL_DEPENDENCIES view has hierarchical information based on object_id

    The view object has the object_type.

    Create a hierarchical query on the first view and attach it to the second view.

    Or you can use the utldtree.sql file in the installation of the DB admin folder. Comments initially show you how a hierarchical query based on the object type.

  • Master table shows only 5 rows

    Hello

    I use Oracle JDeveloper 11 g Release 2 (11.1.2.3.0).

    I have a picture of master ADF and a detailed in my application form but the main Table shows only 5 rows, I don't understand what is happening, in my database I have more than 5 lines (exactly 7) but table doesn't show him everything.

    Can someone help me with this?

    Thanks in advance!

    Check the size of the extraction of the iterator (pagedef) connections and check that your relay of query returns more than 5 lines.

    What is the code to display the master detail do you use?

    Timo

  • Is there a system table that stores scripts "create table".

    Oracle which contains the scripts 'create table' for a table of system tables defined in a schema exist?

    I know that I can build with SQL querying the user_tab_columns, but I was wondering if the overall DML
    statement is already stored in another system table. In the Toad from Quest Software, you can simply go to the 'schema', "Tables," Brower
    Then select the "Script" tab and it shows you the statement 'create table' for the table that you are
    looking at. I wonder if Toad backstage is to build this script 'create table' via the user_tab_columns
    table or using another system table.

    Thank you in advance,
    Wes

    You can use the DBMS_METADATA. Procedure GET_DDL for details regarding the ddl statement used to create the table.

  • Advanced table read-only elements

    Hi all

    How elements Message choice and Message check box in Advanced Table read-only via code?

    OATableBean oatablebean = (OATableBean) oawebbean.findIndexedChildRecursive ("ItemsTable");
    oatablebean.findIndexedChildRecursive("Type").setDisabled (true);

    cause compilation error.

    setRendered works. How to define the need, read only properties through code?

    Thank you
    Kumar

    Hello

    Try like this

                        OATableBean oatablebean = (OATableBean)tab.findIndexedChildRecursive("ItemsTable");
    
                        OAMessageChoiceBean messageChoiceBean=(OAMessageChoiceBean)oatablebean.findChildRecursive("Type");
                        messageChoiceBean.setReadOnly(true);
    

    Ajay

  • Encrypt the sys and system tables

    How encrypt/limit sys and system tables so that no users can view them.

    On a user database few have access s/n.

    Is it possible to restrict their access to the tables of the dictionary.

    RAC_DBA wrote:
    How encrypt/limit sys and system tables so that no users can view them.

    On a user database few have access s/n.

    Is it possible to restrict their access to the tables of the dictionary.

    If you want to protect the data dictionary, then use 07_DICTIONARY_ACCESSIBILITY parameter to deny users that has 'SELECT ANY TABLE' privilege to select the data belonging to SYS

    And don't forget, if you share the password for user SYS or SYSTEM, it means that you share all the information as data dictionary

  • Where the system tables are recorded

    Hello

    Where are the system tables documented, such as the description of each column? references to columns between tables (views)

    Thank you

    In the database, you have DICT, with as main colum TABLE_NAME, describing each view of the dictionary.
    You also have DICT_COLUMNS and DICT_COMMENTS.
    Outside the database, there is the 'reference manual Oracle"for your version without name on http://tahiti.oracle.com

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

  • Advanced table read only fields

    Hello

    I have a table advanced based on VO.

    I want to do some column read-only fields.

    I did like that.

    OAApplicationModule am = oapagecontext.getRootApplicationModule ();

    OAViewObject vo = (OAViewObject) am.findViewObject ("SearchHeaderVO1");

    Line SearchHeaderVORowImpl = null;

    int fetchedRowCount = vo.getFetchedRowCount ();

    Rank [] rows = vo.getAllRowsInRange ();

    for (int i = 0; i < fetchedRowCount; i ++) {}

    If (rows [i]! = null) {}

    System.out.println ("In makeReadOnly");

    Rows [i] .setAttribute ("EntityCode", Boolean.true);

    }

    }

    What is the right way to go?
    Thanks again
    Varun

    Varun,

    1. create an additional attribute in your VO of Boolean type. ex:-name: customReadOnlyAttr

    2. set this attribute value as the property readonly for each field in the page. as a ${oa. SearchHeaderVO1.customReadOnlyAttr}

    Now in your code, set the value of this attribute programmatically, based on any desired conditions.

    What is the State you want to make these fields readonly?

    See you soon

    AJ

  • Can system table space cause multiple data files in several places?

    Hi experts,

    Our current system has a partition to keep the system tablespace data files, but I assumed that the partition is wrongly estimated and the size was maintained only 2 GB. Now the partition's got full and it seems no way to increase the partition from the OS. The only option I have is to create the new data for system tablespace file in another free partition. Is this possible? I have to consider all things important before doing this? Also can I create new data with the regular create command file or need to do something special for system tablespace?

    Thanks in advance

    Yes, you can create two data files for system tablespace into two partitions.

    To reduce the space in the system tablespace - you should check what are segments that occupy the space in the system tablespace.

    To get the examples if you have the Audit DB - then you can move the table to tablespace someother depending on availability.

  • Check table have only identical items

    Hello

    Try to write a program in LabVIEW, who check if a table only have identical values in its index, but couldn't find a good solution.

    Please suggest how to proceed.

    Home of the matrix string constant contain table and undentical similar items.

    Hi Steph,

    I think you're looking for that kind of solution, please see image below.

    Kudos are always welcome... :-)

Maybe you are looking for