We continue to introduce you to the most interesting news on PostgreSQL.news
Microsoft acquired Citus DataOf course, the main news in the world of PostgreSQL. This is a
message on the Citus
website , as well as
on the MS website .
Postgres Pro Enterprise CertifiedPostgres Pro Enterprise DBMS has received the FSTEC certificate, and now in the Postgres Pro kit there is also a “Certified Postgres Pro Enterprise Version”. Prior to this, the certificate necessary for working with personal data was available only to Postgres Pro Standard (“Certified Postgres Pro Version”). Details
on the site .
credativ: PostgreSQL Competence CenterThe German firm
credativ , previously known in Europe and Asia,
acquired OmniTI to enter the American market.
credativ specializes in deploying and supporting
open source
projects. PostgreSQL Competence Center will now open in the US, which will deal with highly critical projects and support the database throughout their life cycle.
Conferences
Postgres On The Beach (Ibiza)The beaches of Ibiza
are waiting for speakers and listeners on June 21-22, and even better to fly on the 20th and stay until the evening of the 24th because of the rich entertainment program for the weekend.
PGConf.Russia 2019The conference was held on February 4-6 at the Faculty of Economics of Moscow State University, gathering a record number of participants - more than 700. There was a lot of new things. In a separate stream highlighted reports on the topic of
Postgres and 1C . In total, 55 reports, 9 master classes and 3 round tables were held in three streams. The most vigorous discussion was caused by the round table
“Import Substitution of System and Infrastructure Software” , organized with the support of the OTEP “Otechestvenniy Soft”.
Prizes for the best reports at the conference received:
We are planning to write more about some reports. While you can watch the
presentation .
Turkish PostgreSQLThe conference
will be held on February 24 in Ankara.
PostgreSQL @ SCaLEThe two-day two-line conference
will be held March 7-8 in the city of Pasadena (USA) as part of SCaLE 17X.
Postgres Conference 2019The conference
will be held in New York on March 18-22.
Prague PostgreSQL Developer Day 2019The P2D2 2019 conference in Prague is
already on February 13-14.
Releases
PostgreSQL 11.2All updates of the supported PostgreSQL versions have been released: 11.2, 10.7, 9.6.12, 9.5.16 and 9.4.21. There are important corrections in these versions: first of all, the behavior of PostgreSQL when calling
fsync()
changed. Also corrected some shortcomings of sectioning and 70 other errors that have accumulated over the past 3 months. Details
here .
pgAdmin4 4.2PgAdmin 4 v4.2 released:
- the statistics panel does not freeze, even when there are more than a thousand tables;
- the browser warns before closing or refreshing the page;
- the result of the query will be shown even if the results window (Data Output) is disconnected from the query window (Query Tool);
- improved navigation and optimized widgets.
Fixed 40 bugs (and in v4.1 - 7, v4.0 - 26). The list of bug fixes is
here .
Download
from here .
pgBadger 10.2Just two news about pgBadger (Perl graphical log analyzer). Version 10.2 released. But if you follow the link (for example, in David Fetter's news feed), you will not go anywhere. Because the project has moved from the Dalibo
githab to the
github.com/darold/pgbadger github and the website
pgbadger.darold.net of the developer Gilles Darold. From the
changelog it follows that in the new version:
- The
exclude-db
option has been added, that is, you can skip information related to the specified database; - Added ability to work with logs via
ftp
and http
. In this case, the log is analyzed at boot time and is not saved to disk. You can set the log addresses on different servers (on the remote and local, for example); - On
ssh
log understands on a place. You can specify files for analysis using * . The option -r
for remote servers is still kept for compatibility, but will be abolished.
And fixed bugs, of course.
barman 2.62ndQuadrant has announced a new release. What is in it:
- geographical redundancy for disaster recovery;
- the
put-wal
command has been added so that the barman-wal-archive
DBMS can be run using the script barman-wal-archive
, which is in the package barman-cli
; - The
check
operation now supports ANSI color codes; - fixed bugs.
All changes and bugfixes at
this address . Sources
here .
Ora2gThe jubilee version was released - 20.0 - version of the Ora2Pg utility. This is a work by the same author -
Gilles Darol . From the new:
- BFILE export to the
bytea
type bytea
now done using the PL / SQL function, which extracts data from the BFILE and converts it to a form suitable for INSERT or COPY in PostgreSQL; - the directive DATA_EXPORT_ORDER appeared, now it is possible to export not in alphabetical order, but considering the size of the tables;
- The directive NO_BLOB_EXPORT was added (the name speaks for itself).
There are other changes, many bugs fixed. Changer is
here . About the developer github release
here .
pg_probackup 2.0.26New version of the utility for backup and recovery from
Postgres Professional . In it, except for the corrected bugs:
- during validation, the current version of
pg_probackup
and the version created by the backup are now checked. Using pg_probackup
with a copy of a more recent version is explicitly prohibited (i.e. no direct compatibility); - improved Windows support;
- Improved support for tablespaces within
PGDATA
.
You can read about the changes
here . The
pg_probackup
documentation is
here .
datasketches 1.0.0 and other new PGXNA new extension has
been posted on
PGXN -
datasketches 1.0.0
Alexander Saydakov . This extension
Datasketches
libraries that have approximate estimation algorithms for Big Data. On the
PGXN website created
by David Wheeler, many more extensions can be found. For example,
Citus 8.1.1 is a DBMS that works as a PostgreSQL extension. There you can also see the
tsvector2 1.0.0 extension - this is an alternative to the
tsvector
type, which is used for full-text search (compression is improved and there is no limit to 1 MB). tsvector2 is laid out on PGXN in December, and two months earlier the
latest version of the
pg_pathman extension, 1.5.2, also developed by Postgres Professional, appeared there. Simultaneously with the
pg_pathman
, the
latest version of pg_partman is
posted - 4.0.0 by
Keith Fiske .
PAF v2.2.1A new version of PostgreSQL Automatic Failover (PAF) has been released. Fixed bugs, including those that caused swelling of logs. You can download source codes, RPMs or debbs
from the project github . The documentation is
here . There is a
demo . PostgreSQL license.
check_pgactivity v2.4This is a plugin for
Nagios . In the new version, for example, you can filter the results by
application_name
in
longest_query
and
oldest_idlexact
. Details
here . BSD license.
pgCenter 0.6.0 and 0.6.1This is the
Go-
utility of
Alexey Lesovsky (Alexey Lesovsky) from
Data Egret . In version 0.6.0
there were :
- A new profiler that works with the
wait_event
attribute of the pg_stat_activity
, which helps to explore long-playing requests and figure out where they spend their time; - support for the GoReleaser utility, which helps build binary
.rpm
and .deb
; - pgCenter received the status of the A + Go Report Card - a step towards recognition of pgCenter loyalty to the
Go
language; - other changes.
Release 0.6.1. minor and not considered important changes. Github pgCenter
here .
Education
Tutorial "Fundamentals of database technology"Following the tutorial
«PostgreSQL. The Basics of the SQL Language ”the first part of the textbook
B.A. Novikova and
Ye.A.Gorshkova "The Basics of Database Technology" . The textbook can be purchased at the publishing house
DMK Press , online stores
ozon.ru ,
Labirint.ru and retail book networks. In PDF format, the first part of the book can be
downloaded freely from the
Postgres Professional website. The second part of the book is being prepared for publication. The textbook covers database theory, methods and algorithms used in the implementation of the DBMS, as well as their features in the PostgreSQL system.
Video course "Basics of database technology"Lined slides and videos of the first two parts of the course
B.A. Novikov .
Book-baby "Postgres: first acquaintance"A new, now 5th edition of the little
Postgres: first acquaintance book has been
released . Starting from the 4th edition, this book is also published in English.
DBA2 Course UpdatePostgreSQL 9.5’s previous DBA2 course was called “advanced” and included topics that complemented and deepened DBA1 material. The new DBA2 course, according to PostgreSQL 10, turned out to be more focused due to the separation of a part of the material into independent courses and was called “Setup and Monitoring”. If DBA1 discusses the server configuration mechanism, then this course explains exactly which parameters need to be configured and how to do it meaningfully, with an understanding of PostgreSQL's internal structure and based on feedback from monitoring. The course
material has been significantly updated , a module has been added about various types of locks.
New QPT courseQuery optimization, previously reviewed in the DBA2 course by PostgreSQL 9.5, is now highlighted in a
separate course , equally needed by both administrators and application developers. The course has been updated to reflect the new version of PostgreSQL, in particular, the material on parallel query execution has been added. All course examples now use a
demo database .
Postgres in retrospectElena Indrupskaya
translated Joseph M. Hellerstein, the chapter
“Looking Back at Postgres,” from the
collection of Michael Stounbraker. The original of this chapter in PDF
can be read free on arXiv.org.
Articles and blogs
Three Factors of AuthenticationBruce Momdzhan made a short, but conceptual note on PostgreSQL authentication principles
published on his blog. According to him, of three factors:
- what you know (password, PIN);
- what you have (phone, device for authentication);
- who you are (fingerprint, iris, voice);
in PostgreSQL, only variations of the first are directly used. With some tricks, however, you can use PIV devices, such as the
YubiKey . It is proposed to consider whether to build in PostgreSQL a direct support for authentication types 2 and 3, or simply to clarify in detail those who wish with the help of documentation. Please note that before this, Bruce wrote
about 15 authentication methods .
One Security System for Connection Pooling and PostgreSQL - The Case for LDAPIt
discusses the configuration of a corporate system with
PostgreSQL 10, Wildfly Application Server, LDAP, pgbouncer. Examples with configuration files and code are given.
Migration from Mongo to Postgres: The Guardian newspaper experienceThis is a
translation of the article
Bye bye Mongo, Hello Postgres from the
Guardian itself.
Scheduling Backups En Masse with the Postgres OperatorJonathan Katz (Jonathan S. Katz)
tells how to make a full and differential backup on schedule. He writes about backup policies, how to create the schedule itself, gives examples of commands.
An Overview of JSON Capabilities Within PostgreSQLVenkata Nagothi writes about full-text search and gives examples of the correct and incorrect use of the
@>
and
#>
operators
Lessons learned scaling PostgreSQL database to 1.2bn records / monthThe article by Gajus Kuizinas (Gajus Kuizinas) is the story of a large project with a
Kubernetes
cluster. Investigated four options for placing data: Google, Amazon, Aiven.io and at home. The bug in
Cloud SQL for PostgreSQL and the sluggish response of the support service made
Google abandon it;
Amazon RDS does not support
the TimescaleDB extension that you decided to use for partitioning;
Aiven.io did not show decisive flaws, but also with weak advantages. As a result, the project was launched on its own. For backup, this project uses
barman , the brainchild of the
2ndQuadrant . We remind you that
barman 2.6
just been released.
PostgreSQL Performance in AWS, GCP, Azure, DO and UpCloudThis
article is , of course, biased: it was written by the CEO of
Aiven.io, Oskari Saarenmaa , but it contains a lot of information about cloud solutions with
PostgreSQL 10 from five cloud providers.
pg_sampletolog: Analog to log a sample of statementsThe article by Adrien Nayrat from the French company
Doctolib tells why the author made the
pg_sampletolog
extension and how it samples transactions into logs (choosing, for example, 10% of transactions).
The most useful Postgres extension: pg_stat_statementsCraig Kerstiens (Craig Kerstiens)
squeezed out his report on PostgreSQL extensions at the
FOSDEM conference in Brussels concerning
pg_stat_statements
, since it was this extension that caused the most interest.
Postgres 12 highlight series by Michel PaquierIn his
standalone
blog, Michelle talks about:
- Functions for partitions;
- SKIP_LOCKED for VACUUM and ANALYZE;
- pg_promote;
- wal_sender_timeout now user-settable;
- Controlling SSL protocol;
- New PGXS options for isolation and TAP tests;
- Dos prevention.
Featured gitsPeter Eizentraut of
2ndQuadrant shares his experience of using
git
, advises how to work in your own branches, how to merge and commit.
Eye or the Tiger: Benchmarking Cassandra vs. TimescaleDB for time-series dataThe developers of TimescaleDB, the PostgreSQL extensions for working with time series,
claim that their brainchild works at 5 nodes faster than Cassandra by 30, that the insertion works faster, and queries have accelerated up to 5800 times. And this is at 10 times lower cost of renting Azur nodes, a more flexible data model and full SQL support.
DudeTx: Durable Transactions Made DecoupledThis theoretical
article talks about the Japanese development of DudeTx. The authors sought to combine the best in
UNDO and
REDO approaches. In this new concept is based on the capabilities of NVM (non-volatile memory).
Who contributed to PostgreSQL Development in 2018?Robert Haaspublished calculations - his own and
Stephen Frost (Stephen Frost) - contributions to PostgreSQL for 2018. In the nomination
“authorship of patches,” the laureates are ordered by the number of lines of code:
Rating | Developer | Total lines | Contribution to the % | Number of patches |
---|
18 | Alexander Korotkov | 2671 | 1.07 | 24 |
20 | Anastasia Lubennikova | 2345 | 0.94 | 2 |
22 | Anton Bykov | 2118 | 0.85 | 2 |
24 | Nikita Glukhov | 1890 | 0.76 | five |
About a quarter of all new lines of code are
written by Tom Lane .
In the nomination
“committers' activity” from Russia there are only two committers, and both from Postgres Professional:
Rating | Developer | Total lines | Contribution to the % | Number of commits |
---|
3 | Fedor Sigaev | 13646 | 11.28 | 44 |
9 | Alexander Korotkov | 2345 | 1.94 | 15 |
It is worth noting that
Alexander Korotkov became a committer only in the middle of 2018, so he managed to score these results in six months.
The third nomination is
“ hackers correspondence activity” (threshold> 100 letters). The top masters of the epistolary genre included:
Developer | Number of letters |
---|
Alexander Korotkov | 301 |
Dmitry Dolgov | 226 |
Konstantin Knizhnik | 223 |
Andrey Borodin | 159 |
Fedor Sigaev | 152 |
Artur Zakirov | 111 |
Sergey Kornilov | 106 |
That's all. See you again!
Subscribe to the postgresso channel!Send your ideas and wishes to email: news_channel@postgrespro.ruPrevious issues:
# 13 ,
# 12 ,
# 11 (special) ,
# 10 ,
# 9 ,
# 8 ,
# 7 ,
# 6 ,
# 5 ,
# 4 ,
# 3 ,
# 2 ,
# 1