title

text

Christopher Travers
Christopher Travers Independent Community Member
12:00 04 April
45 мин

Crazy things you can do with PostgreSQL Indexes

Of the relational databases, PostgreSQL is fairly unique in the indexing capabilities it offers. While most of us are familiar with the use of indexes to speed performance when filtering on columns, PostgreSQL indexes can do far more than this.

This talk will focus on cases where difficult problems were solved through the creative use of indexes. Each of these cases is from an episode in my career.

In this presentation, you will learn:

  • The general index access methods PostgreSQL supports out of the box
  • How the planner uses indexes (only on a high level)
  • Functional indexes
  • Creative use of Index Only scans.

This is a talk for all audiences. The talk is primarily for beginner to intermediate users, but should have enough information for more advanced users to get some insight or inspiration from the talk as well.

Слайды

Видео

Видео доступно участникам мероприятия, выполнившим вход в личный кабинет

Другие доклады

  • M
    Mikhail Maslov Банк ВТБ (ПАО)
    22 мин

    Multi-transactions and possible issues with them

    In this presentation, we cover multi-transactions, explain when they appear and how they can be monitored and checked. We also tackle the possible issue with multi-transaction ID wraparound and the problem of file absence in pg_multixact/offsets when restoring from a backup.

  • Maksim Afinogenov
    Maksim Afinogenov АО "ОКБМ Африкантов"
    22 мин

    Experience in porting the production management system database from Oracle DBMS to PostgresPro DBMS in a manufacturing enterprise

    The practice of transferring structure, logic and data from Oracle DBMS to PostgresPro DBMS. Features and main difficulties of migration. Advantages of PostgresPro in terms of porting logic.

  • Игорь Мельников
    Игорь Мельников Postgres Pro
    45 мин

    Oracle-like packages in Postgres Pro Enterprise 15

    One of the main problems when migrating from Oracle to PostgreSQL is PL/SQL packages.

    The PostgreSQL DBMS lacks such functionality - this leads to the need to rewrite (up to its redesign!) the Oracle PL/SQL code to PL/pgSQL.

    With the new version of its flagship Postgres Pro 15 Enterpise distribution, Postgres Pro has added support for package functionality: the PL/pgSQL syntax has been extended and new mechanisms have been added to the stored procedure runtime environment. The report will focus on supporting the functionality of packages in Postgres Pro 15 Enterpise: - grouping types of variable procedures and functions into a package; - support for the package initialization section; - support for global package variables available throughout the "life" of the session.

    This presentation will also discuss the features of migration of packages from Oracle to Postgres Pro Enterprise DBMS.

  • Anton Doroshkevich
    Anton Doroshkevich ИнфоСофт
    45 мин

    Tips and tricks for PostgreSQL operations for 1C

    As we have large 1C+PostgreSQL database setups, questions often arise, the answers to which are not so easy to find even in the documentation. I would like to share my experience in solving such issues gained during several migrations of 1C from MS SQL to PostgreSQL made for clients from the RBC500 rating. This talk will cover the following points: How in-depth your statistics should be and why it can be dangerous? How can the creation of an explicit and implicit temporary table provoke the DBMS server downtime and how can we avoid it? In what case will the DBMS process be killed by the operating system due to overuse of RAM and what to do about it? Why having one database per cluster is good and why having multiple databases on one DBMS cluster is bad? If we are stick to the "1 cluster = 1 database" approach, what about server resources for test and development environments? Backups in PostgreSQL: what backup options we have