Upload
vividcortex
View
267
Download
0
Embed Size (px)
Citation preview
◦
◦◦◦
◦◦◦
◦
◦◦
◦
◦
◦ host.queries.c.1374c6821ead6f47.tput
◦
◦ 1374c6821ead6f47
◦◦◦
◦◦
◦◦
◦
◦◦
◦◦
◦
◦◦
◦
◦
◦
◦
◦
◦◦◦
◦
◦
◦◦◦
◦ OPTIMIZE TABLE
◦
◦
◦
◦
◦
db := catena.NewDB(...)db.InsertRows([{...}, {...}, {...}])
i := db.NewIterator(“source”, “metric”)i.Seek(1234)i.Next()p := i.Point()
◦
◦
◦
◦
◦memory_partition{ “source_a”: { “metric_a”: [{1, 0.2}, {2, 4.8}, {3, 1.3}], “metric_b”: [{4, 0}, {5, 0}] }, “source_b”: ...}
◦◦
◦◦
◦◦◦
◦
◦
◦
◦
◦
◦◦◦
◦◦
◦
◦