In a database to which data is continually added, users may wish to issue a permanent query and be notified whenver data matches the query. if such continuous queries examine only single records, this can be implemented by examining each record as it arrieves. this is very efficient because only the incoming record needs to be scanned. this simple approach does not work for queries involving joins or time. the tapestry system allows users to issue such queries over a database of mail and bulletin board messages. the user issues a static query such as "show me all messages that have been replied to by jones,'' as though the database were fixed and unchanging. tapestry converst the query into an increamental query that efficiently finds new matches to the original query as new messages are added to the database. this paper desribes the techniques used in tapestry, which do not depend on triggers and thus be implemented on any commercial database that supports SQL. although tapestry is designed for filtering mail and news messages, its techniques are applicable to any append-only database.
|
|