Home / Companies / Neon / Blog / June 2023

June 2023 Summaries

4 posts from Neon

Filter
Month: Year:
Post Summaries Back to Blog
pgvector is a Postgres extension for vector similarity search that provides efficient and accurate similarity searches in AI-powered applications. It uses the Inverted File Index (ivfflat) for approximate nearest neighbor (ANN) search, which performs better than sequential table scans on large datasets. By creating an index with ivfflat and tuning its parameters, such as lists and probes, users can balance search speed and recall to achieve optimal performance for their specific use case and dataset. The extension is particularly useful for prototyping AI-powered applications, given its popularity among developers.
Jun 28, 2023 795 words in the original blog post.
Pgvector is a popular Postgres extension used for vector similarity searches, particularly in AI-powered applications. It performs sequential scans by default, which provide exact searches with 100% recall but can become inefficient with large datasets. To enhance performance, especially for larger datasets, the Inverted File Index (ivfflat) can be used for approximate nearest neighbor (ANN) searches, which involves creating k-means centroids to partition data into clusters, thus reducing the number of vectors analyzed. By adjusting parameters such as the number of lists and probes in ivfflat, users can optimize the balance between search speed and accuracy; however, experimentation is crucial to find optimal settings tailored to specific datasets. The article suggests starting with certain baselines for these parameters based on dataset size and emphasizes the importance of tuning these settings to maximize pgvector's efficiency in vector similarity searches.
Jun 28, 2023 1,073 words in the original blog post.
Neon is a fully managed serverless Postgres that introduces a new architecture to take advantage of modern cloud infrastructure, separating storage and compute resources, allowing for more efficient scaling and improved developer productivity. To use Neon effectively, it's essential to understand its object hierarchy, which includes Projects, branches, and compute endpoints. A Project serves as a container for resources, while a Branch represents the Postgres cluster and can be created from a current or past state, isolated from its parent. Compute Endpoints provide read-write access to databases in branches and can be configured for autoscaling, enabling cost-effective scaling based on workload demands.
Jun 07, 2023 849 words in the original blog post.
Neon introduces a cloud-native architecture for managed Postgres instances by separating storage and compute, addressing the traditional limitations of monolithic architectures where resources are often over-provisioned and underutilized. This new architecture allows for flexible scaling, fast startup and shutdown, and independent scaling of CPU and I/O resources, enhancing efficiency and cost-effectiveness. The Neon console's object hierarchy, consisting of projects, branches, and compute endpoints, supports unique workflows that improve developer productivity. Users create projects as containers for resources, enabling them to branch their data like code with isolated branches using copy-on-write techniques for fast, cost-effective data management. Compute endpoints, which are read-write by default, connect to databases within branches and can be configured to autoscale, ensuring optimal resource allocation based on workload demands. Neon remains fully compatible with Postgres, offering a modern solution to database management challenges.
Jun 07, 2023 940 words in the original blog post.