Escolar Documentos
Profissional Documentos
Cultura Documentos
9/3/2012
9/3/2012
It can also be defined as a system with the following structural and functional properties
Distributed system with mobile connectivity ( A mode in which a client or a server can establish communication with each other whenever needed ) Full database system capability
Complete spatial mobility
9/3/2012
Corporate Server
Corporate DB
Communication Link
Mobile DBMS
Laptop
Corporate DBMS
Mobile DB
PDA
9/3/2012
9/3/2012
BUSINESS
information on customers, competitors, and market trends anytime, anywhere. Salespersons can update sales & customer data on the move.
PUBLIC SECTOR US Army uses mobile database technology to get current inventory and readiness info that can save them logistical costs.
9/3/2012 8
HEALTH SECTOR
Used by Physicians to store and retrieve information while making their rounds. Used by doctors & Para medics to retrieve vital patient history & treatment info while attending to patients in battle fields & remote accident locations..
9/3/2012
9/3/2012
10
POWER OPTIMIZATION
Mobile devices such as laptops, cell phones, PDAs, and radios have a limited power supply.
So we needed to optimize our DBMS to use as few resources as possible while providing the necessary functionality
MEMORY MANAGEMENT
Memory is an important criteria as far as mobile database systems are concerned. It is important to decide how much of the devices internal memory should be dedicated to the DB
9/3/2012
11
9/3/2012
12
THREE PARTIES
Mobile databases typically involve three parties:
9/3/2012
13
Fixed hosts perform the transaction and data management functions with the help of database servers. Mobile units are portable computers that move around a geographical region that includes the cellular network (or "cells") that these units use to communicate to base stations. (Note that these networks need not be cellular telephone networks.) Base stations are two-way radios, installations in fixed locations, that pass communications with the mobile units to and from the fixed hosts. They are typically low-power devices such as mobile phones, portable phones, or wireless routers.
9/3/2012
14
When a mobile unit leaves a cell serviced by a particular base station, that station transparently transfers the responsibility for the mobile unit's transaction and data support to whichever base station covers the mobile unit's new location
9/3/2012
15
9/3/2012
16
SQL Anywhere
Developed By Initial Name Operating System Type Website: Watcom Watcom SQL Cross-Platform RDBMS
http://www.sybase.com/products/databasemanagement/sqlany where
9/3/2012
17
SQL Anywhere is a relational database management system(RDBMS) product from the company Sybase iAnywhere, a subsidiary of Sybase. SQL Anywhere can be run on Windows, Windows CE, Mac OS X, and various UNIX platforms. Database files are independent of the operating system, allowing them to be copied between supported platforms.
The engine supports stored procedures, and it can also function as a mobile database.
9/3/2012
18
Stored procedures may return result sets, i.e. the results of a SELECT statement such result sets can be processed using cursors. SQL Anywhere is used in several contexts, including as an embedded database, particularly as an application data store.
It can be used as a database server for work groups or for small or medium-sized businesses. World Vision Canda - World Vision Canada, with Sybase partner FieldWorker Products Limited, has developed and prototyped an innovative solution Last Mile Mobile Solutions based on SQL Anywhere, that allows the organization to efficiently aid in emergency situations.
9/3/2012
19
Scimore DB
Developed By Stable Release Operating System Type License Website Scimore UAB 4.0.2581.222 / Jan 2 Windows RDBMS Proprietary www.scimore.com
9/3/2012
20
SQLite
Developed By Initial Release Stable Release Written in Operating System Size Type License Website D. Richard Hipp August 2000 3.7.10 Jan 16 2012 C Cross-Platform 275kB RDBMS(Embeded) Public Domain www.sqlite.org
9/3/2012
21
Max DB size Max table size Max row size Max columns per row Max CHAR size Max NUMBER size Min DATE value Max DATE value Max column name size
128 TB Limited by file size Limited by file size 32767 2 GB 64 bits No DATE type No DATE type Unlimited
9/3/2012
22
What is SQLite?
Is an ACID compliant embedded RDBMS. Implements most of the SQL standard. Uses dynamically and weakly typed SQL syntax. Can read and write sequentially. Most widely used browsers, operating system, embedded system and many others.
9/3/2012
23
9/3/2012
24
9/3/2012
25
COMMANDS IN SQLite?
To Create Database : $ sqlite3 test.db
9/3/2012
26
9/3/2012
27
9/3/2012
28
9/3/2012
29
9/3/2012
30
Limited wireless bandwidth Wireless communication speed Limited energy source (battery power) Less secured Vulnerable to physical activities Hard to make theft proof.
31
9/3/2012
9/3/2012
32
Even if your PDA loses connection with the server database, use of the application continues with the most up-to-date information in the database. After the client device regains the connection, Oracle9i Lite automatically updates the central server database. If session persistence features are not available in your database of choice, then ponder including wireless middleware
9/3/2012 33
9/3/2012
34