SAP Knowledge Base Article - Preview

3265639 - How to reduce History Table size

Symptom

You want to reduce History Table size, and you see output of count number is big different for the two SQL statement when you check it:


SELECT COUNT(*) FROM <history_table_name> WHERE <condition>

SELECT COUNT(*) FROM <history_table_name> WHERE <condition> WITH PARAMETERS ('REQUEST_FLAGS'= ('ALLCOMMITTED','HISTORYONLY'));


Read more...

Environment

  • SAP HANA Database, platform edition 1.0
  • SAP HANA Database, platform edition 2.0

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0

Keywords

'REQUEST_FLAGS'=('HISTORYONLY'), 'REQUEST_FLAGS'=('HISTORYNEEDVALIDTO'), SESSION_TYPE, System-Versioned, Application-Time Period, RAW_RECORD_COUNT_IN_HISTORY_MAIN, history-main , KBA , HAN-DB , SAP HANA Database , HAN-DB-ENG-BW , SAP HANA BW Engine , HAN-DB-PER , SAP HANA Database Persistence , HAN-DB-PERF , SAP HANA Database Performance , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.