~/sebl[og] - Mot-clé - index2024-01-19T15:14:04+01:00Sébastien Lardièreurn:md5:c7b8f0e5a458b34ac93c462ee9594aceDotclearPostgreSQL Hebdo #103urn:md5:17eeb92d611f7c15bd8fb83cdedf793b2023-07-21T15:17:00+02:002023-07-21T14:18:11+02:00Sébastien LardièrePostgreSQLarchitecturecituscteindexperformancepostgres <p>Lu ces dernières semaines :</p>
<ul>
<li><a href="https://dataegret.com/2023/06/please-welcome-pg_index_watch-a-utility-for-dealing-with-index-bloat-on-frequently-updated-tables/">Please welcome Pg_index_watch – a utility for dealing with index bloat on frequently updated tables</a> puis <a href="https://dataegret.com/2023/07/automated-index-bloat-management-how-pg_index_watch-keeps-postgresql-indexes-lean/">Automated index bloat management: How pg_index_watch keeps PostgreSQL indexes lean</a> : comment gérer la fragmentation des index ;</li>
<li><a href="https://kmoppel.github.io/2023-07-04-til-in-is-not-the-same-as-any/">TIL - IN is not the same as ANY</a> : les deux opérateurs produisent le même résultat, mais pas de la même manière ;</li>
<li><a href="https://github.com/darold/ora2pg/releases/tag/v24.0">Ora2Pg 24.0 have been released</a> : comme nouveauté, notons le support de MS-SQL-Server !</li>
<li><a href="https://www.cybertec-postgresql.com/en/subqueries-and-performance-in-postgresql/">Subqueries and performance in PostgreSQL</a> : de l'utilisation des sous-requêtes et des CTEs ;</li>
<li><a href="https://www.architecture-performance.fr/ap_blog/postgresql-features-matrix-gpt-optimized/"></a> : une matrice des fonctionnalités de PostgreSQL générée à l'aide de ChatGPT ;</li>
<li><a href="https://twitter.com/samokhvalov/status/1679953049899642880" title="https://twitter.com/samokhvalov/status/1679953049899642880">https://twitter.com/samokhvalov/sta...</a> : un tweet plein de bons conseils ;</li>
<li><a href="https://www.citusdata.com/blog/2023/07/18/citus-12-schema-based-sharding-for-postgres/">Citus 12: Schema-based sharding for PostgreSQL</a> : Citus est un outil pour faire grandir votre architecture de base de données ;</li>
<li><a href="https://www.percona.com/blog/how-to-measure-the-network-impact-on-postgresql-performance/">How To Measure the Network Impact on PostgreSQL Performance</a> : cet aspect de l'analyse de la performance est trop souvent ignoré, et pourtant, il est important ;</li>
</ul>PostgreSQL Hebdo #89urn:md5:f978765c5ca706a0d3edc4b79ec8a3f52022-07-08T16:47:00+02:002022-07-08T16:47:00+02:00Sébastien LardièrePostgreSQLindexpostgresqltransaction <p>Lu et entendu ces derniers jours :</p>
<ul>
<li><a href="https://dev.to/rap2hpoutre/sql-tips-for-beginners-what-i-learned-after-15-years-of-occasionally-writing-queries-and-schemas-as-a-fullstack-dev-2ide">SQL tips for beginners; what I learned after 10+ years of occasionally writing queries and schemas as a web dev </a></li>
<li><a href="https://www.crunchydata.com/blog/indexes-selectivity-and-statistics">Postgres Indexes, Selectivity, and Statistics</a></li>
<li><a href="https://andreas.scherbaum.la/blog/archives/1116-PostgreSQL-Upgrades-are-hard!.html">PostgreSQL Upgrades are hard!</a></li>
<li><a href="https://www.cybertec-postgresql.com/en/transaction-anomalies-with-select-for-update/">Transaction anomalies with SELECT FOR UPDATE</a></li>
<li><a href="https://www.postgresql.org/about/news/postgresql-15-beta-2-released-2479/">PostgreSQL 15 Beta 2 Released!</a> Test It !</li>
<li><a href="https://fljd.in/en/2022/06/29/draw-me-an-abstract-tree/">Draw me an (abstract) tree</a></li>
<li>Podcast : <a href="https://postgres.fm/episodes/slow-queries-and-slow-transactions">Slow queries and slow transactions</a></li>
</ul>PostgreSQL Hebdo #81urn:md5:3aed486da80242b518a5e805fae80f122021-11-12T16:46:00+01:002021-11-12T16:46:00+01:00Sébastien LardièrePostgreSQLindexplannerpostgresql <p>Lu cette semaine :</p>
<ul>
<li><a href="https://github.com/postgresql-transition-guide/guide">PostgreSQL transition guide: supporting the decision</a> ; <a href="https://raw.githubusercontent.com/postgresql-transition-guide/guide/main/transition-guide.pdf">PDF</a></li>
<li><a href="https://hakibenita.com/postgresql-unknown-features">Lesser Known PostgreSQL Features</a></li>
<li><a href="https://www.depesz.com/2021/10/22/why-is-it-hard-to-automatically-suggest-what-index-to-create/">Why is it hard to automatically suggest what index to create?</a></li>
<li><a href="https://pganalyze.com/blog/deconstructing-the-postgres-planner">How we deconstructed the Postgres planner to find indexing opportunities</a></li>
<li><a href="https://www.postgresql.org/about/news/postgresql-141-135-129-1114-1019-and-9624-released-2349/">PostgreSQL 14.1, 13.5, 12.9, 11.14, 10.19, and 9.6.24 Released!</a></li>
<li><a href="https://www.lemagit.fr/actualites/252509351/PostgreSQL-ne-decoit-pas-les-entreprises-francaises">Ces entreprises françaises qui ne jurent que par PostgreSQL (ou presque)</a></li>
<li><a href="https://blog.timescale.com/blog/generating-more-realistic-sample-time-series-data-with-postgresql-generate_series/">Generating more realistic sample time-series data with PostgreSQL generate_series()</a></li>
<li><a href="https://tapoueh.org/blog/2021/11/an-introduction-to-the-pg_auto_failover-project/">An introduction to the pg_auto_failover project</a></li>
<li><a href="https://dev.to/yugabyte/postgres-pgagroal-connectionpool-23fc">Postgres pgagroal connectionpool</a></li>
</ul>
<p>Publicité :</p>
<ul>
<li>Parution de mon livre sur PostgreSQL en coffret avec « SQL - Les fondamentaux du langage » : <a href="https://www.editions-eni.fr/livre/postgresql-coffret-de-2-livres-utilisez-la-base-de-donnees-avec-sql-9782409032950">PostgreSQL Coffret de 2 livres : Utilisez la base de données avec SQL</a></li>
</ul>PostgreSQL Hebdo #80urn:md5:c5cb3faa115fb4a3dbb15769a1900dfa2021-11-05T16:31:00+01:002021-11-05T16:41:36+01:00Sébastien LardièrePostgreSQLcursorindexplpgsqlpostgresql <p>Lu cette semaine :</p>
<ul>
<li><a href="https://www.cybertec-postgresql.com/en/with-hold-cursors-and-transactions-in-postgresql/">WITH HOLD cursors and transactions in PostgreSQL</a></li>
<li><a href="https://notes.eatonphil.com/exploring-plpgsql.html">Strings, arrays, recursion, and parsing JSON: Exploring PL/pgSQL</a></li>
<li><a href="https://blog.rustprooflabs.com/2021/10/postgres-14-query-id">Using Query ID in Postgres 14</a></li>
<li><a href="https://blog.crunchydata.com/blog/range-types-recursion-how-to-search-availability-with-postgresql">Range Types & Recursion: How to Search Availability with PostgreSQL</a></li>
<li><a href="https://postgres.ai/blog/20211029-how-partial-and-covering-indexes-affect-update-performance-in-postgresql">How partial, covering, and multicolumn indexes may slow down UPDATEs in PostgreSQL</a></li>
</ul>PostgreSQL Hebdo #79urn:md5:09c1439e782c0cb7b479326e72df014d2021-10-04T16:00:00+02:002021-10-04T15:35:51+02:00Sébastien LardièrePostgreSQLindexjsonPostegrSQL 14postgresqltransaction <p>Lu cette semaine :</p>
<ul>
<li><a href="https://www.postgresql.org/about/news/postgresql-14-released-2318/">PostgreSQL 14 Released!</a> ; en français : <a href="https://www.loxodata.com/post/postgresql-14/" title="https://www.loxodata.com/post/postgresql-14/">https://www.loxodata.com/post/postg...</a></li>
<li><a href="https://pganalyze.com/blog/postgres-14-performance-monitoring">An early look at Postgres 14: Performance and Monitoring Improvements</a></li>
<li><a href="https://www.cybertec-postgresql.com/en/json-postgresql-how-to-use-it-right/">JSON in PostgreSQL: how to use it righ</a></li>
<li><a href="https://about.gitlab.com/blog/2021/09/29/why-we-spent-the-last-month-eliminating-postgresql-subtransactions/">Why we spent the last month eliminating PostgreSQL subtransactions</a></li>
<li><a href="https://www.simplethread.com/secret-postgresql-trick/">Secret PostgreSQL Trick</a></li>
<li><a href="https://www.pgmustard.com/blog/why-isnt-postgres-using-my-index">Why isn’t Postgres using my index?</a></li>
</ul>PostgreSQL Hebdo #53urn:md5:5a39f24401e03da1ace6b3c0b36c1eee2019-11-29T18:00:00+01:002019-11-29T18:00:00+01:00Sébastien LardièrePostgreSQLindexpostgresqltrigram <p>Lu cette semaine :</p>
<ul>
<li>À propos de partitionnement et d'index : <a href="https://www.percona.com/blog/2019/11/20/proposal-for-global-indexes-in-postgresql/">Proposal for Global Indexes in PostgreSQL</a></li>
<li>De l'opérateur <code>OR</code> : <a href="https://www.cybertec-postgresql.com/en/avoid-or-for-better-performance/">Avoiding “OR” for better query performance</a></li>
<li>Échantionnage de l'activité d'une session : <a href="https://github.com/pgsentinel/pgsentinel">pgsentinel – sampling active session history</a></li>
<li>Tri-grammes et Similarités : <a href="https://pganalyze.com/blog/similarity-in-postgres-and-ruby-on-rails-using-trigrams">Similarity in Postgres and Rails using Trigrams</a></li>
<li>Connexions et TLS : <a href="https://www.2ndquadrant.com/en/blog/setting-ssl-tls-protocol-versions-with-postgresql-12/">Setting SSL/TLS protocol versions with PostgreSQL 12</a></li>
<li><a href="https://www.cybertec-postgresql.com/en/b-tree-index-improvements-in-postgresql-v12/">B-tree index improvements in PostgreSQL v12</a></li>
<li><a href="https://severalnines.com/database-blog/overview-vacuum-processing-postgresql">An Overview of VACUUM Processing in PostgreSQL</a></li>
</ul>PostgreSQL Hebdo #42urn:md5:6e330d7b9c346a52d3b98a9388161e382019-05-10T17:30:00+02:002019-05-10T17:30:00+02:00Sébastien LardièrePostgreSQLfailoverindexpostgresqlrole <p>Lu cette semaine :</p>
<ul>
<li><a href="https://www.cybertec-postgresql.com/en/1-to-1-relationship-in-postgresql-for-real/">1-to-1 relationship in PostgreSQL for real</a></li>
<li>Série d'articles sur les index : <a href="https://habr.com/en/company/postgrespro/blog/441962/">1</a>, <a href="https://habr.com/en/company/postgrespro/blog/442546/">2</a>, <a href="https://habr.com/en/company/postgrespro/blog/442776/">3 (Hash)</a>, <a href="https://habr.com/en/company/postgrespro/blog/443284/">4 (Btree)</a>, <a href="https://habr.com/en/company/postgrespro/blog/444742/">5 (GiST)</a>, <a href="https://habr.com/en/company/postgrespro/blog/446624/">6 (SP-GiST)</a>, <a href="https://habr.com/en/company/postgrespro/blog/448746/">7 (GIN)</a></li>
<li><a href="https://use-the-index-luke.com/blog/2019-04/include-columns-in-btree-indexes">A Close Look at the Index Include Clause</a></li>
<li><a href="https://cloudblogs.microsoft.com/opensource/2019/05/06/introducing-pg_auto_failover-postgresql-open-source-extension-automated-failover-high-availability/">Introducing pg_auto_failover: Open source extension for automated failover and high-availability in PostgreSQL</a></li>
<li><a href="https://fluca1978.github.io/2019/05/09/PostgreSQL_Roles.html">The role of a role within another role</a></li>
<li><a href="https://www.postgresql.org/about/news/1939/">PostgreSQL 11.3, 10.8, 9.6.13, 9.5.17, and 9.4.22 Released!</a> ; et <a href="https://www.loxodata.com/post/postgresql-11.3/">en français</a></li>
</ul>
<p>À venir dans PostgreSQL 12 :</p>
<ul>
<li>Waiting for PostgreSQL 12 :
<ul>
<li><a href="https://www.depesz.com/2019/05/01/waiting-for-postgresql-12-allow-vacuum-to-be-run-with-index-cleanup-disabled/">Allow VACUUM to be run with index cleanup disabled</a></li>
<li><a href="https://www.depesz.com/2019/04/30/waiting-for-postgresql-12-add-settings-option-to-explain-to-print-modified-settings/">Add SETTINGS option to EXPLAIN, to print modified settings</a></li>
</ul></li>
<li><a href="https://www.cybertec-postgresql.com/en/optimizer-support-functions/">PostgreSQL v12 new feature: optimizer support for functions</a></li>
</ul>
<p>À noter dans vos agendas :</p>
<ul>
<li>Pgday.fr aura lieu le 19 juin à Lyon : le programme est publié : <a href="https://pgday.fr/programme" title="https://pgday.fr/programme">https://pgday.fr/programme</a></li>
<li>Pgconf.EU aura lieu du 15 au 18 octobre 2019 à Milan : <a href="https://2019.pgconf.eu/" title="https://2019.pgconf.eu/">https://2019.pgconf.eu/</a> ; le <a href="https://2019.pgconf.eu/callforpapers/">CfP</a> est ouvert !</li>
</ul>PostgreSQL Hebdo #21urn:md5:3b6b58b20b7031abc17ae3de18914b522018-08-30T14:50:00+02:002018-08-30T15:37:11+02:00Sébastien LardièrePostgreSQLindexpostgresql <p>De retour de vacances, prêt pour la rentrée (qui promet un rythme irrégulier de publication de ces billets…) :</p>
<ul>
<li>Des benchmarks :
<ul>
<li>Benchmark TPC-H : <a href="https://rafiasabih.blogspot.com/2018/07/performance-of-parallel-index-scans-in.html">Performance of parallel index scans in PostgreSQL</a></li>
<li><a href="https://severalnines.com/blog/how-benchmark-postgresql-performance-using-sysbench">How to Benchmark PostgreSQL Performance Using Sysbench</a></li>
</ul></li>
<li>un peu de théorie : <a href="https://mwhittaker.github.io/blog/an_illustrated_proof_of_the_cap_theorem/">An Illustrated Proof of the CAP Theorem</a></li>
<li>du calcul : <a href="https://popsql.io/learn-sql/postgresql/how-to-calculate-cumulative-sum-running-total-in-postgresql/">How to Calculate Cumulative Sum/Running Total in PostgreSQL</a></li>
<li>de la réplication : <a href="https://www.percona.com/blog/2018/08/17/replication-from-percona-server-for-mysql-to-postgresql-using-pg_chameleon/">Replication from Percona Server for MySQL to PostgreSQL using pg_chameleon</a></li>
<li>du droit : <a href="https://lwn.net/Articles/760834/">PostgreSQL and patents</a></li>
<li>des réglages : <a href="https://www.percona.com/blog/2018/08/10/tuning-autovacuum-in-postgresql-and-autovacuum-internals/">Tuning Autovacuum in PostgreSQL and Autovacuum Internals</a></li>
<li>des jointures : <a href="https://www.brianlikespostgres.com/cost-of-a-join.html">Cost of a Join</a></li>
<li>du système, avec la suite des aventures de Federico avec Ansible : <a href="http://www.pgdba.org/post/2018/08/mechanical_elephant/" title="http://www.pgdba.org/post/2018/08/mechanical_elephant/">http://www.pgdba.org/post/2018/08/m...</a></li>
<li>et l'optimisation : <a href="https://austingwalters.com/fast-full-text-search-in-postgresql/">Fast Full-Text Search in PostgreSQL</a></li>
</ul>
<ul>
<li>À venir dans la v11 :
<ul>
<li>PostgreSQL 11 beta3 est publié le 9 août : <a href="https://www.postgresql.org/about/news/1878/" title="https://www.postgresql.org/about/news/1878/">https://www.postgresql.org/about/ne...</a></li>
<li>Note de publication en cours de rédaction : <a href="https://momjian.us/pgsql_docs/release-11.html" title="https://momjian.us/pgsql_docs/release-11.html">https://momjian.us/pgsql_docs/relea...</a></li>
<li><a href="https://www.postgresql.org/message-id/flat/0846b12e-da6a-cdb8-b8be-bb0a0f60934e%40postgresql.org#680a3308b18a9980da4076a00cb7c2ee">Call for Quotes</a></li>
</ul></li>
</ul>
<ul>
<li>Agenda :
<ul>
<li><a href="https://2018.pgconf.eu/">PostgreSQL Conference Europe</a> du 23 au 26 octobre à Lisbonne</li>
</ul></li>
</ul>