Extracting DML Stats/Workload With GoldenGate
1. Reset Counters/Stats:
stats extract ext_test, reset
2. Retrieve Stats for a Table Since Reset:
stats extract ext_test, table owner1.test, latest
3. Retrieve Stats Total Since the Last Start of Extract:
stats extract ext_int, totalsonly owner1.test
4. Retrieve Stats from the Day of a Table:
stats extract ext_int, daily, table owner1.test
5. Retrieve Stats from the Day of All Schema Tables Configured on Extract:
stats extract ext_int, daily, table owner1.*
Example Output
GGSCI (myserver.local) 1> stats ext_test total daily Sending STATS request to EXTRACT EXT_TEST ... Start of Statistics at 2019-12-16 15:21:56. Output by User Exit: Extracting from OWNER1.TABLE1 to OWNER1.TABLE1: *** Total statistics since 2019-12-16 07:18:14 *** Total inserts 2744.00 Total updates 0.00 Total deletes 300.00 Total discards 0.00 Total operations 3044.00 *** Daily statistics since 2019-12-16 07:18:14 *** Total inserts 2744.00 Total updates 0.00 Total deletes 300.00 Total discards 0.00 Total operations 3044.00
Want to learn more? Click here.
Database Consulting Services
Ready to get the database consulting support you need?
On this page
Share this
Share this
More resources
Learn more about Pythian by reading the following blogs and articles.
Recreate Redo / Standby Logs in a DG Broker Environment
Recreate Redo / Standby Logs in a DG Broker Environment
Jan 21, 2021 12:00:00 AM
10
min read
Creating dynamic tasks using Apache Airflow
Creating dynamic tasks using Apache Airflow
Apr 24, 2018 12:00:00 AM
7
min read
Exadata Health Check: My Top 5 Tools and Features

Exadata Health Check: My Top 5 Tools and Features
Dec 10, 2021 12:00:00 AM
6
min read
Ready to unlock value from your data?
With Pythian, you can accomplish your data transformation goals and more.