Skip to content

postgrespro/pg_parallizator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This extension can reduce time of loading data in database by building indexes in parallel. It launches new backend for execution of "CREATE INDEX" statement. Maximal number of concurrently constructed indexes is limited by "pg_parallizator.max_workers" parameter (default value is 8). When this limit is reached, current backends waits completion of most recently started index creation. Also backend waits completion of all started workers before exit.

pg_parallizator establishes local connection to the database, so such access should be enabled.

pg_parallizator run in parallel only explicitly created indexes (not one created implicitly during table creation, such as primary key index). Also indexes created with CONCURRENTLY qualifier are not considered (because building them in parallel may cause deadlock).

To use pg_parallizator please load correspondent library using the following command:

LOAD 'pg_parallizator';

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published