Abstract

An important subject in optimizing queries at N relations join is the huge cost time. In web-based systems, the most important problem is obtaining answer at a minimum time. At the rank aware queries, suppliant does not need all possible answers rather having top K answers is enough. Although obtaining top K answers is time consuming in huge databases, in this paper we introduce a new concept at obtaining suitable K answers for rank aware queries. These suitable k answers are not top K answers necessarily, but they are much close to those answers. The operation is obtaining M (primal population) with length-N from the value of K that is determined in the query, N relations that are used in the query and by using genetic algorithm (GA). Then we apply GA on this primal set and repeat this algorithm until the average of different ranking value between sets elements in two sequential steps becomes less than a threshold level. So we can answer N relations join queries for obtaining suitable top K answers efficiently. We implement the proposed method and from the results obtained it was concluded that the query process time is reduced from 35 - 55% compared to traditional methods. Also, in the proposed method, by comparing the obtained suitable k answers with top K answers in traditional methods, they coincided approximately to 80%. Key words: Relations join, query optimization, relational database, rank aware query, top K, suitable K, genetic algorithm.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.