Skip to Content
author's profile photo Former Member
Former Member

HANA MVCC issue with table SYS.P_USERS_

The SAP HANA Troubleshooting and Performance Analysis Guide contains a chapter on "Multiversion Concurrency Control (MVCC) Issues". I have a HANA database (rev. 83) where quite often the number of versions raises over time to values up to 4 million. The SQL statement from the SAP guide gives results like this:

select * from m_mvcc_tables where host='host' and port='30003' and (name='NUM_VERSIONS' or name='MAX_VERSIONS_PER_RECORD' or name='TABLE_ID_OF_MAX_NUM_VERSIONS');

HOST,PORT,NAME,VALUE

"host",30003,"NUM_VERSIONS","91652"

"host",30003,"MAX_VERSIONS_PER_RECORD","539"

"host",30003,"TABLE_ID_OF_MAX_NUM_VERSIONS","3364958" -> table SYS.P_USERS_

In the HANA Studio I see a history of the active versions like this:

The table SYS.P_USRES_ contains 1645 entries. I suspect the users from the SAP BW system (table USR02) are being replicated into the HANA database (table P_USER_). The HANA database is also being used as a BO datasource. The SAP Troubleshooting Guide doesn't provide hints how to fix such an issue. Any tips?

Regards,

Mark

HANA_Load.png (52.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2014 at 07:11 AM

    An update from HANA 1.00.69.06 to 1.00.83.00 has obviously fixed the issue. Now the number of active versions on table SYS.P_USERS_ remains below 300.000.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.