Pull to refresh
13
2.8
Александр Мелешко @kaze_no_saga

Технический писатель

PostgreSQL 16: Part 3 or CommitFest 2022-11

Reading time 10 min
Views 912
Postgres Professional corporate blog PostgreSQL *SQL *
Translation

image


We continue to follow the news of the upcoming PostgreSQL 16. The third CommitFest concluded in early December. Let's look at the results.


If you missed the previous CommitFests, check out our reviews: 2022-07, 2022-09.


Here are the patches I want to talk about:


meson: a new source code build system
Documentation: a new chapter on transaction processing
psql: \d+ indicates foreign partitions in a partitioned table
psql: extended query protocol support
Predicate locks on materialized views
Tracking last scan time of indexes and tables
pg_buffercache: a new function pg_buffercache_summary
walsender displays the database name in the process status
Reducing the WAL overhead of freezing tuples
Reduced power consumption when idle
postgres_fdw: batch mode for COPY
Modernizing the GUC infrastructure
Hash index build optimization
MAINTAIN ― a new privilege for table maintenance
SET ROLE: better role change management
Support for file inclusion directives in pg_hba.conf and pg_ident.conf
Regular expressions support in pg_hba.conf

Read more →
Total votes 1: ↑1 and ↓0 +1
Comments 1

PostgreSQL 16: Part 2 or CommitFest 2022-09

Reading time 13 min
Views 901
Postgres Professional corporate blog PostgreSQL *SQL *
Translation


It's official! PostgreSQL 15 is out, and the community is abuzz discussing all the new features of the fresh release.


Meanwhile, the October CommitFest for PostgreSQL 16 had come and gone, with its own notable additions to the code.


If you missed the July CommitFest, our previous article will get you up to speed in no time.


Here are the patches I want to talk about:


SYSTEM_USER function
Frozen pages/tuples information in autovacuum's server log
pg_stat_get_backend_idset returns the actual backend ID
Improved performance of ORDER BY / DISTINCT aggregates
Faster bulk-loading into partitioned tables
Optimized lookups in snapshots
Bidirectional logical replication
pg_auth_members: pg_auth_members: role membership granting management
pg_auth_members: role membership and privilege inheritance
pg_receivewal and pg_recvlogical can now handle SIGTERM

Read more →
Total votes 1: ↑1 and ↓0 +1
Comments 0

Queries in PostgreSQL. Nested Loop

Reading time 17 min
Views 1.1K
Postgres Professional corporate blog PostgreSQL *SQL *
Translation

So far we've discussed query execution stagesstatistics, and the two basic data access methods: Sequential scan and Index scan.

The next item on the list is join methods. This article will remind you what logical join types are out there, and then discuss one of three physical join methods, the Nested loop join. Additionally, we will check out the row memoization feature introduced in PostgreSQL 14.

Read more
Total votes 4: ↑4 and ↓0 +4
Comments 0

Queries in PostgreSQL. Sort and merge

Reading time 19 min
Views 962
Postgres Professional corporate blog PostgreSQL *SQL *
Translation


In the previous articles, we have covered query execution stages, statistics, sequential and index scan, and two of the three join methods: nested loop and hash join.


This last article of the series will cover the merge algorithm and sorting. I will also demonstrate how the three join methods compare against each other.

Read more →
Total votes 3: ↑3 and ↓0 +3
Comments 0

Queries in PostgreSQL. Sequential Scan

Reading time 15 min
Views 1.8K
Postgres Professional corporate blog PostgreSQL *SQL *
Translation

Queries in PostgreSQL. Sequential scan


In previous articles we discussed how the system plans a query execution and how it collects statistics to select the best plan. The following articles, starting with this one, will focus on what a plan actually is, what it consists of, and how it is executed.


In this article, I will demonstrate how the planner calculates execution costs. I will also discuss access methods and how they affect these costs, and use the sequential scan method as an illustration. Lastly, I will talk about parallel execution in PostgreSQL, how it works, and when to use it.


