• DocumentCode
    3088630
  • Title

    Safe database queries with external functions

  • Author

    Liu, Hong-Cheu ; Yu, Jeffrey X.

  • Author_Institution
    Dept. of Comput. Sci., Australian Nat. Univ., Canberra, ACT, Australia
  • fYear
    1999
  • fDate
    36373
  • Firstpage
    260
  • Lastpage
    269
  • Abstract
    Considers the theory of database queries with functions in the complex-value data model. The notion of a syntactic criterion, called “embedded allowed”, for queries which guarantee embedded domain independence, is generalized for this model. We show that all “embedded allowed” calculus (or fixpoint) queries are external function domain-independent and continuous. We also develop an algorithm for translating “embedded allowed” queries into equivalent algebraic expressions as a basis for evaluating safe queries in all calculus-based query classes. We then compare the expressive power of various complex-value query languages extended with functions and certain restricted versions of them. If we assume polynomial time (space) complexity of external functions and type usage by the database, such as density, then strongly “embedded allowed” inflationary (partial) fixpoint queries precisely express QPTIME (QPSPACE). Finally, we show the relationship between properties such as embedded domain independence, finiteness and “embedded allowed” in various calculus-based query languages
  • Keywords
    calculus; computational complexity; data models; database theory; functions; query languages; query processing; safety; QPSPACE; QPTIME; algebraic expressions; calculus-based query classes; complex-value data model; complex-value query languages; density; domain-independent continuous queries; embedded allowed queries; embedded domain independence; expressive power; external functions; finiteness; inflationary fixpoint queries; polynomial space complexity; polynomial time complexity; safe database queries; syntactic criterion; type usage; Arithmetic; Calculus; Computer languages; Computer science; Database languages; Design optimization; Hip; Query processing; Relational databases; Safety;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Database Engineering and Applications, 1999. IDEAS '99. International Symposium Proceedings
  • Conference_Location
    Montreal, Que.
  • Print_ISBN
    0-7695-0265-2
  • Type

    conf

  • DOI
    10.1109/IDEAS.1999.787276
  • Filename
    787276