Dolt, a version controlled database, uses cryptographic checksums to address data blocks. While this might lead to potential collisions where different data blocks have the same checksum, the chance of collision is extremely low due to the combo of SHA-512, a strong hash function, and a 20-byte key, which provides a collision resistance of 2^80. This means that even with billions of objects stored, the probability of a collision is small and negligible.
Wednesday, May 29, 2024The `pgvector-node` library provides Node.js and TypeScript support for integrating vector operations with PostgreSQL across multiple database libraries. It allows the creation of tables with vector fields, insertion of vectors, and retrieval of nearest neighbors using various distance metrics. The library also supports creating approximate indexes for efficient vector similarity searches.
This article compares different full text search (FTS) options for Postgres databases, focusing on Elasticsearch and Postgres' native FTS. While Postgres FTS is simple and real-time, it lacks features and performs poorly on large datasets. Elasticsearch requires ETL pipelines, leading to data freshness issues and operational overhead. The article introduces and compares alternative search engines like Algolia, Meilisearch, ParadeDB, and Typesense.
Supabase has launched postgres.new, an in-browser Postgres sandbox with AI assistance. This tool utilizes PGlite, a WASM version of Postgres, allowing users to spin up databases directly in their browser. postgres.new also has AI-powered features, such as drag-and-drop CSV import, report generation, charting, and ER diagram creation.
SQLite's serverless nature lets developers embed it directly within applications, with a user-friendly console to provide straightforward access. It also has data import and export, native JSON handling, and advanced SQL capabilities like Common Table Expressions and set operations.