Тем временем зарелизился PostgreSQL 10!
C чем DBA-ев и поздравляем
Ну и чтобы не оставлять эту новость совсем уж постной, добавлю старую, как копыто мамонта, статью о миграции Яндекс Почты на PostgreSQL
#postgresql
C чем DBA-ев и поздравляем
Ну и чтобы не оставлять эту новость совсем уж постной, добавлю старую, как копыто мамонта, статью о миграции Яндекс Почты на PostgreSQL
#postgresql
Хабр
История успеха «Яндекс.Почты» с PostgreSQL
Владимир Бородин (на «Хабре» dev1ant), системный администратор группы эксплуатации систем хранения данных в «Яндекс.Почте», знакомит со сложностями миграции кр...
Amazon Aurora совместимая с PostgreSQL 9.6.3 теперь доступна для широкой общественности
Так что если вы фанат AWS и Postgre welcome
#aws #postgresql
Так что если вы фанат AWS и Postgre welcome
#aws #postgresql
Amazon
Now Available – Amazon Aurora with PostgreSQL Compatibility | Amazon Web Services
Late last year I told you about our plans to add PostgreSQL compatibility to Amazon Aurora. We launched the private beta shortly after that announcement, and followed it up earlier this year with an open preview. We’ve received lots of great feedback during…
Оч прикольная статья от DataDog о том, как мониторить PostgreSQL:
https://www.datadoghq.com/blog/postgresql-monitoring/
Кратко описано, как PostgreSQL вообще записывает данные, на какие метрики стоит обращать внимание, и что они вообще значат. Тажке рассказали, какие выводы можно сделать по каждой из метрик и что предпринять в тех или иных ситуациях
#postgresql #database
https://www.datadoghq.com/blog/postgresql-monitoring/
Кратко описано, как PostgreSQL вообще записывает данные, на какие метрики стоит обращать внимание, и что они вообще значат. Тажке рассказали, какие выводы можно сделать по каждой из метрик и что предпринять в тех или иных ситуациях
#postgresql #database
Datadog
Key metrics for PostgreSQL monitoring | Datadog
Learn how to identify and track key PostgreSQL performance metrics in this monitoring guide.
Во вчерашней статье про PostgreSQL проскакивали такие штуки, как MVCC — multi-version concurrency control и VACUUM. Если в двух словах: вместо того, чтобы лочить строку, на которой применяется UPDATE или DELETE, мы сделаем её копию, которая будет видна только транзакции, которая её обновляет. Все текущие же транзакции (non update) будут видеть изначальный вариант строки. А вот когда UPDATE/ DELETE закончится, мы делаем новый вариант видымым для всех, а старый — наоборот. Для этого будем использовать MVCC. Старые dead_rows тоже надо как-то чистить и тут поможет VACUUM
Подробнее про эти два механизма изложено тут:
http://rhaas.blogspot.com/2017/12/mvcc-and-vacuum.html
И отдельно про VACUUM:
http://rhaas.blogspot.com/2018/01/the-state-of-vacuum.html
#postgresql #database
Подробнее про эти два механизма изложено тут:
http://rhaas.blogspot.com/2017/12/mvcc-and-vacuum.html
И отдельно про VACUUM:
http://rhaas.blogspot.com/2018/01/the-state-of-vacuum.html
#postgresql #database
Blogspot
MVCC and VACUUM
Experienced PostgreSQL users and developers rattle off the terms “MVCC” and “VACUUM” as if everyone should know what they are and how they w...
Basic practices for optimizing read and write performance in PostgreSQL.
A long read about the factors that affect PostgreSQL performance as well as some insights regarding the internals.
#postgresql #db
A long read about the factors that affect PostgreSQL performance as well as some insights regarding the internals.
#postgresql #db
Vettabase
Basic practices for optimizing read and write performance in PostgreSQL - Vettabase
Optimizing read and write performance varies for every Postgres database server in a different environment.
While Web Assembly aka WASM is getting momentum, we are going to see more and more “X in a browser” things.
So, today it’s Postgres Playground by Crunchy (the authours of a famous Postgres k8s operators).
This is more of a set of learning tutorials than a freeplay sandbox. So, you can get yourself familiar with Postgres and learn various things about it there. Currently available tutorials are for:
- Basics of psql
- Partitioning
- Performance analysis
- Joins
- Indexing
- PostGIS
- Window functions and CTEs
#databases #postgresql #wasm
So, today it’s Postgres Playground by Crunchy (the authours of a famous Postgres k8s operators).
This is more of a set of learning tutorials than a freeplay sandbox. So, you can get yourself familiar with Postgres and learn various things about it there. Currently available tutorials are for:
- Basics of psql
- Partitioning
- Performance analysis
- Joins
- Indexing
- PostGIS
- Window functions and CTEs
#databases #postgresql #wasm
Crunchy Data
Learn Postgres at the Playground | Crunchy Data Blog
Run Postgres in your local web browser with guided tutorials to help you grow your Postgres skills.
👍6🥰2
"Invert, always invert", - Friedrich Heinrich Jacobi, probably.
There is a ton of articles online on how to make your database faster, but how many articles are there about how to make your database slower?
Making Postgres 42,000x slower because I am unemployed is a fun read about how to almost grind Postgres to a halt by only tweaking the
As the result, the author managed to make his Postgres installation 42 000x times slower compared to the initial benchmarks. tl;dr: tinkering around with the number of IO operations (cache size, vacuum periods, WAL checkpoints) and making the IO single-threaded do the trick here.
#databases #postgresql
There is a ton of articles online on how to make your database faster, but how many articles are there about how to make your database slower?
Making Postgres 42,000x slower because I am unemployed is a fun read about how to almost grind Postgres to a halt by only tweaking the
postgresql.conf. No specially crafted slow queries - only config.As the result, the author managed to make his Postgres installation 42 000x times slower compared to the initial benchmarks. tl;dr: tinkering around with the number of IO operations (cache size, vacuum periods, WAL checkpoints) and making the IO single-threaded do the trick here.
#databases #postgresql
ByteofDev
Making Postgres 42,000x slower because I am unemployed
As an respectable unemployed person must do, I tried to make Postgres as slow as possible
😁10❤2🤯1