Course : PostgreSQL, tuning

Practical course - 2d - 14h00 - Ref. POU
Price : 1600 CHF 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 CHF 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.



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.

Dates and locations

Dernières places
Date garantie en présentiel ou à distance
Session garantie
From 7 to 8 December 2026
FR
Remote class
Registration
From 10 to 11 June 2027
FR
Remote class
Registration
From 10 to 11 June 2027
EN
Remote class
Registration
From 7 to 8 October 2027
FR
Remote class
Registration
From 7 to 8 October 2027
EN
Remote class
Registration

REMOTE CLASS
2026 : 7 Dec.

2027 : 10 June, 10 June, 7 Oct., 7 Oct.



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.