Professional Documents
Culture Documents
And there is more: SAP HANA now automatically compresses and archives old trace files and you can also
trigger that manually (mark the trace files you want to archive, right-click, select 'compress').
SAP HANA and In-Memory Computing: A little SAP HANA DBA note on too many trace files...
This means you probably won't be in need of the technique presented in this blog.
Anyhow, for reference it'll stay up here.
+++ update 7.10.2015 - SPS 10
If you have been running SAP HANA for a year or so, spanning multiple revisions, eventually overcoming bugs
you faced in the past, you will invariably end up with an alert similar to this:
"There are currently 1033 diagnosis files.
This might indicate an issue with tracefile rotation, a high number of crashes or another issue. Please check
the diagnosis files."
As a matter of fact, SAP HANA is currently not particularly great at managing all the trace files it creates.
(And don't get me started on the actual contents of those files...).
If things go really bad you may even end up finding error messages like the following in the indexserver trace
files:
[...]
[89705]{0}[0] 2013-04-23 11:48:39.425976 e Basis
TraceSegment.cpp(00255) :
Exception while trace file compression:
exception 1: no.2120027 (Basis/Diagnose/impl/TraceSegment.cpp:238)
Trace file compression finished with error: 18446744073709551613
Sounds good? Great, then all you got to do is to follow these steps:
SAP HANA and In-Memory Computing: A little SAP HANA DBA note on too many trace files...
Cheers,
Lars
6179 Views Tags: sap, support, hana, in-memory, database, sql, in_memory_business_data_management,
sap_hana, hde, csa
SAP HANA and In-Memory Computing: A little SAP HANA DBA note on too many trace files...
Muhammed Shaheer MP
May 14, 2016 5:38 PM
Hi Lars Breddemann
Thanks for sharing the note. It makes sense to keep only necessary files under cdtrace
I saw another fact that we need to have old traces still in original directory for few historical informational
queries. Any better thought here?
Thanks,
Shaheer
Sohail Ahmed
Apr 25, 2016 5:22 PM
Thanks Lars...
Sanket Dias
Feb 17, 2016 3:46 AM
Hi Lars,
Regards,
Shanaka.
Fabio Pagoti in response to John Appleby on page 4
Sep 10, 2014 3:44 PM
Well... I came here thanks to Google.
John Appleby in response to Lars Breddemann on page 4
Sep 10, 2014 3:08 PM
I've noticed comments on a bunch of old blogs too. It's a mystery!
Lars Breddemann in response to John Appleby on page 5
Sep 10, 2014 1:32 PM
SAP HANA and In-Memory Computing: A little SAP HANA DBA note on too many trace files...
Funny, lately there is increased activity around old and ancient blog posts again. Did something change with
SCN again???
John Appleby
Sep 10, 2014 5:22 AM
Tell it how it is Lars! This is a useful tip.
One thing to note is that the too many traces error can be symptomatic of a sick HANA system. I had one
revisit which crashed 1000 times in a row. It had a sick delta log and that crashed the index server on startup.
Though honestly these days such problems are rare.
ABHISHEK SINGH
Sep 9, 2014 7:26 AM
Hi Lars ,
Nice Document !!!
Regards,
Abhishek
Fabio Pagoti
Sep 9, 2014 6:41 AM
Hey! I also happened to realize how many trace files are generated on the system.
I found an option on the Administration view on Hana Studio which can delete trace files. Inside administration
for a particular system, go to "Diagnosis Files" tab. On the top right of the tab, there is a button called "Delete
Trace Files".
Thanks for the blog!
Kulwinder Singh
May 6, 2013 9:36 AM
Hi Lars,
Good one....
Kulwinder
Andy Silvey
May 6, 2013 9:22 AM
Hi Lars,
SAP HANA and In-Memory Computing: A little SAP HANA DBA note on too many trace files...