Advanced Databases Flashcards
(612 cards)
What are the types of data?
Numeric, character, temporal, spatial, image, text, audio, video
These types represent different formats in which data can exist and be manipulated.
What is temporal data?
Data with a dimension of time
Temporal data can be structured in various ways and can be bounded or unbounded.
What are the types of time density in temporal data?
Discrete, Dense, Continuous
Each type has different properties regarding how time is represented and compared.
What does a discrete timeline isomorphic to integers imply?
Total order with a finite number of chronons
In a discrete timeline, every pair of integers can be compared.
What does a dense timeline isomorphic to rational numbers imply?
Partial order with an infinite number of chronons
Not every pair of elements can be directly compared in a dense timeline.
What does a continuous timeline isomorphic to real numbers imply?
Total order with an infinite number of chronons
In a continuous timeline, real numbers maintain a complete ordering.
What is granularity in the context of temporal data?
Determining the precedence of events
Granularity affects how events are ordered in time.
What are the two types of time that can be stored in databases?
Valid time, Transaction time
Bitemporal data tracks both valid and transaction time.
What are the types of spatial data?
Points, regions, vectors
These types define how spatial data is represented.
What operations can be performed on spatial data?
Length, intersect, containment, overlap, centre
These operations allow for manipulation and analysis of spatial relationships.
What are some applications of spatial data?
Computer Aided Design (CAD), Computer generated graphics, Geographic Information Systems (GIS)
These applications utilize spatial data for various purposes.
What key properties are important in spatial data applications?
- Connectivity
- Adjacency
- Order
- Metric relations
These properties help in understanding spatial relationships and structures.
What are the characteristics of systems dealing with spatial data?
- Data objects may be highly complex
- Data volumes may be very large
- Data may be held in real time
- Performance is not easy to achieve
- Access is likely through specialised graphical front ends
- Query processing will probably not be performed using SQL
These characteristics present challenges in managing and analyzing spatial data.
How is textual data obtained?
- From machine-readable formats
- Using OCR techniques
These methods facilitate the conversion of text into a usable format.
What is the nature of text data?
Essentially unstructured
An index is needed to make it searchable and usable.
What are examples of image data?
- X-rays
- Maps
- Photographs
Image data can vary greatly in type and application.
What are binary large objects (BLOBs)?
Large data objects stored without attached semantics
BLOBs do not have inherent meaning or context.
What are essential features of image databases?
- Image analysis and pattern recognition
- Image structuring and understanding
- Spatial reasoning and image information retrieval
These features enhance the usability of image data.
What are common techniques used in audio data?
Compression techniques
Compression is necessary for efficient storage and transmission.
What is MIDI?
A more compact alternative to digitised audio
MIDI consists of a sequence of instructions interpreted by a synthesizer.
How is video data structured?
Images stored as a sequence of frames
Video data integrates video and audio through interleaved file structures.
What does DDL stand for and what is its primary function?
Data Definition Language; for creating tables and manipulating the database structure
DDL is essential for defining the database schema.
What is DML used for?
Data Manipulation Language; utilised for querying & manipulating data within the database
DML allows users to retrieve or modify the content of the database.
What components are included on the users’ side of a DBMS?
Components that process queries from user or application programs
This includes the user interface and query execution components.