Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try insert large number of Influx series #15

Open
barebu opened this issue May 11, 2020 · 2 comments
Open

try insert large number of Influx series #15

barebu opened this issue May 11, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@barebu
Copy link

barebu commented May 11, 2020

Trying to transfer a large data from influx to VM.
SHOW SERIES CARDINALITY query returns 21696367. The process lasts a very long time and ends at "fetching series". After 2-3 hours get OOM.

Use
./vmctl influx --influx-addr "http://my_influx:8086" --influx-database db_name --vm-addr "http://vm_insert:8680" --vm-account-id 1 --vm-concurrency 6 --influx-concurrency 6 --influx-chunk-size 20000

@barebu barebu changed the title split large number of Influx series try insert large number of Influx series May 11, 2020
@hagen1778 hagen1778 self-assigned this May 11, 2020
@hagen1778 hagen1778 added the bug Something isn't working label May 11, 2020
@hagen1778
Copy link
Contributor

Thanks for report! Looks like phase 1 for influx mode should be improved to avoid OOMs.
As a workaround try to limit number of series to import at once via --influx-filter-series flag.

@valyala
Copy link
Contributor

valyala commented Feb 1, 2021

FYI, vmctl has been migrated to main VictoriaMetrics repository. New releases for vmctl will be available at vmutils-*.tar.gz package on the releases page starting from v1.53.0 . It is recommended filing new issues and feature requests for vmctl in main VictoriaMetrics repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants