Font Size: a A A

Research On SQL Statement Optimization Rules Based On Relational Database

Posted on:2020-02-17Degree:MasterType:Thesis
Country:ChinaCandidate:C P GongFull Text:PDF
GTID:2428330590454523Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Since the database has become the most commonly used data management method,it has gradually developed and improved in the direction of increasingly complex data structures,increasing data volume,and increasingly widespread applications.The tight integration of database and application software has made users' demand for database performance gradually higher,especially in the database system of mass storage.In addition to the limitations of software and hardware conditions,the execution efficiency of query statements in the database is also a key factor affecting its performance.The execution of SQL statements consumes most of the database resources,including CPU consumption,memory consumption,physical block read consumption,etc.Therefore,it is necessary to optimize and adjust the SQL statement,which is of great significance for improving database performance.This paper analyzes the execution process and query mechanism of SQL statements in Oracle database,and studies the processing methods,execution paths and factors affecting the execution plan of SQL statements in Oracle database,and serves as the theoretical source for the formulation and validation of SQL statement optimization rules.At the same time,combined with the goal of optimizing the SQL statement,the specific optimization rules are obtained.The content of the optimization rules includes the existing optimization rules,the newly proposed optimization rules in the research and the optimization rules in the common understanding,and the optimized SQL statement samples are performed.Analyze statistics and summarize the reasons for the rule to be effective or invalid.The research also includes the Oracle database to store the statistical information of the SQL statement parsing and execution,find the SQL statements that are parsed and executed in the system,and diagnose and check the performance of the execution statement and propose optimization suggestions.The main research results and innovations of this paper are to obtain the optimization rules of Oracle database,and design an optimization scheme to judge the effectiveness of optimization rules by calling Oracle system commands,and realize a support tool to obtain inefficient in Oracle database.The SQL statement finally automatically diagnoses the performance of the executed SQL statement and gives optimization suggestions.
Keywords/Search Tags:Oracle database running performance, SQL statement execution plan, SQL optimization rules
PDF Full Text Request
Related items