Strategy to improve Oracle DELETE performance

后端 未结 5 1596
情话喂你
情话喂你 2021-01-01 19:56

We\'ve got an Oracle 11g installation that is starting to get big. This database is the backend to a parallel optimization system running on a cluster. Input to the process

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-01 20:36

    Use Enterprise Manager to create a AWR report and run it through statspack analyzer which will give you detailed instructions about the bottlenecks in your system. A AWR report is a textfile containing all kinds of data about what the database has done during a certain time and how long it took.... That statspack analyzer ist sort of an automatic DBA telling you what to do.

    Forget partitions until Statspack Analyzer tells you that they could be useful and you've got a few idle disks that you can use to distribute the I/O.

    Don't think about truncate. It forces a commit...

    BTW, I'm not affiliated with Statspack Analyzer, but I think it's a very viable general tuning approach for Oracle, especially if there's no DBA around.

提交回复
热议问题