You can translate the document:
Goal
This document describes how to monitor the status of the cache load processes using JMX. In this example we are going to use JConsole to subscribe to notifications that provide details on cache load processes.
Content
- Open JConsole (JConsole is distributed as part of any JDK)
- Connect to the VDP JMX server. Note that prior to Denodo 8.0, the installation default for the JMX server is port 9999, not 9997.
- From the MBeans tab, navigate to the com.denodo.vdb.management.mbeans:type=VDBServerCacheManagementInfo mbean.
- Select Notification. This will open an empty Notification buffer.
- At the bottom of the Notification buffer window, select Subscribe to start listening for Cache Load JMX notifications.
- Each time the VDP server loads any view cache, it will trigger a startRefreshCacheProcess event. When that event is complete, it will trigger a endRefreshCacheProcess event. Each process is correlated by the SeqNum value, so administrators can see at a glance if a process has started but has not yet ended. JConsole always shows the newest notifications at the top of the buffer.
- The UserData attribute contains CompositeData objects, and can be expanded to show additional details about each notification. Many values will be null on the start notification, and some are only applicable to PARTIAL or FULL cache processes and such will be null for the other. Some attributes of typical interest are;
- CacheStatus - whether the process is PARTIAL or FULL cache.
- DatabaseName - the Virtual Database the cached view is in.
- ViewName - the name of the cached view.
- ProjectedFields - a String array of the column names included in the cache process.
- NumOfReceivedRows and NumOfInsertedRows - the volume of data received and inserted, respectively. A discrepancy may indicate a problem with the cache database source system.
- QueryPatternState - an indicator of the state of the load process. This should always be PROCESSING on the start notification, and either VALID (for a successful load process) or INVALID (if something went wrong) on the end notification.
References
Monitoring with a Java Management Extensions (JMX) agent.
Disclaimer
The information provided in the Denodo Knowledge Base is intended to assist our users in advanced uses of Denodo. Please note that the results from the application of processes and configurations detailed in these documents may vary depending on your specific environment. Use them at your own discretion.
For an official guide of supported features, please refer to the User Manuals. For questions on critical systems or complex environments we recommend you to contact your Denodo Customer Success Manager.
The information provided in the Denodo Knowledge Base is intended to assist our users in advanced uses of Denodo. Please note that the results from the application of processes and configurations detailed in these documents may vary depending on your specific environment. Use them at your own discretion.
For an official guide of supported features, please refer to the User Manuals. For questions on critical systems or complex environments we recommend you to contact your Denodo Customer Success Manager.