Course : PostgreSQL, tuning

Practical course - 2d - 14h00 - Ref. POU
Price : 1600 € E.T.

PostgreSQL, tuning




This course will teach you how to optimize your applications connected to a PostgreSQL server. Several levels of intervention are possible: working directly at server level (memory, cache), improving PostgreSQL queries, acting at client level (API and connectors).


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. POU
  2d - 14h00
1600 € E.T.




This course will teach you how to optimize your applications connected to a PostgreSQL server. Several levels of intervention are possible: working directly at server level (memory, cache), improving PostgreSQL queries, acting at client level (API and connectors).


Teaching objectives
At the end of the training, the participant will be able to:
Identify areas for optimization
Analyze PostgreSQL behavior to identify bottlenecks
Optimizing PostgreSQL configuration settings
Improve query performance

Intended audience
Database and system administrators.

Prerequisites
Good knowledge of PostgreSQL administration or knowledge equivalent to that provided by the course "PostgreSQL, administration" (ref. PGA).

Practical details
Hands-on work
Theoretical sequences alternate with practical work.

Course schedule

1
Main parameters

  • Various optimization parameters (connections, memory, etc.).
Exercise
Modification of memory parameters and analysis of results.

2
Processing algorithms

  • The PostgreSQL engine.
  • Details of the various request processing mechanisms.
Exercise
Performance comparison using different processing algorithms for the same query.

3
Query algorithms

  • Query processing methods (statistics, etc.).
  • Different types of algorithms (join, LOOP...).
Exercise
Performance comparison using different query algorithms.

4
Memory optimization

  • Configuration of memory parameters (shared_buffers...).
  • How to calculate the value of shared_buffers.

5
Caching mechanisms and access performance

  • Disk cache for data files.
  • Cache transaction logs.
  • Hides open spaces.
  • Hides temporary objects.
Exercise
Modification of various caches, memory and behavior analysis.

6
Performance through APIs and connectors

  • Use of APIs (Java, PHP...).
  • Use of connectors (e.g. TranQL).
  • Optimizing resource management. Table organization with CLUSTER.
  • Configuration of operating system kernel resources.
  • Data distribution. Free space management.
  • PostgreSQL isolation levels (READ COMMITED...). Lock levels.
  • Locking method in PostgreSQL (record, table...).
  • Stack size.


Customer reviews
3,8 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
ANUPDEO B.
21/09/26
2 / 5

The trainer explains the material very clearly. However, there was a time constraint. Too much material to cover in such a short time.
BONNIEC SYLVAIN L.
08/06/26
5 / 5

The content is comprehensive and covers a range of topics relating to optimisation. Very well presented.
MOHAMED A.
08/06/26
4 / 5

The course material is locked, so you can’t copy and paste the commands. You have to type everything in by hand!!!!




This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.


This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.