PA Transaction Log

Post Reply
User avatar
roei61
Posts: 41
Joined: Wed Aug 22, 2012 5:44 am
OLAP Product: PAX
Version: 2.0.7
Excel Version: 2016
Location: Israel

PA Transaction Log

Post by roei61 »

Hi All,

We use PA and looking for transaction log just like we did before in the TM1.

It seems that now the transaction log only reads logs from closed log files and not from the one that is open right now.

I can see transactions logs before today but not from today (only tomorrow I'll see today's log transaction)

How can I read transactions that just were done now?
What was changed in my configurations?

Thanks
EvgenyT
Community Contributor
Posts: 324
Joined: Mon Jul 02, 2012 9:39 pm
OLAP Product: TM1
Version: PAL 2.0.8
Excel Version: 2016
Location: Sydney, Australia

Re: PA Transaction Log

Post by EvgenyT »

Hello,

I'm a little confused by...
It seems that now the transaction log only reads logs from closed log files and not from the one that is open right now.


Transaction log (tm1s) is always locked by the model unless serialized to the disk by either SaveDataAll or CubeSaveData. I'd guess you have a SaveDataAll Chores that runs overnight ?

As far as I know and see in PA, none of this behavior has changed

Thanks

Evgeny
User avatar
roei61
Posts: 41
Joined: Wed Aug 22, 2012 5:44 am
OLAP Product: PAX
Version: 2.0.7
Excel Version: 2016
Location: Israel

Re: PA Transaction Log

Post by roei61 »

Thanks EvgenyT.

I was able to read transaction log even of the current log in the TM1 10.2.2.

Now on PA it's not possible

Roei
ascheevel
Community Contributor
Posts: 312
Joined: Fri Feb 15, 2013 5:49 pm
OLAP Product: TM1
Version: PA 2.0.9.1
Excel Version: 365
Location: Minneapolis, USA

Re: PA Transaction Log

Post by ascheevel »

How are you trying to read the transaction log? Viewing the transaction log in architect should be the same in PA2.0.x as 10.2.
User avatar
roei61
Posts: 41
Joined: Wed Aug 22, 2012 5:44 am
OLAP Product: PAX
Version: 2.0.7
Excel Version: 2016
Location: Israel

Re: PA Transaction Log

Post by roei61 »

I'm using Perspectives in both
User avatar
gtonkin
MVP
Posts: 1259
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: Latest and greatest
Excel Version: Office 365 64-bit
Location: JHB, South Africa
Contact:

Re: PA Transaction Log

Post by gtonkin »

In my experience, TM1S is always locked and you cannot read it.
Viewing the transaction log from within TM1 will show transactions but only those written after serialization/save data.
Cannot see how this would be different unless you have a chore saving data periodically.
BR, George.

Learn something new: MDX Views
ascheevel
Community Contributor
Posts: 312
Joined: Fri Feb 15, 2013 5:49 pm
OLAP Product: TM1
Version: PA 2.0.9.1
Excel Version: 365
Location: Minneapolis, USA

Re: PA Transaction Log

Post by ascheevel »

TM1s file will be locked but right-clicking the server -> View Transaction Log should still query recent transactions. I just confirmed with architect/perspectives that changes I made that were not serialized to disk appeared in the query results. I did have to click "logtime" to switch the sort from ascending to descending as the default sort is ascending.
EvgenyT
Community Contributor
Posts: 324
Joined: Mon Jul 02, 2012 9:39 pm
OLAP Product: TM1
Version: PAL 2.0.8
Excel Version: 2016
Location: Sydney, Australia

Re: PA Transaction Log

Post by EvgenyT »

roei61 wrote: Wed Jan 22, 2020 4:20 pm Thanks EvgenyT.

I was able to read transaction log even of the current log in the TM1 10.2.2.

Now on PA it's not possible

Roei
Please review what I said above, tm1s log is always locked (and it has been like that for the last 10 years that I have been worked with tm1) unless you serialize it to the disk with Save Data functions (tm1s.log will be saved as tm1s | datetimestamp.log). Have you tried that?

Alternatively, as others pointed out, you can query it via View Transaction Log in Architect / Perspectives (although might be a bit slow if there are heaps of records)

I really don't see any issues here

Thanks

Evgeny
Post Reply