Oracle Scripts

Oracle Database çalışan sql sorgusunu kill edebilir miyim ?

Soru : Oracle Database üzerinde fazla kaynak tüketen bir SQL sorgusu mevcut. Session kill etmeden sadece bu SQL sorgusunu sonlandırabilir miyim ?

Cevap : Bu özellik Oracle Database 18C ile birlikte hayatımıza girmiş vaziyette. Aşağıda syntax ve örnek sorgu verilmiştir.

/* Syntax */

ALTER SYSTEM CANCEL SQL 'SID, SERIAL[, @INST_ID][, SQL_ID]';

/* Örnek Query */

ALTER SYSTEM CANCEL SQL '1903, 882299, 14zvrtb88plz';
Tags

Bugra Parlayan

I use this blog in my spare time to jot down thoughts and share my professional experiences. It’s my personal space to unwind and reflect. Feel free to share or reuse anything you find helpful here — just a small thank you is more than enough :) You can reach me at: bugra[@]bugraparlayan.com.tr

Related Articles

Leave a Reply

Back to top button
Close