article Manually dump up.time 5.x MySQL DataStore contents

The up.time DataStore contains information such as:

  • up.time configuration details.
  • Configuration and system information for monitored hosts.
  • Performance data gathered by monitors.
  • User information.
  • Settings for service monitors, alert and action profiles, scheduled maintenance and host checks.
  • Saved reports that are scheduled to run at specific intervals.

The largest DataStore tables are those that contain performance information.  If you need to manually dump your MySQL DataStore, the operation can take a considerable amount of time to complete if the DataStore contains a large amount of performance data.  However, you can speed up the database dump by excluding any or all of the performance data tables from the dump operation.

 

To perform a database dump without performance data, complete the following steps to dump the contents of the DataStore to the uptime-dump.sql file:

 

Linux or Solaris platforms:

# cd /mysql/bin # ./mysqldump -uuptime -puptime -P3308 --protocol=tcp

--ignore-table=uptime.erdc_decimal_data

--ignore-table=uptime.erdc_int_data

--ignore-table=uptime.erdc_string_data

--ignore-table=uptime.ranged_object_value

--ignore-table=uptime.performance_aggregate

--ignore-table=uptime.performance_cpu

--ignore-table=uptime.performance_disk

--ignore-table=uptime.performance_esx3_workload

--ignore-table=uptime.performance_fscap

--ignore-table=uptime.performance_lpar_workload

--ignore-table=uptime.performance_network

--ignore-table=uptime.performance_nrm

--ignore-table=uptime.performance_psinfo

--ignore-table=uptime.performance_sample

--ignore-table=uptime.performance_vxvol

--ignore-table=uptime.performance_who

--ignore-table=uptime.archive_delenda uptime > uptime-dump.sql

Windows platforms:

> cd \mysql\bin > mysqldump -uuptime -puptime -P3308 --protocol=tcp

--ignore-table=uptime.erdc_decimal_data

--ignore-table=uptime.erdc_int_data

--ignore-table=uptime.erdc_string_data

--ignore-table=uptime.ranged_object_value

--ignore-table=uptime.performance_aggregate

--ignore-table=uptime.performance_cpu

--ignore-table=uptime.performance_disk

--ignore-table=uptime.performance_esx3_workload

--ignore-table=uptime.performance_fscap

--ignore-table=uptime.performance_lpar_workload

--ignore-table=uptime.performance_network

--ignore-table=uptime.performance_nrm

--ignore-table=uptime.performance_psinfo

--ignore-table=uptime.performance_sample

--ignore-table=uptime.performance_vxvol

--ignore-table=uptime.performance_who

--ignore-table=uptime.archive_delenda uptime > uptime-dump.sql

Note that if you need to include some performance data tables in the database dump, do not specify them using the --ignore-table option.

Related Articles


Manually trim performance data from a MySQL DataStore

RatingViews
article

The following commands will dump all performance data up until a specified date and delete the corresponding records. # cd /mysql/bin # ./mysql -uuptime -puptime -P3308 --protocol=tcp uptime_v4...

By: uptime Support | Date Created: 12-31-1969 | Last Modified: 3-1-2013 | Index: 281

  4658

Shrinking your MySQL DataStore

RatingViews
article

At times it may be necessary to reduce the disk space that your MySQL DataStore consumes on your monitoring station. The process of reducing your DataStore size follows the general steps that are...

By: uptime Support | Date Created: 7-31-2006 | Last Modified: 2-19-2014 | Index: 088

  11253

Manually trim performance data from an Oracle DataStore

RatingViews
article

WARNING: These commands are permanent. All deleted data will be lost. Ensure that you complete a full data backup before proceeding with these commands. The following commands will delete all...

By: uptime Support | Date Created: 6-24-2011 | Last Modified: 3-3-2013 | Index: 528

  1976

Default MySQL Database Users and Permissions

RatingViews
article

This article outlines the MySQL database users that are installed with up.time and their permissions

By: uptime Support | Date Created: 7-6-2007 | Last Modified: 6-28-2011 | Index: 211

  3606

Migrating Your DataStore To a New Database

RatingViews
article

This article outlines how to move your DataStore between different database types.

By: uptime Support | Date Created: 2-21-2007 | Last Modified: 6-30-2011 | Index: 142

  4631

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement