Antelope(Database Management System) - Contiki

From Contiki
Revision as of 01:58, 7 November 2014 by Marella (Talk | contribs)

Jump to: navigation, search

Back to Contiki Tutorials

Introduction

Antelope is a database management system for resource-constrained memory devices. It is a relational database management system(provides a set of relational database operations) which enables dynamic creation of databases and complex data querying.

You will learn

In this tutorial, we briefly study how antelope is implemented in Contiki operating system by going through some of the basic and important code blocks. We will also study how to run database client and server in cooja and get some hands on experience.

Antelope architecture

Antelope consists of eight components as shown in the below figure.

Antelope arch.jpg
  • Query processor  : It parses AQL(query language of Antelope) queries.
  • Privacy Control  : Checks whether the query is allowed or not.
  • Logic VM  : It executes the queries.
  • Database kernel  : It holds the database logic and coordinates query execution.
  • Index abstraction : It holds the indexing logic.
  • Indexer process  : Builds indexes from existing data.
  • Storage abstraction : Contains all storage logic.
  • Result transformer : It presents the result of query in a way that makes it easy to use by programs.