I will use several seemingly complicated math formulas later in the article. You don't have to memorize any of them to get to the bottom of how the planner works; they are merely there to show where I get my numbers from.

Read more →
Total votes 3: ↑3 and ↓0 +3
Comments 0

Queries in PostgreSQL. Statistics

Reading time 18 min
Views 3.5K
Postgres Professional corporate blog PostgreSQL *SQL *
Translation

In the last article we reviewed the stages of query execution. Before we move on to plan node operations (data access and join methods), let's discuss the bread and butter of the cost optimizer: statistics.

Dive in to learn what types of statistics PostgreSQL collects when planning queries, and how they improve query cost assessment and execution times.

Read more
Total votes 4: ↑3 and ↓1 +2
Comments 0

Queries in PostgreSQL. Query execution stages

Reading time 15 min
Views 3.4K
Postgres Professional corporate blog PostgreSQL *SQL *
Translation

Hello! I'm kicking off another article series about the internals of PostgreSQL. This one will focus on query planning and execution mechanics.

In the first article we will split the query execution process into stages and discuss what exactly happens at each stage.

Read more
Total votes 4: ↑4 and ↓0 +4
Comments 1

С 1 февраля Microsoft поднимает цены на ПО и технику в России на 15-30%

Reading time 1 min
Views 10K
IT-companies


Рост цен на программное обеспечение составит от 15% для частных клиентов и до 30% для корпоративных, в зависимости от плана лицензирования.

Коснется ли коррекция цен линейки Lumia — пока не ясно, а вот консоли XBox подскочут в цене на треть, подписки XBox Live — на 20%. Вышедшие до февраля игры, впрочем, продолжат продаваться по старой цене.
Читать дальше →
Total votes 14: ↑11 and ↓3 +8
Comments 18

Tesla выигрывает дело о запрете прямых продаж в штате Массачусетс

Reading time 2 min
Views 106K
Energy and batteries Car Gadgets


Как полторы недели назад упоминалось на Хабре, Ассоциация Автодилеров США подает иски против компании Tesla Motors с требованием запретить продажу автомобилей через собственные центры в обход автодилеров.

До сих пор суды разных штатов удовлетворяли требования Ассоциации, однако высший суд штата Массачусетс пошел против режима: в этот понедельник они вынесли решение в пользу производителя электромобилей. Суд постановил, что закон штата, введенный для защиты автодилеров от давления производителей автомобилей, не дает Ассоциации Автодилеров США и двум работающим на территории штата дилерам права требовать прекращения компанией Tesla прямых продаж.
Читать дальше →
Total votes 95: ↑93 and ↓2 +91
Comments 87

50 лучших цитат про Linux

Reading time 5 min
Views 109K
Open source *
Translation
Доброго дня!

Наверное, многим известно, что 25 августа — день рождения Linux. Именно сегодня, 23 года назад, Линус Торвальдс отправил свое знаменитое письмо. В этот знаменательный день я хотел бы порадовать русскоговорящее сообщество переводом подборки цитат, которого, как выяснилось, до сегодняшнего дня в полном объеме не существовало.
Под катом — кладезь мудрости, сарказма, иронии и косяков перевода. Добро пожаловать!
Читать дальше →
Total votes 149: ↑126 and ↓23 +103
Comments 115

Геймеры более образованны и общительны, чем те, кто над ними смеется

Reading time 3 min
Views 45K
Game development *
Sandbox
image
Лицо игрового сообщества меняется

Практически каждый любитель компьютерных игр хоть раз сталкивался с предубеждением, что геймеры — это окопавшиеся на чердаке родительского дома одинокие неудачники. В разгорающихся дискуссиях на эту тему упоминаются рост рынка социальных игр и мобильных приложений, потраченные на компьютерные игры в 2013 году только в США 13,5 миллиардов долларов и так далее, но фактических данных, как всегда, не хватало.

До сегодняшнего дня.
Читать дальше →
Total votes 82: ↑51 and ↓31 +20
Comments 67

Information

Rating
814-th
Location
Санкт-Петербург, Санкт-Петербург и область, Россия
Works in
Date of birth
Registered
Activity