how can i safely abort/cancel currently running query/transaction. using gfix -shut may corrupt the database. i’m using delphi and firebird 2.5
Thanks in advance
Reynaldi
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Gfix can not corrupt database. It uses safe termination of running queries and rollbacks all active transactions.
You can cancel given query by executing DELETE FROM MON$STATEMENTS WHERE MON$STATEMENT_ID = …
You can shut a whole attachment by executing DELETE FROM MON$CONNECTIONS WHERE CONNECTION_ID = …
All queries should be run from parallel attachment.