10 links
tagged with all of: database + sql
Click any tag below to further narrow down your results
Links
InfluxDB 3 Core represents a significant rewrite aimed at enhancing speed and simplicity, addressing user demands for unlimited cardinality, SQL support, and a separation of compute and storage. The open-source version simplifies installation with a one-command setup and is designed to efficiently handle high cardinality data without compromising performance.
When debugging contributions in a relational database, creating a view simplifies the querying process by consolidating complex joins into a single command. This approach not only saves time but also provides a clearer understanding of the data involved, enabling developers to quickly identify issues. The article encourages using debugging views to streamline database interactions and enhance productivity.
DuckLake is an experimental Lakehouse extension for DuckDB that enables direct reading and writing of data stored in Parquet files. Users can install DuckLake and utilize standard SQL commands to manipulate tables and metadata through a DuckDB database. The article provides installation instructions, usage examples, and details on building and running the DuckDB shell.
Database protocols used by relational databases like PostgreSQL and MySQL are criticized for their complexity and statefulness, which complicates connection management and error recovery. The author suggests adopting explicit initial configuration phases and implementing idempotency features, similar to those used in APIs like Stripe, to improve reliability and ease of use. The article also discusses the challenges of handling network errors and implementing safe retries in database clients.
CedarDB, a new Postgres-compatible database developed from research at the Technical University of Munich, showcases impressive capabilities in query decorrelation. The author shares insights from testing CedarDB's handling of complex SQL queries, noting both strengths in its query planner and some early-stage issues. Overall, there is optimism about CedarDB's future as it continues to evolve.
Pipelining in PostgreSQL allows clients to send multiple queries without waiting for the results of previous ones, significantly improving throughput. Introduced in PostgreSQL 18, this feature enhances the efficiency of query processing, especially when dealing with large batches of data across different network types. Performance tests indicate substantial speed gains, underscoring the benefits of utilizing pipelining in SQL operations.
The article discusses common SQL anti-patterns that developers should avoid to improve database performance and maintainability. It highlights specific practices that can lead to inefficient queries and recommends better alternatives to enhance SQL code quality. Understanding and addressing these anti-patterns is crucial for effective database management.
Turso Database is a new in-process SQL database written in Rust that is compatible with SQLite and currently in BETA. It supports features like change data capture, asynchronous I/O, cross-platform capabilities, and enhanced schema management, with a focus on reliability and community contributions. Experimental features include encryption at rest and incremental computation, and it is designed for future developments like vector indexing for fast searches.
SQL query optimization involves the DBMS determining the most efficient plan to execute a query, with the query optimizer responsible for evaluating different execution plans based on cost. The Plan Explorer tool, implemented for PostgreSQL, visualizes these plans and provides insights into the optimizer's decisions by generating various diagrams. The tool can operate in both standalone and server modes, enabling deeper analysis of query execution and costs.
The article critiques SQL as the primary implementation of the relational model, arguing that it is inexpressive, incompressible, and non-porous. It highlights the limitations of SQL in expressing complex data types and computations, which hampers innovation and quality in data management, suggesting a need for rethinking database and query language structures for better efficiency and expressiveness.