Blog
-
Extracting SQL from WAL? (part 2) In the previous article of this series, we saw how to extract WAL records related to the exact SQL commands we want, INSERTs on heap tables, and what the structure of those records was. In this article we will focus on the heap specific information contained in those records and how to extract SQL queries from them.
Continue reading -
Extracting SQL from WAL? (part 1) Is it actually possible to extract SQL commands from WAL generated in “replica”
Continue readingwal_level
? -
Queryid reporting in plpgsql_check plpgsql_check version 1.14.0 was just released and brings some improvement for performance diagnostic.
Continue reading -
New in pg13: WAL monitoring Write-Ahead Logs is a critical part of PostgreSQL, that ensures data durability. While there are multiple configuration parameters , there was no easy to monitor WAL activity, or what is generating it.
Continue reading -
New in pg13: Monitoring the query planner Depending on your workload, the planning time can represent a significant part of the overal query procesing time. This is especially import in OLTP workload, but OLAP queries with numerous tables being joined and an aggressive configuration on the JOIN order search can also lead to hight planning time.
Continue reading -
Nouveau dans pg13: Colonne leader_pid dans pg_stat_activity Nouvelle colonne leader_pid dans la vue pg_stat_activity
Continuer à lire -
Planner selectivity estimation error statistics with pg_qualstats 2 Selectivity estimation error is one of the main cause of bad query plans. It’s quite straighforward to compute those estimation error using
Continue readingEXPLAIN (ANALYZE)
, either manually or with the help of explain.depesz.com (or other similar tools), but until now there were now tool available to get this information automatically and globally. Version 2 of pg_qualstats fixes that, thanks a lot to Oleg Bartunov for the original idea! -
New in pg13: New leader_pid column in pg_stat_activity New leader_pid column in pg_stat_activity view
Continue reading -
pg qualstats 2: Suggestion d'index globale Parvenir à une suggestion d’index de qualité peut être une tâche complexe. Cela nécessite à la fois une connaissance des requêtes applicatives et des spécificités de la base de données. Avec le temps de nombreux projets ont essayé de résoudre ce problème, l’un d’entre eux étant PoWA version 3, avec l’aide de pg_qualstats extension. Cet outil donne de plutôt bonnes suggestions d’index, mais il est nécessaire d’installer et configurer PoWA, alors que certains utilisateurs aimeraient n’avoir que la suggestion d’index globale. Pour répondre à ce besoin de simplicité, l’algorithme utilisé dans PoWA est maintenant disponible dans pg_qualstats version 2, sans avoir besoin d’utiliser des composants additionnels.
Continuer à lire -
pg qualstats 2: Global index advisor Coming up with good index suggestion can be a complex task. It requires knowledge of both application queries and database specificities. Over the year multiple projects tried to solve this problem, one of which being PoWA with the version 3, with the help of pg_qualstats extension. It can give pretty good index suggestion, but it requires to install and configure PoWA, while some users wanted to only have the global index advisor. In such case and for simplicity, the algorithm used in PoWA is now available in pg_qualstats version 2 without requiring any additional component.
Continue reading -
PoWA 4: Nouveau daemon powa-collector Cet article fait partie d’une série d’article sur la beta de PoWA 4, et décrit le nouveau daemon powa-collector.
Continuer à lire -
PoWA 4: New powa-collector daemon This article is part of the PoWA 4 beta series, and describes the new powa-collector daemon.
Continue reading -
PoWA 4: nouveautés dans powa-archivist ! Cet article fait partie d’une série d’article sur la beta de PoWA 4, et décrit les changements présents dans powa-archivist.
Continuer à lire -
PoWA 4: changes in powa-archivist! This article is part of the PoWA 4 beta series, and describes the changes done in powa-archivist.
Continue reading -
PoWA 4 brings a remote mode, available in beta! PoWA 4 is available in beta.
Continue reading -
PoWA 4 apporte un mode remote, disponible en beta ! PoWA 4 est disponible en beta.
Continuer à lire -
Nouveauté pg12: Statistiques sur les erreurs de checkums Data checksums
Continuer à lire -
New in pg12: Statistics on checkums errors Data checksums
Continue reading -
Minimiser le surcoût de stockage par ligne J’entends régulièrement des complaintes sur la quantité d’espace disque gâchée par PostgreSQL pour chacune des lignes qu’il stocke. Je vais essayer de montrer ici quelques astuces pour minimiser cet effet, afin d’avoir un stockage plus efficace.
Continuer à lire -
Support des Wait Events pour PoWA Vous avez la possibilité de visualiser les Wait Events dans PoWA 3.2.0 grâce à l’extension pg_wait_sampling extension.
Continuer à lire -
pg_stat_kcache 2.1 is out A new version of pg_stat_kcache is out, with support for Windows and other platforms, and more counters available.
Continue reading -
pg_stat_kcache 2.1 disponible Une nouvelle version de pg_stat_kcache est disponible, ajoutant la compatibilité avec Windows et d’autres plateformes, ainsi que l’ajout de nouveaux compteurs.
Continuer à lire -
Diagnostique de lenteurs inattendues Cet article de blog est le résumé d’un problème rencontré en production que j’ai eu à diagnostiquer il y a quelques mois avec des gens d’ Oslandia, et puisqu’il s’agit d’un problème pour le moins inhabituel j’ai décidé de le partager avec la méthodologie que j’ai utilisée, au cas où cela puisse aider d’autres personnes qui rencontreraient le même type de problème. C’est également une bonne occasion de rappeler que mettre à jour PostgreSQL vers une nouvelle version est une bonne pratique.
Continuer à lire -
Wait Events support for PoWA You can now view the Wait Events in PoWA thanks to the pg_wait_sampling extension.
Continue reading -
Diagnostic of an unexpected slowdown This blog post is a summary of a production issue I had to investigate some time ago with people from Oslandia, and since it’s quite unusual I wanted to share it with some methodology I used, if it can help anyone running into the same kind of problem. It’s also a good opportunity to say that upgrading to a newer PostgreSQL version is almost always a good idea.
Continue reading -
Minimizing tuple overhead I hear quite often people being disappointed on how much space PostgreSQL is wasting for each row it stores. I’ll try to show here some tricks to minimize this effect, to allow more efficient storage.
Continue reading -
Estimating Needed Memory for a Sort work_mem?
Continue reading -
Keep an eye on your PostgreSQL configuration Have you ever wished to know what configuration changed during the last weeks, when everything was so much faster, or wanted to check what happened on your beloved cluster while you were in vacation?
Continue reading -
Parlons des index hypothétiques Après avoir attendu tellement de temps pour cette fonctionnalité, HypoPG ajoute le support des index hypothétiques dans PostgreSQl, sous la forme d’une extension.
Continuer à lire -
How About Hypothetical Indexes ? After so much time missing this features, HypoPG implements hypothetical indexes support for PostgreSQl, available as an extension.
Continue reading -
Talking About OPM and PoWA at pgconf.ru Last month, I had the chance to talk about PostgreSQL monitoring, and present some of the tools I’m working on at pgconf.ru.
Continue reading -
pg_stat_kcache 2.0 Some history
Continue reading -
Initial commit __ __ / \~~~/ \ ,----( .. ) / \__ __/ /| (\ |( ^ \ /___\ /\ | |__| |__|-"
Continue reading