I currently have data I'm trying to migrate from one InfluxDB instance to a 
newer installation and not sure of the proper way to do so.  
As a bit of background: We're sending app metrics to statsd, which are 
passing through telegraf to be persisted in InfluxDB on 10 second 
intervals. During the migration to the new server I'm taking the 
opportunity to restructure the schema to account for some shortcomings 
during the first install. Due to this restructuring I can't perform a 
simple backup/restore.  

The old server is .11, new is currently using .13, both using RHEL

I'm writing a fairly consistent 20 points per second (total) across 50 
measurements, each having roughly 130 series.  
Each measurement has 3 tags and 6 fields.
No retention policy is currently in place.
The database is approximately 2 gb and covers a timespan of roughly 1 year. 

The new server will store 10s resolution in a 60 day retention policy, the 
data will also be downsampled to 1m resolution into a 1 year retention 
policy. I'd like to migrate the current 10s samples into the new server, 
and 1 year retention policy.  
I'm planning to backfill the old data after the apps have begun sending 
metrics to the new server.

My current plan is to write a script to query 1 minute aggregate data from 
the old DB in 1 hour chunks, rewriting that data to the new DB.
The little I know about the TSM engine is from videos posted on the 
influxdata site.  It stated that InfluxDB was optimized around the thought 
that we're only modifying recent data, and that there may be a write 
penalty as older shards are rewritten.  

How much of an issue is this if no data currently exists in those 
timeframes? Are there other methods of backfill that I should consider?

Thank you,
Ryan



-- 
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/50701a8b-5a8e-4abd-bf60-7dcecb2cf65d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to