Avatar of sikyala
Flag for United States of America

asked on 

how do I get data counts for tables in a database that has 6 terabytes of data

I have a test environment and a production environment. I have production data in my test environment. I want to get a count from both databases and identify the count difference if any between the environments. A script was initially used to do a count against dba_tables. However, soon we discovered that the count isn't accurate until after the table (s) have been analyzed. Is there another method out there besides doing a count on the table themselves? I have tried looking at using statistics. However, it is unclear how to use it to get the information I need. Does anyone know what I can do to get this information?
Oracle DatabaseLinux

Avatar of undefined
Last Comment

8/22/2022 - Mon