Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您能否提供有关您希望存储在流入数据库中的数据结构的更多详细信息?但是,我希望以下信息对您有所帮助。
在 Influxdb 中,timestamp + tags 是唯一的(即标签值和时间戳相同的两个数据点不能存在)。与 SQL influxdb 不同,它不会引发唯一约束冲突,它会用传入的数据覆盖现有数据。似乎您的数据没有标签,因此如果某些传入数据的时间戳已经存在于 influxdb 中将覆盖现有数据