Friday 28 June 2024

Where do I find information about SAP HANA threads?

 information about current SAP HANA threads can be found at the following locations:

  • Monitoring view M_SERVICE_THREADS
  • SAP HANA Studio -> Administration -> Performance -> Threads
  • DBACOCKPIT -> Performance -> Threads
  • SQL: "HANA_Threads_CurrentThreads" (SAP Note 1969700)

Information about historic thread activities are available at:

  • Monitoring view M_SERVICE_THREAD_SAMPLES

    • Retention is usually at least 2 hours
    • For more details see SAP Note 2088971
    • Can be enabled / disabled via parameter <service>.ini -> [resource_tracking] -> service_thread_sampling_monitor_enabled (true / false)

  • History HOST_SERVICE_THREAD_SAMPLES


  • SQL: "HANA_Threads_ThreadSamples_FilterAndAggregation" (SAP Note 1969700)
  • SQL: "HANA_Threads_ThreadSamples_AggregationPerTimeSlice" (SAP Note 1969700)