Unit summary
- Active databases react to events through event-condition-action triggers with BEFORE, AFTER and INSTEAD OF timing.
- Temporal databases keep valid and transaction time, and deductive databases derive new facts from recursive rules.
- Spatial databases store points, lines and polygons, index them with R-trees and quadtrees, and GIS overlays them in layers.
- Mobile databases handle disconnection and synchronisation, and multimedia databases use content-based retrieval.
- XML and web databases deal with semi-structured data using XPath, XQuery and three-tier web architectures.
Glossary
| Term | Meaning |
|---|---|
| Datalog | A logic language of facts and rules for deductive databases. |
| Feature vector | Numbers describing the content of a media object. |
| GIS | Geographic information system. |
| Handoff | Moving a mobile unit from one cell to another. |
| MBR | Minimum bounding rectangle used in spatial indexes. |
| Semi-structured data | Self-describing data without a fixed schema. |
| Transaction time | Time when a fact is stored in the database. |
| Trigger | An event-condition-action rule executed automatically by the database. |
| Valid time | Time when a fact is true in the real world. |
| XML | eXtensible Markup Language. |
| XPath | A language that selects nodes of an XML document. |
Question bank
Short Answer Questions (2 marks each)
Medium Answer Questions (5 marks each)
Long Answer Questions (15 marks each)
Sources
- Official BCA syllabus Advanced Database Systems, course code 25BCA406DS04, Unit IV
