Professional Documents
Culture Documents
Mobile Database
Mobile Database
4/17/2014
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 Wireless and wired communication capability
4/17/2014
Corporate Server
Corporate DB
Communication Link
Mobile DBMS
Laptop
Corporate DBMS
Mobile DB
PDA
4/17/2014
4/17/2014
PUBLIC SECTOR US Army uses mobile database technology to get current inventory and readiness info that can save them logistical costs.
4/17/2014
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..
4/17/2014
least one of the following, preferably both: power optimization memory management
4/17/2014
10
POWER OPTIMIZATION
Mobile devices such as laptops, cell phones, PDAs, and
MEMORY MANAGEMENT
Memory is an important criteria as far as mobile database
4/17/2014
11
4/17/2014
12
THREE PARTIES
Mobile databases typically involve three parties:
4/17/2014
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.
4/17/2014
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
4/17/2014
15
over 68%.
IBMs DB2 Everyplace is second market share holder.
Third place is shared by Microsofts SQL Server Compact and
Oracle9i Lite.
Apples IOs use DataGlass mobile database by Impathic.
4/17/2014
16
SQL Anywhere
Developed By Initial Name Operating System
Type
Website:
RDBMS
http://www.sybase.com/products/databasemanagement/sqlany where
4/17/2014
17
Database files are independent of the operating system, allowing them to be copied between supported platforms.
a mobile database.
4/17/2014
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.
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.
4/17/2014
19
Scimore DB
Developed By Stable Release Operating System Type License Website
4/17/2014
20
SQLite
Developed By Initial Release Stable Release Written in Operating System Size
Type
License Website
RDBMS(Embeded)
Public Domain www.sqlite.org
4/17/2014
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
4/17/2014
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.
4/17/2014
23
4/17/2014
24
replace fopen().
4/17/2014
25
COMMANDS IN SQLite?
To Create Table With Structure: $ sqlite3 test.db create table t1 (t1key INTEGER PRIMARY KEY,data TEXT,num double);
4/17/2014
26
COMMAND. $ sqlite3 test.db "insert into t1 (data,num) values ('This is sample data',3); $ sqlite3 test.db "insert into t1 (data,num) values ('More sample data',6); $ sqlite3 test.db "insert into t1 (data,num) values ('And a little more',9);"
4/17/2014
27
4/17/2014
28
4/17/2014
29
4/17/2014
30
Less secured
4/17/2014
31
between client devices and the server. The synchronization process between a PDA and a PC over a USB connection, for example, seldom fails.
Oracle9i Lite incorporates client-side representation of
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
Security is very important for mobile applications, especially wireless and public solutions. potential damage or loss to a company. For mobile applications, be sure to implement complete end-to-end security
the client device and the server. This ensures that any transfer of data is not left open to hackers.
4/17/2014
33
4/17/2014
34