Questions tagged [postgresql]
For questions about PostgreSQL, an open-source object-relational database system (RDBMS).
25
questions
1
vote
1
answer
127
views
How to quickly test if postgres database is accessible?
I whished there were a tool like ping for databases? I just want to ping the database and see if it is accessible from a remote server from Linux command line (bash).
I read about telnet, but I am not ...
0
votes
0
answers
9
views
pg_dump from Celery container differs from pg_dump everywhere else in other container
I can't understand where pg_dump version is coming from.
I forced everywhere postrgresql-client-13 to be installed.
/usr/bin/pg_dump --version
Celery Beat and Celery
pg_dump (PostgreSQL) 11.12 (...
1
vote
0
answers
53
views
in k8s cant load dump db to postgres for init it
I have a k8s cluster for educational purposes. It has postgres one pod, but I can't load or dump db to postgres to initialise it.
I added a pv and pvc for /docker-entrypoint-initdb.d and added locate ...
4
votes
2
answers
186
views
Postgresql in DevOps skills
What are the basic skills and requirements a DevOps candidate should have when working with PostgreSQL?
How to monitor it, deploy, etc.?
0
votes
0
answers
28
views
Gitlab review k8s role with postgres-operator
I want to integrate review enironments of kubernetes cluster and crunchy postgres-operator.
I have integrated group k8s cluster with enabled “Namespace per environment” option.
My review deploy ...
2
votes
1
answer
194
views
mounting overlayfs within kubernetes POD - "cannot mount overlay read-only"
I try to "manually" mount an overlayfs within a Kubernetes POD, to create a copy-on-write layer on top of a shared persistent volume.
(For running a read-only postgres - postgres cannot run ...
1
vote
0
answers
29
views
Postgres initdb does nothing on Windows 2019?
I'm using Ansible to install Postgres 13 on a Windows 2019 machine. I downloaded the binaries from here and unzipped it to C:\PostgreSQL\13\pgsql, and added the path to the system path, all via ...
1
vote
1
answer
318
views
Autoscaling Postgres Database using Kubernetes
Is it possible to autoscale a Postgres Database using Kubernetes ?
I usually run a Docker container with very specific settings to install a postgres database for my application. Does using Kubernetes ...
2
votes
1
answer
62
views
What are the best practices for sharing production Postgres access with developers?
We're a small SaaS startup (~10 person team; mostly engineers).
We use Postgres on AWS and GCP in production.
We have signed contracts with some customers that prohibit us from giving full production ...
0
votes
1
answer
758
views
Include curl commands in a PostgreSQL Docker environment
Using COPY table FROM PROGRAM 'curl "www.example.com/data.csv"'; I am able to copy a CSV directly from the web into a psql table.
However, when I am running the same command from inside a ...
-1
votes
1
answer
34
views
Minimum postgresql + spring + react hardware requirements
I have to deploy my postgresql + spring + react fullstack application on premise so cloud is out of the question. It's going to be used by around 15 users at a time. But I have to specify what ...
2
votes
1
answer
55
views
get value of default_statistics_target on postrgesql
I want to see the value of default_statistics_target on postgresql before running
SET default_statistics_target=1000
Its most likely the default (100) but would like to see it.
Where it can be ...
7
votes
2
answers
920
views
Blue Green Deployment DB transactions management
Imagining I have 2 sets of environment(Blue and Green)
+
|
|
|
v
+-------+---------+
| Proxy/LB |
| |
+--+----...
3
votes
1
answer
340
views
Where does PGBouncer sit on a Kubernetes Cluster
I'm wanting to deploy some sort of connection pooling within my applications across multiple nodes. Python naturally provides some pooling with the SQLAlchemy implementation; but obviously this ...
1
vote
1
answer
4k
views
Can't get either Postgres permissions or PVC working in AKS
These are pretty much the steps I have followed in order. Basically what is outlined in the documentation:
https://docs.microsoft.com/en-us/azure/aks/azure-files-dynamic-pv
azure-storage-claim.yaml
...
0
votes
1
answer
780
views
How to connect to postgres container from a node container using docker-compose?
I'm trying to connect from a node app container to a postgresql container using docker-compose but I'm not able to do it.
This is my docker-compose.yml file:
version: '3.7'
services:
db:
image: ...
0
votes
1
answer
50
views
Which system user should I use to run Postgres?
I am using a postgres docker image configured with the following environment:
image: healthcheck/postgres:alpine
environment:
POSTGRES_USER: postgres
I have the following questions ...
1
vote
1
answer
63
views
i have questions about docker-compose
postgres:
image: healthcheck/postgres:alpine
environment:
POSTGRES_USER: postgres
What is the default user of postgresql?
How does hardcoding the postgres user improve security?
What special ...
1
vote
1
answer
493
views
How to use port 5433 with Azure managed postgres
We are looking to use Azure managed postgres but I am having some issues with connecting on port 5433 I can connect on port 5432 fine. I need just port 5433 to work, is there a way to access that port?...
6
votes
1
answer
10k
views
Best practice for Postgres setup with docker-compose
I have a docker-compose script which starts a Postgres container and an app container like so
db:
image: postgres:10.6
restart: always
ports:
- 5432:5432
app:
image: test_app:latest
...
0
votes
1
answer
23
views
One time database update process as part of applying a patch
I have a PostgreSQL database that requires a server side script to be executed (client prefers php) to:
Perform some intelligent data modifications to records that will be
identified only during the ...
1
vote
1
answer
2k
views
lc_collate values for database "postgres" do not match: old "C.UTF-8", new "en_US.UTF-8"
I am working on testing a method for postgres 9.3 to 10 upgrade. I currently am at the dry run phase and ran into a few issues. The current blocking one is lc_collate values for database "postgres" do ...
3
votes
1
answer
2k
views
Stolon vs CrunchyData for HA Postgresql
I'm using helm charts with kubernetes and I'm trying to deploy High Availability Postgresql database and found this article mentioning three project that provide HA Postgresql:
1- Stolon
2- ...
0
votes
1
answer
54
views
Planning a backup system using postgress, chef and vault
As the title says I am working on planning a way to backup postgres using chef and vault. Idea is that we already encrypt the backups from postgres using a key (random binary string) and we would like ...
0
votes
1
answer
237
views
Why won't InSpec admit that port 5432 is listening inside a PostgreSQL container?
Background
I'm trying to test a PostgreSQL container with InSpec 2.1.10, but I cannot get a simple port check to return true, even though Docker, netstat, and psql all report that the port is ...