≡ Menu

PostgreSQL

15 Practical PostgreSQL Database Administration Commands

Earlier we discussed about how to install PostgreSQL database on Linux from source. In this article, let us review top 15 practical postgreSQL DBA command examples. If you are a mySQL administrator, check-out our 15 examples of mysqladmin command article that we discussed a while back. $ /usr/local/pgsql/bin/psql postgres postgres Password: (oldpassword) # ALTER USER [...]

{ 21 comments }

Similar to mySQL, postgreSQL is very famous and feature packed free and open source database. Earlier we've discussed several installations including LAMP stack installation, Apache2 installation from source, PHP5 installation from source and mySQL installation. In this article, let us review how to install postgreSQL database on Linux from source code. From the postgreSQL download [...]

{ 32 comments }

This is a guest post written by SathiyaMoorthy pg_dump is an effective tool to backup postgres database. It creates a *.sql file with CREATE TABLE, ALTER TABLE, and COPY SQL statements of source database. To restore these dumps psql command is enough. Using pg_dump, you can backup a local database and restore it on a [...]

{ 25 comments }