Towards continuous integration: Automated Oracle database testing with capture and replay Emil Pilecki
Oracle databases at CERN Around 100 databases on 200 hosts Major database upgrade every 3rd year Quarterly and one-off patches, parameter changes New kernel, OS packages, parameters… (Agile)
Database testing – the past In the past: Manual testing done by application developers and database users, but…
Database testing – the future In the future: Automate!!! RAT RAT = (Oracle) Real Application Testing allows: Automated testing of Oracle databases complementary to manual
What is RAT? capture workload replay workload rewind production test replica replay workload test replica rewind
Oracle 11g/12c upgrade testing restore analyze upgrade backup replay report 11.2.0.3 production 11.2.0.4/12.1.0.1 replica capture replay 11.2.0.3 replica RAT workload RAT workload ~20 databases tested Several bugs and compatibility issues detected
Continuous integration testing baseline timeline replay 1 replay 2 replay 3 replay 4 replay 5 production alarm alarm Regular replays compared with baseline Spot performance degradation and new errors
Thank you for your attention!