Top advantages and disadvantages of IoT in business internet of things (IoT)
Tip

How to select the right IoT database architecture

Understanding the core components of IoT databases is essential when evaluating and choosing the best architecture for a particular IoT initiative and its requirements.

Organizations have many options when designing an IoT database, but technologists must decide the best fit by evaluating the different IoT database architectures, such as static vs. streaming vs. time series and SQL vs. NoSQL.

The right IoT database depends on the requirements of the IoT project. To select a database, first factor in the critical characteristics of IoT when selecting among database architectures. IoT technologists must determine the types of data to be stored and managed; the data flow; the functional requirements for analytics, management and security; and the performance and business requirements.

After identifying the organization's requirements, IT admins must assess the IoT database architectures and how they promote or inhibit IoT data needs.

Understand static and streaming IoT database architectures

Start by understanding the fundamental distinction between static and streaming databases.

Static databases. Also known as batch databases, these manage data at rest. Data that users need to access resides as stored data managed by a database management system (DBMS). Users make queries and receive responses from the DBMS, which typically -- but not always -- uses SQL.

Streaming databases. Conversely, streaming databases handle data in motion. Data constantly streams through the database, with a continuous series of posed queries, typically in a language specific to the streaming database. The streaming database's output can be stored elsewhere, such as in the cloud, and accessed using standard query mechanisms.

Streaming databases are typically distributed to manage the scale and load requirements of vast volumes of data. There is a range of commercial, proprietary and open source streaming databases available, including well-known platforms such as Amazon Kinesis, Apache Kafka, Azure Stream Analytics and Google Cloud Dataflow. There are also new startups, including Materialize.

These platforms might be "pure" streaming databases optimized for real-time decision-making and near-instantaneous latency, but more often, they are unified databases that include both a streaming and a static component. The static component benefits from being based on standard query techniques and schemas. Thus, these unified databases support both the real-time capabilities of a streaming database and the flexibility of a static database's query process and schema.

For IoT, the best database for most applications is a unified database. For this reason, most popular vendors' databases include both types of databases.

Diagram showing the differences in how static and streaming databases work.
Static databases manage data at rest, while streaming databases handle data in motion.

Explore more nuanced database architectures

Time-series databases are, in many respects, based on the same technology as streaming databases but were developed with a slightly different focus. Time-series databases are more tactical. They typically involve implanting specific indexing techniques over NoSQL databases to enable high-performance event processing. Vendors such as InfluxData, Grafana and Prometheus offer time-series databases, as do larger players such as Amazon, Google, IBM and Microsoft.

Streaming databases are more comprehensive, enabling a broader portfolio of data analyses, such as machine learning or windowing.

SQL vs. NoSQL?

SQL databases are relational and feature static schemas that describe how the information is organized. This makes them highly manageable. However, they run into issues scaling effectively. NoSQL databases are nonrelational, don't have schemas, and are promoted as highly scalable and better-performing than SQL databases.

Some tech professionals might think that a NoSQL database would be the obvious choice because scalability is essential for many IoT uses. But scalability and performance are only two factors that technologists need to consider when selecting databases. A critical factor in many scenarios is ease of integration into existing systems, where SQL is more effective. Many IoT tools and systems assume SQL; this is particularly true in industrial environments that are based on older message protocols or industrial automation platforms.

The ability to create and manage schemas is also a plus. Although technologists might find schema development constraining, information must be organized. Developing schemas upfront saves significant effort later when organizing data in a nonschema environment.

Organizations might also find combining static and streaming databases challenging when considering the choice between SQL and NoSQL. In theory, a static or streaming database could be either SQL or NoSQL. In practice, databases are specifically set to one or the other. IoT technologists interested in a particular unified database might find their SQL vs. NoSQL decision driven by the design of the database.

Whether an organization should choose a SQL or NoSQL database depends on the broader set of functional and technical requirements, particularly scalability, performance and the need to integrate into legacy systems.

Table depicting the differences between SQL and NoSQL databases across six characteristics.
At a high level, SQL databases are general-purpose, while NoSQL databases are for specific use cases.

Securing the IoT database

Last, but far from least, is the issue of database security. Although it's not a key component of database architecture, understanding the security capabilities and characteristics of the IoT database(s) is critical to preventing security breaches.

For example, in February 2025, VpnMentor cybersecurity researcher Jeremiah Fowler discovered that IoT grow light manufacturer Mars Hydro had an unprotected 1.17 TB database containing approximately 2.7 billion records. Among the data exposed were Wi-Fi credentials and OS information linked to the company's connected agricultural equipment.

It's therefore important to not just safeguard operational security -- e.g., making sure the database password is set and privileges are clearly defined -- but also to confirm where and under what circumstances data is encrypted. Is it encrypted in motion or at rest?

Finally, organizations should confirm how IoT devices are authenticated to ensure the database isn't inadvertently scooping up malware.

Editor's note: This article was updated in May 2025 to refresh product information and improve the reader experience.

Johna Till Johnson is CEO and founder of strategic consulting and research company Nemertes, where she sets research direction and works with strategic clients.

Next Steps

Most commonly used IoT protocols and standards

IoT SaaS platform providers help streamline adoption

IoT security challenges and how to overcome them

Top IoT security threats and risks to prioritize

IoT architecture layers and components explained

Dig Deeper on Enterprise internet of things