My influxdb is 0.12.0 在 2016年7月28日星期四 UTC+8下午11:38:45,Sean Beckett写道: > It works fine for me: > > > > InfluxDB shell version: 0.13.0 > > use mydb > Using database mydb > > show retention policies on mydb > > name duration shardGroupDuration replicaN default > default 0 168h0m0s 2 true > > > > CREATE RETENTION POLICY a ON mydb DURATION 1d REPLICATION 1 > > > INSERT INTO a treasures,captain_id=pirate_king value=2 > Using retention policy a > > show measurements > name: measurements > ------------------ > name > selector > treasures > > > > > > > What version of the database are you using? > > > On Thu, Jul 28, 2016 at 12:12 AM, <[email protected]> wrote: > create database test > > CREATE RETENTION POLICY a ON test DURATION 1d REPLICATION 1 > > use test > > INSERT INTO a treasures,captain_id=pirate_king value=2 > > SHOW MEASUREMENTS > > > > -- > > Remember to include the InfluxDB version number with all issue reports > > --- > > You received this message because you are subscribed to the Google Groups > "InfluxDB" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at https://groups.google.com/group/influxdb. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/influxdb/a8a63d96-6ea0-45da-8f2e-519efea5966d%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > > Sean Beckett > Director of Support and Professional Services > InfluxDB
-- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/f3e7be60-afd4-4264-a72d-ad9094cdc489%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
