-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate change history solutions #536
Comments
@vohmar Please provide requirements for 3rd list item in "Requirements" section |
domain:
contact:
registrar:
|
@ratM1n This needs your input regarding JSON support in Postgres |
@artur-beljajev Postgres does support indexing on JSON fields. There are two JSON data types: json and jsonb. They accept almost identical sets of values as input. The major practical difference is one of efficiency. The json data type stores an exact copy of the input text, which processing functions must reparse on each execution; while jsonb data is stored in a decomposed binary format that makes it slightly slower to input due to added conversion overhead, but significantly faster to process, since no reparsing is needed. jsonb also supports indexing, which can be a significant advantage. https://www.postgresql.org/docs/9.4/static/datatype-json.html |
Requirements
Current problems
Solutions
Continue using PaperTrail
Disadvantages
Version management and recovery are not needed
Needs some refactoring anyway
Needs update; latest version has incompatible changes, so our code needs to be modified
Get rid of PaperTrail and create archive database
DELETE
/UPDATE
triggersDisadvantages
Notes:
related tickets:
#944
The text was updated successfully, but these errors were encountered: