{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/3887","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/3887/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/3887/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/3887/events","html_url":"https://github.com/influxdb/influxdb/issues/3887","id":103793225,"number":3887,"title":"Graphite plugin slow writes on version 0.9.2","user":{"login":"tlopo","id":7695416,"avatar_url":"https://avatars.githubusercontent.com/u/7695416?v=3","gravatar_id":"","url":"https://api.github.com/users/tlopo","html_url":"https://github.com/tlopo","followers_url":"https://api.github.com/users/tlopo/followers","following_url":"https://api.github.com/users/tlopo/following{/other_user}","gists_url":"https://api.github.com/users/tlopo/gists{/gist_id}","starred_url":"https://api.github.com/users/tlopo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlopo/subscriptions","organizations_url":"https://api.github.com/users/tlopo/orgs","repos_url":"https://api.github.com/users/tlopo/repos","events_url":"https://api.github.com/users/tlopo/events{/privacy}","received_events_url":"https://api.github.com/users/tlopo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-28T20:48:22Z","updated_at":"2015-08-28T21:42:25Z","closed_at":"2015-08-28T20:53:13Z","body":"I am trying to import data from influxdb-0.8.8 to influxdb-0.9.2, writes are very slow **10Kpbs**, importing the data from v.0.8.8 to another v.0.8.8 writing speed is **3.5Mbps** both running in the same box(ec2 c1.medium), but not simultaneously.\r\n\r\nThe script I used to import data: can be found [here](https://gist.github.com/tlopo/76cb4c20442cdb910f21). It does the following:\r\n* Gets series list\r\n* Creates a connection to graphite plugin\r\n* For each serie run query `select * from <serie>`\r\n* Creates an array with chunks of 1K datapoints in graphite format `<metric_name> <epoch> <value>`\r\n* Send chunk by chunk\r\n* Close connection\r\n\r\nA snippet from the log generated by the script: \r\n\r\n```\r\n==> 0.8.log <==\r\n}\r\n\r\n2015-08-28T20:21:52.418Z - info: Progress : 100%\r\n{\r\n \"seriesTotal\": 10,\r\n \"serieCount\": 10,\r\n \"chunksTotal\": 165,\r\n \"chunkCount\": 165,\r\n \"dataPointsSent\": 1133497,\r\n \"chunksSent\": 1140,\r\n \"bytesSent\": 74801643,\r\n \"chunksPerSec\": 56,\r\n \"bytesPerSec\": 3707089\r\n}\r\n\r\n2015-08-28T20:21:52.418Z - info: Closing client\r\n\r\nreal\t0m20.733s\r\nuser\t0m3.012s\r\nsys\t0m0.808s\r\n\r\n==> 0.9.log <==\r\n}\r\n\r\n2015-08-28T20:12:20.740Z - info: Progress : 100%\r\n{\r\n \"seriesTotal\": 10,\r\n \"serieCount\": 10,\r\n \"chunksTotal\": 165,\r\n \"chunkCount\": 165,\r\n \"dataPointsSent\": 1132988,\r\n \"chunksSent\": 1138,\r\n \"bytesSent\": 74768150,\r\n \"chunksPerSec\": 0,\r\n \"bytesPerSec\": 10458\r\n}\r\n\r\n2015-08-28T20:12:20.741Z - info: Closing client\r\n\r\nreal\t119m9.231s\r\nuser\t0m3.536s\r\nsys\t0m0.916s\r\n```\r\n\r\nAny help will be appreciated."},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/135895205","html_url":"https://github.com/influxdb/influxdb/issues/3887#issuecomment-135895205","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/3887","id":135895205,"user":{"login":"otoolep","id":536312,"avatar_url":"https://avatars.githubusercontent.com/u/536312?v=3","gravatar_id":"","url":"https://api.github.com/users/otoolep","html_url":"https://github.com/otoolep","followers_url":"https://api.github.com/users/otoolep/followers","following_url":"https://api.github.com/users/otoolep/following{/other_user}","gists_url":"https://api.github.com/users/otoolep/gists{/gist_id}","starred_url":"https://api.github.com/users/otoolep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otoolep/subscriptions","organizations_url":"https://api.github.com/users/otoolep/orgs","repos_url":"https://api.github.com/users/otoolep/repos","events_url":"https://api.github.com/users/otoolep/events{/privacy}","received_events_url":"https://api.github.com/users/otoolep/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T21:42:25Z","updated_at":"2015-08-28T21:42:25Z","body":"You could also try increasing your batch size and timeout. Try 5K and 5 seconds."}}