LoginSignup
0
0

More than 5 years have passed since last update.

Oracle で 1 CPU を占有させる方法

Posted at

Oracle で 1 CPU を占有させる方法

以下の PL/SQL を実行することで、1 CPU を占有(CPU 使用率 100%)することができます。

pl/sql
begin
  while 1 = 1 loop
    declare n1 number;
    begin n1 := 1; end;
  end loop;
end;
/
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0