WO2019242123A1 - 一种数据库目录的监控方法、存储介质、终端设备及装置 - Google Patents

一种数据库目录的监控方法、存储介质、终端设备及装置 Download PDF

Info

Publication number
WO2019242123A1
WO2019242123A1 PCT/CN2018/105531 CN2018105531W WO2019242123A1 WO 2019242123 A1 WO2019242123 A1 WO 2019242123A1 CN 2018105531 W CN2018105531 W CN 2018105531W WO 2019242123 A1 WO2019242123 A1 WO 2019242123A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
directory
information
database
time
Prior art date
Application number
PCT/CN2018/105531
Other languages
English (en)
French (fr)
Inventor
孙泽祥
梁海安
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019242123A1 publication Critical patent/WO2019242123A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method, a storage medium, a terminal device, and a device for monitoring a database directory.
  • the database directory is where the database server stores data files, including not only files about tables, but also data files and server options files.
  • database monitoring products such as zabbix are usually used to monitor the database directory.
  • users need to manually define monitoring items in Zabbix to achieve monitoring of one or more database directories, and the operation efficiency is low.
  • the present application provides a database directory monitoring method, storage medium, terminal equipment and device, which aims to solve the problem of low operation efficiency when monitoring a database directory.
  • a first aspect of the embodiments of the present application provides a method for monitoring a database directory, including:
  • Access data dictionary information of the target database is readable information for recording database metadata
  • a computer-readable storage medium stores computer-readable instructions.
  • the computer-readable instructions are executed by a processor, the computer-readable instructions are implemented as in the embodiments of the application
  • the first aspect presents the steps of the database directory monitoring method.
  • a third aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, where the processor executes the computer When the instructions are readable, the steps of the method for monitoring a database directory as proposed in the first aspect of the embodiments of the present application are implemented.
  • a fourth aspect of the embodiments of the present application provides a monitoring device for a database directory, including:
  • a data dictionary information access module configured to access data dictionary information of a target database, where the data dictionary information is readable information for recording database metadata;
  • a database directory determining module configured to determine a database directory to be monitored according to the accessed data dictionary information
  • a directory information acquisition module configured to acquire directory information of the database directory using a preset script file
  • a monitoring item construction module configured to build a monitoring item of a database directory according to the directory information
  • a monitoring item sending module is configured to send the monitoring item to a zabbix server, so that the zabbix server monitors the database directory.
  • the application can determine the directory information of the database directory to be monitored, and then can automatically build monitoring items based on the directory information, and send the constructed monitoring items to the Zabbix server for monitoring, as compared with traditional manual Compared with the method of defining monitoring items, the operation efficiency is effectively improved.
  • FIG. 1 is a flowchart of a first embodiment of a database directory monitoring method provided by the present application
  • FIG. 2 is a flowchart of a second embodiment of a database directory monitoring method provided by the present application.
  • FIG. 3 is a structural diagram of an embodiment of a database directory monitoring device provided by the present application.
  • the present application provides a database directory monitoring method, storage medium, terminal equipment and device, which aims to solve the problem of low operation efficiency when monitoring a database directory.
  • a first embodiment of a method for monitoring a database directory includes:
  • the target database is the database that needs to be monitored.
  • the data dictionary information is readable information that records the database metadata, such as the system views provided by the database. Through these views, you can obtain the metadata information of the database, such as the database table space and the database physical file path information. You can construct the corresponding data access commands to access the data dictionary information of the target database.
  • step 101 may include:
  • a preset script file is used to obtain system information of the terminal device.
  • system information of the terminal device For example, you can use a standardized shell or python script to obtain the system information of the terminal.
  • the obtained system information can include aix, sun, hp-ux, or linux.
  • a corresponding data access command is constructed according to the system information.
  • the form of the data access command is also different, so it is necessary to construct a suitable data access command according to the specific system information.
  • the data dictionary information of the target database is accessed by using the data access command, and the data access command here is an instruction matched with the terminal system.
  • the database directory to be monitored is determined according to the accessed data dictionary information.
  • the data dictionary information By accessing the data dictionary information, you can obtain the metadata information of the target database. Through the metadata information, you can determine the table space that the target database has, the storage path of each physical file, and so on, and then you can determine the database directory that the target database has. In practical applications, all directories in the target database can be obtained, and then these directories are deduplicated using SQL commands to obtain the database directory to be monitored.
  • a preset script file is used to obtain directory information of the database directory.
  • a standardized shell or python script can be used to obtain directory information of the database directory.
  • the corresponding commands are executed to obtain directory information such as directory size, directory remaining space, and directory usage.
  • a monitoring item of the database directory is constructed according to the directory information.
  • step 104 may include:
  • oracle.asm.size [ ⁇ # PATH_NAME ⁇ , used_pct] represents a common item used to monitor directory usage
  • oracle.asm.size is the name identifier of the item
  • ⁇ #PATH_NAME ⁇ is a variable, and represents a universal Directory name
  • used_pct indicates directory usage, a monitoring attribute of the directory. Extract the name of the directory to be monitored, and replace ⁇ #PATH_NAME ⁇ in the item with the extracted directory name to get a constructed item.
  • a directory usage monitoring item constructed based on the common monitoring item is: "oracle.asm.size [/ paic / app / oracle / rdbms, used_pct]" 35.46.
  • / paic / app / oracle / rdbms indicates the monitored directory
  • 35.46 indicates the specific value of the monitoring item, that is, the directory usage rate is 35.46%.
  • the information / paic / app / oracle / rdbms and 35.46 can be obtained from the directory information. Get in.
  • these monitoring items are sent to the zabbix server, and the zabbix server monitors these monitoring items, that is, the database directory of the target database.
  • the directory information of the database directory to be monitored can be determined, and then the monitoring item can be automatically constructed based on the directory information, and the constructed monitoring item can be sent to the zabbix server for monitoring.
  • the operation efficiency is effectively improved.
  • a second embodiment of a database directory monitoring method in an embodiment of the present application includes:
  • Steps 201-205 are the same as steps 101-105. For details, refer to the description of steps 101-105.
  • the zabbix server can construct corresponding alarm thresholds for these monitoring items. For example, for the directory usage monitoring item oracle.asm.size [/ paic / app / oracle / rdbms, used_pct], you can set an alarm threshold of 80, that is, if you detect that the directory usage exceeds 80%, you can trigger an alarm event .
  • the zabbix server monitors the value of each monitoring item. If it detects that the value of a monitoring item exceeds the set alarm threshold, it generates preset alarm information.
  • the alarm information can generally include the name of the alarm object (such as the XX directory monitoring item). ), Alarm time and alarm intensity. After the preset alarm information is generated, an email alarm program can be called, and an alarm email is constructed and sent according to the alarm information to notify relevant personnel to pay attention.
  • a monitoring item may exceed the threshold multiple times, and if an alarm email is sent every time the threshold is exceeded, it will cause unnecessary disturbance to relevant personnel. Therefore, in order to avoid frequent sending of alarm emails, the name of the alarm object can be used as the alarm information, and after the preset alarm information is generated, before the alarm email is constructed and sent based on the alarm information, the following methods are adopted for processing:
  • an alarm log table can be set in the PostgreSQL database. Each time an alarm message is generated, first query the alarm log table for the corresponding alarm record according to the name of the alarm object; if there is no alarm record, it indicates the alarm event This is the first alarm. At this time, a corresponding alarm record is generated, stored in the alarm record table, and then an alarm email is constructed and sent according to the alarm information. If there is an alarm record, it means that the alarm event is not the first alarm, and the relevant alarm email has been sent. At this time, the alarm email can no longer be sent repeatedly.
  • the alarm record includes the name of the alarm object, the number of alarms, the sending time of the alarm mail and the update time of the record.
  • the method may further include:
  • the alarm log contains multiple data such as the name of the alarm object, the number of alarms, the sending time of the alarm mail, and the record update time.
  • the number of alarms refers to the number of times that the alarm object generates alarm information.
  • the sending time of the alarm mail refers to the time of the last time the alarm mail was sent.
  • the record update time refers to the time when the alarm record was last updated.
  • the alarm record of the alarm object exists in the alarm log table, determine whether the interval between the current time and the record update time is greater than the first duration; if the interval between the current time and the record update time in the alarm record table If it is longer than the first duration (for example, 2 minutes), it indicates that the current time has passed a long time since the last alarm. At this time, an alarm email can be sent again. Therefore, the number of alarms, the time of sending alarm emails, and the records in the alarm record are updated.
  • the update time is specifically to increase the number of alarms by 1, replace the alarm email sending time and record update time with the current system time, and then construct and send the alarm email based on the alarm information.
  • the interval between the current time and the record update time is less than or equal to the first duration, it indicates that the current time is short of the last alarm time. At this time, it is further judged that the time between the alarm email sending time and the record update time Whether the interval is greater than the second duration (for example, 5 minutes), that is, to determine whether there is a certain interval between the time when the last alarm email was sent and the time when the last alarm message was generated; if the alarm email sending time and the record are updated.
  • the interval between the times is less than or equal to the second duration, which indicates that the current time is not too long from the last time the alarm email was sent. At this time, it is not necessary to send the alarm email repeatedly. Therefore, only the number of alarms and the record update time are updated. 1.
  • the method may further include:
  • the interval between the alarm email sending time and the record update time is less than the third duration and the number of alarms is less than the first number of times, the steps of updating the number of alarms, the time of sending the alarm email and the record update time are performed ,
  • the third duration is greater than the second duration
  • interval between the alarm email sending time and the record update time is greater than the third duration and the number of alarms is less than the second number of times, performing the steps of updating the alarm times, the alarm email sending time, and the record update time,
  • the second number is greater than the first number
  • An example is as follows: Assume that the second duration is 5 minutes, the third duration is 1 hour, the first number is 6 times, and the second number is 60 times. The interval is greater than 5 minutes. At this time, it is further judged whether the interval is less than 1 hour and whether the number of alarms is less than 6. If so, update the number of alarms, the time of sending alarm emails and the time of record update, and then send the alarm email; otherwise, continue Determine whether the interval is greater than 1 hour and whether the number of alarms is less than 60 times. If so, update the number of alarms, the time for sending alarm emails, and the time for updating records, and then send the alarm email. If the number of alarms has exceeded 60 times, it is not necessary to repeatedly send an alarm email.
  • this embodiment can automatically generate alarm information and send an alarm email after monitoring that the value of the monitored item exceeds the alarm threshold, which is convenient for related personnel to process in time.
  • an embodiment of a database directory monitoring apparatus in an embodiment of the present application includes:
  • a data dictionary information access module 301 configured to access data dictionary information of a target database, where the data dictionary information is readable information for recording database metadata;
  • a directory information acquiring module 303 configured to acquire directory information of the database directory using a preset script file
  • a monitoring item construction module 304 configured to build a monitoring item of a database directory according to the directory information
  • the monitoring item sending module 305 is configured to send the monitoring item to a zabbix server, so that the zabbix server monitors the database directory.
  • the data dictionary information access module may include:
  • a system information obtaining unit configured to obtain system information of a terminal device using a preset script file
  • a data access command construction unit configured to construct a corresponding data access command according to the system information
  • a data dictionary information access unit is configured to access the data dictionary information of the target database by using the data access command.
  • monitoring item construction module may include:
  • a universal monitoring item acquisition unit configured to obtain a predefined universal monitoring item, where the universal monitoring item includes a universal directory name;
  • a directory name extraction unit configured to extract a directory name to be monitored from the directory information
  • the directory name replacement unit is configured to replace the general directory name in the general monitoring item with the extracted directory name to obtain the monitoring item of the database directory.
  • monitoring item sending module may include:
  • An alarm threshold construction unit configured to construct a corresponding alarm threshold for a received monitoring item
  • An alarm information generating unit configured to generate preset alarm information if the monitored item value exceeds the alarm threshold
  • the alarm mail sending unit is configured to construct and send an alarm mail according to the alarm information after generating preset alarm information.
  • the alarm information includes the name of the alarm object
  • the monitoring item sending module may further include:
  • An alarm record query unit configured to query whether there is an alarm record of the alarm object in a preset alarm record table according to the name of the alarm object;
  • An alarm record constructing unit is configured to construct an alarm record for the alarm object if the alarm record of the alarm object does not exist, and then execute the steps of constructing and sending an alarm email according to the alarm information.
  • the alarm record includes an alarm object name, the number of alarms, an alarm email sending time, and a record update time
  • the monitoring item sending module may further include:
  • a first determining unit configured to determine whether an interval between a current time and the record update time is greater than a first duration if an alarm record of the alarm object exists
  • a first alarm record updating unit configured to update the number of alarms, alarm email sending time, and record update time if the interval between the current time and the record update time is greater than the first duration, and then execute a process based on the alarm information Steps to construct and send an alarm email;
  • a second determining unit is configured to determine whether the interval between the alarm email sending time and the record update time is greater than the first interval if the interval between the current time and the record update time is less than or equal to the first duration. Two durations; if the interval between the alarm email sending time and the record update time is less than or equal to the second duration, updating the number of alarms and record update time, and then returning to the step of monitoring the value of the monitoring item; If the interval between the sending time of the alarm mail and the update time of the record is greater than the second duration, update the number of alarms, the sending time of the alarm mail and the update time of the record, and then execute the construction and sending of the alarm mail based on the alarm information A step of.
  • monitoring item sending module may further include:
  • a first execution unit configured to execute updating the number of alarms and sending alarm emails if the interval between the time of sending the alarm emails and the record update time is less than a third duration and the number of alarms is less than the first time Step of time and record update time, the third duration is greater than the second duration;
  • a second execution unit configured to execute updating the number of alarms and the time of sending alarm emails if the interval between the time of sending the alarm emails and the record update time is greater than a third duration and the number of alarms is less than a second time And a step of recording the update time, the second number is greater than the first number;
  • a second alarm record updating unit is configured to update the number of alarms and record update time if the number of alarms is greater than the second number of times, and then return to the step of monitoring the value of the monitoring item.
  • An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, any one shown in FIG. 1 or FIG. 2 is implemented. Steps of a database directory monitoring method.
  • An embodiment of the present application further provides a terminal device including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor.
  • the processor executes the computer-readable instructions, Steps of implementing a method for monitoring any database directory as shown in FIG. 1 or FIG. 2.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请涉及通信技术领域,提出一种数据库目录的监控方法、存储介质、终端设备及装置。所述数据库目录的监控方法包括:访问目标数据库的数据字典信息;根据访问的数据字典信息确定待监控的数据库目录;使用预设的脚本文件获取所述数据库目录的目录信息;根据所述目录信息构建数据库目录的监控项;将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。上述过程通过访问数据库的数据字典信息,能够确定待监控数据库目录的目录信息,然后即可根据该目录信息自动构建监控项,并将构建好的监控项发送给zabbix服务器进行监控,与传统的手动定义监控项的方法相比,有效提高了操作效率。

