How to monitor load on my database server ?

Hi Experts,
Could anybody please suggest me a way to monitor the load on my database server?
What perfmon counters should I monitor on daily basis and confirm that load on the server is increasing day by day [or] by week by week [or] every month. Also, suggest me if we can achieve this using DMV's so that we can store this info in a table using a SQL
agent job. Because a sql guy I would be more happy working with TSQL queries.
Do all this helps me, to put for forward my argument to the management that this server can handle this much of load based on data and incase if the load is increased on the server , we might need more resources ( like cpu, better storage , more RAM etc ...)
or move to a new server which has more power.
Also, please suggest any load testing tools so that I can test this on testing environment.
Thanks in Advance.

About Perfmon counter, 
You may refer the below perfmon counter pdf file. You may need to look at all memory counters to confirm the issues. 
http://www.quest.com/backstage/images/promotions/SQLServer-Perfmonance-Poster.pdf
Regarding
your request on workload, you need to do a Capacity planning of your servers first. 
Please refer the below link, this would explain complete info:
http://sqlactions.com/2012/05/15/collection-and-reporting-of-perfmon-data-for-sql-server-capacity-planning-and-trend-analysis/
To find the SQL Server Usage and monitoring server, you can even think of
third party tools like Spotlight/Foglight etc...
http://www.quest.com/foglight-for-sql-server/

Similar Messages

  • How to monitor load on server

    Hi Experts,
    What perfmon counters can I use to monitor load on the sql server and trend it over time?
    Thank you.

    Hi Experts,
    What perfmon counters can I use to monitor load on the sql server and trend it over time?
    Thank you.
    Hi,
    Similar thread listing all possible counters to monitor SQL server performance. Apart from
    using perfmon counters you should first create a baseline for SQL Server. Understand your system, for some system 60 % CPU usage is normal for some 50 % might indicate issue. Know your system completely collect counter values when system is not under load
    this would be your mark anything more than that would require your attention.
    Reading errorlog/event viewer is also good in terms of performance monitoring.Please read below article by Jonathan it would help you
    https://www.simple-talk.com/sql/performance/a-performance-troubleshooting-methodology-for-sql-server/
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How to monitor loads

    Hi can anyone tell me how to monitor loads n explain common errors we come across n how to solve them. Thanks

    Hi Arman,
      We monitor several data loads using Process chain monitor. Execute tcode RSPC ->Locate your process chain-> click on it-> then click on Log button-> here select proper date interval-> you will be able to see the log of process chain for that time interval.
    OR you can use tcode RSPCM to monitor daily process chains.
    Please note that we do all above in 'real BW world scenario'.
      And when Loading time you will get maximum these type os errors....
    1. Time stamp error.
    sol: activate the data source and replicate the data source and load.
    2. Data error in PSA.
    sol: Modify the in PSA error data and load.
    3. RFC connection failed.
    sol: raise the ticket to BASIS team to provide the connection.
    4. Short dump error.
    sol: delete the request and load once again.
    AND
    5. Data locking when loading in parallel.
    6. ODS activation failures.
    7. Unrecognised characteristics.
    REGARDS
    @JAY

  • How can i load file into database from client-side to server-side

    i want to upload file from client-side to server-side, i use the following code to load blob into database.
    if the file is in the server-side, it can work, but if it in the client-side, it said that the system cannot find the file. i think it only will search the file is in the server-side or not, it will not search the client-side.
    how can i solve it without upload the file to the server first, then load it into database??
    try
    ResultSet rset = null;
    PreparedStatement pstmt =
    conn.prepareStatement ("insert into docs values (? , EMPTY_BLOB())");
    pstmt.setInt (1, docId);
    pstmt.execute ();
    // Open the destination blob:
    pstmt.setInt (1, docId);
    rset = pstmt.executeQuery (
    "SELECT content FROM docs WHERE id = ? FOR UPDATE");
    BLOB dest_lob = null;
    if (rset.next()) {
    dest_lob = ((OracleResultSet)rset).getBLOB (1);
    // Declare a file handler for the input file
    File binaryFile = new File (fileName);
    FileInputStream istream = new FileInputStream (binaryFile);
    // Create an OutputStram object to write the BLOB as a stream
    OutputStream ostream = dest_lob.getBinaryOutputStream();
    // Create a tempory buffer
    byte[] buffer = new byte[1024];
    int length = 0;
    // Use the read() method to read the file to the byte
    // array buffer, then use the write() method to write it to
    // the BLOB.
    while ((length = istream.read(buffer)) != -1)
    ostream.write(buffer, 0, length);
    pstmt.close();
    // Close all streams and file handles:
    istream.close();
    ostream.flush();
    ostream.close();
    //dest_lob.close();
    // Commit the transaction:
    conn.commit();
    conn.close();
    } catch (SQLException e) {

    Hi,
    Without some more details of the configuration, its difficult to know
    what's happening here. For example, what do you mean by client side
    and server side, and where are you running the upload Java application?
    If you always run the application on the database server system, but can't
    open the file on a different machine, then it sounds like a file protection
    problem that isn't really connected with the database at all. That is to
    say, if the new FileInputStream (binaryFile) statement fails, then its not
    really a database problem, but a file protection issue. On the other hand,
    I can't explain what's happening if you run the program on the same machine
    as the document file (client machine), but you can't write the data to the
    server, assuming the JDBC connection string is set correctly to connect to
    the appropriate database server.
    If you can provide some more information, we'll try to help.
    Simon
    null

  • How can i connect to a Database Server (live data)?

    hi,
    i'm trying to figure out how i can create a dashboard that's connected to live data coming from a Database server.  i have the username and password and the DB name, but can't find a direct way from within SAP dashboard design where i can make the connection.
    MUST i go through XML?
    i know other tools like Tableu that allow direct connections to the server.
    is this possible?

    Hi Sam
    Please refer to the tutorial http://scn.sap.com/docs/DOC-7946 and under "Connecting to Data Sources" section you will get the step by step guidance of various data connectivity options..
    Basically the options available under Data > Connections > Add and Query Browser in Dashboards 4 are your options.
    If you want to write direct SQL to get data you have to use add-ons InfoBurst like InfoBurst infosol.com/solutions/infoburst/
    Runali

  • HOW DO I KNOW IF THE DATABASE SERVER IS RUNNING?

    Hi guys,
    How do i write a java code to determine if my database server(s) (eg : Oracle or mySQL or postGRESQL, msSQL etc) are (is) running.
    I want to know how to code in java to determine if a certain database server is running when i start the java application .
    Thanks for your help

    Acquire a connection. If it doesn't throw a SQLException, then you can be certain that the database is up and running.

  • How to enable Load Roles from database in workflow builder

    Hi,
    I am new to workflow.
    In the wrokflow builder, How to enable file -> Load Roles from database.
    I am working on workflow builder2.6.3.5.
    Thanks & Regards,
    Bharathi.S

    You have to connect to database to load roles. File --> Open --> Database, then select the workflow.
    Then load roles, then save to database.
    The save as to .wft file and work on for customizations.

  • How to monitor the success of database shutdown command

    Sometimes , the "shutdown immediate" command can fail on one of our databases. We want to monitor the success of the shutdown command. If it fails, then we will issue a "shutdown abort" command. My question is: how can I monitor the success of database shutdown command?
    sqlplus / as sysdba <<EOF
    shutdown immediate
    EOF
    if failed ???? ;then
    sqlplus / as sysdba <<EOF
    shutdown abort
    EOF
    Thanks in advance for your help!

    No version, no platform. How do you expect help?
    And what does 'fail' mean?
    A few remarks:
    You can have sqlplus error out to the O/S by using whenever sqlerror exit failure
    Shutdown immediate usually doesn't fail but just doesn't complete.
    One would usually monitor the alert log as to check what is going on, and issue the shutdown abort in a different session.
    Sybrand Bakker
    Senior Oracle DBA

  • How to get log information from database server?

    Oracle 9.2 in Unix
    we got blocking error in the production database last midnight for 40 min and nothing was being processed during that time which delayed our production night batch process. Then it was gone after 40min. I like to know what was happening during that time in the database. My question is where I can find error in the database server? In bdump? Appreciate any ideas.
    Thanks
    S.

    If you have jobs regularly collect statspack report, then it will be easier to troubleshoot. You can just pull the report from the time period.
    A couple of things you can check if there's any storage issue during the time, like some backup or other jobs running taken all OS storage, so Oracle hung because no space to archive logs. Usually this will log errors in alert.log but if bdump destination also full, the error will not be logged.
    Check OS activity during the time frame, what's CPU and IO activity. See if you have sar installed and configured
    check OS message file.

  • How to Connect to Oracle 9i database server via Oracle 10g XE

    I have installed Oracle 10g eXpress Edition and uninstalled Oracle 9i client database. I used Oracle 9i client to connect to another Database server on a local LAN. Is it possible to create a database link to the old Oracle 9i database server via Oracle 10g XE? If yes, do I need to add ODBC drivers?
    I want to achieve the following:
    1) Create a connection to the Oracle 9i database server using Ora101040 odbc drivers.
    2) Use a similar 9i tool (Enterprise Management Console) within Oracle 10g XE to access Oracle 9i Database tables on a LAN network.
    3) Create data access to Oracle 10g XE via some ODBC connection from a C++ runtime application.
    Hope to receive help from Oracle professionals.
    Thanks.

    I have installed Oracle 10g eXpress Edition and
    uninstalled Oracle 9i client database. I used OraclePlease clarify - you uninstalled the 9i database or the 9i client.
    9i client to connect to another Database server on a
    local LAN. Is it possible to create a database link
    to the old Oracle 9i database server via Oracle 10g
    XE? If yes, do I need to add ODBC drivers?
    Database links between Oracle databases do not require ODBC. They do require Oracle Networking (included with both Oracle9i Database and Oracle Database 10g XE) to be configured correctly.
    It is also possible to connect ot the 9i database using the 10g Instant Client (separate download)
    I want to achieve the following:
    1) Create a connection to the Oracle 9i database
    server using Ora101040 odbc drivers.Please clarify - what client do you wish to run that needs ODBC?
    2) Use a similar 9i tool (Enterprise Management
    Console) within Oracle 10g XE to access Oracle 9i
    Database tables on a LAN network.XE does not have an equivalent to Oracle Enterprise Manager. XE does come with HTMLdb preinstalled and configured, and HTMLdb provides a subset of the administration capabilities of Enterprise Manager.
    3) Create data access to Oracle 10g XE via some ODBC
    connection from a C++ runtime application.You can download ODBC drivers from the same location on OTN you downloaded XE. I do not know whether XE includes ODBC drivers. ODBC drivers will usually still require you to configure the Oracle Networking.
    There are a number of items that make me believe you do not have a good grasp of Oracle architecture and basics. If true, I encoureage you to start reading the Concepts manual found for the database at http://docs.oracle.com, or at least the O'Reilly book 'Oracle Essentials' found at http://oracle.oreilly.com

  • How to monitor the update of database in Java

    The situation:
    if the database on the server side is updated, i need to dump the changed files to the client side immediately.
    my question:
    if only a table is changed, how can i know the specific table in the database immediately?
    thank you.

    if the database on the server side is updated, i need to dump the changed files to the client side immediately.Changed files? Hopefully you are not talking about the database files. If so then you would have to lock the database before do that.
    There are only two ways that you can be notified. The database does it or you poll. If you poll you need an indicator of some sort to indicate that an update has occurred like a record count or a field with a timestampt. The record count is risky because it presumes records will never be deleted.
    The database side solution is to add a trigger that sends a notification to you. The type of possible notifications depends on the database. A mixed mode solution is possible with this as the trigger can add a update record to a specific table which your app is polling on.
    Polling/triggers are expensive operations. They should never be used in situations where multiple clients are notified. Instead snapshots should be used.

  • How to connect to an oracle database server from a linux server?

    Hi,
    I am a total newbie to oracle. At my work, I only know that there is a server with an oracle 10g database set up.
    I was provided with the hostname, oracle sid, port, username and password but i don't know how to connect to it, log on to it and do things on the database.
    Can anyone give me a pointer on how to get started (like how to log on to the server and start doing some simple things. )
    Any help is appreciated :)
    Thank you

    Goto your local Oracle install directory and then goto folder NETWORK/ADMIN
    cd ${ORACLE_HOME}/network/admin
    do you see a tnsnames.ora file there? If you edit that file in your favorite editor, you would hopefully see some entries there already setup. See if one of those entries contain the hostname, sid, port that was given to you. if it does, that name is what you will use:
    $ sqlplus username/password@name_of_tns_entry_you_found_aboveif not, then just duplicate an existing entry and change the relevant settings for your database, give it a new name and use it to connect.
    alternatively you can also use the "Net Configuration Assistant" application.

  • How many appsutil.zip files for database server w/multi application tiers

    Hi Gurus,
    Two questions needing your help:
    1) Patching in a multiple application tiers systems, do we need to create the appsutil.zip file from each application tier (three) and ship it to each of the database tier (two) and unzip appsutil.zip?
    Go to Apps tier and create the appsutil.zip file:
    perl <AD_TOP>/bin/admkappsutil.pl
    I am unable to find any document to address this question. Please help.
    2) Noticed $ORACLE_HOME/appsutil/admin directory missing following autoconfig per RUP7 patching
    Not sure what caused it.
    Thanks,
    Newbie

    Hi,
    1) Patching in a multiple application tiers systems, do we need to create the appsutil.zip file from each application tier (three) and ship it to each of the database tier (two) and unzip appsutil.zip?
    Go to Apps tier and create the appsutil.zip file:
    perl <AD_TOP>/bin/admkappsutil.pl
    I am unable to find any document to address this question. Please help.You will have to do this only once (not three times).
    2) Noticed $ORACLE_HOME/appsutil/admin directory missing following autoconfig per RUP7 patching
    Not sure what caused it.Please see if (Note: 820077.1 - How To Recreate The Missing "scripts" Folder Under $ORACLE_HOME/appsutil On the Database Tier Server ?) helps. Once you follow all the steps, run AutoConfig on the database tier and see if the directory still there or not.
    Regards,
    Hussein

  • How to properly load balance between diffrent server farms.

    Hi experts,
    We are using an ACE 4710. We chose for our server farms to load balance using the least_connections predictor. it seems to work fine inside the same server farm but is it working properly between server farms? It doesn't seem because some of my real servers seems to be more loaded than others. Each server farm are using the same real servers.
    Any idea about what is the problem or any suggestion regarding the best load balancing predictor we should use using this kind of configuration?
    Thank's to all.

    The ACE uses load-balancing algorithms or predictors to determine how to balance the traffic among the devices configured in the server farms, independent of the device type. For FWLB, we recommend that you use only the hash address source and the hash address destination predictors. Using any other predictor with FWLB may fail and block traffic, especially for applications that have separate control and data channels.
    Here is the configuration guide for the Cisco ACE 4700 Series Appliance Server Load-Balancing.
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/configuration/slb/guide/fwldbal.html

  • How to Monitor Applications on a single server

    Hi Team
    I need some advice on Application Monitoring, my boss wants to monitor every application running on a specific server using the Application Monitor displaying the app's current values, ave response time, availability, performance etc...
    and advice would be greatly appreciated.

    Use "Enable monitoring all web applications' on ApmAgent object:
    http://blogs.technet.com/b/momteam/archive/2012/12/19/apm-throttling-settings-and-other-apm-overrides-in-sc2012-operations-manager.aspx
    Also advice your boss to look at Application Insights:
    http://msdn.microsoft.com/en-us/library/dn481095.aspx

Maybe you are looking for