English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.
Well, until you provide more details, no one can help you.
Читать полностью…the only thing that's different is the framework, cause pycharm plugin uses psycopg
Читать полностью…The error message is about the IP of the client not being listed in the HBA file. I highly doubt the driver is doing anything odd. But the IP address your server sees of your client would depend on a bunch of things, highly dependent upon your network setup.
Читать полностью…https://pastebin.com/1JUziLV7
im getting fucking crazy: asyncpg changing IP by itself ?!?!
Wow, today everybody mistook us for a search engine textbox
Читать полностью…Checkout pgEdge or EDB BDR etc offering two active (primary) nodes. It's not a pure HA solution but something small database on low budget can opt for instead of a proper 3 node patroni cluster.
https://www.pgedge.com/products/pgedge-platform
It has documentation. And it's really not that complicated, so please RTFM first, will you?
Читать полностью…you can have 2 servers but you won't have orchestration, if one server is unavailable the master won't move to another server.
ideally you should have 2 physical or virtual servers for databases, and one is not powerful, well 2 cores 4 RAM
then you can solve it with orchestration
install ETСD on all these 3 servers
install Patroni + Postgresql on two for DB servers
https://www.postgresql.org/docs/current/pgupgrade.html
Читать полностью…Can you send postgresql performance tuning ebook if you have
Читать полностью…let me tell what solved: not specifying the default port 5432
Читать полностью…the network setup is fine: pycharm database plugin is working smoothly with the same credentials
Читать полностью…PostgreSQL Person of the Week interview with: Akshat Jaimini
https://postgresql.life/post/akshat_jaimini/
How to install pg_wait_sampling and pg_stat_monitor extension for postgres 15
Читать полностью…Ok, so some HA 101 first. To serve anything highly available, you have to be able to determine the cluster's state at any given time. If server A goes down, server B doesn't know if it's just a network disconnect, neither does it know if it's just his own network that is down, if it's A's network, etc.
So there *has* to be a server C that A and B talk to, serving as an arbitrator. Only when B and C *agree* that A is dead, they decide that B should take over.
Keywords for your google journey: "quorum", "stonith".
Or you just start reading the docs of e.g. Patroni or any other HA solution...
I'm going to test vip manager Cybertec do you have good tutorial?
Читать полностью…I have copied a project from git which has mqsql database i want it in pgsql
Читать полностью…If you're upgrading to that version because you're using something like oldstable, you should be able to use pg_upgradecluster just fine, however we need more info to give you effective support
Читать полностью…