Description

一种数据库目录的监控方法、存储介质、终端设备及装置
本申请要求于2018年6月20日提交中国专利局、申请号为201810634316.4、申请名称为“一种数据库目录的监控方法、存储介质和服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种数据库目录的监控方法、存储介质、终端设备及装置。
背景技术
数据库目录是数据库服务器存放数据文件的地方,不仅包括有关表的文件,还包括数据文件和服务器选项文件等。目前,通常采用zabbix等数据库监控产品对数据库目录进行监控。然而,用户需要手动在zabbix中定义监控项,实现对一个或多个数据库目录的监控,操作效率较低。
技术问题
本申请提供了一种数据库目录的监控方法、存储介质、终端设备及装置,旨在解决对数据库目录进行监控时操作效率低的问题。
技术解决方案
本申请实施例的第一方面,提供了一种数据库目录的监控方法,包括:
访问目标数据库的数据字典信息,所述数据字典信息为记录数据库元数据的可读信息;
根据访问的数据字典信息确定待监控的数据库目录;
使用预设的脚本文件获取所述数据库目录的目录信息;
根据所述目录信息构建数据库目录的监控项;
将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。
本申请实施例的第二方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如本申请实施例的第一方面提出的数据库目录的监控方法的步骤。
本申请实施例的第三方面提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如本申请实施例的第一方面提出的数据库目录的监控方法的步骤。
本申请实施例的第四方面提供了一种数据库目录的监控装置,包括:
数据字典信息访问模块,用于访问目标数据库的数据字典信息,所述数据字典信息为记录数据库元数据的可读信息;
数据库目录确定模块,用于根据访问的数据字典信息确定待监控的数据库目录;
目录信息获取模块,用于使用预设的脚本文件获取所述数据库目录的目录信息;
监控项构建模块,用于根据所述目录信息构建数据库目录的监控项;
监控项发送模块,用于将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。
有益效果
本申请通过访问数据库的数据字典信息,能够确定待监控数据库目录的目录信息,然后即可根据该目录信息自动构建监控项,并将构建好的监控项发送给zabbix服务器进行监控,与传统的手动定义监控项的方法相比,有效提高了操作效率。
附图说明
图1是本申请提供的一种数据库目录的监控方法的第一个实施例的流程图;
图2是本申请提供的一种数据库目录的监控方法的第二个实施例的流程图;
图3是本申请提供的一种数据库目录的监控装置的一个实施例的结构图。
本发明的实施方式
本申请提供了一种数据库目录的监控方法、存储介质、终端设备及装置,旨在解决对数据库目录进行监控时操作效率低的问题。
请参阅图1,数据库目录的监控方法的第一个实施例包括:
101、访问目标数据库的数据字典信息;
目标数据库是需要监控的数据库,数据字典信息是记录数据库元数据的可读信息,比如数据库提供的系统视图,通过这些视图可获取数据库的元数据信息,譬如数据库的表空间,数据库物理文件路径等信息。可以构建相应的数据访问命令,对目标数据库的数据字典信息进行访问。
具体的,步骤101可以包括:
(1)使用预设的脚本文件获取终端设备的系统信息;
(2)根据所述系统信息构建对应的数据访问命令;
(3)采用所述数据访问命令访问目标数据库的数据字典信息。
对于上述步骤(1),使用预设的脚本文件获取终端设备的系统信息。比如,可以使用标准化的shell或python脚本获取终端的系统信息,获取到的系统信息可以包括aix,sun,hp-ux或linux等。
对于上述步骤(2),根据所述系统信息构建对应的数据访问命令。对于不同的系统来说,采用的数据访问命令的形式也是不同的,因此需要根据具体的系统信息构建合适的数据访问命令。
对于上述步骤(3),采用所述数据访问命令访问目标数据库的数据字典信息,这里的数据访问命令是与终端系统匹配的指令。
102、根据访问的数据字典信息确定待监控的数据库目录;
在访问目标数据库的数据字典信息之后,根据访问的数据字典信息确定待监控的数据库目录。通过访问数据字典信息,可以获取目标数据库的元数据信息,通过该元数据信息,可以确定目标数据库具有的表空间、各个物理文件的存储路径等信息,进而可以确定目标数据库具有的数据库目录。在实际应用中,可以获取目标数据库具有的所有目录,然后采用SQL命令对这些目录进行去重,从而得到待监控的数据库目录。
103、使用预设的脚本文件获取所述数据库目录的目录信息;
在确定需要监控的数据库目录之后,使用预设的脚本文件获取所述数据库目录的目录信息。具体的,可以使用标准化的shell或python脚本获取所述数据库目录的目录信息。在该脚本里,会根据具体的主机平台系统,执行对应的命令获取目录大小、目录剩余空间、目录使用率等目录信息。
104、根据所述目录信息构建数据库目录的监控项;
在获得目录信息之后,根据所述目录信息构建数据库目录的监控项。
进一步的,步骤104可以包括:
(1)获取预定义的通用监控项,所述通用监控项包含通用的目录名称;
(2)从所述目录信息中提取待监控的目录名称;
(3)将所述通用监控项中通用的目录名称替换为提取到的目录名称,得到所述数据库目录的监控项。
获取预定义的通用监控项,所述通用监控项包含通用的目录名称。比如,oracle.asm.size[{#PATH_NAME},used_pct]表示一个用于监控目录使用率的通用监控项,oracle.asm.size为监控项的名称标识,{#PATH_NAME}是变量,代表通用的目录名称,used_pct表示目录使用率,为目录的一个监控属性。提取需要监控的目录名称,用提取到的目录名称替换该监控项中的{#PATH_NAME}即可得到构建好的监控项。
比如,根据该通用监控项构建的一个目录使用率监控项为: "oracle.asm.size[/paic/app/oracle/rdbms,used_pct]" 35.46。
其中,/paic/app/oracle/rdbms表示监控的目录,35.46表示该监控项的具体值,即目录使用率为35.46%,该信息/paic/app/oracle/rdbms以及35.46可以从所述目录信息中获取。
105、将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。
在构建好数据库目录的监控项之后,将这些监控项发送给zabbix服务器,由zabbix服务器对这些监控项进行监控,也即对目标数据库的数据库目录进行监控。
本实施例通过访问数据库的数据字典信息,能够确定待监控数据库目录的目录信息,然后即可根据该目录信息自动构建监控项,并将构建好的监控项发送给zabbix服务器进行监控,与传统的手动定义监控项的方法相比,有效提高了操作效率。
请参阅图2,本申请实施例中一种数据库目录的监控方法的第二个实施例包括:
201、访问目标数据库的数据字典信息;
202、根据访问的数据字典信息确定待监控的数据库目录;
203、使用预设的脚本文件获取所述数据库目录的目录信息;
204、根据所述目录信息构建数据库目录的监控项;
205、将所述监控项发送给zabbix服务器;
步骤201-205与步骤101-105相同,具体可参照步骤101-105的相关说明。
206、为接收到的监控项构建对应的报警阈值;
zabbix服务器在接收到监控项之后,可以为这些监控项构建对应的报警阈值。比如,对于目录使用率监控项oracle.asm.size[/paic/app/oracle/rdbms,used_pct],可以设置一个报警阈值80,也即若监测到目录使用率超过80%,则可以触发报警事件。
另外,还可以利用zabbix服务器本身的绘图功能,对该监控项的所有采集值按时间序列进行绘图,可图形化直观展现该监控项在各个时间点的值和变化趋势。
207、若监测到所述监控项的值超过所述报警阈值,则产生预设的报警信息;
208、在产生预设的报警信息之后,根据所述报警信息构建并发送报警邮件。
zabbix服务器对各个监控项的值进行监测,若监测到某个监控项的值超过设置的报警阈值,则产生预设的报警信息,该报警信息一般可以包括报警对象的名称(比如XX目录监控项),报警时间和报警强度等信息。在产生预设的报警信息之后,可以调用邮件报警程序,根据所述报警信息构建并发送报警邮件,以通知相关人员注意。
然而,在一段时间内,某个监控项可能多次出现超阈值的现象,而若每出现一次超阈值就发送一封报警邮件,会给相关人员带来不必要的打扰。因此,为了避免频繁发送报警邮件,可以将报警对象的名称作为报警信息,并在产生预设的报警信息之后,根据所述报警信息构建并发送报警邮件之前,采取以下方法进行处理:
(1)根据所述报警对象的名称在预设的报警记录表中查询是否存在所述报警对象的报警记录;
(2)若不存在所述报警对象的报警记录,则为所述报警对象构建报警记录,然后执行根据所述报警信息构建并发送报警邮件的步骤。
具体的,可以在PostgreSQL数据库中设置一个报警记录表,每产生一次报警信息,首先根据报警对象的名称在报警记录表中查询是否存在相应的报警记录;若不存在报警记录,则表明该报警事件是初次报警,此时生成对应的报警记录,保存在该报警记录表中,然后根据所述报警信息构建并发送报警邮件。若存在报警记录,则表明该报警事件不是初次报警,相关的报警邮件已经发送,此时可以不再重复发送报警邮件。
更进一步的,所述报警记录包括报警对象名称、报警次数、报警邮件发送时间和记录更新时间,所述方法还可以包括:
(3)若存在所述报警对象的报警记录,则判断当前时间和所述记录更新时间之间的间隔是否大于第一时长;
(4)若当前时间和所述记录更新时间之间的间隔大于第一时长,则更新所述报警次数、报警邮件发送时间和记录更新时间,然后执行根据所述报警信息构建并发送报警邮件的步骤;
(5)若当前时间和所述记录更新时间之间的间隔小于或等于所述第一时长,则判断所述报警邮件发送时间和所述记录更新时间之间的间隔是否大于第二时长;若所述报警邮件发送时间和所述记录更新时间之间的间隔小于或等于第二时长,则更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤;若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第二时长,则更新所述报警次数、报警邮件发送时间和记录更新时间,然后执行根据所述报警信息构建并发送报警邮件的步骤。
在报警记录中,包含报警对象名称、报警次数、报警邮件发送时间和记录更新时间等多个数据,报警次数指该报警对象产生报警信息的次数,报警邮件发送时间指上一次发送报警邮件的时间,记录更新时间指上一次更新报警记录的时间。在某个报警对象的报警记录创建时,报警次数记录为1次,报警邮件发送时间和记录更新时间可以记录为当前的系统时间。若报警记录表中存在所述报警对象的报警记录,则判断当前时间和所述记录更新时间之间的间隔是否大于第一时长;若当前时间和报警记录表中的记录更新时间之间的间隔大于第一时长(比如2分钟),表明当前时间距离上一次报警已经过了一段较长的时间,此时可以再发送一次报警邮件,故更新报警记录中的报警次数、报警邮件发送时间和记录更新时间,具体为将报警次数加1,用当前的系统时间替换报警邮件发送时间和记录更新时间,然后根据报警信息构建并发送报警邮件。
若当前时间和所述记录更新时间之间的间隔小于或等于所述第一时长,表明当前时间距离上一次报警时间不久,此时进一步判断所述报警邮件发送时间和所述记录更新时间之间的间隔是否大于第二时长(比如5分钟),即判断上一次发送报警邮件的时间和上一次产生报警信息的时间之间是否相隔一定的时长;若所述报警邮件发送时间和所述记录更新时间之间的间隔小于或等于第二时长,表明当前时间距离上一次发送报警邮件不长,此时不必重复发送报警邮件,故仅更新所述报警次数和记录更新时间,具体为将报警次数加1,用当前的系统时间替换记录更新时间,然后返回监测监控项的值的步骤。若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第二时长,表明当前时间距离上一次发送报警邮件已经过了一段较长的时间,此时可以再发送一次报警邮件,故更新报警记录中的报警次数、报警邮件发送时间和记录更新时间,然后根据所述报警信息构建并发送报警邮件。
更进一步的,若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第二时长,则在更新所述报警次数、报警邮件发送时间和记录更新时间之前,还可以包括:
若所述报警邮件发送时间和所述记录更新时间之间的间隔小于第三时长且所述报警次数小于第一次数,则执行更新所述报警次数、报警邮件发送时间和记录更新时间的步骤,所述第三时长大于所述第二时长;
若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第三时长且所述报警次数小于第二次数,则执行更新所述报警次数、报警邮件发送时间和记录更新时间的步骤,所述第二次数大于所述第一次数;
若所述报警次数大于所述第二次数,则更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤。
举例说明如下:假设第二时长为5分钟,第三时长为1小时,第一次数为6次,第二次数为60次,若所述报警邮件发送时间和所述记录更新时间之间的间隔大于5分钟,此时进一步判断该间隔是否小于1小时且所述报警次数是否小于6次,若是则更新所述报警次数、报警邮件发送时间和记录更新时间,然后发送报警邮件;否则可以继续判断该间隔是否大于1小时且所述报警次数是否小于60次,若是则更新所述报警次数、报警邮件发送时间和记录更新时间,然后发送报警邮件。若报警次数已经超过60次,则不必重复发送报警邮件,此时更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤。通过这样设置,对于某个监控项持续产生的报警信息只会分别在第一次,第5分钟左右,第1小时左右进行报警邮件的发送,从而避免报警邮件的频繁发送。
与本申请的第一个实施例相比,本实施例在监测到监控项的值超过报警阈值之后,能自动产生报警信息并发送报警邮件,便于相关人员及时处理。
请参阅图3,本申请实施例中一种数据库目录的监控装置的一个实施例包括:
数据字典信息访问模块301,用于访问目标数据库的数据字典信息,所述数据字典信息为记录数据库元数据的可读信息;
数据库目录确定模块302,用于根据访问的数据字典信息确定待监控的数据库目录;
目录信息获取模块303,用于使用预设的脚本文件获取所述数据库目录的目录信息;
监控项构建模块304,用于根据所述目录信息构建数据库目录的监控项;
监控项发送模块305,用于将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。
进一步的,所述数据字典信息访问模块可以包括:
系统信息获取单元,用于使用预设的脚本文件获取终端设备的系统信息;
数据访问命令构建单元,用于根据所述系统信息构建对应的数据访问命令;
数据字典信息访问单元,用于采用所述数据访问命令访问目标数据库的数据字典信息。
进一步的,所述监控项构建模块可以包括:
通用监控项获取单元,用于获取预定义的通用监控项,所述通用监控项包含通用的目录名称;
目录名称提取单元,用于从所述目录信息中提取待监控的目录名称;
目录名称替换单元,用于将所述通用监控项中通用的目录名称替换为提取到的目录名称,得到所述数据库目录的监控项。
进一步的,所述监控项发送模块可以包括:
报警阈值构建单元,用于为接收到的监控项构建对应的报警阈值;
报警信息产生单元,用于若监测到所述监控项的值超过所述报警阈值,则产生预设的报警信息;
报警邮件发送单元,用于在产生预设的报警信息之后,根据所述报警信息构建并发送报警邮件。
更进一步的,所述报警信息包含报警对象的名称,所述监控项发送模块还可以包括:
报警记录查询单元,用于根据所述报警对象的名称在预设的报警记录表中查询是否存在所述报警对象的报警记录;
报警记录构建单元,用于若不存在所述报警对象的报警记录,则为所述报警对象构建报警记录,然后执行根据所述报警信息构建并发送报警邮件的步骤。
更进一步的,所述报警记录包括报警对象名称、报警次数、报警邮件发送时间和记录更新时间,所述监控项发送模块还可以包括:
第一判断单元,用于若存在所述报警对象的报警记录,则判断当前时间和所述记录更新时间之间的间隔是否大于第一时长;
第一报警记录更新单元,用于若当前时间和所述记录更新时间之间的间隔大于第一时长,则更新所述报警次数、报警邮件发送时间和记录更新时间,然后执行根据所述报警信息构建并发送报警邮件的步骤;
第二判断单元,用于若当前时间和所述记录更新时间之间的间隔小于或等于所述第一时长,则判断所述报警邮件发送时间和所述记录更新时间之间的间隔是否大于第二时长;若所述报警邮件发送时间和所述记录更新时间之间的间隔小于或等于第二时长,则更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤;若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第二时长,则更新所述报警次数、报警邮件发送时间和记录更新时间,然后执行根据所述报警信息构建并发送报警邮件的步骤。
更进一步的,所述监控项发送模块还可以包括:
第一执行单元,用于若所述报警邮件发送时间和所述记录更新时间之间的间隔小于第三时长且所述报警次数小于第一次数,则执行更新所述报警次数、报警邮件发送时间和记录更新时间的步骤,所述第三时长大于所述第二时长;
第二执行单元,用于若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第三时长且所述报警次数小于第二次数,则执行更新所述报警次数、报警邮件发送时间和记录更新时间的步骤,所述第二次数大于所述第一次数;
第二报警记录更新单元,用于若所述报警次数大于所述第二次数,则更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤。
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如图1或图2表示的任意一种数据库目录的监控方法的步骤。
本申请实施例还提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如图1或图2表示的任意一种数据库目录的监控方法的步骤。

Claims (20)

  1. 一种数据库目录的监控方法,其特征在于,包括:
    访问目标数据库的数据字典信息,所述数据字典信息为记录数据库元数据的可读信息;
    根据访问的数据字典信息确定待监控的数据库目录;
    使用预设的脚本文件获取所述数据库目录的目录信息;
    根据所述目录信息构建数据库目录的监控项;
    将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。
  2. 根据权利要求1所述的数据库目录的监控方法,其特征在于,所述访问目标数据库的数据字典信息包括:
    使用预设的脚本文件获取终端设备的系统信息;
    根据所述系统信息构建对应的数据访问命令;
    采用所述数据访问命令访问目标数据库的数据字典信息。
  3. 根据权利要求1所述的数据库目录的监控方法,其特征在于,所述根据所述目录信息构建数据库目录的监控项包括:
    获取预定义的通用监控项,所述通用监控项包含通用的目录名称;
    从所述目录信息中提取待监控的目录名称;
    将所述通用监控项中通用的目录名称替换为提取到的目录名称,得到所述数据库目录的监控项。
  4. 根据权利要求1至3中任一项所述的数据库目录的监控方法,其特征在于,所述zabbix服务器对所述数据库目录进行监控包括:
    为接收到的监控项构建对应的报警阈值;
    若监测到所述监控项的值超过所述报警阈值,则产生预设的报警信息;
    在产生预设的报警信息之后,根据所述报警信息构建并发送报警邮件。
  5. 根据权利要求4所述的数据库目录的监控方法,其特征在于,所述报警信息包含报警对象的名称,在产生预设的报警信息之后,根据所述报警信息构建并发送报警邮件之前,还包括:
    根据所述报警对象的名称在预设的报警记录表中查询是否存在所述报警对象的报警记录;
    若不存在所述报警对象的报警记录,则为所述报警对象构建报警记录,然后执行根据所述报警信息构建并发送报警邮件的步骤。
  6. 根据权利要求5所述的数据库目录的监控方法,其特征在于,所述报警记录包括报警对象名称、报警次数、报警邮件发送时间和记录更新时间,所述方法还包括:
    若存在所述报警对象的报警记录,则判断当前时间和所述记录更新时间之间的间隔是否大于第一时长;
    若当前时间和所述记录更新时间之间的间隔大于第一时长,则更新所述报警次数、报警邮件发送时间和记录更新时间,然后执行根据所述报警信息构建并发送报警邮件的步骤;
    若当前时间和所述记录更新时间之间的间隔小于或等于所述第一时长,则判断所述报警邮件发送时间和所述记录更新时间之间的间隔是否大于第二时长;若所述报警邮件发送时间和所述记录更新时间之间的间隔小于或等于第二时长,则更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤;若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第二时长,则更新所述报警次数、报警邮件发送时间和记录更新时间,然后执行根据所述报警信息构建并发送报警邮件的步骤。
  7. 根据权利要求6所述的数据库目录的监控方法,其特征在于,若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第二时长,则在更新所述报警次数、报警邮件发送时间和记录更新时间之前,还包括:
    若所述报警邮件发送时间和所述记录更新时间之间的间隔小于第三时长且所述报警次数小于第一次数,则执行更新所述报警次数、报警邮件发送时间和记录更新时间的步骤,所述第三时长大于所述第二时长;
    若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第三时长且所述报警次数小于第二次数,则执行更新所述报警次数、报警邮件发送时间和记录更新时间的步骤,所述第二次数大于所述第一次数;
    若所述报警次数大于所述第二次数,则更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤。
  8. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:
    访问目标数据库的数据字典信息,所述数据字典信息为记录数据库元数据的可读信息;
    根据访问的数据字典信息确定待监控的数据库目录;
    使用预设的脚本文件获取所述数据库目录的目录信息;
    根据所述目录信息构建数据库目录的监控项;
    将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。
  9. 根据权利要求8所述的计算机可读存储介质,其特征在于,所述访问目标数据库的数据字典信息包括:
    使用预设的脚本文件获取终端设备的系统信息;
    根据所述系统信息构建对应的数据访问命令;
    采用所述数据访问命令访问目标数据库的数据字典信息。
  10. 根据权利要求8所述的计算机可读存储介质,其特征在于,所述根据所述目录信息构建数据库目录的监控项包括:
    获取预定义的通用监控项,所述通用监控项包含通用的目录名称;
    从所述目录信息中提取待监控的目录名称;
    将所述通用监控项中通用的目录名称替换为提取到的目录名称,得到所述数据库目录的监控项。
  11. 根据权利要求8至10中任一项所述的计算机可读存储介质,其特征在于,所述zabbix服务器对所述数据库目录进行监控包括:
    为接收到的监控项构建对应的报警阈值;
    若监测到所述监控项的值超过所述报警阈值,则产生预设的报警信息;
    在产生预设的报警信息之后,根据所述报警信息构建并发送报警邮件。
  12. 根据权利要求11所述的计算机可读存储介质,其特征在于,所述报警信息包含报警对象的名称,在产生预设的报警信息之后,根据所述报警信息构建并发送报警邮件之前,还包括:
    根据所述报警对象的名称在预设的报警记录表中查询是否存在所述报警对象的报警记录;
    若不存在所述报警对象的报警记录,则为所述报警对象构建报警记录,然后执行根据所述报警信息构建并发送报警邮件的步骤。
  13. 根据权利要求12所述的计算机可读存储介质,其特征在于,所述报警记录包括报警对象名称、报警次数、报警邮件发送时间和记录更新时间,所述计算机可读指令被处理器执行时还实现如下步骤:
    若存在所述报警对象的报警记录,则判断当前时间和所述记录更新时间之间的间隔是否大于第一时长;
    若当前时间和所述记录更新时间之间的间隔大于第一时长,则更新所述报警次数、报警邮件发送时间和记录更新时间,然后执行根据所述报警信息构建并发送报警邮件的步骤;
    若当前时间和所述记录更新时间之间的间隔小于或等于所述第一时长,则判断所述报警邮件发送时间和所述记录更新时间之间的间隔是否大于第二时长;若所述报警邮件发送时间和所述记录更新时间之间的间隔小于或等于第二时长,则更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤;若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第二时长,则更新所述报警次数、报警邮件发送时间和记录更新时间,然后执行根据所述报警信息构建并发送报警邮件的步骤。
  14. 根据权利要求13所述的计算机可读存储介质,其特征在于,若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第二时长,则在更新所述报警次数、报警邮件发送时间和记录更新时间之前,还包括:
    若所述报警邮件发送时间和所述记录更新时间之间的间隔小于第三时长且所述报警次数小于第一次数,则执行更新所述报警次数、报警邮件发送时间和记录更新时间的步骤,所述第三时长大于所述第二时长;
    若所述报警邮件发送时间和所述记录更新时间之间的间隔大于第三时长且所述报警次数小于第二次数,则执行更新所述报警次数、报警邮件发送时间和记录更新时间的步骤,所述第二次数大于所述第一次数;
    若所述报警次数大于所述第二次数,则更新所述报警次数和记录更新时间,然后返回监测所述监控项的值的步骤。
  15. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:
    访问目标数据库的数据字典信息,所述数据字典信息为记录数据库元数据的可读信息;
    根据访问的数据字典信息确定待监控的数据库目录;
    使用预设的脚本文件获取所述数据库目录的目录信息;
    根据所述目录信息构建数据库目录的监控项;
    将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。
  16. 根据权利要求15所述的终端设备,其特征在于,所述访问目标数据库的数据字典信息包括:
    使用预设的脚本文件获取终端设备的系统信息;
    根据所述系统信息构建对应的数据访问命令;
    采用所述数据访问命令访问目标数据库的数据字典信息。
  17. 根据权利要求15所述的终端设备,其特征在于,所述根据所述目录信息构建数据库目录的监控项包括:
    获取预定义的通用监控项,所述通用监控项包含通用的目录名称;
    从所述目录信息中提取待监控的目录名称;
    将所述通用监控项中通用的目录名称替换为提取到的目录名称,得到所述数据库目录的监控项。
  18. 一种数据库目录的监控装置,其特征在于,包括:
    数据字典信息访问模块,用于访问目标数据库的数据字典信息,所述数据字典信息为记录数据库元数据的可读信息;
    数据库目录确定模块,用于根据访问的数据字典信息确定待监控的数据库目录;
    目录信息获取模块,用于使用预设的脚本文件获取所述数据库目录的目录信息;
    监控项构建模块,用于根据所述目录信息构建数据库目录的监控项;
    监控项发送模块,用于将所述监控项发送给zabbix服务器,以使所述zabbix服务器对所述数据库目录进行监控。
  19. 根据权利要求18所述的装置,其特征在于,所述数据字典信息访问模块包括:
    系统信息获取单元,用于使用预设的脚本文件获取终端设备的系统信息;
    数据访问命令构建单元,用于根据所述系统信息构建对应的数据访问命令;
    数据字典信息访问单元,用于采用所述数据访问命令访问目标数据库的数据字典信息。
  20. 根据权利要求18所述的装置,其特征在于,所述监控项构建模块包括:
    通用监控项获取单元,用于获取预定义的通用监控项,所述通用监控项包含通用的目录名称;
    目录名称提取单元,用于从所述目录信息中提取待监控的目录名称;
    目录名称替换单元,用于将所述通用监控项中通用的目录名称替换为提取到的目录名称,得到所述数据库目录的监控项。
PCT/CN2018/105531 2018-06-20 2018-09-13 一种数据库目录的监控方法、存储介质、终端设备及装置 WO2019242123A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810634316.4A CN108959468B (zh) 2018-06-20 2018-06-20 一种数据库目录的监控方法、存储介质和服务器
CN201810634316.4 2018-06-20

Publications (1)

Publication Number Publication Date
WO2019242123A1 true WO2019242123A1 (zh) 2019-12-26

Family

ID=64491415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/105531 WO2019242123A1 (zh) 2018-06-20 2018-09-13 一种数据库目录的监控方法、存储介质、终端设备及装置

Country Status (2)

Country Link
CN (1) CN108959468B (zh)
WO (1) WO2019242123A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783449A (zh) * 2018-12-13 2019-05-21 深圳壹账通智能科技有限公司 数据查询处理方法、平台、系统及可读存储介质
CN109857720B (zh) * 2018-12-20 2024-02-02 中国平安人寿保险股份有限公司 数据库表监控方法、装置、计算机装置及可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605722A (zh) * 2013-11-15 2014-02-26 北京奇虎科技有限公司 数据库监控方法及装置、设备
US20150040025A1 (en) * 2013-07-31 2015-02-05 Splunk Inc. Provisioning of cloud networks with service
CN105095496A (zh) * 2015-08-24 2015-11-25 浪潮软件股份有限公司 一种通过zabbix监控mysql表空间的方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843904B (zh) * 2016-03-23 2019-04-05 江苏太湖云计算信息技术股份有限公司 针对数据库运行性能的监控告警系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150040025A1 (en) * 2013-07-31 2015-02-05 Splunk Inc. Provisioning of cloud networks with service
CN103605722A (zh) * 2013-11-15 2014-02-26 北京奇虎科技有限公司 数据库监控方法及装置、设备
CN105095496A (zh) * 2015-08-24 2015-11-25 浪潮软件股份有限公司 一种通过zabbix监控mysql表空间的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DONG, MINGMING: "Design and Implementation of a MySQL Database Online Monitoring System for Enterprise", CHINA MASTER`S THESES FULL-TEXT DATABASE, no. 12, 31 December 2016 (2016-12-31) *

Also Published As

Publication number Publication date
CN108959468A (zh) 2018-12-07
CN108959468B (zh) 2024-02-02

Similar Documents

Publication Publication Date Title
US11941017B2 (en) Event driven extract, transform, load (ETL) processing
US11288231B2 (en) Reproducing datasets generated by alert-triggering search queries
JP7200259B2 (ja) データオブジェクトストアのためのデータ保持ハンドリング
CN108509326B (zh) 一种基于nginx日志的服务状态统计方法及系统
US9110601B2 (en) Backup lifecycle management
US20240028586A1 (en) Detection of abnormal transaction loops
WO2019019621A1 (zh) 业务处理方法、装置、服务器和存储介质
JP2016533564A (ja) システムコンポーネントの状態を相関させるイベントモデル
JP2020057416A (ja) 分散データベースにおけるデータブロックを処理する方法およびデバイス
CN110765206A (zh) 一种数据同步系统、方法、装置、设备及存储介质
EP3633519A1 (en) Method for storing objects, and object store gateway
WO2019242123A1 (zh) 一种数据库目录的监控方法、存储介质、终端设备及装置
JP2021128776A5 (zh)
CN111221890B (zh) 通用指标类自动监控预警方法及装置
US9836360B2 (en) Recovery strategy with dynamic number of volumes
WO2016095716A1 (zh) 一种故障信息处理方法与相关装置
US20120265908A1 (en) Server and method for buffering monitored data
US9870418B2 (en) Application cache profiler
CN110928885B (zh) Mysql数据库的数据更新到Es数据库的方法及装置
US10855563B2 (en) Supplementing log messages with metadata
CN109063215B (zh) 数据检索方法及装置
CN108628702B (zh) 聊天记录的备忘方法、装置、电子设备和存储介质
CA3048699C (en) Join pattern agnostic aggregate computation in database query operations
CN109388546B (zh) 处理应用程序的故障的方法、装置和系统
US20210117405A1 (en) Information lifecycle management notification framework

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18923394

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18923394

Country of ref document: EP

Kind code of ref document: A1