Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.2k views
in Technique[技术] by (71.8m points)

DolphinDB修改数据库名

DolphinDB如何实现修改库名?有没有安全快速修改库名的方法?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

数据库的名称暂不支持直接修改。
修改数据库名称的方法如下:
(1)创建一个新的数据库,分区和表结构都一样,用map reduce写入到新的库,详细步骤可参阅 DolphinDB 集群间数据库同步。 写完后,删除旧库。
(2)先backup,再migrate。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...