Hi,

The architecture of 1.x is different from 0.13. The upgrading can not
be in situ. You need to deploy an 1.3 instance, then transfer the
data.
There are two ways to transfer data:
1. Using Session to query from the 0.13, then write into 1.3.
2. Using TsFile API to rewrite the TsFile, then load TsFiles to 1.3.

1. is easier. You could refer to this:
https://github.com/apache/iotdb/blob/master/example/session/src/main/java/org/apache/iotdb/DataMigrationExample.java

Jialin Qiao

Trevor Hart <[email protected]> 于2024年5月28日周二 06:27写道:
>
> Hello
>
>
>
> I have an application that is running against IoTDB version 0.12 which I 
> would like to upgrade to 1.3
>
>
>
> However I have some timeseries paths that contain numbers (eg below)
>
>
> root.ABC.health.url.17.code
>
>
>
> From the documentation it seems this is not supported beyond 0.13
>
>
>
> To migrate this data I am proposing this process;
>
>
>
> 1. Use "select into" to migrate to a new path ie root.ABC.health.url.17.code 
> -> root.ABC.health.url.U17.code
>
> 2. Delete the old timeseries ie root.ABC.health.url.17.code
>
> 3. Upgrade IoTDB
>
>
> Is this the correct/best approach?
>
>
> Thanks
>
> Trevor Hart

Reply via email to