-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a page describing all alternative solutions
- Loading branch information
Showing
3 changed files
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Alternatives | ||
|
||
## PostgreSQL data change tracking | ||
|
||
Below is a summary that compares the alternatives: | ||
|
||
* [PostgreSQL triggers](https://wiki.postgresql.org/wiki/Audit_trigger) | ||
* Application-level tracking ([paper_trail](https://github.com/paper-trail-gem/paper_trail) in Ruby, [django-simple-history](https://github.com/jazzband/django-simple-history) in Python, etc.) | ||
* Change Data Capture ([debezium](https://debezium.io/) written in Java, [pgcapture](https://github.com/replicase/pgcapture) written in Go, etc.) | ||
* [PgAudit](https://www.pgaudit.org/) extension | ||
|
||
| | [Bemi Cloud](https://bemi.io/) | PG Triggers | App Tracking | Change Data Capture | PgAudit Logs | | ||
|-----------------------------------|--------------------------------|--------------|-------------|---------------------|--------------| | ||
| PostgreSQL data change tracking | ✅ | ✅ | ✅ | ✅ | ❌ | | ||
| SQL commands tracking | ✅ | ✅ | ❌ | ❌ | ✅ | | ||
| Reliable tracking accuracy | ✅ | ✅ | ❌ | ✅ | ✅ | | ||
| No runtime performance impact | ✅ | ❌ | ❌ | ✅ | ✅ | | ||
| Separate scalable storage | ✅ | ❌ | ❌ | ✅ | ❌ | | ||
| App context (user, API req, etc.) | ✅ | ❌ | ✅ | ❌ | ❌ | |
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
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 |
---|---|---|
|
@@ -32,6 +32,7 @@ const sidebars: SidebarsConfig = { | |
'orms/typeorm', | ||
], | ||
}, | ||
'alternatives', | ||
'self-hosting', | ||
], | ||
}; | ||
|