Space usage in functional query languages

被引:0
|
作者
Abiteboul, S
Hillebrand, G
机构
来源
DATABASE THEORY - ICDT '95 | 1995年 / 893卷
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We consider evaluation strategies for database queries expressed in three functional query languages: the complex value algebra, the simply typed lambda calculus, and method schemas. Each of these query languages derives its expressive power from a different primitive: the complex value algebra from the powerset operator, the simply typed lambda calculus from list iteration, and method schemes from recursion. We show that ''natural'' evaluation strategies for these primitives may lead to very inefficient space usage, but that with some simple optimizations many queries can be evaluated with little or no space overhead. In particular, me show: (1) In the complex value algebra, all expressions with set nesting depth at most 2 can be evaluated in PSPACE, and this set of expressions is sufficient to express all queries in the polynomial hierarchy; (2)In the simply typed lambda calculus with equality and constants, all query terms of order at most 5 (where ''query term'' is a syntactic condition on types) can be evaluated in PSPACE, and this set of terms expresses exactly the PSPACE queries; (3) There exists a set of second-order method schemes (with no simple syntactic characterization) that can be evaluated in PSPACE, and this set of schemas is sufficient to express all PSPACE queries.
引用
收藏
页码:439 / 454
页数:16
相关论文
共 50 条
  • [31] ON THE EXPRESSIVE POWER OF QUERY LANGUAGES
    SCHAUBLE, P
    WUTHRICH, B
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 1994, 12 (01) : 69 - 91
  • [32] ON EVALUATING INTERACTIVE QUERY LANGUAGES
    LOCHOVSKY, FH
    TSICHRITZIS, DC
    INFORMATION SCIENCES, 1983, 29 (2-3) : 93 - 113
  • [33] DENOTATIONAL SEMANTICS OF QUERY LANGUAGES
    SUBIETA, K
    INFORMATION SYSTEMS, 1987, 12 (01) : 69 - 82
  • [34] Modelling time in query languages
    Saxena, P.C.
    Suri, P.K.
    Chauhan, R.K.
    Journal of the Institution of Engineers (India), Part CP: Computer Engineering Division, 2004, 85 (02): : 34 - 37
  • [35] Query Languages for Temporal Database
    邓培民
    HighTechnologyLetters, 1997, (02) : 47 - 51
  • [36] NATURALLY EMBEDDED QUERY LANGUAGES
    BREAZUTANNEN, V
    BUNEMAN, P
    WONG, LS
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 646 : 140 - 154
  • [37] QUERY LANGUAGES FOR HIERARCHICAL DATABASES
    DAHLHAUS, E
    MAKOWSKY, JA
    INFORMATION AND COMPUTATION, 1992, 101 (01) : 1 - 32
  • [38] A comparison of RDF query languages
    Haase, P
    Broekstra, J
    Eberhart, A
    Volz, R
    SEMANTIC WEB - ISWC 2004, PROCEEDINGS, 2004, 3298 : 502 - 517
  • [39] Query decomposition and view maintenance for query languages for unstructured data
    Suciu, D
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, 1996, : 227 - 238
  • [40] Resolution of ambiguities in query interpretation for geographical pictorial query languages
    Ferri, F
    Rafanelli, M
    ITI 2004: PROCEEDINGS OF THE 26TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY INTERFACES, 2004, : 347 - 352