Luận án Một số phương pháp xử lý truy vấn mới trên cơ sở dữ liệu hướng đối tượng mờ
Trang 1
Trang 2
Trang 3
Trang 4
Trang 5
Trang 6
Trang 7
Trang 8
Trang 9
Trang 10
Tải về để xem bản đầy đủ
Bạn đang xem 10 trang mẫu của tài liệu "Luận án Một số phương pháp xử lý truy vấn mới trên cơ sở dữ liệu hướng đối tượng mờ", để tải tài liệu gốc về máy hãy click vào nút Download ở trên.
Tóm tắt nội dung tài liệu: Luận án Một số phương pháp xử lý truy vấn mới trên cơ sở dữ liệu hướng đối tượng mờ
nd Fuzzy object Algebra. Definition. If E is an fuzzy object algebraic expression and Q fuzzy query object is FOQL together define a sets fuzzy object , we say Q represent E and the opposite, ZHFDOO(HTXLYDOHQWWR46\PERO(Đ4 Equal representation between the query language and algebra FOQL fuzzy object is expressed through two theorems 1 and 2 as follows: Theorems 1. Every algebraic expressions are fuzzy object represented by the object query in FOQL. Theorems 2. Every Fuzzy object in FOQL queries are represented by algebraic expressions fuzzy object Thus, the rewrite a given query into algebraic expressions with algebraic set objects are equivalent. The algebraic expressions can be estimated with different abatement costs. So theoretically we wanted to find an algebraic expression equivalent to a query so that it can achieve a plan for more effective enforcement. However, in the solution installed, because the number of queries equivalent too large, that we only need a subset of this query. Therefore, in order to find other similar queries, we will need a set of rules to transform the equivalent algebraic expressions. However, the model fuzzy object oriented data does not have a standard fuzzy algebraic objects applicable to all models of fuzzy object-oriented, so the expectation to have a normal training include modified protection laws Full equivalent does not exist. So, we wanted to prove that the transformation preserved on a basis equivalent algebraic fuzzy objects that may be acceptable In order to translate a FOQL query into Fuzzy Object Algebra, query processor translates each SELECT clause to Project (࣊), FROM clause to objects name(s) or their Cartesian, and WHERE clause to Select (࣌). 7KHTXHU\PHQWLRQHGHDUOLHUWR³UHWXUQWKHQDPHVRI<RXQJ6DOHVSHUVRQVZKR earned Age ' very old´FDQEHZULWWHQLQ)X]]\2EMHFW$OJHEUDDVIROORZV ࣊ࡺࢇࢋ ൬ ࣌୪ୢୗୟ୪ୣୱୣ୰ୱ୭୬ୱǤࢌࢊୀௌ௦௦௦Ǥࢌࢊٿ ୪ୢୗୟ୪ୣୱୣ୰ୱ୭୬ୱǤࢍࢋୀᇲ࢜ࢋ࢘࢟ࢊᇲ ሺ ൈ ݈ܵܽ݁ݏܲ݁ݎݏ݊ݏሻ ൰ However, query optimizer produces other equivalent alternative execution plans implemented in it so that a better plan in terms of execution time and resources may be found. 4.2.5 $OJHEUDLF2SWLPL]DWLRQ We previously identified the components of an algebraic optimizer. In this section, we discuss each of these components in some detail. 4.2.5.1 6HDUFK6SDFHDQG7UDQVIRUPDWLRQ5XOHV A major advantage of algebraic optimization is that an algebraic query expression can be transformed using well defined algebraic properties such as transitivity, commutatively and distributive. Therefore, each query has a (potentially large) number of equivalent expressions, which make up the search space. These expressions are equivalent in terms of the results that they generate, but may be widely different in terms of their costs. Thus, the query optimizers modify the query expressions, by means of algebraic transformation rules, in an attempt to obtain one which generates the same result with the lowest possible cost. The transformation rules are very much dependent upon the specific object algebra, since they are defined individually for each object algebra and for their combinations. The lack of a standard object algebra definition is particularly troubling since the community cannot benefit from generalizations of numerous object algebra studies. The general considerations for the definition of transformation are rules and the manipulation of query expressions is quite similar to relational systems, with one particularly important difference. Relational query expressions are defined on flat relations, whereas object queries are defined on classes (or collections or sets of objects) that have inheritance relationships among them. It is, therefore, possible to use the semantics of these relationships in object- oriented query optimizers to achieve some additional transformations. 4.2.5.2 6HDUFK$OJRULWKP Heuristics such as performing selections and projections before joins (to reduce the sizes of the join operands) do not change the combinatorial nature of the problem. Therefore, the value of N and the threshold beyond which combinatorial nature of the problem makes enumerative solutions infeasible becomes an important issue. Heuristic: 1. The parser of a high-level query generates an initial internal representation; 2. Apply heuristics rules to optimize the internal representation. 3. A query execution plan is generated to execute groups of operations based on the access paths available on the files involved in the query. The main heuristic is to apply first the operations that reduce the size of intermediate results. E.g., Apply fuzzy SELECT and fuzzy PROJECT operations before applying the fuzzy JOIN, or other binary operations. Outline of a Heuristic Fuzzy Object Algebraic Optimization Algorithm: 1) Using rule R2, break up any select operations with conjunctive conditions into a cascade of select operations. 2) Using inheritance laws for projection (R3), the selection and allows apply (R10) combination of projection, select a projection and a selection. 3) For each selection, use the law (R4, R6, R7, R10) "pushed" to allow select components to classes or "through" connection nodes and allows creation group. 4) For each projection (objects, sets, sets), using legislation (R3, R4, R5) to projection move down as far as possible. If the projected attributes include all the attributes of the expression, we remove that projection. 5) Using the law (R8,R9, R10) on the object class, to remove duplicate elements in the object class; move allows flattened (flat), lets remove duplicates in multiple files (bagtoset) ahead of the group or connection operations. 6) Creating a sequence of steps for estimating change in an order every star team for no group is evaluated, its subgroups. 7) Identify sub trees that represent groups of operations that can be executed by a single algorithm. 4.2.6 *HQHUDWLRQRI4XHU\([HFXWLRQ3ODQV After the query processor translates given FOQL statement to Fuzzy object Algebra it forwards that expression to query optimizer which generates various executions plans representing different orders or combinations of operators. There are a number of algebraic laws implemented in query optimizer for generating equivalent (logical) query plans. However, following are the most commonly used techniques that we also consider and implement in our tool: Simple, Elimination of Cartesian product, and Push selection. A. Simple Execution plan Query processor generates an equivalent relational algebraic expression for the input query and forwards it to the query optimizer. The first algebraic expression generated by the query processor involves Cartesian product that we call simple execution plan. Example 1: return names of OldSalesPersons who earned Age 'very old In FOQL it can be represented as: SELECT OldSalesPersons FROM OldSalesPersons, SalesPersons WITH 0.5 WHERE OldSalesPersons.FIOD=SalesPersons.FOID AND OldSalesPersons. Age = àvery ROGả WITH 0.8. In Fuzzy object Algebra above FOQL statement is represented as: ࣊ࡺࢇࢋ ቆ ࣌୪ୢୗୟ୪ୣୱୣ୰ୱ୭୬ୱǤࢌࢊୀௌ௦௦௦Ǥࢌࢊר୪ୢୗୟ୪ୣୱୣ୰ୱ୭୬ୱǤࢍࢋୀᇲ௩௬ௗᇲ ሺ݈ܵܽ݁ݏܲ݁ݎݏ݊ݏ ൈ ሻ ቇ old. Such queries are written as follows. SELECT * FROM OldSalesPersons, SalesPersons WITH 0.6 :+(5($1'2OG6DOHV3HUVRQV$JH àYHU\ROGả:,7+ The second query processing the extract filter data for single-case conditions and enable a natural join. Request query processing engine return all employees age is very old. Such queries are written as follows. SELECT Name FROM OldSalesPerson as O, SalesPersons as S WITH 0.6 :+(5(2),2' 6)2,'$1'2$JH àYHU\ROGả:,7+ The third query processing the extract filter data for single-case conditions and enable a natural join. After performing the optimization algebra objects. Request query processing engine return all employees age is very old. Such queries are written as follows. SELECT Name FROM SalesPersons as S inner join OldSalesPersons as O on O.FIOD=S.FOID WI7+:+(5(2$JH àYHU\ROGả:,7+ )LJXUH4XHU\SHUIRUPDQFH From the above experiments, results achieved confirm that the performance of this method is effective. As an example, we evaluate the query according to this approach from the chart the way the query results shown in Figure 5. 4.4 6800$5< This section present a new model for optimizing the efficiency of query processing by semantic analyzing and FO algebra transforming. Specifically, we develop a heuristic fuzzy object algebraic optimization algorithm relied on equivalent transformation rules and Fuzzy-Object-Algebra transformation. Analysis on several experiments using the proposed algorithm shows better performance of query processing, which proves the efficiency enhancement of our method. 5()(5(1&(6 [1]. Truong Ngoc Chau, Nguyen Tan Thuan.: A Approach New In The Algebra Fuzzy Object, Procedings of the @ Conference, Viet Nam. 11(2013),204-209. [2]. Selee Na.: A Process of Fuzzy Query on New Fuzzy Object Oriented Data Model, In IEEE Tranon Knowledge and Data Engineering. 1(2010), 500-509. [3]. Stefano Ceri, Georg Gottlob.: Translating SQL Into Relational Algebra: Optimization, Semantics, and Equivalence of SQL Queries, Software Engineering, IEEE Transactions, vol. SE-11, issue 4, 4(1985).324 ± 345. [4]. XU Silao,HONG Mei.: Translating SQL Into Relational Algebra Tree-Using Object-Oriented Thinking to Obtain Expression Of Relational Algebra, IJEM, vol.2, no.3, (2012).53-62. [5]. Doan Van Ban, Ho Cam Ha, Vu Duc Quang.: Querying Fuzzy Object-Oriented Data Based On Fuzzy Association Algebra, Software Engineering, IEEE Transactions, vol. SE-11, issue 4, (2011).40 ± 46 [6]. 0 7DPHU g]VX -RVp $ %ODNHOH\ 4XHU\ 3URFHVVLQJ LQ 2EMHFW-Oriented Database Systems. Modern database systems. (1995).146-174. [7]. Sonia.: Fuzzy Object Oriented Database versus FRDB for Uncertainty Management, International Journal of Computer Applications (0975 ± 8887),Volume 74± No.17, (2013). [8]. Nitesh Kumar,Sumanta Nikhilesh Satpathy.: An algebraic operation in fuzzy object-oriented databases (foodbs), Journal of Global Research in Computer Science, Volume 4, No. 12, (2013). [9]. Gloria Bordogna.: A Fuzzy Object-Oriented Data Model for Managing Vague and Uncertain Information, International journal of intelligent systems, vol. 14,(1999). 623-651. [10]. Straube, D., and Ozsu, M. 1990a.: Queries and Query Processing in Object- Oriented Database Systems. ACMTransactions on Information Systems 8, 4, (Oct.), 387±430. [11]. Selee Na.: A Fuzzy Association Algebra Based on A Fuzzy Object Oriented Data Model, Software Engineering, IEEE Transactions, (1999).276-281. [12]. E.Bertino.: Optimization of Queries using Nested Indices, in Proc.EDBT, LNCS, vol.416, Springer (1990) ,44-59. [13]. P,G. Selinger, M.M. Astranhan, D.D. Chamberlin, R.A. Lorie, and T.G. Price.: Access Path Selection in a Relational Database Management System, Proc. ACM SIGMOD, Boston, MA., (1979) , 23-34. [14]. A. Swami.: Optimization of Large Jion Queries: Combining Huristics and Combinatorial Techiques, Proc. ACM SIGMOD, p.367, Porland, OR, (1989). [15]. A. Swami and A. Gupta.: Optimization of Large Jion Queries, Proc. ACM SIGMOD,pp.8-17,Chicago, IL., (1988). [16]. L. A. Zadeh.: Fuzzy Sets As A Basis For A Theory Of Possibility, Fuzzy Sets and Systems, 1 (1): 3-28, (1978). [17]. Marin, N., Vila, M.A. & Pons, O. Fuzzy type: A New Concept Of Type For Managing Vague Structure. International Journal of Intelligent systems, 15, (2000) , 1061-1085. [18]. Laxman Sahoo & Shukla Praveen.: Fuzzy Techniques In Object Based Modeling. International Journal on Information Science and computing, Vol.2, No.1, PP. 9397, 2008. [19]. Ma, Z.M, Zhang, W.J.: Extending Object oriented Databases for Fuzzy Information modeling. Information Systems, 29(5), (2004), 421-435. [20]. G.De. Tre.: Ann Algebra for Querying a Constraint Defined Fuzzy and Uncertain Object-oriented Database Model, IEEE Transactions, (2001) , 2138- 2143. [21]. Selee Na, and Seog Park.: A Process of Fuzzy Query on New Fuzzy Object Oriented Data Model, Databases and Expert Systems Applications Lecture Notes in Computer Science, Vol.134, (1998), 500-509. [22]. Gloria Bordogna, Dario Lucarella, Gabriella Pasi, "A Fuzzy Object Oriented Data Model", In Proc. of Third IEEE Int. Conf. on Fuzzy Systems, 3 13-3 18, 1994. [23]. K.Tanaka, S.Kobayashi, TSakanoue : Uncertainty Management in Object- Oriented Database Systems, In Proc. [24]. Didier Dubois, Henri Prade, Jean-Paul Rossazza.: Vagueness, Typicality, and Uncertainty in Class Hierachies, Int. J. ofhtelligent Systems, 6, 167-183, 1991. [25]. Yoshikane Takahashi.: Fuzzy database query languages and their relational completeness theorem, In IEEE Tran.on Knowledge and Data Engineering, 5,1,122-125, 1993. [26]. Umano M.: Retrieval from fuzzy database by fuzzy relational algebra, In Proc. of IFAC Symposium on Fuzzy Information, Knowledge Representation and Decision Analysis, Marseill, France, 1-6, 1983. [27]. Doheon Lee, Myoung Ho Kim, Hyung Lee-Kwang, Yoon- Joon Lee.:A fuzzyfication of the relational data model, In Proc. [28]. M.Carey, D.Dewitt, S.Vandenberg.: A data model and query language for EXODUX, In Proc. ACM SIGMODE Int. Conf on Management of Data, pp.413- 423, 1988. [29]. S.L.Vandenberg, D.Dewitt.: Algebraic support for complex object with array, identity, and inheritance, In Proc. ACM SIGMODE Int. Conf. on Management of Data, 158-167, 199 1. [30]. S.Cluet, C.Delobe1.: A general framework for the optimization of Object- Oriented queries, In Proc. ACM SIGMOD Int. Conf. on Managemeet of Data, 383-392, 1992. [31]. C.Lecluse, P.Richard, F.Velez.: Object-Oriented data model, ACM-SIGMODE Conf 1988,425-433. [32]. Stanley Y.W.Su, Mingsen Guo, Herman Lam.: Association Algebra A Mathematical Foundation for Object- oriented Databases, IEEE Tran. on Knowledge and Data Engineering, 5, 5,775-798, 1993. [33]. S.Y.W.Su, V.Krishnamurthy, H.Lam.: An Object- Oriented semantic association model (OsAM*), AI in Industrial Engineering and Manufacturing: Theoretical Issues and Applications, S.Kumara, ALSoyster, and R.L.Kashyap, Eds. American Institute of Industrial Engineering, 1989. [34]. GShaw, S.Zdonic.: A object algebra for Object-Oriented databases, In Proc. 6th Int. Conf. on Data Engineering, 154-162, 1990. [35]. Marin, N., Vila, M.A. & Pons, O. Fuzzy type: A new concept of type for managing vague structure. International Journal of Intelligent systems, 15, PP. 10611085, 2000. [36]. Laxman Sahoo & Shukla Praveen.: Fuzzy Techniques in object based modeling, International Journal on Information Science and computing, Vol.2, No.1, PP. 9397, 2008. [37]. Ma, Z.M, Zhang, W.J.: Extending Object oriented Databases for Fuzzy Information modeling. Information Systems, 29(5), PP. 421-435, 2004. [38]. Vladarean Cristina.: Extending Object oriented databases for fuzzy Information modeling, ROMAI J., 2, PP. 225237, 2006. [39]. Yazici. A, & Bosan-Korpeoglu.: An active Fuzzy Object oriented Database approach. IEEE International conference on Fuzzy systems, PP. 885-888, 2004. [40]. Bordogna, G.,Pasi, G. & Lucarella,D.: A Fuzzy Object oriented data model for managing vague and uncertain information, International Journal of Intelligent system,14, PP. 623-651, 1999 [41]. Ma, Z.M, Zhang, W.J, MA, W.Y., & Chen, G,Q.: Conceptual design of fuzzy object oriented databases using extended entity relation model, 16, PP. 697-711, 2001. [42]. Yazici.A, Koyuncu.M. IFOOD: An Intelligent Fuzzy Object oriented Database Architecture. IEEE Transaction on knowledge and Data mining, Vol.15, No.5, PP. 1137-1154, 2003 [43]. Dubois, D. Prade, H., & Rossazza, J.P. Vagueness.: Typicality and uncertainty in class hierarchies, International Journal of Intelligent Systems, 6, PP. 167-183, 1991. [44]. Cross, V., & Firat, A.: Fuzzy objects for geographical Information systems, Fuzzy sets and systems, 113, PP. 19-36, 2000. [45]. Nahle Ibrahim 2008.: Creation of Fuzzy Object Database, KMITL Sci.J vol.8, No.1. [46]. Marin, N., Vila, M.A. & Pons, O. Fuzzy type: A new concept of type for managing vague structure. International Journal of Intelligent systems, 15, PP. 1061-1085, 2000. [47]. Reda Alhajj, and M. Elol Arkun.: An Object Algebra for Object-Oriented Database System, News Letter ACMSIGMIS Database, Vol 24, Issue 3, 1993, pp. 13-22. [48]. Tru H. Cao, and Hoa nguyen.: Uncertain and Fuzzy Object Bases: A Data Model and Algebraic Operations, Knowledge Based System, Vol. 19, Issue 2, 2001, pp. 275- 305. [49]. Nicolas Marin, Juan M. Medina, Olga Pons, and M. Amparo Vila.: Object ± Oriented Context, IEEE Transactions, 2002, pp. 849-854. [50]. Li Yan, and Z.M. Ma.: Operations in Fuzzy Object-Oriented Databases, IEEE Transactions, 2009, pp. 1-4. [51]. Gail M. Shaw, and Stanley B. Zdonik.: A Query Algebra for Object- OrientedDatabases [52]. Doan Van Ban, Truong Cong Tuan, and Doan Van Thang.: Querying Data with Fuzzy Information in Object-Oriented Databases based on Hedge Algebraic Semantics, 4th International Conference on Knowledge and System Engineering , 2012, pp. 39-45. [53]. Nicolas Marin, Carlos Molina, Olga Pons, and M. Amparo Vila.: An Approach to Solve Division-Like Queries in Fuzzy Object Databases, Fuzzy Sets and System 196, 2012, pp. 47-68. [54]. Shyue-Liang Wang, and Ta-Jung Huang.: Analogical Reasoning to Answer Null Queries in Fuzzy Object-Oriented Data Model, IEEE Transactions, 1997, pp. 31- 36. [55]. A.H.M. Sajedul Hoque, Md. Sadek Ali, Md. Aktaruzza Man, Sujit Kumer Mondal, and Dr. Babul Isla.: Performance Comparison of Fuzzy Queries on Fuzzy Database and Classical Database, 5th International Conference on Electrical and Computer Engineering ICECE 2008, Dec-2008, pp. 654658. [56]. Motohide Umano, Takafumi Imada, Itsuo.Hatono, and Hirokuki Tamura.: Implementation of SQL-type Data Manipulation Language for Fuzzy Object Oriented Databases, IEEE Transactions, 1996, pp. 127-132. [57]. Adnan Yazici, and CagriInce Murat Koyuncu.: FOOD Index: A Multidimensional Index Structure for SimilarityBased Fuzzy Object Oriented Database Models, IEEE Transactions on Fuzzy System, Vol.16, 2008, pp. 942- 957. [58]. Surya Nepal, M.V. Ramakrishna and James A. Thom.: A Fuzzy Object Query Language (FOQL) for Image Database, Database Systems for Advanced Applications, 1999, pp. 117-124. [59]. Dider Dubois, Henri Prade, and Florence Sedes.: Fuzzy Logic Techniques in Multimedia Database Querying, A Preliminary Investigation of the Potentials, IEEE Transactions on Knowledge and Data Engineering, Vol 13, May-2001, pp. 383-392. [60]. Puja Shrivastava, Prof. (Dr.) Laxman Sahoo.: An Overview of Fuzzy Object Oriented Database Systems (FOODBs), International Journal of Scientific & Engineering Research, Volume 4, Issue 7, July-2013,723. [61]. Nitesh Kumar,Sumanta Nikhilesh Satpathy,Jagadiswar Mohapatra: An algebraic operation in fuzzy object-oriented databases (foodbs), Journal of Global Research in Computer Science, Volume 4, No. 12, December 2013, 23-30. DOI: 10.14738/tmlai.52.3105 Publication Date: 28th April, 2017 URL: TMLAI TRANSACTIONS ON MACHINE LEARNING AND ARTIFICIAL INTELLIGENCE Volume 5 No. 2 ISSN 2054-7390 SOCIETY FOR SCIENCE AND EDUCATION UNITED KINGDOM A New Approach for Query Processing and Optimization Base on
File đính kèm:
- luan_an_mot_so_phuong_phap_xu_ly_truy_van_moi_tren_co_so_du.pdf
- TrichYeu_LATS.pdf
- TomTatLuanAn_TiengViet_NGUYENTANTHUAN.pdf
- TomTatLuanAn_ENGLISH_NGUYENTANTHUAN.pdf
- TOANVANLUANAN_NGUYENTANTHUAN.pdf
- DongGopMoi_TiengViet.pdf
- DongGopMoi_TiengAnh.pdf