-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
# pg-subsetter | ||
# pg-subsetter | ||
|
||
`pg-subsetter` is a powerful and efficient tool designed to synchronize a fraction of a PostgreSQL database to another PostgreSQL database on the fly. Written in Go, this utility is tailored for the modern, scalable architecture that demands performance and robustness. | ||
|
||
### Database Fraction Synchronization: | ||
`pg-subsetter` allows you to select and sync a specific subset of your database. Whether it's a fraction of a table or a particular dataset, you can have it replicated in another database without synchronizing the entire DB. | ||
|
||
### Integrity Preservation with Foreign Keys: | ||
Foreign keys play a vital role in maintaining the relationships between tables. `pg-subsetter` ensures that all foreign keys are handled correctly during the synchronization process, maintaining the integrity and relationships of the data. | ||
|
||
### Efficient COPY Method: | ||
Utilizing the native PostgreSQL COPY command, pg-subsetter performs data transfer with high efficiency. This method significantly speeds up the synchronization process, minimizing downtime and resource consumption. | ||
|
||
### Stateless Operation: | ||
`pg-subsetter` is built to be stateless, meaning it does not maintain any internal state between runs. This ensures that each synchronization process is independent, enhancing reliability and making it easier to manage and scale. | ||
|
||
|
||
## Usage | ||
|
||
```pg-subsetter -src postgresql://:@/bigdb -dst postgresql://:@/littledb -f 0.05``` | ||
|
||
# Installing | ||
|
||
See releases for downloads. |