pg_sql | Unsorted

Telegram-канал pg_sql - PostgreSQL

2634

English speaking PostgreSQL public chat. This group is for discussions on PostgreSQL-related topics and strives to provide best-effort support as well.

Subscribe to a channel

PostgreSQL

Yes. This is the issue. On the database side everything looks good. So not sure which component is creating the error?

Читать полностью…

PostgreSQL

Ok. So how to handle this short lived open and close connection with pgagroal. I mean is there any parameter to adjust this?

Читать полностью…

PostgreSQL

More than 120 requests per second. I am using pgagroal for connection pooling with max_connection limit of 900 and idle_timeout is 600 seconds.

Читать полностью…

PostgreSQL

Yes it is enabled in patroni.yml as I am using patroni .
log_connections: on

Читать полностью…

PostgreSQL

Did you enable log_connections? Anything else in the PG server log?

Читать полностью…

PostgreSQL

That ("connection refused") sounds like you have some kind of rate limiter in between. A (local) firewall rule, some systemd foo, you get the idea.

Читать полностью…

PostgreSQL

Red Hat Enterprise Linux 7 and 9 have different collations, so you cannot use the same files without reindexing. But if you used dump and restore or logical replication, reindexing is unnecessary.

Читать полностью…

PostgreSQL

"but what if I need to scale?"
You order a new server when you're near capacity and do a live migration which on postgresql means moving a folder over ssh with some extra steps. If your business is important enough to warrant the cloud, then you should invest a bit of time on monitoring your db to understand what really are your needs

Читать полностью…

PostgreSQL

Going with the cloud from the start is like buying a 95-seats gran tourism coach when you can do with a 9-seat airport shuttle :)

Читать полностью…

PostgreSQL

Hello and welcome to this chat. Here we discuss PostgreSQL and provide best-effort voluntary support on Postgresql issues.
If you have any question, try asking kindly, including log files, error descriptions and perhaps what you're trying to do.

- 🚫 photos and screenshots
- 🚫 spam and offtopic
- ✅ questions with log files and clear explanation of what's gone wrong

⬇️ Press the button down here ⬇️

Читать полностью…

PostgreSQL

Hello and welcome to this chat. Here we discuss PostgreSQL and provide best-effort voluntary support on Postgresql issues.
If you have any question, try asking kindly, including log files, error descriptions and perhaps what you're trying to do.

- 🚫 photos and screenshots
- 🚫 spam and offtopic
- ✅ questions with log files and clear explanation of what's gone wrong

⬇️ Press the button down here ⬇️

Читать полностью…

PostgreSQL

just search for the command where u can specify a specific schema in restore

Читать полностью…

PostgreSQL

Are you saying to not go with cloud.

Where I can install it and how to manage scaling of database

Читать полностью…

PostgreSQL

1) *no* cloud is cost effective. YMMV though, if you really have no idea how to run/maintain a root server, there's several decent offerings
2) absolutely

Читать полностью…

PostgreSQL

can try using regexp - SELECT REGEXP_REPLACE('project_id, '^[^_]*_[^_]*_', 'LC_') ; something like this.

Читать полностью…

PostgreSQL

You'd first need to work through which component is causing the connection errors to know what to tune.

But honestly I'd invest more effort in trying to make your app behave sensibly.

Читать полностью…

PostgreSQL

Remember that limit is the number of concurrent connections allowed.

But if your opening and closing lots of short lived connections, other factors and system pressures will come in.

Читать полностью…

PostgreSQL

How is your app writing?

That number if only ~120 requests a second. But if your opening and closing connections shortly that could be causing issues in PGSQL, the pooler or the TCP stack.

Читать полностью…

PostgreSQL

Nothing in postgresql logs related to error. Where to enable log_connection?

Читать полностью…

PostgreSQL

I disabled firewalld services even then with the same error. What other rate limiter?

Читать полностью…

PostgreSQL

I need a little help from the community. My postgresql database is facing a 35000 write request in 5 minutes and at the same time I got an error: "PSQLException:Connection to 10.10.10.1:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections."
I am using pgagroal which has max limit is 900 and it not using more than 100 connections. Also, I checked postgresql connection which is also under 100 .
So I am not able to detect the cause of this error. Is this due to the network issue or at the database side?
If this were the network issue then how other applications are running smoothly on the same network.
If this error is at database side then why it is not impacting the whole database ?
This error usually comes at a particular point of time and creates 1000 error, and after that everything is fine.
I have also increased ulimit to 60000
CPU core : 32
RAM: 64GB

Please help regarding this🙏

Читать полностью…

PostgreSQL

Is it mandatory to reindex post oel upgrade from 7 to 9? How to reindex online so that application query keep using indexes? I have to reindex on database which is 5+ tb, so what will be best approach for reindex. This is live production

Читать полностью…

PostgreSQL

Expensive, impractical, a waste of energy

Читать полностью…

PostgreSQL

You can do all of your work without the expense of the cloud.
Do you have a PRODUCTION READY Product?
Do you already have clients? Or are you just Developing?

If you are just developing, then do it on your machine. If it's multiple people it depends.
How was your MSSQL server configured? (Probably Locally, or in Azure).

But in Development. Stick with your local or a "side box" running linux.
Although PG runs fine as a Windows Program. it is a second class citizen. Many extensions do NOT work, or are out of date, and hard to compile (I wasted months here. It was easier to learn Linux).

Finally, if you are thinking you are going to grow a lot, and need a cloud service.
WHILE you are developing, you should research the various ones. And you should pay attention to which PG Extensions that do and DO NOT support. Because if you become dependent on one that nobody supports, or your provider doesn't support. Then you are not going to have fun.

Choosing a DB is not dissimilar to choosing a Language or a Framework.
You are about to develop a Long Term Relationship. One that is provably DIFFICULT to change.
This is why Oracle makes so much $$$. Once you move in... They OWN YOU. They don't have
customers. They have HOSTAGES. And they know it.

Читать полностью…

PostgreSQL

Hello and welcome to this chat. Here we discuss PostgreSQL and provide best-effort voluntary support on Postgresql issues.
If you have any question, try asking kindly, including log files, error descriptions and perhaps what you're trying to do.

- 🚫 photos and screenshots
- 🚫 spam and offtopic
- ✅ questions with log files and clear explanation of what's gone wrong

⬇️ Press the button down here ⬇️

Читать полностью…

PostgreSQL

eClerx is Hiring
Data Analyst

Location: Fully remote

Job description:
• SQL, Python, Power BI
• Knowledge of Excel and PowerPoint

Qualification:
Bachelor's degree in any field

Apply
https://shorturl.at/CdJ98

Читать полностью…

PostgreSQL

Can you please share the command or any document

Читать полностью…

PostgreSQL

I have took the backup of whole database . Is it possible to restore a single schema from that backup using PostgreSQL

Читать полностью…

PostgreSQL

Hi

I am building saas product, I am having 15 year experience into ms SQL server but due to licence cost I am shifting for postgres.

I am having few queries

1. Should I use postgres on cloud, which one is good and cost effective
2. Should I go with postgres instead of ms SQL server

Читать полностью…

PostgreSQL

Hello and welcome to this chat. Here we discuss PostgreSQL and provide best-effort voluntary support on Postgresql issues.
If you have any question, try asking kindly, including log files, error descriptions and perhaps what you're trying to do.

- 🚫 photos and screenshots
- 🚫 spam and offtopic
- ✅ questions with log files and clear explanation of what's gone wrong

⬇️ Press the button down here ⬇️

Читать полностью…
Subscribe to a channel