Book Contents

Book Index

Next Topic

Home

Monitoring the Log Files

When a Database is Running

When a Vertica database is running, each node in the cluster writes messages into a file named vertica.log. For example, the Tuple Mover and the transaction manager write INFO messages into vertica.log at specific intervals even when there is no WOS activity.

To monitor a running database in real time:

  1. Log into the database administrator account on any or all of the nodes in the cluster.
  2. Enter:

    $ tail -f catalog-path/database-name/node-name_catalog/vertica.log

     

    catalog-path

    the catalog pathname specified when you created the database (see Create Database in the Database Administrator's Guide).

    database-name

    the database name (case sensitive)

    node-name

    the node name as specified in the database definition (see View Database in the Database Administrator's Guide).

When No Database is Running

When no database is running, each node in the cluster writes messages into a file named dbLog. For example, if a database fails to start before it can write messages into vertica.log, check the file:

catalog-path/database-name/dbLog

where catalog-path and database-name are as described above.

See Also