Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Koken 0.8.2
  • ContentBox 1.5.2
  • jQPlayer 0.5.2
  • SPOILER ALERT! 0.0.2
  • jQuery Mask Plugin 0.9.0
  • Easing Slider 2.1.2
  • Btapp.js 0.2.0
  • WiiFlash 0.4.5
  • Breeze.js 1.3.3
  • TinyMCE Templates 3.0.2
  • Home > Scripts > Database Tools

    pg_statsinfo 2.3.0

    Download button

    Downloads: 395  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Nippon Telegraph and Telephone Corporation | More scripts
    pgfoundry.org
    BSD License - BSD License 

    Windows / Linux
    PostgreSQL
    C/C++
    December 9th, 2012, 09:20 GMT [view history]
    C: \ Database Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    pg_statsinfo description

    A C app to monitor statistics and activities of PostgreSQL servers

    pg_statsinfo monitors an instance of a PostgreSQL server and gathers the statistics and activities of a server as snapshots. The snapshots will be stored in the same or another repository database.

    It also parses PostgreSQL's CSV server log filesm and extracts performance logs from them. Error messages are routed into textlog and syslog according to the message levels.

    pg_statsinfo can be easily installed and maintained because it starts or stops automatically when PostgreSQL server starts or stops.

    Statistics counters from pg_statsinfo can be displayed with pg_reporter as graphicsl reports.

    pg_statsinfo works as the following image. It monitors one PostgreSQL instance (server).

    Two connections required if monitored instance and repository are on the same server.

    If this isn't the case, 1 connection for the monitored instance / 1 connections for repository.

    Here are some key features of "pg_statsinfo":

    Statistics Snapshots:
    · Snapshots are gathered periodically (default: every 5 minites) or by manual.
    · An event handler function is called after every snapshots taken. The function can be defined by users. A new snapshot can be compared with previous snapshots and raise alert messages in the function.

    A snapshot holds the following statistics information:
    · All of the information collected by the statistics collector. For example, numbers of INSERT/UPDATE/DELETE and buffer access counters.
    · Disk usages of each tablespace, pg_xlog, and archive log directory.
    · Long transactions and their query strings.
    · Process status in running, waiting for locks, idle in transaction, and idle.
    · Duration and buffer accesses in checkpoints and autovacuums.
    · SQLs and functions that take long time.
    · PostgreSQL configuration parameters.

    Server Log Filter:
    · Split server log lines according to the message levels. You can set different message threshold for csvlog, textlog, and syslog.
    · Fix filename of the latest textlog. The default is $PGDATA/pg_log/postgresql.log. You can always read the latestlog in the same filename and setup of log monitoring tools would be easier.
    · Set arbitrary access permission for each textlog files. You can control the default permission not only 600.

    Other Features:
    · Start or stop with PostgreSQL. pg_statsinfo daemon can automatically start or stop with PostgreSQL instance. No additional operations are required.
    · Reload parameters online. Configuration parameters like snapshot interval can be modified with "pg_ctl reload".

    Requirements:

    · PostgreSQL 8.3 or higher
    · OS: RHEL 5.3, CentOS 5.3, Windows XP

    Limitations:

    · pg_statsinfo doesn't delete old snapshots, so the user has to delete them manually.
    · pg_statsinfo doesn't delete old server log files, so the user has to delete them manually.

    What's New in This Release: [ read full changelog ]

    · Added create reports command for statistics database performance, decrease snapshot data size, and fix some bugs.



    TAGS:

    database monitoring | report log | statistics snapshot | database | statistics | report

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM