raw_telematics_data schema
raw_telematics_data holds tracking points, inputs, states, and events sent by devices. Browse the schema definition and key table descriptions for SQL analysis
The raw_telematics_data schema contains four primary table types that work together to provide comprehensive device data.
Find raw telematics data schema details below.
Key tables by category
Each table serves a specific purpose in capturing different aspects of device information:
Data in this schema is ingested directly from devices, with minimal latency (typically seconds). The schema is optimized for time-series data using TimescaleDB for efficient storage and retrieval.
Additional information
Data validation
The database enforces data integrity through multiple mechanisms:
CHECK constraints validate that values fall within acceptable ranges
Foreign keys ensure relationships between tables remain consistent
NOT NULL constraints guarantee that required fields always have values
DEFAULT values provide fallback when data isn't explicitly provided
Query optimization
Tables are organized with specific indexing strategies:
All tables include time-based indexes on
record_added_atForeign key columns have dedicated indexes for join performance
Frequently used column combinations have composite indexes
TimescaleDB provides specialized indexes for time-series queries
Last updated
Was this helpful?