Abstract
Chiql is a novel Chinese relational database query language for Chinese users. It supports procedural query style in which users can specify a complex database request in multiple simple statements. This facility renders Chiql simple-to-use and easy-to-remember. However, direct executation of multi-statement Chiql queries (i.e. statement by statement) is often inefficient as potential index-based operations (e.g. join) are by-passed. Furthermore, it often incurs additional database operations, such as scan and projection. To improve this situation, the SMA (Statement Merging Algorithm) is proposed. The goal of SMA is to merge as many dependent statements within a Chiql query as possible to form a more efficient Chiql query. The ability in achieving improved efficiency without sacrificing the simplicity of the language is the major advantage of this algorithm.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Lum V Y. Advanced computerization in China by integrating cultural aspect’s into technology. InProc. of the International Workshop on Science Frontiers and Priority Setting of NSSFC Beijing, 1994. pp. 122–136.
Lum V Y, Wong K F, Lam G C K. Chiql—an unconventional chinese database query language. InProceedings 1994 Int’l Conf. on Computer Processing of Oriental Languages Taejon, Korea, 1994. pp. 69–74.
Lam C K, Lum V Y, Wong K F. On the issues of expressiveness and portability of Chiql. InProc. the Fourth Int’l Conf. on Database Systems for Advanced Applications, Singapore, 1995. pp. 138–148.
Lum V Y, Lee F W, Fong S K. A, query interface truly for chinese users. InProc the Fourth Int’l Conf. on Database Systems for Advanced Applications, Singapore, 1995. pp. 138–148.
Welty C, Stemple D W. Human factors comparison of a procedural and a non-procedural query language.ACM Transaction on Database systems 1981, 86(4).
Kein D A, Lum V Y. GRADI: A graphical database interface for a multimedia DBMS. InProc. the First International Workshop on Interfaces to Database Systems, Glasgow, 1992, pp96–112.
Lacorix R, Pirotte A. Example Queries in Relational Language. M.B.L.E., Brussels, Technical Note 107, January 1976.
Meng X F, Yip S M. Implementation of multi-statement query in Chiql.Technical Report, Chinese University of Hong Kong, 1994.
Yip S M. Chiql Query Processing. M.Phil thesis, Dept. of SE&EM, Chinese University of Hong Kong, 97.
Author information
Authors and Affiliations
Corresponding author
Additional information
This paper is partially supported by Key National Natural Science Foundation of China and the Chinese University of Hong Kong and the RGC 94/95 Earmarked Research Grant (CUHK 256/94E).
Meng Xiaofeng received his M.S. degree in computer application in July 1993 from Renmin University of China. Presently he is a Ph.D. candidate at Institute of Computing Technology, The Chinese Academy of Sciences. His research interest include design and implementation of database systems, naural language interface to database systems, parallel database.
Wong Kam-Fai obtaned his PhD from Edinburgh University in 1987. At present he is an Associate Professor in the Department of Systems Engineering and Engineering Management, the Chinese University of Hong Kong. His research interest centers on Chinese computing and parallel database and information systems.
Vincent Lum obtained his Ph. D. degree from the University of Illinois in 1966. Since 1991 he has been with the Chinese University of Hong Kong where he is a Professor and the founding Chairman of the Systems Engineering and Engineering Management Department. His research interests include database systems, Chinese processing or integrating local culture into software systems.
Wang Shan receiced her M.S. degree in computer application from Renmin University of China in 1982. Now she is a Professor at the same university. From 1984 to 1986 she was an invited researcher at Maryland University. Her reserach interests include database systems and information systems.
Rights and permissions
About this article
Cite this article
Meng, X., Wong, KF., Yip, S.M. et al. The processing and improvement of multi-statement queries in Chiql. J. of Comput. Sci. & Technol. 13, 161–173 (1998). https://doi.org/10.1007/BF02946604
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02946604