julia0726
3rd April 2002, 10:09
Hi,

We have been running the session tfgld6205m000 (Archive/Purge Finance
Transaction) since Friday.

In this regard, the effect is the slow performance of our server. We wanted to know what will be the effect if we abort the session Archive/Purge Finance Transaction? Will this cause problems?

Please help..


thanks

julia

Martin Jung
3rd April 2002, 10:43
Hi,

we are running Baan IVc4 on Oracle 8.0 and noticed no problems when archiving sessions were aborted.
At the very beginning of archiving we had several problems such as 'snapshot too old' and 'rollback segment too small' were the session suddenly stucks. Restarting was always no problem. But our main objective during archiving is to get rid of the data. We actually do not need them for further investigations. So if a record is missing nobody would care.

Martin

Guzzisto
3rd April 2002, 11:37
Hi Julia,

I agree with Martin that it's usually no problem. If you kill the archiving session, the not-committed part of the data-moval will be rolled-back in Oracle (or any other DB). If you restart, the data-moval will run for the remaining data within the selection.

If you run the Baan database (tbase) you might run into serious problems as there's no decent roll-back mechanism. In that case restarting might cause errors like "duplicate rows" in the archiving company.

PS. Martin, why don't you delete instead of archive if nobody cares anymore ...

Martin Jung
3rd April 2002, 12:23
Hi Guzzisto,

want I wanted to say is that the archived data are not 'mission critical' for us. Sometimes it's useful to take a look in the archive just to understand the present situation of inventory transactions for instance.

Martin

Karin Espelage
4th April 2002, 02:04
It sometimes happens that you get a “duplicate record” error when you restart an archiving session after a process was interrupted.

That can also happen if you have a database with a good rollback mechanism. Archiving sessions in general first copy the data from the original company to the archive company, then delete the data out of the original company. If you abort a session between “copy” and “delete”, data might not get correctly removed and you might have the same records in both companies. Most archive sessions simply skip those duplicate records when they are restarted, but some don’t. That depends on the session and the solutions you have installed. I’m not quite sure, but I believe for session tfgld6205m000, that was a problem, which has been solved with a solution at some point in the past. I would make sure, that you have the latest patch installed before you restart the session.

Anyhow, the worst case could be, that you would have to identify the duplicate records and would have to remove them from the archive company before you can restart the session. That happened a few times to me. I have a session that compares tables in the archive company with those in the original company and prints out the records which are present in both.

I’ve never seen data disapear because a session was aborted, I just had to much sometimes…

julia0726
5th April 2002, 08:39
hi,


thank you guys for your immediate response to my inquiry.


cheers,

julia