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

MySQL Optimize operation

Solved738 views13th July 2023MySQL
0
Jeff Douglass860 28th July 2022 0 Comments

Can someone please tell me exactly what happens when the DM OptimizeDB.js operation is run? We recently had a BU DMA’s disk get completely full when it should have had ~ 200G of free space. The database is large and on the BU DMA there is a table which is 136G in file size but only has the same number of records as the matching table on the PRI DMA which is only 37G in size. This indicates to me that this table on the BU DMA is not getting Optimized. I am wondering if during one of the Optimization operations on the BU DMA that the operation used up the remaining disk space on the server causing the process to fail and the problem with a full disk.

Thanks for any advice.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 13th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Gellynck Jens [SLC]2.71K Posted 2nd September 2022 0 Comments

Hi Jeff,

OptimizeDB.js basically tells the SLDMS process to start optimizing the tables in MySQL. This is done by executing the OPTIMIZE TABLE queries on MySQL. The goal of this optimization is to reduce disk usage.

In the background MySQL will create a temporary file with the reorganized tables, which may use a lot of disk space if you have very large tables. So I think it’s indeed possible that you’re running out of disk because of this process.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 13th July 2023
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