Survey : are you gathering system statistics in Production env ?

Does it help ?
what work/effort did you do before you implemented stats in production ? did you first do it in dev and then test and then QA etc. or directly in producton ?
What queries changed execution plans - any specific things you want to mention on how it influenced Oracle CBO ?
please mention how big your database is and whether it is OLTP/DSS and which Oracle release you are running in production etc. so that we can get the background info as well.
thanks

ow001294, what kind of statistics are you asking about?
If you are on version 10+ then Oracle by default generates and saves certain system and session statistics in the AWR.
Generally speaking it is not a bad idea to use the STATSPACK package to take 5 or 10 minute snapshots of your database activity on a regular basis and generate and save the reports. The early reports serve as a baseline to compare later reports to.
Trying to keep track of every query plan seems impractical for anyting but a very small system.
HTH -- Mark D Powell --

Similar Messages

  • How many computers are you allowed to install cs3 Production suite on?

    how many computers are you allowed to install cs3 Production suite on?

    >install it on an indefinite number of computers?
    You can put the install disc in 1 or 2 or 2000 drives... but that doesn't mean that the activation will work on more than two at a time
    Since activation is required to use the program... you are limited to 2 installs at a time
    As has been discussed in other threads, you must DE-activate one of your two allowed activations before you may activate on another computer
    PS - I think I have also read in the forums that there is some limit to how many times you may activate and deactivate and activate again (no, I don't know the number... I just remember that there was some discussion of such)

  • Gathering system statistics in 10g

    I am confused. I read in the Oracle® Database Performance Tuning Guide, for 10g Release 1, that the system statistics are NOT automatically generated and must be manually generated using DBMS_STATS. However, when I query V$SESSTAT, V$STATNAME and V$OSSTAT I have records returned.
    I thought that DBMS_STATS was no longer used in 10g and that everything was automatic. Does anyone know which is correct? If I have data in those views does that mean that system statistics have been run?
    Thanks!

    You can still manually collect stats in 10g using DBMS_STATS, but 10g can also perform statistics collection on stale tables automatically, when enabled. Our other DBA was involved in setting up that item, but I think the Oracle tool involved is the Automatic Workload Repository.
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10752/autostat.htm
    -Chuck

  • Gather system statistics

    Hi Friends,
    I want to gather system statistics in my Oracle 9.2.07 (windows) environment...
    created one statistics table...
    execute DBMS_STATS.CREATE_STAT_TABLE ('SYS','MY_STATS');
    (2) Gathering SYSTEM Statistics Script during office hours ( 8 hours) (8am to 4pm)
    begin
    execute dbms_stats.gather_system_stats(
    gathering_mode=> 'interval',
    interval => 480,
    stattab=> 'MY_STATS',
    STATID=> 'OLTP');
    END;
    REM
    REM
    REM END of Script
    REM===================================================
    (3) Import the Collected System Statistics
    Import the statistics daily around 8AM...because..users starts entering the transactions....
    variable jobno number;
    begin
    dbms_job.submit(:jobno,'dbms_stats.import_system_stats(''IMAL_STATS'',''OLTP'');',
    SYSDATE,'SYSDATE+1');
    COMMIT;
    END;
    ========================================================
    OLAP..also i will collect during night time....
    gathering system statiscs will end after 4pm....so..it takes system statistics during 8 hours interval time...and i am going to import them next day 8am..
    is this the correct method????.please sched some light on this...

    Hi,
    Oracle recommends to gather system statistics from oracle 9i onwards....this the line from Oracle 9i R2 document...
    Oracle9i Database Performance Tuning Guide and Reference
    Release 2 (9.2)
    Gathering System Statistics
    System statistics enable the optimizer to consider a system's I/O and CPU performance and utilization. For each plan candidate, the optimizer computes estimates for I/O and CPU costs. It is important to know the system characteristics to pick the most efficient plan with optimal proportion between I/O and CPU cost.
    System I/O characteristics depend on many factors and do not stay constant all the time. Using system statistics management routines, database administrators can capture statistics in the interval of time when the system has the most common workload. For example, database applications can process OLTP transactions during the day and run OLAP reports at night. Administrators can gather statistics for both states and activate appropriate OLTP or OLAP statistics when needed. This enables the optimizer to generate relevant costs with respect to available system resource plans.
    When Oracle generates system statistics, it analyzes system activity in a specified period of time. Unlike table, index, or column statistics, Oracle does not invalidate already parsed SQL statements when system statistics get updated. All new SQL statements are parsed using new statistics. Oracle Corporation highly recommends that you gather system statistics.The DBMS_STATS.GATHER_SYSTEM_STATS routine collects system statistics in a user-defined timeframe. You can also set system statistics values explicitly using DBMS_STATS.SET_SYSTEM_STATS. Use DBMS_STATS.GET_SYSTEM_STATS to verify system statistics.
    So better performanace, as per above document, we need system statistics.
    if not needed.why it is not need...can u please describe this...
    Message was edited by:
    bsubbu

  • System refresh from Production to Quality

    Hi,
    We are going for system refresh from Production to Quality. We are at SAP NetWeaver 2004s with 700 release and at 0021 level. Our data base system is DB6 with the release 09.07.0000
    I understand that there is a note 886102 available for the system copy. But I would like to know how that had been practically implemented from your ready documents like
    1. What would be the BI consultant role during the refresh (I mean where do we involve at). I have seen many links related to this but nothing answer my question, so please don't give me links available.
    2. How to identify tables that need to be copied and restored to retain the correct source systems for data/info sources.
    3. What should be the BI consultant task before refresh?
    4. What should be the BI consultant task post refresh?
    5. What are issues faced post refresh in quality system.
    I request, the consultant who had worked on these refresh can provide me correct solution.
    Thanks in advance.
    Regards.
    Raj

    Our prerefresh activities included
    Inform security team to do no user or authorisation changes for quality during the refresh.
    Set message in development to not release any transports anymore and set message in quality to inform users in quality not to manually import transports into quality and also not approve transports for production. This ensures no transports get moved to quality and production.
    Switch off cyclic import all job (like TMS_0000000038TMS_TP_IMPORT) and the cyclic  RSTMS_DIST_APPROVED_REQUESTS job 
    Prepare list of transports for re-import to quality after refresh and give this to BASIS.
    Post refresh activities included
    Tcodes SM37, SM35 and SP01. Check that BASIS had set all released jobs to status "Susp/Released"
    "All jobs are in 'Susp/Released' state. Set them all to 'Scheduled ' as follows:
    -  Run report BTCTRNS2 to change all to 'Released'.
    - Immediately use SM37 to change all to 'Scheduled' "
    IF ANY ARE NEEDED. Remember to change Exec Target in any job you need to release.
    "Schedule  RSTMS_DIST_APPROVED_REQUESTS to run at x:29 and x:59 - so every 30 minutes.
    Please schedule with DDIC as step user (and not your own user-id)."
    Check the STMS_QA and import queues to be sure that the tranports are correct- no extra ones during refresh???
    Once happy with the above request that Basis schedule the auto import to run every 30 minutes
    First ensure that BDLS has finished and system is ready for use.
    Post refresh issues faced in production
    Many reinit issues
    ACR issues.
    Master data issues.

  • Adobe Photoshop Extended CS6 for Windows (Single User Educational License): Are you discontinuing this?  If so, when?

    Adobe Photoshop Extended CS6 for Windows (Single User Educational License): Are you planning to discontinue this product?  If so, when?

    Adobe offers students teachers the Creative Suite for $20 a month.   If you only want Photoshop Adobe advises students and teachers to get the Photography Subscription for $10 a month you can install Photoshop CS6, Photoshop CC,  Photoshop CC 2014 and Lightroom.

  • System Statistics (sreadtim mreadtim)

    I have gathered system statistics for my 9.2.0.8 database on a number of occasions. I consistently find that sreadtim is greater than mreadtim. Is this correct?
    Regards,
    Gavin

    gwrayner wrote:
    I have gathered system statistics for my 9.2.0.8 database on a number of occasions. I consistently find that sreadtim is greater than mreadtim. Is this correct?
    Regards,
    GavinYou might take a look at the following two links:
    http://jonathanlewis.wordpress.com/2007/05/20/system-stats-strategy/
    http://jonathanlewis.wordpress.com/2008/10/02/upgrades/
    Typically, sreadtim should be less than mreadtim - although caching at the file system or SAN level is able to throw off the timing calculations.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Cannot implicitly convert type 'System.Data.SqlClient.SqlDataReader' to 'Microsoft.ReportingServices.DataProcessing.IDataReader'. An explicit conversion exists (are you missing a cast?)

    Cannot implicitly convert type 'System.Data.SqlClient.SqlDataReader' to 'Microsoft.ReportingServices.DataProcessing.IDataReader'. An explicit conversion exists (are you missing a cast?)
    I am getting the above error in c#. Please help me. Thanks in advance
    public IDataReader ExecuteReader(CommandBehavior behavior)
    string query = "select * from Sales.Store";
    SqlConnection readerconn = new SqlConnection("Data Source=localhost;Initial Catalog=AdventureWorks2000;Integrated Security=SSPI");
    SqlCommand readercmd = new SqlCommand(query);
    try
    readerconn.Open();
    readercmd = readerconn.CreateCommand();
    readercmd.CommandText = query;
    readercmd.CommandType = System.Data.CommandType.Text;
    SqlDataReader TestReader = readercmd.ExecuteReader();
    return TestReader; //Getting error at this line
    readerconn.Close();
    catch (Exception e)
    throw new Exception(e.Message);

    Hi,
    Please firstly take a look at the documentation:
    IDbCommand.ExecuteReader
    Method
    Users do not create an   instance of a
    DataReader   class directly. Instead, they obtain the
    DataReader   through the
    ExecuteReader   method of the Command   object. Therefore, you should mark
    DataReader   constructors as internal.
    You need to use this method to get the IDataReader object, all the IDbCommand and IDataReader are in the Microsoft.ReportingServices.DataProcessing namespace. There's another IDataReader object which is in System.Data namespace, but they're actually two different
    objects, that's why you got the exception.
    For how to properly implement this Microsoft.ReportingServices.DataProcessing.IDataReader, please check this documentation:
    Implementing a DataReader Class for a Data Processing Extension
    It also provides code samples there.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there a way to play video clips that use adobe flash and if not when are you going to resolve your problem with them ? I won't buy another apple product until you do and I Know I,m not the online.

    Is there a way to play video clips that use adobe flash and if not when are you going to resolve your problem with them ? I won't buy another apple product until you do and I Know I,m not the only one.

    Use the search feature and type in Flash and there are like thousands of posts on this.
    You seem to think you are addressing Apple with your post.  This is a user forum and we are all users just like you.

  • C# compiling error: 'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?)

    Hello experts,
    I'm totally new to C#. I'm trying to modify existing code to automatically rename a file if exists. I found a solution online as follows:
    string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
            string tempFileName = fileName;
            int count = 1;
            while (allFiles.Contains(tempFileName ))
                tempFileName = String.Format("{0} ({1})", fileName, count++); 
            output = Path.Combine(folderPath, tempFileName );
            string fullPath=output + ".xml";
    However, it gives the following compilation errors
    for the Select and Contain methods respectively.:
    'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found
    (are you missing a using directive or an assembly reference?)
    'System.Array' does not contain a definition for 'Contains' and no extension method 'Contains' accepting a first argument of type 'System.Array' could be
    found (are you missing a using directive or an assembly reference?)
    I googled on these errors, and people suggested to add using System.Linq;
    I did, but the errors persist. 
    Any help and information is greatly appreciated.
    P. S. Here are the using clauses I have:
    using System;
    using System.Data;
    using System.Windows.Forms;
    using System.IO;
    using System.Collections.Generic;
    using System.Text;
    using System.Linq;

    Besides your issue with System.Core, you also have a problem with the logic of our code, particularly your variables. It is confusing what your variables represent. You have an infinite loop, so the last section of code is never reached. Take a look 
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.IO;
    namespace consAppFileManipulation
    class Program
    static void Main(string[] args)
    string fullPath = @"c:\temp\trace.log";
    string folderPath = @"c:\temp\";
    string fileName = "trace.log";
    string output = "";
    string fileNameOnly = Path.GetFileNameWithoutExtension(fullPath);
    string extension = Path.GetExtension(fullPath);
    string path = Path.GetDirectoryName(fullPath);
    string newFullPath = fullPath;
    string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
    string tempFileName = fileName;
    int count = 1;
    //THIS IS AN INFINITE LOOP
    while (allFiles.Contains(fileNameOnly))
    tempFileName = String.Format("{0} ({1})", fileName, count++);
    //THIS CODE IS NEVER REACHED
    output = Path.Combine(folderPath, tempFileName);
    fullPath = output + ".xml";
    //string fullPath = output + ".xml";
    UML, then code

  • Error: X "does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help."

    I have received to following error from at least three different applications when they have attempted to auto-update recently: X "does not have permission to write to the application's directory! Are you running off a disk image? If not, ask your system administrator for help." 
    I am not running off a disk image and I have admin privileges... Not sure what the problem is, but it just started happening (a week or two ago) and I have never previously had a problem with these applications auto-updating.  I have repaired permissions and attempted other "fixes" found on the interweb, but nothing works.  Also, this is only happening on my iMac (27" Intel i5) and not my MacBook Pro (17" Intel i5) -- both are running Lion.  Please help!

    If you updated using the default install (merge) from before Tiger, you may be seeing an issue that we saw when Leopard first came out last year.
    Not sure of the fix - it was not simple - but if you search back in these forums you might find something that will help. I believe it deals with the numbers assigned to accounts (501, etc).
    If you open your Accounts Preferences and unlock the padlock, right-click Advanced Options and read your User ID and Group ID. Let us know what they are.
    Now, in the other user admin account, do the same thing.
    One of the real experts who knows much more about this than I may be able to then help.
    And be sure to check out this article
    http://pinkmutant.com/articles/Leopard/leobugs.html

  • I´ve bought the new IPad3, what a disappointment the 3G does not work, no Internet available, APPLE what are you doing for the all the people in Germany who bought the new IPad3? I´m still an Apple fan, all my products are from Apple but I need a solution

    I have been waiting since months for the new IPad4G 64 Gbt. ON recommendation of Apple Support I have changed my IPad 4G last week in the hope that something was wrong with the firts one I bought.
    The one I have now has the same problems. WiFi is working however 4G not at all. Apple what can I do? What are you doing for the thausands of German Apple fans who have bought a IPad4G and can not use it. We need a solution NOW. I´m working with this tool and need to be able to rely on it.
    Thanks for a feed back.

    JKerki wrote:
    They had not heard about the problem, however made no problem to change it for an other one. Apple Support Germany pretendet not to know about this problem. However the web is full of complaints.
    It would be advisable for Apple to react officially on it. € 799, - for something that doesn´t function is no fun :-((
    Isn't replacing your iPad Apple "officially" acting on it?

  • How are you going to backup your system?

    Are you going to backup your files to an external hard drive? If so what?
    Are you doing to backup your files to your 2nd internal hard drive? How?

    RAID is not a backup
    Yes… it is. Backup is by definition is "the procedure for making extra copies of data in case the original is lost or damaged". Nothing more.
    With a RAID mirror you have two or more originals which makes it a backup. Does it provide an archive or revision history of your data… no. But that's beside the point. It is a backup. Does it protect you against all circumstances that results in data loss… no. Again, that's beside the point.
    A RAID mirror is still a backup,
    RAID is protection from hardware failure. If a drive dies, you have a full working copy of everything... that's great.
    Not always true! Under some RAID schemes a member failure will result in complete data loss. RAID is not always about "protection from hardware failure".
    Only something that archives… [snip]
    Not everyone is prepared to and sometimes not even capable of having such a rigourous scheme as you do. For the vast majority of users out there who have no contingency plan what so ever the best solution is in fact a RAID mirror as it's a no effort and cheap solution. It's a solution that protects against a very specific circumstance. For a more complete protection you are right, other means should make up the rest of the package.
    While RAID mirrors shouldn't be a standalone solution it should be considered as part of a complete scheme.

  • Are you having problems with the Lacie external drive after upgrading to the new operating system

    Are you having problems with the Lacie external drive after upgrading to OS X Mavericks?

    See here for everyone discussing the issue you are having:
    https://discussions.apple.com/thread/5475136?tstart=0

  • MBRC and SYSTEM STATISTICS in Oracle 10g database.

    Hi All,
    I am performing database upgrade from Oracle 8i Solaris to Oracle 10g HP-UX using exp/imp method.
    But i do have some doubts regarding MBRC and System statistics.
    MBRC in Oracle 10g is automatically adjusted if MBRC parameter is not set, but i found value 128 as shown below.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> sho parameter multi
    NAME                                 TYPE                             VALUE
    db_file_multiblock_read_count        integer                          128Also i performed one simple full table scan to test it...but db file scattered read is performing on 128 blocks. So i dont think 128 is suitable and is automatic, i mean MBRC is not set accrodingly it always uses 128.
    Does this MBRC value affects whole database performance?
    Regarding SYSTEM STATISTICS i found below result:
    SQL> select * from AUX_STATS$
    SNAME                          PNAME                               PVAL1 PVAL2
    SYSSTATS_INFO                  STATUS                                    COMPLETED
    SYSSTATS_INFO                  DSTART                                    11-09-2009 04:59
    SYSSTATS_INFO                  DSTOP                                     11-09-2009 04:59
    SYSSTATS_INFO                  FLAGS                                   1
    SYSSTATS_MAIN                  CPUSPEEDNW                     128.239557
    SYSSTATS_MAIN                  IOSEEKTIM                              10
    SYSSTATS_MAIN                  IOTFRSPEED                           4096
    SYSSTATS_MAIN                  SREADTIM
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR
    SYSSTATS_MAIN                  SLAVETHRNow whether NOWORKLOAD or WORKLOAD is better, and this server is still under building process....so how can i collect WORKLOAD stats as high load on this server can't be performed?? Is it really require to gather system statistics, what will happen with NOWORLOAD stats?
    I have not seen single database where system stats are gathered in our organisation having more than 2000 databases.
    -Yasser

    Maybe this article written by Tom Kite helps:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:499197100346264909

Maybe you are looking for