Skip to content

Conversation

@fstagni
Copy link
Contributor

@fstagni fstagni commented Jan 26, 2022

This of course requires a manual intervention, that can be done at any time (not really depending from this release). On LHCb clone of TransformationDB it took rather long:

MySQL [TransformationDB]> ALTER TABLE `TransformationMetaQueries` MODIFY COLUMN `MetaDataValue` TEXT;
Query OK, 0 rows affected (0.11 sec)
Records: 0  Duplicates: 0  Warnings: 0

MySQL [TransformationDB]> ALTER TABLE `AdditionalParameters` MODIFY COLUMN `ParameterValue` LONGTEXT;
Query OK, 2353784 rows affected (3 min 39.64 sec)
Records: 2353784  Duplicates: 0  Warnings: 0

MySQL [TransformationDB]> ALTER TABLE `Transformations` MODIFY COLUMN `Body` LONGTEXT;
Query OK, 145680 rows affected (27 min 9.51 sec)
Records: 145680  Duplicates: 0  Warnings: 0

MySQL [TransformationDB]> 
MySQL [TransformationDB]> ALTER TABLE `Transformations` MODIFY COLUMN `LongDescription` TEXT;

Query OK, 145680 rows affected (23 min 21.02 sec)
Records: 145680  Duplicates: 0  Warnings: 0

(I will add the above to the wiki).

It can anyway be tested in the meanwhile in the coming DIRAC hackathon.

BEGINRELEASENOTES

*TransformationSystem
CHANGE: TransformationDB: removing BLOB in favor of TEXT for non-binary data

ENDRELEASENOTES

@andresailer
Copy link
Contributor

You can modify more than one column per ALTER TABLE

@fstagni fstagni merged commit 65a3d76 into DIRACGrid:integration Jan 27, 2022
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants