milvus/core/scripts/migration
2019-11-20 19:54:18 +08:00
..
mysql_4_to_6.sql Move migration folder into scripts folder 2019-11-20 19:07:11 +08:00
mysql_6_to_4.sql add script for meta migration 2019-11-20 19:54:18 +08:00
README.md Move migration folder into scripts folder 2019-11-20 19:07:11 +08:00
sqlite_4_to_6.sql Move migration folder into scripts folder 2019-11-20 19:07:11 +08:00
sqlite_6_to_4.sql add script for meta migration 2019-11-20 19:54:18 +08:00

Data Migration

####0.3.x legacy data is not migrate-able for later versions

####0.4.x legacy data can be reused directly by 0.5.x

legacy data can be migrated to 0.6.x

####0.5.x legacy data can be migrated to 0.6.x

####0.6.x how to migrate legacy 0.4.x/0.5.x data

for sqlite meta:

 $ sqlite3 [parth_to]/meta.sqlite < sqlite_4_to_6.sql

for mysql meta:

 $ mysql -h127.0.0.1 -uroot -p123456 -Dmilvus < mysql_4_to_6.sql