Hi Holger,
We have scheduler to achieve data on regular basis but still we need to keep max 6 month old data in DB
I have check DB level it’s not indexing on all table but mention on above thread it’s set on specific db column only but still there is scope to fine tune on index or we need to find db analyse tool which can give exact info to optimize on indexing on which fields it’s required
DO you any such tool?
We do have all setting present at DB level such granting on main schema to archive schema (SELECT, DELETE) and even we have separate schema for same
I have increase logging and find the exact query we hit from mws
SELECT DISTINCT t13.ROOTCONTEXTID , t13.PARENTCONTEXTID , t13.CONTEXTID , t13.SERVICENAME , t13.SERVERID , t13.USERID , t14.FIRSTSTATUS , t14.FIRSTSTATUS FIRSTSTATUSDECODE, t14.FIRSTTIME , t14.FIRSTTIME FIRSTTIMESTRING, t14.LASTSTATUS , t14.LASTSTATUS LASTSTATUSDECODE, t14.LASTTIME , t14.LASTTIME LASTTIMESTRING, t14.DURATION , t13.CUSTOMCONTEXTID , t11.FULLMESSAGE FROM WMSERVICE t13, WMSERVICE_MIN_MAX t14, WMSERVICEACTIVITYLOG t11 WHERE t14.CONTEXTID = t13.CONTEXTID AND t13.AUDITTIMESTAMP = t14.LASTTIME AND t13.CONTEXTID = t11.CONTEXTID AND (UPPER(t11.FULLMESSAGE) LIKE ‘%ABCD%’ AND (t14.LASTTIME >= ? AND t14.LASTTIME <= ?)) ORDER BY t14.LASTTIME DESC
There are lots of relation will perform while hitting this sql query from mws level.
DO you suggest any exact fixes for this issue or indexing is only way to resolve this issue?
#webMethods-BPMS#MWS-CAF-Task-Engine#webMethods