Home Database Mysql Tutorial DBA的利器:企业监控器简化MySQL管理

DBA的利器:企业监控器简化MySQL管理

Jun 07, 2016 pm 04:06 PM
dba mysql enterprise sharp weapon number simplify manage

对于数据库管理员来说,对数据库进行监控具有举足轻重的重要性,而相比于像Oracle、SQL Server这样的商业版数据库产品,开源数据库一直在这方面表现的差强人意,不过在MySQL推出企业版后,它为使用这一开源数据库的企业数据库管理员们带来了一个福音:MySQL

对于数据库管理员来说,对数据库进行监控具有举足轻重的重要性,而相比于像Oracle、SQL Server这样的商业版数据库产品,开源数据库一直在这方面表现的差强人意,不过在MySQL推出企业版后,它为使用这一开源数据库的企业数据库管理员们带来了一个福音:MySQL企业监控器(Enterprise Monitor)。下面就请跟随笔者来了解一下这个强大的工具。

借助于最新版的MySQL企业监控器,数据库管理员不但可以获得高级的数据复制和数据库监控功能,同时还可以简化安装,无论是对于商业版的MySQL企业版,还是对于MySQL社区版,它都能够帮助管理员来实现数据库的安装和维护。

MySQL企业监控器Fall 2007提供银、金和白金三个级别的服务,我测试了具有最多功能的白金版,它的每服务器每年价格为4999美元。

07年9月份推出的企业监控器Fall 2007的组成包括:一个服务代理,每一个被监控的MySQL服务器都需要安装它;还有一个服务管理器,它通过使用Windows或Unix服务器上的一个Java服务来从其监控范围之内的每一个MySQL服务器上收集MySQL和操作系统的数据;一个MySQL数据库作为一个信息仓库,被服务管理器用来显示和报告服务器健康状况。

对于MySQL数据库管理员们来说,考虑使用企业监控器的一个最大的理由是,它能够让管理员可视化的将多个MySQL服务器以组的形式管理,而不用像以前一样每次都要登录到每一个系统上。尽管这类功能在商业化数据库中已经非常普遍,两年前实现商业化的MySQL还是通过这个版本的企业监控器向前迈了一大步。

企业监控器还提供给数据库管理员一个基于Web的企业面板,以查看被监控服务器的图表和事件数据。我使用这个企业面板可以对企业监控器进行配置,以保持对系统的监控,并得到来自MySQL公司的更新,同时还可以查看事件和修改设置。

DBA的利器:企业监控器简化MySQL管理
图1:MySQL企业监控器企业面板

那些在MySQL数据库上运行关键业务应用的数据库管理员应该考虑使用某个版本的MySQL企业监控器。它的专家建议策略集合,还有可以让我轻松添加从系统的功能,都可以显著的节省企业数据库的管理成本。

MySQL企业监控器的关键功能之一是它的建议器功能,数据库管理员使用它可以创建复杂的规则来监控和报告MySQL服务器的管理、内存使用、性能、复制、计划和安全等。这些规则已经被调试好,可以适用于多数典型的MySQL服务器情况,但是你可以很容易的拷贝并编辑规则来创建一个定制的监视器。在我自己的测试中我使用了默认设置。

MySQL企业监控器使得管理具有主从关系的划分等级的MySQL数据库变得非常简单,在主从关系的MySQL中,出于备份或性能方面的考虑,来自一个主服务器的一个或多个数据库可以自动被映像到其它从服务器上。

在大型企业环境中,保持对这些主从关系数据库的跟踪是一件比较麻烦的事情,在这个版本的MySQL企业监控器中,新增的功能包括对主从关系的自动探测和分组管理功能。为了测试这个功能,我对测试环境中MySQL服务器的复制关系进行了好几个修改,MySQL企业监控器可以轻松的保持同步修改。在非常大型的环境中,大部分数据库管理员不可能对每一个复制配对以文档形式记录下来,这类服务的价值是难以估量的。

复制建议器规则只有在金版和白金版的MySQL企业监控器中提供,可以简要的说明什么时候在复制拓扑中不再需要二进制日志。在复制建议规则中几个其它的新增改进包括,可以立即指出数据库通信错误出现的时间,以有助于确保问题被记录和修正。

