Organizations

Organizations behave as workspaces. They can possess

  • a user or a group of users,
  • dashboards
  • tasks
  • buckets

Buckets

InfluxDB data is stored in buckets. Each bucket belongs to an organization.

Buckets are basically databases with the important addition of retention policies.

A bucket's retention policy determines the time duration for which its datapoints persist.

Bucket creation

You can create bucket on the UI either in the

  • Data Explorer, or
  • in the Load Data menu points.

Here you need to give a name and also set when would you like to delete the data.

Edit buckets

You can view your existing buckets and edit them under the Data / Load Data menu points.

Delete buckets

You can delet buckets under the Data / Load Data menu points.

Explore bucket data

In the Data / Load Data menu point, you can simply click on a bucket to open it in the Data Explorer

Data elements

  • _time, timestamp (in epoch nanosecond)
  • _measurement, string
  • _field, string: field key
  • _value, string, floats, integers, or booleans: field value

Fields are not indexed, and required. Tags are indexed but are not required.

An additional element is a 'field set' which are the collection of field key-value pairs having the same timestamp.

Tags: these are simple column-like structure where the column name is the 'tag key' and its content are 'tag values'.

Tag sets are the tag-key value combinations in the data.

As tags are indexed, they are more performant than fields. For this reason, often, you might want to restructure your tables so your fields will become tags and the other way around.

With tags having many unique values, however, look out for series cardinality as it can eat up your memory!

Series

Series key is a collection of points which have the same

  • measurement,
  • tag set, and
  • field key.

Their use is a core element in definint the data schema.

Points

A Point consists of a series key, a field value, and a timestamp.