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 条
  • [41] Ranked relations: Query languages and query processing methods for multimedia
    Adali, S
    Bufi, C
    Sapino, ML
    MULTIMEDIA TOOLS AND APPLICATIONS, 2004, 24 (03) : 197 - 214
  • [42] Integration of a fuzzy query framework with existing spatial query languages
    Cobb, MA
    Petry, FE
    FUZZ-IEEE '96 - PROCEEDINGS OF THE FIFTH IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS, VOLS 1-3, 1996, : 93 - 99
  • [43] Ranked Relations: Query Languages and Query Processing Methods for Multimedia
    Sibel Adali
    Corey Bufi
    Maria-Luisa Sapino
    Multimedia Tools and Applications, 2004, 24 : 197 - 214
  • [44] Node Selection Query Languages for Trees
    Calvanese, Diego
    De Giacomo, Giuseppe
    Lenzerini, Maurizio
    Vardi, Moshe Y.
    PROCEEDINGS OF THE TWENTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE (AAAI-10), 2010, : 279 - 284
  • [45] QUERY LANGUAGES FOR NESTED RELATIONAL DATABASES
    KORTH, HF
    ROTH, MA
    LECTURE NOTES IN COMPUTER SCIENCE, 1989, 361 : 190 - 204
  • [46] Integrating query processing with parallel languages
    Myers, Brandon
    Oskin, Mark
    Howe, Bill
    2015 13TH IEEE INTERNATIONAL CONFERENCE ON DATA ENGINEERING WORKSHOPS (ICDEW), 2015, : 240 - 244
  • [47] On Models and Query Languages for Probabilistic Processes
    Deutch, Daniel
    Milo, Tova
    SIGMOD RECORD, 2010, 39 (02) : 27 - 38
  • [48] Safe query languages for constraint databases
    Revesz, PZ
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1998, 23 (01): : 58 - 99
  • [49] ROLE OF DETERMINISM IN QUERY LANGUAGES FOR DATABASES
    MAGAZOV, SS
    SIBERIAN MATHEMATICAL JOURNAL, 1987, 28 (02) : 257 - 262
  • [50] AN IMPLEMENTATION TECHNIQUE FOR DATABASE QUERY LANGUAGES
    BUNEMAN, P
    FRANKEL, RE
    NIKHIL, R
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1982, 7 (02): : 164 - 186