除了19个复制规则之外,在这个版本的MySQL企业监控器中还有80多个其它的方法,包括虚拟内存和针对以组形式显示的不同服务器的缓冲效率进行查询。

MySQL企业监控器要求每一个被监控的MySQL服务器安装一个代理。在我的每一个Windows 2003服务器测试系统上,这个代理占用7.5M左右的内存。和多数其它代理一样,这个MySQL企业监控器代理需要具有它们自己的维护计划。

在我的测试中,服务管理器只可以与相同版本的MySQL企业监控器中的代理配合工作。早期版本的代理必须先被升级,才能与最新的MySQL企业监控器组件配合使用。

【相关文章】

  • MySQL出击企业级市场 “自立为王”尚早
  • Navicat MySQL新版发布 增强数据导出汇入特性
  • Sybase系统的数据同步与复制问题(2)

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1662
14
PHP Tutorial
1262
29
C# Tutorial
1234
24
MySQL's Role: Databases in Web Applications MySQL's Role: Databases in Web Applications Apr 17, 2025 am 12:23 AM

The main role of MySQL in web applications is to store and manage data. 1.MySQL efficiently processes user information, product catalogs, transaction records and other data. 2. Through SQL query, developers can extract information from the database to generate dynamic content. 3.MySQL works based on the client-server model to ensure acceptable query speed.

Laravel Introduction Example Laravel Introduction Example Apr 18, 2025 pm 12:45 PM

Laravel is a PHP framework for easy building of web applications. It provides a range of powerful features including: Installation: Install the Laravel CLI globally with Composer and create applications in the project directory. Routing: Define the relationship between the URL and the handler in routes/web.php. View: Create a view in resources/views to render the application's interface. Database Integration: Provides out-of-the-box integration with databases such as MySQL and uses migration to create and modify tables. Model and Controller: The model represents the database entity and the controller processes HTTP requests.

MySQL and phpMyAdmin: Core Features and Functions MySQL and phpMyAdmin: Core Features and Functions Apr 22, 2025 am 12:12 AM

MySQL and phpMyAdmin are powerful database management tools. 1) MySQL is used to create databases and tables, and to execute DML and SQL queries. 2) phpMyAdmin provides an intuitive interface for database management, table structure management, data operations and user permission management.

Solve database connection problem: a practical case of using minii/db library Solve database connection problem: a practical case of using minii/db library Apr 18, 2025 am 07:09 AM

I encountered a tricky problem when developing a small application: the need to quickly integrate a lightweight database operation library. After trying multiple libraries, I found that they either have too much functionality or are not very compatible. Eventually, I found minii/db, a simplified version based on Yii2 that solved my problem perfectly.

Laravel framework installation method Laravel framework installation method Apr 18, 2025 pm 12:54 PM

Article summary: This article provides detailed step-by-step instructions to guide readers on how to easily install the Laravel framework. Laravel is a powerful PHP framework that speeds up the development process of web applications. This tutorial covers the installation process from system requirements to configuring databases and setting up routing. By following these steps, readers can quickly and efficiently lay a solid foundation for their Laravel project.

MySQL vs. Other Programming Languages: A Comparison MySQL vs. Other Programming Languages: A Comparison Apr 19, 2025 am 12:22 AM

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages ​​such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages ​​have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

MySQL for Beginners: Getting Started with Database Management MySQL for Beginners: Getting Started with Database Management Apr 18, 2025 am 12:10 AM

The basic operations of MySQL include creating databases, tables, and using SQL to perform CRUD operations on data. 1. Create a database: CREATEDATABASEmy_first_db; 2. Create a table: CREATETABLEbooks(idINTAUTO_INCREMENTPRIMARYKEY, titleVARCHAR(100)NOTNULL, authorVARCHAR(100)NOTNULL, published_yearINT); 3. Insert data: INSERTINTObooks(title, author, published_year)VA

Solve MySQL mode problem: The experience of using the TheliaMySQLModesChecker module Solve MySQL mode problem: The experience of using the TheliaMySQLModesChecker module Apr 18, 2025 am 08:42 AM

When developing an e-commerce website using Thelia, I encountered a tricky problem: MySQL mode is not set properly, causing some features to not function properly. After some exploration, I found a module called TheliaMySQLModesChecker, which is able to automatically fix the MySQL pattern required by Thelia, completely solving my troubles.

See all articles