Solved

what is the use of mx_u table in FSM?

  • 4 January 2021
  • 5 replies
  • 208 views

Userlevel 4
Badge +8

what is the use of mx_u table in FSM?

mx_u table is writing 1.5 million records daily and it is causing my table space to get filled.

 what is the use of this table.

 

icon

Best answer by Aaron.Sleight 5 January 2021, 20:00

View original

5 replies

Userlevel 4
Badge +9

That table is used internally for usage tracking purposes that could aid in troubleshooting.  The data does not need to be persisted long term though, so if you are finding that it is consuming too much storage in the database, you can safely truncate the table periodically without fear of doing harm elsewhere.

Userlevel 4
Badge +10

Good to know thatmx_u - can be truncated. Any sort of recommendation on what frequency and how many months of data should be stored?

Userlevel 4
Badge +7

Please be advised of the following note from the FSM6U11 Release Notes.

ANALYZE USAGE MPM
The MX_U table has been enhanced with new columns to track the time messages take to execute, and also detect any messages that are received but do not complete. A new MPM called perform_analyze_usage can be called to analyze the usage, summarized in the MX_U_R table. The MX_U table is now truncated on upgrade, and data saved is limited to 30 days.

If this data is not being used, a Scheduled Process can be configured to delete the data that’s more than X days old.

Userlevel 4
Badge +8

In my opinion we should at least have a setting or parameter available that allows us to disable the generation of MX_U records. 

The data generated in an high volume production environment can be enormous. 

Yes we can truncate the data in MX_U, but we should ask ourselves whether this data is really needed and how often has it been used for analysis before?

 

In case there are a lot of records in the MX_U table calling perform_analyze_usage can cause a significant performance issue. 

This is because the analyze usage selects all data in memory dataset. 

Userlevel 5
Badge +11

Perform_analyze_usage should be called specifying a narrow time range for the period of interest, such as the period of hours leading up to an outage.  It is not intended to be used to analyze months of usage.  Also do not use during the day in a busy production system.   We’re evaluating what we can do to lessen the impact of this facility.

Reply