0 évaluation0% ont trouvé ce document utile (0 vote)
70 vues2 pages
The document contains SQL queries and results analyzing the size and contents of the sapsr3.dbtablog table. It finds that the total size of log data in the table is over 118 exabytes. When filtering by year, it shows the total log data size and record counts for years 2012 through 2015. The queries also analyze the distribution of records and data across different table names.
The document contains SQL queries and results analyzing the size and contents of the sapsr3.dbtablog table. It finds that the total size of log data in the table is over 118 exabytes. When filtering by year, it shows the total log data size and record counts for years 2012 through 2015. The queries also analyze the distribution of records and data across different table names.
The document contains SQL queries and results analyzing the size and contents of the sapsr3.dbtablog table. It finds that the total size of log data in the table is over 118 exabytes. When filtering by year, it shows the total log data size and record counts for years 2012 through 2015. The queries also analyze the distribution of records and data across different table names.
select sum(dbms_lob.getlength(LOGDATA)) from sapsr3.dbtablog where LOGDATE like
'2012%'; 157411130 select sum(dbms_lob.getlength(LOGDATA)) from sapsr3.dbtablog where LOGDATE like '2013%'; 1956973246 select sum(dbms_lob.getlength(LOGDATA)) from sapsr3.dbtablog where LOGDATE like '2014%'; 2257980998 select sum(dbms_lob.getlength(LOGDATA)) from sapsr3.dbtablog where LOGDATE like '2015%'; 5670902986
select count(*) from sapsr3.dbtablog where logdate like '2012%';
237716 select count(*) from sapsr3.dbtablog where logdate like '2013%'; 3597685 select count(*) from sapsr3.dbtablog where logdate like '2014%'; 3161122 select count(*) from sapsr3.dbtablog where logdate like '2015%'; 6918675