Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-85

Using a long ID to represent device and sensor (and Path)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Now in IoTDB, all devices and sensors and their Paths are organized by String, as a result, we have many  `Map<String, Object>`  structures.

       

      If we can convert the path to a long ID, it is helpful for saving memory and accelerate operations on Map.

       

      However, because we support SQLs like `select * from root..a.b.`, simply maping a string to a long is not enough, we have to consider the encoding method from a string to a long carefully to support the above SQLs.

       

      Does anyone have good idea?

      Attachments

        Issue Links

          Activity

            People

              jixuan1989 xiangdong Huang
              jixuan1989 xiangdong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: