Hello All, Like many, we are planning ahead with v16. I'm curious what DBA's are doing in preparation for the upgrade with old custom reports. I know when I check, some of our custom reports haven't been used in a while. Like, years. Thinking could save out and archive the old reports before the v16 upgrade for anything that hasn't been run since 2017. But, wondering what others are planning.
Feel free to share any ideas or thoughts you might have.
Nathaniel
Nathaniel Baker said:I'm curious what DBA's are doing in preparation for the upgrade with old custom reports. I know when I check, some of our custom reports haven't been used in a while. Like, years.
Since 2016, we've inactivated any report not used in 25 months via a SA job, which is archiving of a sort. I turned that off for a while during 2020-21, but it's back on now. It's interesting to see what isn't getting used. Prior to that I would actually get complaints from time to time that report menus were too long(!).
Occasionally someone will ask for something to be re-activated, but not very often.
Over the last several years I have been working to phase out custom reports wherever possible (re-creating as analytics dashboards). We still have a handful that are necessary and will be re-written for v16 if need be.
Does anyone have a query handy to quickly look at the last time a report was run? It would be good just to spot check this in SSMS.
There's a canned Custom Report Run Frequency report - can you take the code from that and edit?
There's a report in the Version Upgrade folder within Tessitura that will tell you that! It's called Custom REport Run Frequency
Something like this, see what you get, and, if desired, set matching rows in gooesoft_report to inactive = 'Y'.
select gr.id ,gr.name ,count(gr.id) as run_count ,min(gq.request_date_time) as first_run_dt ,max(gq.request_date_time) as last_run_dt into #idle_reports from gooesoft_request gq join gooesoft_report gr on gr.id = gq.report_id where gr.inactive = 'N' group by gr.id ,gr.name having max(gq.request_date_time) < getdate() - 750 -- 25 mos ago order by last_run_dt desc
Thanks Chris, will give it a try!
Joan Shortt-Smith Sabrina Govic this query will be useful when planning V16 and for seeing what custom reports can be archived (also useful for education project)
If you have a serial report sticky beak (I'm always checking out "what does that do?") exclude that person out of the results.