Questions tagged [postgresql]

PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, and correctness. It runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, SGI IRIX, Mac OS X, Solaris, Tru64), and Windows.

PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, and correctness. It runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, SGI IRIX, Mac OS X, Solaris, Tru64), and Windows. It is ACID compliant, has full support for foreign keys, joins, views, triggers, and stored procedures (in multiple languages). It includes most SQL:2008 data types, including INTEGER, NUMERIC, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, and TIMESTAMP. It also supports storage of binary large objects, including pictures, sounds, or video. It has native programming interfaces for C/C++, Java, .Net, Perl, Python, Ruby, Tcl, ODBC, among others, and exceptional documentation.

An enterprise class database, PostgreSQL boasts sophisticated features such as Multi-Version Concurrency Control (MVCC), point in time recovery, tablespaces, asynchronous replication, nested transactions (savepoints), online/hot backups, a sophisticated query planner/optimizer, and write ahead logging for fault tolerance. It supports international character sets, multibyte character encodings, Unicode, and it is locale-aware for sorting, case-sensitivity, and formatting. It is highly scalable both in the sheer quantity of data it can manage and in the number of concurrent users it can accommodate.

PostgreSQL has won praise from its users and industry recognition, including the Linux New Media Award for Best Database System and five time winner of the The Linux Journal Editors' Choice Award for best DBMS.

Best of all, PostgreSQL's source code is available under a liberal open source license: the PostgreSQL License. This license gives you the freedom to use, modify and distribute PostgreSQL in any form you like, open or closed source. Any modifications, enhancements, or changes you make are yours to do with as you please. As such, PostgreSQL is not only a powerful database system capable of running the enterprise, it is a development platform upon which to develop in-house, web, or commercial software products that require a capable RDBMS.

1955 questions
0
votes
1 answer

Setting up Postgres hot standby in AWS

We have a Posrgres 9.5 database running on an EC2 in AWS and we're trying to set up a hot standby. The server has around 3TB of data, so backing up is not a quick task. I initially tried to create a base backup for the hot standby by running…
Leah Sapan
  • 189
  • 1
  • 2
  • 15
0
votes
1 answer

Increase in "table lookup" on old Postfix/PostgreSQL installation

The box is still running PostgreSQL 8.1 and this started to increase a few weeks ago. It is only happening while the server is a bit busy. fatal: pgsql:/etc/postfix/pgsql/relay_domains.cf(0,lock|fold_fix): table lookup problem fatal:…
Dax
  • 294
  • 2
  • 11
0
votes
1 answer

How to check memory consuming process on AWS RDS postgressql

I am using AWS RDS postgresql with instance type db.t2.medium which has 4GB of memory. In monitoring the RAM consumption is more than 3.3GB continuously. How to determine which process is consuming the more memory. Enhance monitoring is also not…
Ajeet Khan
  • 183
  • 2
  • 8
0
votes
1 answer

How to change Default Port used by PostgreSQL 9.5 on CentOS 7?

Does someone have an idea about how to change default port for PostgreSQL 9.5, I did the same on previous versions and I just modify the following files: /var/lib/pgsql/9.5/data/postgresql.conf listen_addresses = '*' port =…
0
votes
1 answer

How to call ftp script from main script

I'm lookign for a way to create backups from several databases and send result files to server in Debian Linux 6 (Sqeeze) from crontab job There are databases named database1 .. database4 Backup from every db shoudl created and sent using ftp I…
Andrus
  • 169
  • 4
  • 12
0
votes
2 answers

Unable to get permissions even after changing permissions on a mounted directory in ubuntu 14.01

This is an ext4 fs and I am unable to gain permissions over the directory with the postgres user: mud@mud-i7-32gb:~$ sudo mount /dev/sdc1 /media/mud/ssd128 mud@mud-i7-32gb:~$ ls -l /media/mud/ssd128/ total 20 drwxr-xr-x 2 root root 16384…
Avia
  • 121
  • 3
0
votes
1 answer

Postgres 9.5 server not starting due to already active replication slot

I have a Postgres (version - 9.5 Beta) server replication set up where there are 3 slaves and a primary server. After all required configuration is done, I start 1st slave after taking base backup and it gets started. As I start 2nd slave, it does…
0
votes
1 answer

psql: duplicate GSS authentication request

What does it mean by saying 'duplicate' ? How to troubleshoot this? guest@www:~$ klist Ticket cache: FILE:/tmp/krb5cc_1000 Default principal: user/admin@SOHONET Valid starting Expires Service principal 12/11/2015 07:37:08 …
0
votes
1 answer

How to start postgresql server with the socket at a different place?

Good morning. The title says it, but let me precise it. I am working with openbsd. The web server is chrooted in /var/www. So the good thing would be that postgresgl place its socket (and the lock, I assume) in the chroot, typically…
22decembre
  • 131
  • 1
0
votes
2 answers

Docker Architecture for Multiple Apps with Postgres DB

I have over 30 apps written in various Ruby frameworks. All of them are internal apps so they receive very little traffic. I want to run each of them in a separate Docker container. All of them use Postgres as the DB, each has a different database.…
Leo Net
  • 103
  • 1
0
votes
1 answer

psql: could not connect to server: Network is unreachable

I know it is a duplicate questions but their solution not working, What I'm doing is, connecting to a remote Postgresql database from my local ubunut machine: psql -h x.x.x.x -U username But it gives error: > psql: could not connect to server:…
0
votes
1 answer

Millions of requests and MariaDB vs. PostgreSQL

I do not ask for comparison. I already know what PostgreSQL and MariaDB is and differences. I am looking this issue from another point. Such companies like Facebook uses MySQL (of course patched) but how can they handle millions of requests? To be…
xangr
  • 144
  • 4
0
votes
1 answer

Is it possible to connect to a PostgreSQL server using FreeTDS driver and tsql?

Can I make a connection to a PostgreSQL server using FreeTDS, more specifically tsql command? I've been trying for a few days now, using many different configurations. Even though I am able to connect to the DB using isql and PostgreSQL odbc driver,…
brunodea
  • 3
  • 2
0
votes
1 answer

Output additional information if nagios/icinga check fails

We use check_postgres to monitor our PostgreSQL servers. Sometimes there are peaks in the number of locks and the check alerts. Up to now the check only tells us the number of locks. This does not help in debugging where the locks come from. I would…
guettli
  • 3,591
  • 17
  • 72
  • 123
0
votes
0 answers

Could pgpool be locking tables

I had an issue today where I could not insert into a single table(I think the table was locked). This was resolved once I revered my application back to hitting the master server for all of my connections. Is it possible for pgpool to be locking a…
Stefanie
  • 11
  • 3