tranicus
asked on
Sybase monProcessActivity
Hello All,
I've noticed in 12.5 monProcessActivity (MDA Table), there is no timestamp column. Anybody know how offen monProcessActivity retain its data? Does it get refresh? I'm trying to collect total number of committed transaction in a 24 hours period without using sp_sysmon.
Thank you,
Tran,
I've noticed in 12.5 monProcessActivity (MDA Table), there is no timestamp column. Anybody know how offen monProcessActivity retain its data? Does it get refresh? I'm trying to collect total number of committed transaction in a 24 hours period without using sp_sysmon.
Thank you,
Tran,
ASKER
Hello Joe,
Thank you for the info but it still bug me. How does sp_sysmon able to pull those 'transaction summary, committed Xacts'? One would think it have to come from somewhere. I can't imagine an automated process run on hourly, dumping data from monProcessActiviry into a historical table.
Thank you for the info but it still bug me. How does sp_sysmon able to pull those 'transaction summary, committed Xacts'? One would think it have to come from somewhere. I can't imagine an automated process run on hourly, dumping data from monProcessActiviry into a historical table.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Much appreciated Joe... You gave me alot to think about the MDA tables, I wish Sybase were better in it explaination.
Glad that helped!
You and others might find the resources at http://www.sypron.nl/mda.html helpful. Good luck!
You and others might find the resources at http://www.sypron.nl/mda.html helpful. Good luck!
Thus monProcessActivity retains no data at all, under any circumstances. Each time you query it you get a new snapshot of the process activity at that moment.
Good practice with any MDA table is to copy it into a "real" table and work with that data. You might think you could therefore insert to some kind of transaction history table the current contents of monProcessActicity, possibly formatted/manipulated/aggr
So best practice with MDA is to dump it, as is, with as little processing as possible (preferably no processing at all, not even a WHERE clause), straight into a temp table. Then you can go to work on it - filter it, aggregate it, index it, format it - and send those results to your more permanent archive table.
To answer your specific question, all monProcess% tables are refreshed every time they are accessed.