Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Offline Failover MYSQL DBOptimize scheduled task logging

Solved1.05K views22nd December 2022MySQL
0
Ryan Reuss [SLC] [DevOps Member]490 21st December 2022 0 Comments

We received the following question:

“I have a failover system that the db optimization ran on last night, both DMAs, but it doesn’t look like the BU DMA database was optimized. I checked the Windows Task Scheduler and it shows that it ran on both DMAs. How can I figure out what happened on the BU DMA and why the dbase was not optimized?”

We were thinking the SLDMS.txt log file set to logging level 5(debug) would provide the information requested, but this might only be for the online DMA and not the offline failover agent database optimization. I sent this suggestion and received the following feedback:

“I went into the Cube->System Center->Logging->netvue-> DMS log and changed the “Debug logging level” to “Log everything (5)”. Then I went to offline DMA Windows Task Scheduler and forced (Run) the optimization task to run. I do not see any indication of optimization events in either the Cube->System Center->Logging->netvue-> DMS log of the actual SLDMS log file on the Offline DMA. Nor do I see any info event related to Optimization.”

Is there any logging or debug methods to see why the offline DBOptimization might be failing here?

Ryan Reuss [SLC] [DevOps Member] Selected answer as best 22nd December 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Wouter Demuynck [SLC] [DevOps Advocate]5.93K Posted 22nd December 2022 1 Comment

Hi Ryan,

Some pointers:

DB optimization gets triggered by the Windows Task Scheduler, which runs a script “c:\Skyline Dataminer\tools\OptimizeDB.js”.

This script will check whether SLDMS is running and then execute a DMS_OPTIMIZE_TABLES request on there.

Once in SLDMS, there will be logging on DBG|1 “MySQL base fir found at ‘xxxxx'”

From there, mysql processes will be launched to execute “optimize table xxxx” queries. You might be able to see these in the task manager / process explorer.

As for the OptimizeDB.js file, a known issue there was fixed with RN31877. If your version is from before 10.1 CU11 / 10.0 CU22 / 10.2.2. This might be related.

Jeff Douglass Posted new comment 22nd December 2022
Jeff Douglass commented 22nd December 2022

Wouter, thanks for the info. This is on a 9.6 Failover system that will soon be upgraded to 10.1. It works fine on the PRI online DMA but does not appear to work on the BU offline DMA. I tested it on both Online and Offline DMAs on a test system running 10.1 with the debug logging set to 5 and I do not see any logging info being generated on the offline DMA like I do on the Online DMA which leads me to believe that logging info is not generated on the offline DMA. With this being the case how can this be debugged?
Thanks

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs