-
Notifications
You must be signed in to change notification settings - Fork 68
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 #1576 from eiffel777/convert-misc-tables-to-innodb
Convert tables in mod_logger, mod_hpcdb, and mod_shredder to InnoDB
- Loading branch information
Showing
5 changed files
with
64 additions
and
7 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
7 changes: 7 additions & 0 deletions
7
configuration/etl/etl_sql.d/migrations/9.5.0-10.0.0/mod_logger/convert_to_innodb.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,7 @@ | ||
-- These tables cannot be locked for writing while converting to InnoDB as it | ||
-- will cause a deadlock and the migration process will time out. | ||
|
||
ALTER TABLE `mod_logger`.`log_id_seq` ENGINE=InnoDB; | ||
ALTER TABLE `mod_logger`.`log_level` ENGINE=InnoDB; | ||
ALTER TABLE `mod_logger`.`log_table` ENGINE=InnoDB; | ||
ALTER TABLE `mod_logger`.`schema_version_history` ENGINE=InnoDB; |
2 changes: 1 addition & 1 deletion
2
configuration/etl/etl_tables.d/common/hpcdb/schema-version-history.json
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
2 changes: 1 addition & 1 deletion
2
configuration/etl/etl_tables.d/common/shredder/schema-version-history.json
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