Postgresql Database Command Summary - Cisco PXM Version 1.1 User Manual

Cisco sensitive routing user guide
Table of Contents

Advertisement

Database Functionalities
Note

PostgreSQL Database Command Summary

Following is a summary of frequently used postgreSQL commands. Refer to the online manual pages
and help section for more information.
Cisco Carrier Sensitive Routing User Guide
2-18
Tables IngressRoutes_1, IngressRoutes_2, EgressRoutes_1, and EgressRoutes_2 can inherit
from this QoS table.
createdb—Creates a new database in postgreSQL. A database name is required when using this
command.
createuser —Creates a postgreSQL user. A user name is required when using this command.
dropdb—Removes a database from postgreSQL. A database name is required when using this
command.
dropuser —Removes a postgreSQL user. A user name is required when using this command.
initdb—Creates a new postgreSQL database installation. This command is used only once when the
database is installed. It creates the base directory. This command cannot be used again.
psql —SQL interface to the postgreSQL databases. A database name is required when using this
command.
vacuumdb—Cleans and analyzes a postgreSQL database.
Chapter2
PostgreSQL Database Operations and Functionalities

Advertisement

Table of Contents
loading

Table of Contents