Академический Документы
Профессиональный Документы
Культура Документы
DB abstraction
Separates logical data view(naming,access,operations)
Challenges
Transferring data to central server not
feasible
special operators
(ADT)
Similar to Object-Relational DB
Can perform functions on sensor data
appropriate
continuous pdf
Query: retrieve all values from sensors with value
X with probability at least Y
Database Organization
Centralized data storage
Sensors forward all data to centralized server
Queries do not incur additional network overhead
Nodes near server act as routing hotspots and become
depleted of energy
aggregated?
TinyDB
SQL-style query interface
SQL operators: count, min, max, sum,
average
Extension operators: median, histogram
In-network aggregate query-processing
Sensitive to resource constraints and lossy
communication channels
Sensor Network Databases
sampling period
Nodes schedule processing, communication etc. based
on routing tree
Optimizations
Aggregation can be pipelined to increase
throughput
Nodes can snoop packets of others to make
early decisions
Report only changed data
Adaptive aggregation to support changing
network conditions
10
Data-Centric Storage
Flexible storage needed when queries
all nodes
Data-Centric Storage (DCS) make use of
rendezvous points to aggregate queries
and data
11
hash function
a key
12
queries
as is
13
1-D Indices
1-Dimensional indices
Most prevalent type of DB index
Indexes data parameterized by single value
Implemented with data structures: B-trees, hash tables,
etc.
computed answers
Adapting to distributed storage model requires partial
aggregation of results
Sensor Network Databases
14
Multi-Dimensional Indices
Cant simply create multiple 1D indices
Queries will retrieve many more records than necessary
schemes
15
Multi-Resolution
Summarization
Aggregate summaries of data can be used to
16
indexed
Couples spatial domain decomposition to value indexing
17
Fractional Cascading
Intuition: queries exhibit temporal and
18
Locality-Preserving Hashing
Map high-dimensional attribute space to a
plane
plane
19
Data Aging
Continuous data acquisition and
construct
20
queries, etc.
Apriori motion knowledge
No apriori knowledge
More likely in physical world
Dynamic index. Updates only on critical events
Sensor Network Databases
21