Focal Point
[CASE-OPENED] Resource Analyzer Maintenance

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5047049616

February 21, 2012, 02:52 PM
Skyler
[CASE-OPENED] Resource Analyzer Maintenance
Our Resource Analyzer Database has grown out of control so I wanted to ping the FocalPoint guru's on best practices for RA.
Is there a utility to limit a certain amount of data kept in Resource Analyzer? (for example only keep 3 months worth of data) I know we could write something in SQL, but I figured IBI had already created a utility for that, and if they haven't does someone have that script already created. I would love to have the SQL statements that the repository maintenance delete data by date range utility runs. When we delete large data sets it runs forever.

This message has been edited. Last edited by: Kerry,


WF 7.6.12, Win08
February 21, 2012, 04:02 PM
jodye
also curious about this. Skyler what are you using for your RA database? FOCUS files? Or a real database?


WF 8.0.0.5M
February 22, 2012, 08:11 AM
CLH
In Resource Analyzer under utilities there is a repository maintenance selection that will let you delete data.


Webfocus 8.0.7 on Windows
February 22, 2012, 10:23 AM
Skyler
Thank you for the responses. So I can delete the data using the repository maintenance screen, but it is pretty cumbersome. It takes approximately 30 minutes to delete 2 days worth of data. I think the problem is that the database does not have keys or indexes so every time you run something it is doing a table scan. I am considering adding some keys and indexes to the dev version of the db to see if performance improves.

Our RA database is SQL Server 2008r2.


WF 7.6.12, Win08
February 23, 2012, 07:55 AM
CLH
yes we found it a little slow.

What we eventually decided was that RA would only store current month and we wrote a fex to extract and save the data for reporting. However this means that RG is not as effective. I have heard that Resource analyzer has changed some in 7.7 but haven't had a chance to try it yet.

Our RA is in ORACLE


Webfocus 8.0.7 on Windows
February 29, 2012, 12:49 PM
Skyler
We found case #62232528 that seems to indicate we can at least add non-unique indexes. We have asked ibi for guidance as to additional indexes and primary keys? and make sure it doesn't invalidate our maintenance contract.


WF 7.6.12, Win08