sequential_uuids
generator of sequential UUIDs
Repository
tvondra/sequential-uuids
https://github.com/tvondra/sequential-uuids
Source
sequential-uuids-1.0.3.tar.gz
sequential-uuids-1.0.3.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
sequential_uuids | 1.0.3 | FUNC | MIT | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4570 | sequential_uuids | No | Yes | No | Yes | No | Yes | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | MIXED | 1.0.3 | 1817161514 | sequential_uuids | - |
| RPM | PGDG | 1.0.3 | 1817161514 | sequential_uuids_$v | - |
| DEB | PIGSTY | 1.0.3 | 1817161514 | postgresql-$v-sequential-uuids | - |
Build
You can build the RPM / DEB packages for sequential_uuids using pig build:
Install
You can install sequential_uuids directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
sequential_uuids: sequential UUID generators for better index locality
Generates UUIDs with sequential patterns to reduce random I/O in indexes while maintaining sufficient randomness to avoid collisions.
Functions
| Function | Description |
|---|---|
uuid_sequence_nextval(sequence regclass, block_size int DEFAULT 65536, block_count int DEFAULT 65536) | Generate a sequential UUID based on a sequence |
uuid_time_nextval(interval_length int DEFAULT 60, interval_count int DEFAULT 65536) | Generate a sequential UUID based on current timestamp |
Examples
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)