English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.
I'm proud that I provoked that!
(But i'm upset a little, though, that it was unintentional).
Main point is: pg_dump(all) has horrible RPO/RTO, and when disaster strikes and you need to get back up quickly, needing to setup and dump back in loads of data can make the difference
Читать полностью…I just stumbled over https://rhaas.blogspot.com/2024/10/is-pgdump-backup-tool.html
LOL Robert , *that* was quick 👏
Check for $http_proxy
and $https_proxy
in your Python testbed.
That sounds like a problem with your internal network. Did you set a proxy environment variable or so?
Читать полностью…Hello everyone , need help while instalation , i am trying to install postgresql14 on my rhel 7 using yum , i have followed the instructions from postgre but still i have a issue as below
[root@localhost ~]# sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpmLoaded plugins: langpacks, product-id, search-disabled-repos
Cannot open: https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm. Skipping.Error: Nothing to do
i have disabled firewall not sure what i am missing can someone please help me here
1) You cannot do anything good with clusters (currently).
The commodity hardware cluster are always slower than single node of the same price.
Well, it's possible to get performance gain from clusters on a low-end hardware — if you'll separate them completely. No dependencies, no links, no synchronization, and client decides where to go.
But if you didn't do that yet — perhaps, something in busyness logic prevents it, isn't it?
So, just stick to a single server. It would be faster upto a really big servers, with many hundreds of cores, tens terabytes of RAM, tens of millions IOPS.
1.5) Proxmox isn't a bare metal. Either you have a bare metal w/o proxmox, or proxmox with containers or vms.
2) All of the tasks in postgres are done by queries.
So, in order to change something — you probably would need to change queries. Or at least look at them.
In particular, if you want more performance — go and measure your queries, than start thinking about optimising them.
No silver bullet.
Just get to work and do that — measure, look at explain, change algorithms, change structures.
$ pg_dump -h <hostname> -U <username> -W <db_name> > dumped.sql
interesting, I'll go to check it out better.
Thank you @unfoxo and @Musty_10
https://www.pgpool.net/docs/pgpool-II-3.7.4/en/html/index.html
Читать полностью…But this one doesn't route transactional based on whether they are read or write... so I guess still the issue here...?🤔
Читать полностью…in my case there are transactions and also prepared statements.
What can be used?
I think haproxy is a bit unfit for "serious" setups where your proxy/pooler needs to know whether the query is read only or write
Читать полностью…Especially considering the fact that pg_dump is NOT an exact copy of the data, so the chance of your recovery failing can be high with schemas that are "messy"
Читать полностью…No, it needs to be done specifically for postgresql?(I tested the code in python, it works fine)
Anyway, thanks for the reply, I will read more about it
Hi everyone
Has anyone had a problem with sending rest request to internal url? I tried pqsl_http, PLPYTHON3U. Requests are sent (for example to google.com), but not to the url inside the local network.
Try to fetch it with curl
, then install it directly with rpm
Can anybody send me the command to take the backup of one schema with data?
Читать полностью…so I guess it is the best one to use here in this use case
Читать полностью…Hang on, i thought it did that, i think i'm getting confused with another pooler
Читать полностью…For example, statement pooling might be a good idea when you have a lot of connections doing single-statement (no transactions) queries
Читать полностью…Then I guess the problem with HA-Proxy server, does it work with you and ur able to access it and see the dashboard?
Читать полностью…