EDB Advanced Storage PackSuggest edits
EDB Advanced Storage Pack provides advanced storage options for Postgres databases in the form of table access method (TAM) extensions. These storage options can enhance the performance and reliability of databases without requiring application changes.
For tables whose access patterns you know, you might prefer a targeted TAM that makes different tradeoffs. For instance, if a table has a specific usage pattern, you might consider using a specialized TAM that is designed to enhance that usage pattern.
EnterpriseDB offers two TAMs in the Advanced Storage Pack.
The Autocluster TAM provides faster access to clustered data by keeping track of the last inserted row for any value in a side table. You can then add new rows to the same data blocks as previous rows, keeping the data clustered. This approach reduces access time to related data. Autocluster keeps rows with the same key values clustered together so that an index scan for a specific key can find all the rows close together. The scan doesn't need to retrieve as many table pages to satisfy the query.
See Autocluster example for an example use case.
The Refdata TAM is optimized for mostly static data, which contains an occasional INSERT and very few DELETE and UPDATE commands. For database schemas that use foreign keys to reference data, this TAM can provide performance gains of 5-10% and increased scalability. Whenever anyone modifies a Refdata table, the modifying transaction takes a table-level ExclusiveLock, blocking out concurrent modifications by any other session as well as modifications to tables that reference the table.
See Refdata example for an example use case.
- On this page
Could this page be better? Report a problem or suggest an addition!