Relational Database
A database management system that organizes data in tabular form and establishes relationships between tables through primary and foreign keys. It provides transaction support, data consistency guarantees, and mature query optimization mechanisms, making it the predominant choice for enterprise core business systems.
Core Facts
Relational databases are suited for scenarios with fixed structures such as user accounts and order records, while non-relational databases are suited for scenarios with variable data structures such as content management and real-time logging.
Graph databases store relationships as first-class citizens, enabling multi-hop relationship queries to be completed in milliseconds via graph traversal algorithms without the need to perform costly multi-table JOIN operations.
Timeline (last 90 days)
Compared with traditional relational databases, vector databases have higher storage and query overheads, and are usually billed by vector dimension, index scale and number of queries.
For teams just starting to build AI applications, starting from an existing relational database plus a vector extension is the lowest-risk choice; for teams whose retrieval scale has clearly reached the hundred-million level and centers on semantic recall, the performance advantages of dedicated vector databases are worth the extra operational complexity.
Decades of technical debt, fragile code dependencies and rigid relational databases leave legacy systems unable to support real-time data ingestion, vector indexing and low-latency API interactions.
Although relational databases support JOIN, queries over multi-hop paths of variable depth require recursive CTEs, and their performance and expressiveness are inferior to those of graph databases.
Traditional relational databases require multiple JOIN operations to express multi-hop associations, and performance degrades sharply as association depth increases; graph databases store relationships as first-class citizens, so multi-hop query latency is approximately linear in path length.
For multi-hop queries, recursive SQL requires a self-join against the same large table at every hop, intermediate results balloon exponentially with depth, and it comes with the overhead of temporary tables, sorting, and hash indexes.
Traditional relational databases use optimistic locking (version number comparison) or pessimistic locking (row-level locking) to prevent the lost update problem.
A more reasonable approach for an Agent memory system is often a hybrid architecture: structured metadata stored in a relational database, semantic content retrieved with the aid of a vector index, and then rule-based filtering to decide the flow of information back.
Structured filtering performs equality or range queries on existing columns in a relational database (such as contract number, customer ID, date, and status fields), and is essentially a WHERE clause.
B-tree indexes are widely used in relational databases because they support equality comparisons, range conditions, and ordered retrieval, making them suitable for identifiers, timestamps, frequently filtered columns, and many foreign key lookups.
3 more timeline events
All Facts (16)
Relational databases are suited for scenarios with fixed structures such as user accounts and order records, while non-relational databases are suited for scenarios with variable data structures such as content management and real-time logging.
65%VerifiedGraph databases store relationships as first-class citizens, enabling multi-hop relationship queries to be completed in milliseconds via graph traversal algorithms without the need to perform costly multi-table JOIN operations.
65%UnverifiedCompared with traditional relational databases, vector databases have higher storage and query overheads, and are usually billed by vector dimension, index scale and number of queries.
50%UnverifiedFor teams just starting to build AI applications, starting from an existing relational database plus a vector extension is the lowest-risk choice; for teams whose retrieval scale has clearly reached the hundred-million level and centers on semantic recall, the performance advantages of dedicated vector databases are worth the extra operational complexity.
50%UnverifiedDecades of technical debt, fragile code dependencies and rigid relational databases leave legacy systems unable to support real-time data ingestion, vector indexing and low-latency API interactions.
50%UnverifiedAlthough relational databases support JOIN, queries over multi-hop paths of variable depth require recursive CTEs, and their performance and expressiveness are inferior to those of graph databases.
50%UnverifiedTraditional relational databases require multiple JOIN operations to express multi-hop associations, and performance degrades sharply as association depth increases; graph databases store relationships as first-class citizens, so multi-hop query latency is approximately linear in path length.
50%UnverifiedFor multi-hop queries, recursive SQL requires a self-join against the same large table at every hop, intermediate results balloon exponentially with depth, and it comes with the overhead of temporary tables, sorting, and hash indexes.
50%UnverifiedTraditional relational databases use optimistic locking (version number comparison) or pessimistic locking (row-level locking) to prevent the lost update problem.
50%UnverifiedA more reasonable approach for an Agent memory system is often a hybrid architecture: structured metadata stored in a relational database, semantic content retrieved with the aid of a vector index, and then rule-based filtering to decide the flow of information back.
50%UnverifiedStructured filtering performs equality or range queries on existing columns in a relational database (such as contract number, customer ID, date, and status fields), and is essentially a WHERE clause.
50%UnverifiedB-tree indexes are widely used in relational databases because they support equality comparisons, range conditions, and ordered retrieval, making them suitable for identifiers, timestamps, frequently filtered columns, and many foreign key lookups.
50%UnverifiedTraditional relational databases are good at exact matching (such as WHERE conditions), but lack the ability to efficiently answer "which stored vectors are closest to the query vector", because this is a geometric problem.
50%UnverifiedRelational databases remain the mainstream choice for enterprise core business systems, due to transaction support, data consistency guarantees, and mature query optimization mechanisms.
50%UnverifiedStructured storage (such as relational databases or Redis) is suitable for storing metadata such as failure counts, timestamps, and user types.
50%Unverified文档型数据库倾向于将相关数据内嵌在同一文档中,以牺牲部分一致性换取查询效率,而关系型数据库强调数据规范化
50%