Increasing Database Performance through Optimizing Structure Query Language Join Statement
Ossama K. Muslih & Imad Hasan Saleh
Journal of Computer Science, Volume 6, Issue 5, pp. 585–590 · doi.org/10.3844/jcssp.2010.585.590
Abstract
Problem statement: A join statement is a select statement with more than table in the FROM clause. A join predicate is a predicate in the WHERE clause that combines the columns of two of the tables in the join. Any database gives you the ability to join various tables together through different types of joins, resulting large number of rows to process. Query language can be used to join these tables and as it is well known query language should be declarative, so we can write alternative formulas to perform join statements. Different formulas provide variation in performance. Approach: This research presented a transparent middle layer between application interface front end and database back end. Results: The responsibilities of this layer were catching the SQL commands sent by application before reaching the database then examining these commands to see if they join more than one table, after that rewriting the SQL command taking into consideration the order of executing join predicates and none join predicates. This research focused on rewriting the SQL commands without application modification. Conclusion: Rewriting stage is the most complex stage because the system will restructure the SQL command with new syntax taking two things in its consideration, the first one was rewriting the command with better performance syntax after getting the help from recommendation dictionary, the second one was resulting the same data (output) as previous old command.
Licence and reuse
Free to read. This article carries the publisher’s copyright, as printed on it: © 2010 Science Publications. It is free to read; ask us before reusing it.
How to reuse this articleResponses (0)
About this article
Muslih, O. K. & Saleh, I. H. (2010). Increasing Database Performance through Optimizing Structure Query Language Join Statement. Journal of Computer Science, 6(5), 585–590. https://doi.org/10.3844/jcssp.2010.585.590
- Licence
- © Science Publications
- Issue
- Volume 6, Issue 5
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
