PostgreSQL

643 readers
1 users here now

The world's most advanced open source relational database

Project
Events
Podcasts
Related Fediverse communities

founded 1 year ago
MODERATORS
101
 
 

Found this in my feed, it's pretty neat, and at a surface level should make some of the pain points in my location based game much less difficult.

102
103
104
9
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/postgresql
 
 

A relatively simple but common application of time series done with PG.

105
106
107
108
109
 
 

Hi there!

I have a pg cluster serving different services, with one of them, (let's call it SL), non-critical, but hammering the database with lots of (mostly) short lived queries.

Since I implemented a connection pooler (pgbouncer), I've noticed a great improvement in throughput, and the SL service is now much more responsive than before. That said, I think this was quite detrimental to fairness overall, because some of the other services which used to respond fairly well now happen to timeout often.

I was wondering if there's any way to prioritize queries execution (ideally by user or database) so that the high-frequency/low criticality service leaves way to anything else that comes up. To my surprise, nothing comes up from my googling of "pgbouncer prioritization" or "pgbouncer fairness". pgcat seems to offer some loadbalancing and sharding, but that seems to be only applicable for multi-server setups. Any idea/suggestion?

Thanks!

110
111
112
 
 

or is it only possible through add-ons/forks

113
114
115
116
 
 

Instantly spin-up a GraphQL API server by pointing PostGraphile at your existing PostgreSQL database

You can also follow the project on Mastodon: https://fosstodon.org/@graphile

117
 
 

The challenge: https://www.pgsqlphriday.com/2023/05/pgsql-phriday-009/

Another Phriday in the books, and it's time to see what all happened:

118
7
PostgreSQL hidden gems (peter.eisentraut.org)
submitted 1 year ago by jnovinger to c/postgresql
119
3
PostgreSQL supply chain (peter.eisentraut.org)
submitted 1 year ago by jnovinger to c/postgresql
120
2
PostgreSQL and SQL:2023 (peter.eisentraut.org)
submitted 1 year ago by jnovinger to c/postgresql
 
 

In a previous article, [the author] introduced what is new in SQL:2023. Now [they] want to show the status of SQL:2023 support in PostgreSQL.

121
122
123
124
 
 

Works with Postgresql, MySql, and SQLite natively.

Extends confirmed support for DuckDB, ClickHouse, BigQuery, and Snowflake via the vdsql plugin.

125
 
 

Link to talk slides: vyruss.org/computing/slides/pgconfde2023_dont_do_this.pdf

Inspired by: "Don't Do This" on the Postgresql wiki

view more: ‹ prev next ›