-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
influxdb 2.x - very slow delete statement #23741
Comments
I can also confirm it's very slow. I was just trying to delete a measurement with less than 100k values and it didn't finish deleting after 20 minutes. Furthermore, while it was executing this, the whole bucket became unavailable. |
Are these consistently reproducible? If so, what is your usage pattern at the time it happens (lots of simultaneous deletes, heavy query or write load, etc) |
In my case it's read heavy, but not on the measurement that I was deleting. |
i'm running it on a not busy instance, few writes, few reads real 8m37.806s |
Do you have lot of measurements in the same bucket you're deleting from? What about a lot of series? |
here's some numbers number of series (not considering labels): 9362 |
This issue was closed as fixed, but I currently tried to delete some data on 2.7.5, and it's still very slow.
|
Steps to reproduce:
run the following statement to delete a non existing metric in 1 hour timeframe (it happens also with actual metrics)
Expected behavior:
delete statement being fast considering 1 hour timeframe and non existing metric
Actual behavior:
it takes 8 minutes
Environment info:
Linux 4.18.0-372.26.1.el8_6.x86_64 x86_64
InfluxDB v2.4.0 (git: de247bab08) build_date: 2022-08-18T19:41:15Z
VM: 16CPU, 64GB of Ram, disk usage
/dev/mapper/influx_data 1618795736 1018890836 528798796 66% /influx_data
storage perfomance
Logs:
nothing useful in logs
Performance:
iostat.txt
profiles.tar.gz
The text was updated successfully, but these errors were encountered: