-
Notifications
You must be signed in to change notification settings - Fork 65
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
Truncation takes longer and longer #20
Comments
I tried this on another app, and saw the same behavior. |
What database are you using? |
How did you discover this? Did you see it materialize in your tests? I ask because this issue could explain some of the problems I'm finding in my tests. |
Using PostgreSQL. I noticed that truncation was much slower than transaction. So, I started benchmarking truncation, transaction and deletion. |
Hmmm I'm using MySQL and we're getting odd test failures with parallel_tests on cucumber integration specs. |
I had noticed that my specs are getting very slow, and started investigating strategies. Apparently the more you truncate, the longer it takes. This behavior seems very strange:
The text was updated successfully, but these errors were encountered: