Heat map for Redo Size in SQL Developer...
I've gotten a lot of mileage out of my old SQL Developer Archive Log Count Heat Map report that I created in SQL Developer. I was recently asked to estimate the amount of redo that might be sent to a DataGuard standby. Searching The Google for this and I found some methods for calculating Network Bandwidth but I wanted to start with raw redo generated from an instance using information from v$archived_log.
This PL/SQL script can be run on SQLPLUS or SQL Developer to show the last 31 days of Redo generated on your database summarized by hour and day. It uses the highest amount of redo generated per hour as 'pure red' and everything below that is a gradient down to 'pure white' for no redo generated during that hour. I'm not necessarily saying red is bad... I will leave that judgement up to the DBA and folks that know the workload better... But this will give you a way to quickly see peaks and valleys of your log generation. There is also a column on this report for a daily total. This also shows the max value in pure red and gradients down to zero.
The Source Code is available at this link. To set up in SQL Developer, create a User Defined Report of type "PL/SQL DBMS_OUTPUT". When UDRs of this kind are executed, SQL Developer captures the DBMS_OUTPUT output and renders it as HTML.
For this report I modified my existing "Count" report. I added calculation for Redo Log in GB and updated some formatting as well. I also added a Total column which shows total redo for the day.