User Tools

Site Tools


postgresqlvacuum

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
postgresqlvacuum [2024/03/01 15:37] – z0hpvkpostgresqlvacuum [2024/03/01 15:38] (current) – z0hpvk
Line 53: Line 53:
 This will create a new unfragmented table and rebuild all associated indexes.\\ This will create a new unfragmented table and rebuild all associated indexes.\\
 However this will cause a full lock on the table, even SELECT queries will have to wait for the process to complete.\\ However this will cause a full lock on the table, even SELECT queries will have to wait for the process to complete.\\
-Instead you can use the extension [[postgresqlextensions|pg_repack]]. \\+Instead you can use the extension [[https://dbwiki.co.uk/postgresqlextensions#pg_repack|pg_repack]]. \\
  
 The basis of the below SQL query was taken from: [[https://github.com/ioguix/pgsql-bloat-estimation]]\\ The basis of the below SQL query was taken from: [[https://github.com/ioguix/pgsql-bloat-estimation]]\\
postgresqlvacuum.1709307470.txt.gz · Last modified: (external edit)