
Oracle OLTP Best Practice on Linux
The document Introduction to Transactional (OLTP) Load Testing for all Databases provides a general
overview on the HammerDB OLTP workload and the document Oracle Transactional (OLTP) Load Testing
provides a detailed guide on Oracle OLTP Testing and should both be read prior to this document. It is
assumed that you already have Oracle installed and running and are familiar with running HammerDB tests.
This document provides advice and guidance on HammerDB and Oracle Configuration to achieve good
levels of throughput on HammerDB OLTP tests. It is important to be aware that this testing best practice
whilst identifying the maximum levels of throughput achievable on your system by focusing on performance
may not necessarily correspond with best practice on a production system where recoverability in the event
of failure is a key focus.
Best Practice for Oracle Performance and Scalability ..................................................................... 1
CPU, Memory and I/O .................................................................................................................. 1
BIOS Settings ................................................................................................................................ 2
Power Saving ................................................................................................................................ 2
Verify Single Threaded Performance ........................................................................................... 2
Hyper-Threading .......................................................................................................................... 3
Memory ........................................................................................................................................ 3
I/O and SSDs ................................................................................................................................. 3
Network Bandwith ....................................................................................................................... 3
Oracle Parameters ........................................................................................................................ 3
Database Creation ........................................................................................................................ 3
Schema Build and Configure ........................................................................................................ 4
Resize the Redo Log Files ............................................................................................................. 4
Monitoring ................................................................................................................................... 6
Support and Questions ..................................................................................................................... 8
Best Practice for Oracle Performance and Scalability
Oracle offers excellent scalability on 2, 4 and 8 socket systems. Best practices for Oracle configuration can
help take advantage of these scalable for maximum levels of performance. Through this document the
links provided in red contain crucial configuration details already published and therefore these should be
read and understood for maximum benefit.
CPU, Memory and I/O
The key dependence of performance is hardware related with the CPU being the most important factor on
the levels of performance available from the rest of the system. At the next level from the CPU is memory
with the best levels of performance available from having sufficient memory to cache all of the test
database. Finally I/O performance is crucial with modern systems and CPUs available to drive high levels of
throughput, In particular for OLTP workloads write performance to transaction logs is critical and often a
major resource constraint. Solid State Disks (SSDs) are strongly recommended for both data areas and redo
相关文档
评论