Unit 6ppt
Unit 6ppt
Unit 6
Emerging Databases
• An Active Database is a database consisting of a
set of triggers. These databases are very difficult
to be maintained because of the complexity that
arises in understanding the effect of these
triggers. In such database, DBMS initially verifies
whether the particular trigger specified in the
statement that modifies the database is activated
or not, prior to executing the statement. If the
trigger is active then DBMS executes the condition
part and then executes the action part only if the
specified condition is evaluated to true.
• It includes an event driven architecture.
Active Database
• Used in security monitoring, alerting, statistics
gathering and authorization.
Deductive Databases
– Deductive: towards the consequences.
– All swans are white.
– Tessa is a swan.
– So final conclusion will be Tessa is WHITE.
Deductive Database
Deductive Database
• Inference means a conclusion reached on the
basis of evidence and reasoning.
Main Memory Databases
Semantic Databases
• Semantic Database is a data management system
that combines the functionality of a traditional
database with semantic technologies. It leverages
semantic modeling to provide a richer and more
meaningful representation of data, allowing for
advanced querying, reasoning, and knowledge
discovery.
How Semantic Database Works
• A Semantic Database organizes data using
ontologies and semantic graphs, which represent
entities, relationships, and their attributes in a
hierarchical structure. This structure enhances
data with semantic annotations, allowing for
better integration and interpretation across
different sources.
• By representing data in a semantic model, a
Semantic Database can perform intelligent
operations such as semantic search, inference,
and reasoning. It can understand the meaning and
context behind the data, enabling more precise
querying and advanced analytics.
Why Semantic Database is Important
• Semantic Database brings several benefits to businesses:
• Improved Data Integration: Semantic modeling enables the
integration of disparate data sources with ease. It allows for
the harmonization of data by establishing common vocabularies
and ontologies, facilitating data interoperability.
• Enhanced Data Discovery: Semantic Database enables more
precise and intelligent search capabilities. It can understand the
semantics of queries and retrieve relevant information, even when
the exact terms or structures are not known.
• Advanced Analytics: By leveraging semantic annotations and
reasoning capabilities, Semantic Database enables more complex
analytical tasks. It supports knowledge discovery, pattern
recognition, and predictive modeling.
• Data Governance and Compliance: Semantic Database provides a
framework for data governance and compliance by enabling
fine-grained control over data access, privacy, and security policies.
Semantic Database Applications
Data Integration: Semantic Database aids in integrating data from diverse
sources, such as structured databases, unstructured text, and multimedia.
Knowledge Management: Semantic Database facilitates the organization,
retrieval, and sharing of knowledge within organizations, creating intelligent
knowledge bases.
Recommendation Systems: Semantic Database powers recommendation
engines by understanding user preferences and matching them with relevant
items or content.
Data-driven Decision Making: Semantic Database enables businesses to
derive insights from large and complex datasets, supporting intelligent
decision-making processes.
Complex Data Types
• Complex data types are nested data structures
composed of primitive data types. Examples include
struct, array/list, map and union.
• Complex types are supported by most programming
languages including python, C++ and JAVA.
Semi Structured Data
Semi-structured data (also known as partially
structured data) is a type of data that doesn't
follow the tabular structure associated with
relational databases or other forms of data tables
but does contain tags and metadata to separate
semantic elements and establish hierarchies of
records and fields.
Nested Data Types: JSON,XML
• JSON object has a type whereas XML data is type less.
• JSON does not provide namespace support while XML
provides namespaces support.
• JSON has no display capabilities whereas XML offers
the capability to display data.
• JSON is less secured whereas XML is more secure
compared to JSON.
• JSON supports only UTF-8 encoding whereas XML
supports various encoding formats.
Nested Data Types: JSON,XML
• What is JSON?