1. Create a bucket
bucket create makes a named store; --retention sets how long data lives before it auto-expires.
influx bucket create --name metrics --retention 30dTyporithm · easy
Step 1 of 8 · intro card
Buckets & InfluxQL
A bucket is InfluxDB's named, time-bounded store; --retention auto-expires old data so storage stays bounded.
In InfluxDB a bucket is the named container that holds your time-series points, the rough equivalent of a database.
influx bucket create makes one, and --retention sets the retention period: data older than that window is automatically deleted.
influx bucket list shows what exists, including each bucket's id and its retention policy.
A bucket is the named, time-bounded store.
--retention auto-expires data past the window.
bucket list shows ids and retention.
influx bucket create --name metrics --retention 30d
influx bucket listConnect each part of the code to the concept before you type.
bucket create makes a named store; --retention sets how long data lives before it auto-expires.
influx bucket create --name metrics --retention 30d--name gives the bucket a stable identifier you write to and query from.
--name metrics--retention 30d auto-deletes points older than 30 days, capping storage growth.
--retention 30dbucket list shows existing buckets with their ids and retention policies.
influx bucket listRead the concept map and follow the code breakdown.
Type the implementation, repair mistakes and work through every recall exercise.
Use the final check without hints; revisit weak concepts in short practice sessions.