Database intelligent management method and device, equipment and storage medium
By performing information dimension statistical analysis and inspection tasks on the GaussDB database platform, combined with full SQL auditing and link analysis, the problem of insufficient operation and maintenance management of the existing database is solved, and rapid problem location and database performance improvement are achieved.
Patent Information
- Application Number
- CN202410609785.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-09-03
AI Technical Summary
The existing database operation and maintenance management methods are insufficient, resulting in the inability to detect problems in time, affecting the stability and efficiency of the database.
By building the GaussDB database platform, we perform statistical analysis of information dimensions, create inspection task lists, perform inspection tasks, perform abnormal diagnosis and generate repair suggestions, perform session killing, perform database auditing and full-link analysis based on full SQL, and limit SQL Query frequency and number of concurrencies.
It can quickly locate problems and provide repair suggestions, reducing the loss of database performance caused by full SQL, improving the stability and response speed of the database, and preventing system overload.
Smart Images

Figure CN118585362A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a database intelligent management method, device, equipment and storage medium. Background Art
[0002] Databases have gradually become cloud-based, with more and more database types and data volumes, and the demand for cloud-based database services is also increasing. As database services become more and more variable, the requirements for database stability are also greatly increased. The stability of databases is under great test, and there is an urgent need to quickly locate SQL-level and system-level problems. Accurate problem location requires operation and maintenance management methods. Operation and maintenance management methods can be used to implement multi-indicator correlation analysis and cluster fault diagnosis technology, thereby enabling timely detection and elimination of faults.
[0003] Currently, most databases have insufficient operation and maintenance management methods, which results in the inability to detect problems in a timely manner. The stability and efficiency of the database need to be improved. Summary of the invention
[0004] In view of the deficiencies in the prior art, an object of the present invention is to provide a database intelligent management method, device, equipment and storage medium, which can solve the problems described in the background technology.
[0005] The technical solution to achieve the purpose of the present invention is: a database intelligent management method, comprising the following steps:
[0006] Step 1: Build a GaussDB database platform, perform statistical analysis on various information dimensions within the GaussDB database platform, and obtain statistical results on various information dimensions of the GaussDB database platform;
[0007] Step 2: Create an inspection task list based on the statistical results of the information dimension. The inspection task list includes several inspection tasks. The GaussDB database platform scans and starts the inspection tasks to be inspected, so as to issue and execute the inspection tasks according to the preset time and cycle.
[0008] Step 3: After completing the inspection task, perform abnormal diagnosis and generate repair suggestions based on the abnormal causes found;
[0009] Step 4: After abnormal diagnosis, perform session killing;
[0010] Step 5: Perform database audit based on full SQL;
[0011] Step 6: Trace the source of the business based on full-link analysis;
[0012] Step 7: SQL throttling limits the frequency / concurrency of database query or transaction operations.
[0013] Furthermore, in step 1, the information dimension includes one or more of system resource status, database instance information, health status, abnormal alarm, and performance indicator.
[0014] Furthermore, inspection tasks include system resources, case status, database resources, database performance and diagnostic optimization. System resources include CPU usage, system disk occupancy, memory usage, disk IO usage and network status. Instance status includes component abnormalities. Database resources include database directory occupancy, database log directory occupancy and database size. Database performance includes Buffer hit rate, user login and logout times, active Session rate, log abnormality check, thread pool occupancy, database latency, database transaction, database temporary file size, database execution statement, database deadlock, database TPS performance, database TopQuery, long transaction, xlog accumulation, and oldestXmin has not been advanced for a long time. Diagnostic optimization includes Coredump, dynamic memory, program memory, other memory, and GUC parameters.
[0015] Furthermore, the database audit based on full SQL includes a full SQL shared memory solution, including support for dynamic opening of full SQL and shared memory, full SQL can be dynamically opened through the management and control Agent and GUC parameter settings to achieve full SQL opening or closing, GUC parameters control KPIMemMeta information, KPIMemMeta information refers to configuration information cached in memory,
[0016] The interaction between management and control and the database kernel is implemented through SharedMemory. The management and control collection service directly obtains the full SQL data from the memory and reports it to the external storage.
[0017] After enabling full SQL, the full SQL list displays SQL flow information, including SQL style, SQLID, unique SQLID, transaction ID, TraceID, as well as database information and execution time.
[0018] SQLID and unique SQLID are used as SQL identifiers. The former is the ID of the SQL template, and the latter is the ID of the SQL details.
[0019] The transaction ID is used to identify and track SQL statements of the same transaction and aggregate analysis of user transactions;
[0020] The link ID is used to implement full-link tracking. By setting the TraceID of the business SQL, and then tracing the execution record of the server SQL through the TraceID, end-to-end SQL text analysis is completed.
[0021] A database intelligent management device, applied to the GaussDB database platform, comprising:
[0022] Storage module, used to store various information dimensions of the GaussDB database platform;
[0023] The statistical analysis module is used to perform statistical analysis on various information dimensions in the GaussDB database platform, obtain statistical results on various information dimensions of the GaussDB database platform, and send the statistical results to the storage module for storage;
[0024] The inspection task creation module is used to create an inspection task list based on the statistical results of the information dimension. The inspection task list includes several inspection tasks.
[0025] Inspection and diagnosis module, used to scan and start inspection tasks to be inspected, so as to issue and execute inspection tasks according to preset time and cycle. After completing the inspection tasks, abnormality diagnosis is performed, and repair suggestions are generated based on the abnormal causes found.
[0026] Session killing module, used for session killing;
[0027] Audit module, used to perform database audit based on full SQL;
[0028] Tracking module, used to track the source of business based on full-link analysis;
[0029] The current limiting module is used to limit the frequency / concurrency of SQL query or transaction operations on the database.
[0030] An electronic device for intelligent database management comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for intelligent database management is implemented.
[0031] A non-transitory computer-readable storage medium stores a computer program, which implements the database intelligent management method when executed by a processor.
[0032] Beneficial effects of the present invention: The present invention can quickly locate problems and give repair suggestions based on the causes of the problems, including full SQL, which can effectively help businesses conduct database audits and quickly troubleshoot performance problems. Through in-memory recording, collection, and streaming dump solutions, the performance loss of full SQL to the database is minimized, and full SQL analysis insights and full-link analysis are achieved based on the intelligent operation and maintenance platform. By issuing current limiting rules, the current limiting task library is saved. The SQL current limiting template rules are cached in memory, and the SQL is quickly matched according to the rules to detect the current limiting rules. After a successful match, the current limiting will take effect according to the set rules, thereby limiting the number of concurrent queries, reducing database responsibilities, improving performance and response speed, preventing a large number of instantaneous database requests from causing system overloads, and ensuring database stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0034] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments:
[0035] like Figure 1 As shown, a database intelligent management method includes the following steps:
[0036] Step 1: Build a GaussDB database platform with integrated management, control, and operation and maintenance, and conduct statistical analysis on information dimensions such as system resource status, database instance information, health status, abnormal alarms, performance indicators, etc. within the GaussDB database platform to obtain statistical results on various information dimensions of the GaussDB database platform.
[0037] Statistical analysis includes risk assessment of trends in information dimensions to avoid potential problems that are difficult to detect.
[0038] Step 2: Create an inspection task list based on the statistical results of the information dimension. The inspection task list includes several inspection tasks. The GaussDB database platform scans and starts the inspection tasks to be issued and executed according to the preset time and period. The preset time can be an advance or temporary specified time.
[0039] The GaussDB database platform supports the delivery of inspection tasks such as immediate delivery, later delivery, and periodic delivery. It also supports preset quick inspection scenarios and provides custom inspection settings. You can create a template on the GaussDB database platform, batch create inspection tasks to form an inspection task list, and quickly configure multi-instance inspection tasks.
[0040] After creating an inspection task, the GaussDB database platform will scan and start the inspection tasks to be inspected, and send the inspection tasks at the specified time and period. Through regular inspections, potential problems, errors or anomalies can be discovered early, helping users take timely measures to solve them.
[0041] In an optional embodiment, in this step, it also includes:
[0042] By regularly collecting and reporting database instance information, an inspection report is generated. Multiple inspection reports form an inspection report list. The inspection report supports query methods such as conditions and time spans, thereby displaying the inspection task progress, task execution status, and statistical results of each inspection item.
[0043] Among them, the inspection tasks include system resources, case status, database resources, database performance and diagnostic optimization. System resources include CPU usage, system disk occupancy, memory usage, disk IO usage and network status. Instance status includes component anomalies. Database resources include database directory occupancy, database log directory occupancy and database size. Database performance includes Buffer hit rate, user login and logout times, active session rate, log anomaly check, thread pool occupancy, database latency, database transaction, database temporary file size, database execution statement, database deadlock, database TPS performance, database TopQuery, long transaction, xlog accumulation, and oldestXmin has not been advanced for a long time. Diagnostic optimization includes Coredump, dynamic memory, program memory, other memory, and GUC parameters.
[0044] Step 3: After completing the inspection task, perform abnormal diagnosis to promptly discover abnormalities in the GaussDB database platform, quickly locate the abnormalities and find out the causes of the abnormalities, and provide repair suggestions based on the causes of the abnormalities.
[0045] Abnormal diagnosis can promptly detect abnormalities in the GaussDB database platform, quickly locate the cause and provide repair suggestions, thereby improving the efficiency of database operation and maintenance. The GaussDB database platform uses AI diagnostic models to detect abnormal behavior and diagnose the root cause, and combines a large amount of existing network experience to perform correlation analysis, helping operation and maintenance personnel to quickly locate problems and reduce their workload.
[0046] The GaussDB database platform performs diagnosis based on the decision tree model trained by AI. It also supports the traditional Logical model, and can flexibly select one of the models for diagnosis. The diagnostic conclusion is accurate:
[0047] Logical model: draws conclusions based on traditional logical judgment, which is more objective;
[0048] Tree model: The conclusion is drawn based on the decision tree, which is more divergent.
[0049] GaussDB database platform indicator anomaly diagnosis is based on detectors to discover abnormal behaviors and provides two core capabilities:
[0050] Diagnostic function: supports diagnosis of multiple abnormal indicators, root cause analysis and provides suggestions;
[0051] Correlation analysis: Combined with a large amount of existing network experience and the abnormal correlation algorithm, the top 10 correlation indicators are output.
[0052] It also supports instance anomaly diagnosis, including CN and DN component anomaly diagnosis. Algorithms are used to increase the explainability of detected anomalies, so that operation and maintenance personnel can quickly understand the root cause of the problem when an anomaly occurs, quickly stop the bleeding, and reduce the impact of the fault. The instance diagnosis results within a period of time are displayed in the form of time series points, which are clear at a glance and can quickly find the time point when the anomaly is triggered.
[0053] It also supports indicator anomaly diagnosis, including support for custom detectors. Based on the key monitoring indicators of the database, it can detect anomalies such as CPU spikes and network glitches in a timely manner through intelligent detection modules and system operation status, and further support system diagnosis of slow, full, and ramming problems.
[0054] Step 4: After abnormal diagnosis, perform session killing to ensure the normal operation of the database. When a session runs for a long time or occupies too many resources, it may cause database performance to degrade or even crash. Session killing can release these resources in time.
[0055] When multiple sessions request the same resource at the same time, a deadlock may occur. Session killing can terminate one of the sessions to resolve the deadlock problem.
[0056] Session killing helps to regularly check and terminate sessions to free up resources, improve database performance, and enhance system security. The GaussDB database platform uses a security screening mechanism to ensure that users can focus on their own business sessions when using session killing, without accidentally operating system-level sessions that affect the normal operation of the system. It promptly terminates user abuse of database permissions to ensure database security.
[0057] The real-time session list collects the session list information of the view: blocking session, waiting time, and execution time to display the current session list. At the same time, it supports two killing methods: two specified session killing and all idle session killing.
[0058] Specified session killing: terminate the session selected by the user, support batch killing
[0059] Kill all idle sessions: Terminate all sessions without active queries or transaction operations under the current node-component.
[0060] Step 5: Perform database audit based on the full SQL to quickly troubleshoot performance issues.
[0061] Full SQL can effectively help businesses conduct database audits and quickly troubleshoot performance issues. The GaussDB database platform minimizes the performance loss of full SQL to the database through in-memory recording, collection, and streaming dump solutions, and implements full SQL analysis insights and full-link analysis based on the intelligent operation and maintenance system.
[0062] At present, the mainstream full SQL solution is implemented by capturing packets and reading logs. This type of solution usually affects the performance of the database by more than 30%. It does not contain SQL execution information and can only be used for auditing. It is usually not opened in the production environment. If the SQL performance is not good, it can only be analyzed through slow SQL or on the execution plan. In the actual production process, there are often no problems with the SQL execution plan and the execution alone. The scene cannot be caught and the point of occurrence of the problem cannot be found. The full SQL insight can help us solve this kind of problem. The full SQL implementation of the GaussDB database platform is based on the database kernel FullSQL pure memory solution design. Data collection is decoupled and interacted through the memory buffer space, and it is not written to the disk and does not rely on disk IO. The impact on the peak performance of the database does not exceed 5%, and there is almost no impact on the actual production business. The full SQL data is uploaded to NAS, OBS and other storage devices in time through the Append method. It can be saved for a long enough time according to the time set by the user, and the storage cost is low. When it is necessary to analyze and view the full SQL data, the GaussDB database platform will download and parse it from the NAS and OBS devices according to the user-specified time to the intelligent operation and maintenance platform, and the full SQL records and details of the time period can be viewed on the front end.
[0063] Among them, the full SQL shared memory solution includes support for dynamic activation of full SQL and shared memory. Full SQL can be dynamically activated through the management and control Agent and GUC parameter settings to achieve full SQL on or off. GUC parameters control KPIMemMeta information, which is a configuration information cached in memory. By modifying this configuration information, the full SQL switch parameters can be updated and take effect dynamically.
[0064] The interaction between management and control and the database kernel is implemented through SharedMemory. The management and control collection service directly obtains the full SQL data from the memory and reports it to the external storage.
[0065] In the future, the database kernel will virtualize the full SQL stored in the shared memory buffer into a SQL queryable view, so that users can obtain the full SQL in more forms.
[0066] After enabling full SQL, the full SQL list will display SQL flow information, including SQL style, SQLID, unique SQLID, transaction ID, TraceID, as well as database information and execution time. The default enabled level is full SQL, in which the SQL text is templated SQL without specific parameter data, which is equivalent to desensitized information.
[0067] SQLID and unique SQLID are used as SQL identifiers. The former is the ID of the SQL template, and the latter is the ID of the SQL details.
[0068] The transaction ID is used to identify and track SQL statements of the same transaction and aggregate analysis of user transactions;
[0069] The link ID (TraceID) can achieve full-link tracking. The client can set the TraceID of the business SQL, and then use the TraceID to track the execution record of the server SQL to complete end-to-end SQL text analysis;
[0070] The full SQL record contains a lot of information. In addition to the key information mentioned above, you can open the details link behind each record to open the nature information of the SQL. This information is consistent with the information recorded in the statement_history view, including resource information, execution information, lock and blocking information, client request information, etc. The meaning and purpose of each field can be checked in the product documentation of the database.
[0071] Step 6: Trace the source of the business based on full-link analysis. Query the database SQLID through business SQL keywords or client traceID and other conditions, and trace the parsing process and execution time of the SQL in the database cluster to trace the source of the business.
[0072] When a business encounters SQL performance issues, the most effective way is to check the slow SQL. However, in many cases, the problematic SQL is not slow SQL, such as abnormal jitter in SQL latency. At this time, the operation and maintenance personnel begin to analyze from the client and database server. Generally, it takes a long time to locate the problem, especially for GaussDB distributed clusters. The links requested by customers become extremely complex. Is there a problem with a certain CN or a certain DN? Operation and maintenance personnel often cannot quickly sort out the key request links, and cannot quickly demarcate and locate the problem.
[0073] The GaussDB database platform queries the database SQLID through business SQL keywords or client traceID and other conditions, and tracks the parsing process and execution time of the SQL in the database cluster, and then traces the source of the business.
[0074] The traceID can be set from the application side. The application and database are globally unique. The traceID will be associated with all business SQL statements, as well as the forwarding and aggregation of each SQL in the cluster, and the entire link will be tracked and analyzed at the business granularity.
[0075] Full-link analysis is achieved based on the opening of full SQL collection. The information of a single SQL statement can be analyzed based on multiple dimensions to determine the execution time.
[0076] For full-link analysis, you need to understand the SQL execution list and parent-child relationships on the SQL link to understand the SQL link map. The SQL link relationship within the centralized cluster is relatively simple, and only focuses on the execution link within the database. Distributed scenarios need to pay attention to the CN node distribution and aggregation scenarios, the association and changes of sub-SQL data information, and connecting these relationships in series to form the SQL link within the cluster.
[0077] If a single SQL statement of a transaction is executed on two DN shards, a new sub-transaction ID will be generated on the sub-DN. When performing transaction analysis, it is necessary to perceive the scenario of transaction changes. If there are multiple sub-SQL statements in a transaction, each sub-SQL will also generate a new transaction ID on multiple DNs. The transaction IDs of the sub-SQL statements on the same DN must be consistent.
[0078] Step 7: SQL throttling limits the frequency / concurrency of database queries and transaction operations to avoid excessive load and improve system performance and reliability.
[0079] SQL flow limiting limits the frequency / concurrency of database queries and transaction operations to avoid excessive load and improve system performance and reliability. The GaussDB database platform minimizes the performance loss of SQL flow limiting to the database through memory cache rules, priority sorting, and fast matching rules. Based on this, it provides SQL flow limiting and autonomous flow limiting to improve system performance.
[0080] By creating an SQL flow-limiting task, users can independently set SQL type, maximum number of concurrent requests, flow-limiting time, SQL keywords and other conditions to control the database request access volume and SQL concurrency, thereby achieving service availability.
[0081] The GaussDB database platform issues current limiting rules and saves the current limiting task library. The SQL current limiting template rules are cached in the memory, and the SQL is quickly matched according to the rules to detect the current limiting rules. After a successful match, the current limiting will take effect according to the set rules, thereby limiting the number of concurrent queries, reducing database load, improving performance and response speed, preventing instantaneous large numbers of database requests from causing system overload, and ensuring database stability.
[0082] In addition, execution plan binding can bind queries to excellent execution plans to avoid business performance jitter caused by different execution plans. The GaussDB database platform uses the SQL plan management function to bind the execution plan to the specified SQLID to solve the problem of execution plan jumps. It can also obtain better performance by binding a better execution plan. The GaussDB database platform implements a second-level plan cache mechanism based on the general plan to achieve rapid plan replacement.
[0083] After the GaussDB database platform generates the execution plan for the current SQL through the optimizer, the plan capture will generate an Outline and save it persistently. The front end will describe the execution plan outline based on the number of sequential disk accesses * sequential disk access cost + number of random disk accesses * random disk access cost + number of CPU calculations * CPU calculation cost, including query method, index usage, connection method, etc., to assist users in planning and selecting execution plans. After binding the execution plan, the execution plan jump problem is solved to avoid performance jitter problems.
[0084] The GaussDB database platform sorts and recommends by time or cost, and displays the execution plan outline. The GaussDB database platform supports binding and unbinding execution plans.
[0085] The present invention is able to quickly locate problems and give repair suggestions based on the causes of the problems through the above steps, including that full SQL can effectively help businesses perform database audits and quickly troubleshoot performance problems. Through in-memory recording, collection, and streaming dump solutions, the performance loss of full SQL to the database is minimized, and full SQL analysis insights and full-link analysis are achieved based on the intelligent operation and maintenance platform. By issuing current limiting rules, the current limiting task library is saved. The SQL current limiting template rules are cached in memory, and the SQL is quickly matched according to the rules to detect the current limiting rules. After a successful match, the current limiting will take effect according to the set rules, thereby limiting the number of concurrent queries, reducing database responsibilities, improving performance and response speed, and preventing a large number of instantaneous database requests from causing system overloads, thereby ensuring database stability.
[0086] The present invention also provides a database intelligent management device, which is applied to the GaussDB database platform and includes:
[0087] Storage module, used to store various information dimensions of the GaussDB database platform;
[0088] The statistical analysis module is used to perform statistical analysis on various information dimensions in the GaussDB database platform, obtain statistical results on various information dimensions of the GaussDB database platform, and send the statistical results to the storage module for storage;
[0089] The inspection task creation module is used to create an inspection task list based on the statistical results of the information dimension. The inspection task list includes several inspection tasks.
[0090] Inspection and diagnosis module, used to scan and start inspection tasks to be inspected, so as to issue and execute inspection tasks according to preset time and cycle. After completing the inspection tasks, abnormality diagnosis is performed, and repair suggestions are generated based on the abnormal causes found.
[0091] Session killing module, used for session killing;
[0092] Audit module, used to perform database audit based on full SQL;
[0093] Tracking module, used to track the source of business based on full-link analysis;
[0094] The current limiting module is used to limit the frequency / concurrency of SQL query or transaction operations on the database.
[0095] The present invention also provides an electronic device for intelligent database management, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the intelligent database management method when executing the program.
[0096] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the database intelligent management method when executed by a processor.
[0097] The embodiment disclosed in this specification is only an example of a unilateral feature of the present invention, and the protection scope of the present invention is not limited to this embodiment, and any other functionally equivalent embodiments fall within the protection scope of the present invention. For those skilled in the art, various other corresponding changes and deformations can be made according to the technical solutions and concepts described above, and all of these changes and deformations should fall within the protection scope of the claims of the present invention.
Claims
1. A database intelligent management method, characterized in that: The following steps are involved: Step 1: Build a GaussDB database platform, perform statistical analysis on various information dimensions within the GaussDB database platform, and obtain statistical results on various information dimensions of the GaussDB database platform; Step 2: Create an inspection task list based on the statistical results of the information dimension. The inspection task list includes several inspection tasks. The GaussDB database platform scans and starts the inspection tasks to be inspected, so as to issue and execute the inspection tasks according to the preset time and cycle. Step 3: After completing the inspection task, perform abnormal diagnosis and generate repair suggestions based on the abnormal causes found; Step 4: After abnormal diagnosis, perform session killing; Step 5: Perform database audit based on full SQL; Step 6: Trace the source of the business based on full-link analysis; Step 7: SQL throttling limits the frequency / concurrency of database query or transaction operations.
2. The database intelligent management method according to claim 1, characterized in that: In step 1, the information dimension includes one or more of system resource status, database instance information, health status, abnormal alarm, and performance indicator.
3. The database intelligent management method according to claim 1, characterized in that: Inspection tasks include system resources, case status, database resources, database performance and diagnostic optimization. System resources include CPU usage, system disk occupancy, memory usage, disk IO usage and network status. Instance status includes component abnormalities. Database resources include database directory occupancy, database log directory occupancy and database size. Database performance includes Buffer hit rate, user login and logout times, active Session rate, log abnormality check, thread pool occupancy, database latency, database transaction, database temporary file size, database execution statement, database deadlock, database TPS performance, database TopQuery, long transaction, xlog accumulation, and oldestXmin has not been promoted for a long time. Diagnostic optimization includes Coredump, dynamic memory, program memory, other memory, and GUC parameters.
4. The database intelligent management method according to claim 1, characterized in that: The database audit based on full SQL includes a full SQL shared memory solution, including support for dynamic opening of full SQL and shared memory. Full SQL can be dynamically opened through the management and control Agent and GUC parameter settings to achieve full SQL opening or closing. GUC parameters control KPIMemMeta information. KPIMemMeta information refers to the configuration information cached in memory. The interaction between management and control and the database kernel is implemented through SharedMemory. The management and control collection service directly obtains the full SQL data from the memory and reports it to the external storage. After enabling full SQL, the full SQL list displays SQL flow information, including SQL style, SQLID, unique SQLID, transaction ID, TraceID, as well as database information and execution time. SQLID and unique SQLID are used as SQL identifiers. The former is the ID of the SQL template, and the latter is the ID of the SQL details. The transaction ID is used to identify and track SQL statements of the same transaction and aggregate analysis of user transactions; The link ID is used to implement full-link tracking. By setting the TraceID of the business SQL, and then tracing the execution record of the server SQL through the TraceID, end-to-end SQL text analysis is completed.
5. A database intelligent management device, characterized in that: Applied to GaussDB database platform, it includes: Storage module, used to store various information dimensions of the GaussDB database platform; The statistical analysis module is used to perform statistical analysis on various information dimensions in the GaussDB database platform, obtain statistical results on various information dimensions of the GaussDB database platform, and send the statistical results to the storage module for storage; The inspection task creation module is used to create an inspection task list based on the statistical results of the information dimension. The inspection task list includes several inspection tasks. Inspection and diagnosis module, used to scan and start inspection tasks to be inspected, so as to issue and execute inspection tasks according to preset time and cycle. After completing the inspection tasks, abnormality diagnosis is performed, and repair suggestions are generated based on the abnormal causes found. Session killing module, used for session killing; Audit module, used to perform database audit based on full SQL; Tracking module, used to track the source of business based on full-link analysis; The current limiting module is used to limit the frequency / concurrency of SQL query or transaction operations on the database.
6. An electronic device for intelligent database management, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the database intelligent management method as described in any one of claims 1 to 4 is implemented.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the database intelligent management method according to any one of claims 1 to 4 is implemented.
Citation Information
Cited By
Full-link tracking method and system based on APM
CN119226118A
SQL query method and device, electronic equipment and storage medium
CN119293069A
SQL (Structured Query Language) statement management method and system and related product
CN119357218A
Intelligent inspection method and device for database
CN119806992A
Data processing method and device
CN122817242A
