Check the database ( Performance , tuning ,  . . . . . . . , etc  )

Dears,,
If i have running database and i need to make check health for it for performance , tuning , . . . , etc
Is there any steps or advisors or documentations to go ahead with them enable me to check the database health.
Thanks & Regards,,

Eng.Mohammed wrote:
Dears,,
If i have running database and i need to make check health for it for performance , tuning , . . . , etc
Is there any steps or advisors or documentations to go ahead with them enable me to check the database health.
Thanks & Regards,,
One way to check for performance issues is to see if your telephone is ringing. If no one is calling to complain, then you don't have any problems.
I'm only half joking. Which means I am half serious. While you shouldn't take a completely cavalier attitude toward performance, neither do you want to fall victim to Compulsive Tuning Disorder.
Start with the 2-Day DBA manual. Follow up with the tuning guide. Both at tahiti.oracle.com
And remember, no matter how much effort you put into tuning, there will always be a "Top Five" wait events. Is it worth 40 man hours of effort to get a 75% reduction in average response time? Really? Even if the average response time is already 0.5 seconds? Is the user going to be able to perceive that 0.38 seconds improvement?

Similar Messages

  • Oracle 11 G database performance tuning

    How to indexing the oracle 11G database?
    Thanks in advance.

    Your question is like if you ask "Tell me how to fix a car". As you know people spend years learning how to fix different problems with cars; the same applies to database performance tuning. There is no way to answer this question in one post. Please ask a more specific question in an apropriate (database related) forum.
    cheers

  • Will Result Cache improve the database performance in 11g? what is the max size of Result Cache?

    Will Result Cache improve the database performance in 11g? what is the max size of Result Cache?

    Thanks for convincing me I really need a new laptop...
    SQL> select /*+ result_cache */ count(*) from emp,emp,emp,emp,emp,emp,emp;
      COUNT(*)
    105413504
    Elapsed: 00:00:52.94
    SQL> select /*+ result_cache */ count(*) from emp,emp,emp,emp,emp,emp,emp;
      COUNT(*)
    105413504
    Elapsed: 00:00:00.01
    SQL> select /*+ result_cache */ count(*) from emp,emp,emp,emp,emp,emp,emp;
      COUNT(*)
    105413504
    Elapsed: 00:00:00.01
    SQL> select count(*) from emp,emp,emp,emp,emp,emp,emp;
      COUNT(*)
    105413504
    Elapsed: 00:00:45.08
    SQL> select count(*) from emp,emp,emp,emp,emp,emp,emp;
      COUNT(*)
    105413504
    Elapsed: 00:01:16.29
    SQL>  select count(*) from emp,emp,emp,emp,emp,emp,emp;
      COUNT(*)
    105413504
    Elapsed: 00:01:18.63
    Message was edited by: Hoek
    The result cache seems to have lagged a bit for the first hintless query..

  • Does recompiling procedure improve the database performance???????

    One of my friends working on mssql told me that recreating of procedures could improve the database performance. If you have created the procedure and recreated it after insertion of huge volume of data.
    Is it true. If so how?

    I think so too but he said that in his microsoft certified course told that it could improve the performance.
    He told me that the select statements prevously used uses the old statistic but after recreating it uses the new statistic.

  • Can Virtual Machin system make negative impact to the database performance?

    Can Virtual Machin system make negative impact to the database performance?
    I want to make a virtual machine system in my server and then install Oracle 10g database on the virtual machine system. But I am not sure if Virtual Machin system can make any negative impact to the database performance.
    Thank you

    The virtual machine software vendor must have certified and provided some performance figures like running Oracle on our VM would have a performance hit of n%. VMWare has such a figure published (8% if I recall correctly).
    Besides, the load on physical server, apart from the virtual machine running, would also have the impact on performance.
    Other factors would be
    1. how quickly the host OS can cater to the guest OS with the RAM requirements (it would be good if you could pre-allocate RAM to VM)
    2. with the assumption that you will be running an OS within OS, files on host OS forming the VM, should be pre-allocated in terms of space, avoiding runtime extentions.

  • Any tool to help checking the database is in line with the 2NF

    Is there any tool to help checking the database design is in line with the 2NF (second normal form), Thanks.

    Hi,
    Is this table in 2nd normal form?
    CREATE TABLE     orders
    (       order_id     NUMBER (10)     PRIMARY KEY
    ,     company          VARCHAR2 (10)     NOT NULL
    ,     customer     VARCHAR2 (30)
    );How can you tell?
    How would you expect some tool to tell?
    If you willing to even make a guess, it's only because you know what "order". "company" and "customer" probably mean in this context.
    There are queries other methods you could use to detect tables that might not be in second normal form. Fort example, you could assign a number (0-100) to each table, 0 meaning it seems to be in second normal form, 100 means that it has all the traits you expect from a table that is not in second normal form, and then list the 20 tables with the highest scores to check.
    Say exactly what you're trying to do, and someone will help you find a good way to do it. Post CREATE TABLE and INSERT statements for some tables, and expalin what traits you're looking for.

  • How to check the database connection using OCI

    I am working on enhhancement of very old application developed using C and OCI. It has a background process which acts as a middleware for interaction of any other front end process with oracle database. Any processes, which needs to interact with database sends a request to background peocess and then it will execute a call to execute the stored procedures for performing requested operation (like select, update, insert) on table and will send the result back to respective process. So this process has to be always running in background and connected to branch database.
    If branch database gets restarted or connection gets dropped due to some ad-hoc problem then the background process also has to be restarted manually. Because this process establishes the connection to branch database only once on start up and it does not have the intelligence to reconnect automatically in such scenario.
    I am looking forward to build the intelligence in this process to automatically reconnect if connection with branch database is lost. But I am not familer with OCI, and I am not sure if there is any OCI call which can determine if my earlier connection is still available. Can any one please tell me if there is any other way to check the connection other than the execution of dummy query, then check if it gets executed properly and then do the actual query.
    Thanks in advance,
    Deeapk

    Hi,
    If you are reworking the application can you not build in the functionality to re-establish a connection if there is a failure? That is, a submission from the application server to the database server detects a failure, etc. and then re-establishes the connection. If you need a more frequent check than during a user-initiated roundtrip, you may be best served by using the "dummy query" technique on some time interval.
    From my understanding using HA Event Notification would require a RAC database (plus a multi-threaded application and services correctly configured on the RAC-side).
    In the documentation I see this:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci09adv.htm#sthref1495
    "Applications must connect to a RAC instance to enable HA event notification."
    In any case, this has the potential to be a bit complicated...
    Regards,
    Mark

  • Database performance tuning

    i have a very large database consisting of around 300,000,000 records with 38 columns in each record.
    i need help in tuning the database so that query results don't take more than a few seconds.
    the data is the log of events occuring in the SMSC server.
    there are about 10,000,000 events daily.
    Search criteria is usually time range and the mobile numbers.
    Please advise on the sql and table structure to be used for best performance.presently using composite partitioning with range partitioning based on time( one partition for each day). query with 1 day range takes about 70-80 seconds.
    i'm using java servlets and jdbc for accessing the database.
    there's no problem in inserting data.

    Hi
    Thanks for your replies.
    The table structure is as follows :
    LOGGING_TIME DATE
    LOG_TYPE NUMBER
    SUC_INDICATOR NUMBER
    ORIG_IW_TYPE NUMBER
    ORIG_TYPE NUMBER
    ORIG_ADDR VARCHAR2(21)
    ORIG_ADDR_LEN NUMBER
    DEST_IW_TYPE NUMBER
    DEST_TYPE NUMBER
    DEST_ADDR VARCHAR2(21)
    DEST_ADDR_LEN NUMBER
    SMS_CENTRE VARCHAR2(21)
    INCOMING_TIME DATE
    TIME DATE
    ERROR_CAUSE NUMBER
    ERROR_ORIGINATOR NUMBER
    NO_OF_ATTEMPTS NUMBER
    TARIFF_CLASS NUMBER
    MSG_LEN NUMBER
    PID NUMBER
    SR_REQUEST NUMBER
    DEFERRED_DEL NUMBER
    SERV_DESC NUMBER
    REF_NR NUMBER
    MAX_NR NUMBER
    SEQ_NR NUMBER
    SP_MSG_IND NUMBER
    DCS NUMBER
    ACCESS_METHOD NUMBER
    PRIORITY NUMBER
    SENDER_CHG_TYPE NUMBER
    RECIPIENT_CHG_TYPE NUMBER
    SENDER_PREPAID_STATUS NUMBER
    RECIPIENT_PREPAID_STATUS NUMBER
    CHARGED_PARTY NUMBER
    VMSC VARCHAR2(21)
    ORIG_IMSI VARCHAR2(21)
    CONSO_MSG VARCHAR2(10)
    I have used composite partitioning with range partition based on logging_time and one day for each partition.there are 32 subpartitions.
    I have created a local partitioned index on columns logging_time,orig_addr and dest_addr respectively as they are the most commonly used in queries.
    query : select /*+ parallel_index(event_logs, event_logs_ind2)*/ * from event_logs where (logging_time>=?) and (logging_time<?) and (orig_addr like ?) and (log_type like ?) and (dest_addr like ?) order by logging_time
    execution plan is as follows:
    select statement
    partition range(iterator)
         sort(order by)
         partition hash(all)
              table access(by local index rowid) of "smsevent.event_logs"
              index(range scan) of "smsevent.event_logs_ind"(non-unique)
    I tried to make this more readable but the white spaces are getting removed from the posted message.
    looking forward to a quick response

  • Database performance tuning Question

    Please,
    The top wait event having all the time when tuning, oracle database is the following.
    enq: TX - row lock contention
    What could be the best way to pinpoint the cause of this?.
    I'm on Oracle 10g, windows server 2003.
    Thanks

    The first thing to do is check the underlying reason. If you query v$session_wait_history or v$lock when you spot a lock appearing, you can check if the request is for mode 4 or mode 6.
    Mode 6 means you are colliding on an attempt to update the data in a heap table. Mode 4 can mean many things - including a few "internal" problems, which is probably why the comment about initrans appeared - but often means you have a collision on indexes, (e.g. pending duplicates in unique indexes, conflicts in parent/child referential integrity) or colliding updates to the non-key part of IOTs.
    If you are allowed to use v$active_session_history, you can query that to find the sql_id of a session that was waiting for a lock and then be able to see the SQL that the waiting session was trying to operate - otherwise you may have to catch it waiting and check v$session for the sql_id.
    Once you have the SQL, you may have a better idea of why the lock was happening.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http:/www.jlcomp.demon.co.uk

  • Automating the installation process,creating the database, creating tables etc at the

    Hi,
    We have a requirement to install oracle 8.1.6 on solaris box. The whole installtion process should be automated. This process includes changing the kernel parameters, creating the oracle account as per the installation guide, configuring the logical volumes, creating the database as per OFA recommendations, creating tables etc. How can i do this with out any interaction from user. Can the Oracle software packager handle all these. Please Let me know ASAP.
    Thanks a bunch.

    Agata,
    The full retail should be white with a snow leopard on it but if you ordered from the on-line store you should be fine.  If it is having problems booting while holding the C key, try restarting the computer but this time hold the Option key.
    That will bring up a grey screen with the image of the Macintosh HD and an image of the CD.  Click the image of the CD and let it boot that way.
    Once booted, go through the install proceedure, choose language, etc.  Still using the same CD but let's see if for some reason it does not like the way it is being told to boot.
    Ralph

  • Check the database size

    HI,
    Kindly let me know if there is any maxl comamnd available for to check the cube size and application size for all appilication in one server.
    Thanks,
    VIkram

    Hi,
    Visit this link to display some storage-related metrics. Refer to [Disk Volume|http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispdvol.htm] & tablespace in particular.
    - Natesh

  • How to check the database existence using java.

    Hi All,
    I need to know if a database exists or not using DB2 sql statements. Is there any sql to find that.
    Thanks in advance

    try to connect to the database. if it is possible, the database exists - if not - well there may be a number of reasons, but if your database URL is correct, your network is ok and your database engine is running, the database is not existent.

  • How to check the database is running in which normalization

    All,
    I wanted to know in which normal form(1NF,2NF,BCNF) my database is working. How to find that...Suggestions Please .

    Tippu, I will agree with pretty much everything that the other posters have already posted.
    Related to the concept of normalization, in the database would be the definitions of primary key (PK), unique key (UK), and foreign key (FK) constainsts within the database. Looking at the constaints definded in the database by querying the rdbms dictionary view DBA_CONSTRAINTS might be of interest for trying to identify and understand the relationship between tables in your applications. However, there is no database requirement that these relationships be defined within the database.
    That is instead of declaring a PK on tableA there might just be a unique index and no FK to the header table, tableA, from its child detail table, tableB, declared in the database in this case. It would be totally up to the application to enforce this relationship. Still the view will provide information if most of the table relationships are formally defined in the database or not.
    HTH -- Mark D Powell --

  • Book for  1Z0-033 Oracle9i Database: Performance Tuning

    Hi
    are there are any recommended books for 1Z0-033 exam
    regards
    kedar

    Moreover, You can refer the Instructor Led Training (ILT) Materials which provided by Oracle Authorized Institutions i.e. SQL * International, and also, practice the Oracle's self test software questions.
    Best of luck.
    Sabdar Syed.

  • How come I cant unsync music from my iPhone, even when I've checked the "selected playlist, artists etc" box?

    Ive tried many times to unsync music from my iphone by unchecking the boxes but they still appear in my music library. I dont want to delete the songs I just want to take them off my phone to create space. I'm not sure why this wont work help!

    Thank you for the suggestions. In response to the playlist possibility, I don't have a playlist made. I intentionally deleted it thinking that might be the problem.
    As far as swiping the songs to delete them, I was able to delete the majority of the ones I didn't want by doing this. But these particular ones will not delete by swiping to the left. If I try that they will begin to play.

Maybe you are looking for

  • Error while opening the offer letter.

    Candidate has applied for a vacancy and offered.But when trying to view offer from offers workbench the offer letter does not show up....we get an error page. plz suggest if m missing some profile option or anything

  • [SOLVED] Sound card not recognized

    I tried following the ALSA setup guide on the Wiki to get my sound working but I don't think Arch recognizes my sound card.  I found out from lshwd that the module is snd-intel8x0 so I modprobed that and snd-pcm-oss, changed the values in alsamixer,

  • Changing Drives

    A while back I had a larger second drive installed as I was reaching the peak of the original drive. I recently tried to install an application on the original drive, but don't have enough memory. The second drive has been used as my Time Machine bac

  • SAP FI CERTIFICATION

    Hi, I am based in Dubai and planning to take SAP FI certification. Earlier the requirement was to Hold a resident Visa of Dubai we can register for the exam. But recently there has been some amendment in the rules. We have to meet  one of the followi

  • Insertion of a blank row after change of persk field in a HR report

    Hi, I want to Insert of a blank row after change of persk field in a HR report. Any suggestions?? rgrds, pranjal