ottertune/client/driver/oracleScripts/snapshotOracle.sh

8 lines
94 B
Bash

#!/bin/sh
sqlplus / as sysdba <<EOF
exec dbms_workload_repository.create_snapshot;
quit
EOF