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
Can't delete records #4023
Comments
You need to check cause of this Maybe your application calls |
Why would disk size matter here? I'm deleting records, therefore I'm reclaiming space. :) The thread would be interrupted only in case of errors, but there aren't any apart that one. |
Greetings. From my understanding, even a You may be better of by CREATE TABLE tmp_future_prices AS SELECT * FROM FUTURE_PRICES WHERE INSERTION_TIMESTAMP > ? followed by b) or partitioning the work by using intervals: DELETE FROM FUTURE_PRICES WHERE INSERTION_TIMESTAMP BETWEEN ?1 AND ?2; and then executing this query many times by shifting the interval. |
Because database systems have transactions and their isolation levels. If you've deleted something in one transaction, other transactions may still need this removed data. All DML operations usually increase disk space usage, at least for some time. If your case an I/O error appeared even before the actual deletion. Delete operation constructs list of rows to delete and they also need some temporary space if this list is too large to fit into memory, but this space is released after execution of this command. If you want to remove all rows from a table and you don't care about concurrent transactions, a |
Hi.
From time to time, my delete statements fails with the error below:
And the statement is a simple:
The text was updated successfully, but these errors were encountered: