Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from Evolveum/audit-compression
WIP - Ensure audit logs compress deltas and results to save space
- Loading branch information
Showing
9 changed files
with
605 additions
and
578 deletions.
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,2 @@ | ||
ALTER TABLE m_audit_delta ALTER COLUMN delta BLOB; | ||
ALTER TABLE m_audit_delta ALTER COLUMN fullResult BLOB; |
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,2 @@ | ||
ALTER TABLE m_audit_delta MODIFY COLUMN delta BLOB; | ||
ALTER TABLE m_audit_delta MODIFY COLUMN fullResult BLOB; |
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,2 @@ | ||
ALTER TABLE m_audit_delta MODIFY delta BLOB; | ||
ALTER TABLE m_audit_delta MODIFY fullResult BLOB; |
2 changes: 2 additions & 0 deletions
2
config/sql/midpoint/3.7/postgresql/postgresql-upgrade-3.7-3.8.sql
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,2 @@ | ||
ALTER TABLE m_audit_delta ALTER COLUMN delta TYPE BLOB; | ||
ALTER TABLE m_audit_delta ALTER COLUMN fullResult TYPE BLOB; |
2 changes: 2 additions & 0 deletions
2
config/sql/midpoint/3.7/sqlserver/sqlserver-upgrade-3.7-3.8.sql
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,2 @@ | ||
ALTER TABLE m_audit_delta ALTER COLUMN delta VARBINARY(MAX); | ||
ALTER TABLE m_audit_delta ALTER COLUMN fullResult VARBINARY(MAX); |
Oops, something went wrong.