Home / Companies / Tiger Data / Blog / June 2023

June 2023 Summaries

8 posts from Tiger Data

Filter
Month: Year:
Post Summaries Back to Blog
The ivfflat algorithm in pgvector provides an efficient solution for approximate nearest neighbor search over high-dimensional data like embeddings. It works by clustering similar vectors into regions and building an inverted index to map each region to its vectors, allowing queries to focus on a subset of the data, enabling fast search. By tuning the lists and probes parameters, ivfflat can balance speed and accuracy for a dataset. Overall, ivfflat gives PostgreSQL the ability to perform fast semantic similarity search over complex data. With simple queries, applications can find the nearest neighbors to a query vector among millions of high-dimensional vectors, making it a compelling solution for natural language processing, information retrieval, and more. By understanding how ivfflat divides the vector space into regions and builds its inverted index, developers can optimize its performance for their needs and build powerful applications on top of it.
Jun 30, 2023 3,141 words in the original blog post.
We've made significant changes to our storage pricing in Timescale, moving away from an allocation-based model to a usage-based one. This means you'll only pay for the actual data you store in your services, without worrying about fixed disk sizes or managing disk space. With this new model, you can focus on managing your time-series data, not your storage. We've also introduced features like compression and data tiering to further reduce costs. Compression now saves customers 5x on database storage overall, and it's fully mutable, allowing for DML operations. Additionally, we've made it easier to migrate databases from PostgreSQL to Timescale, compress data upon migration, and scale seamlessly without worrying about last-minute storage resizing or downsizing. Our new pricing model is simple and transparent, with no hidden costs, and you'll have access to top-rated technical support at no extra cost.
Jun 29, 2023 1,560 words in the original blog post.
Pintu, an Indonesian cryptocurrency trading platform, uses Python and AWS Lambda to insert five million data rows into Timescale every 30 minutes, query over a billion data rows in 0.1 seconds, and automatically delete a billion data rows per day using retention policies, which helped them save developers' time and computational power. Pintu's engineering team has around 100 engineers and uses Go, PostgreSQL, and gRPC for their tech stack. They developed an account value chart feature that displays users' assets' value history in a specific timeframe, which was made possible by using Timescale's continuous aggregates and retention policies. The use of Timescale helped Pintu accelerate their time to market, save on storage, and provide fast analytics to their users.
Jun 27, 2023 1,901 words in the original blog post.
A reliable PostgreSQL cloud is offered for demanding businesses, providing support services tailored to specific use cases, infrastructure, and budgets. The platform features various tools and extensions, including time series and real-time analytics, AI, vector processing, security scanners, and more. It also includes resources for learning PostgreSQL, such as documentation, tutorials, and benchmarking data, aimed at helping developers improve their database performance.
Jun 21, 2023 5,249 words in the original blog post.
ASOF joins are a powerful tool when dealing with time-series data. They match each record from one table with the nearest—but not necessarily equal—value from another table based on a chosen column, typically used in financial data or sensor readings where timestamps might not align perfectly by millisecond. PostgreSQL does not directly support ASOF joins but can achieve similar functionality using sub-select join operations along with conditions to match rows based on criteria. When using Timescale, the query benefits from the Skip Scan feature, which can supercharge performance and provide an 8,000x speed-up.
Jun 15, 2023 1,160 words in the original blog post.
The article highlights the advantages of using TimescaleDB for managing sensor equipment and data logging, emphasizing its features like compression, retention, and particularly continuous aggregates for downsampling. Despite these benefits, the author discusses the challenges of effectively plotting continuous aggregates in applications like Grafana, particularly when dealing with different time intervals. To address this issue, the article proposes three solutions: using UNIONs to combine raw and aggregated data based on time intervals, creating inline SQL functions to encapsulate complex queries, and leveraging PL/pgSQL to automate the selection and execution of appropriate aggregates. The author illustrates how these approaches can optimize database performance by reducing the need for constant re-aggregation while maintaining detailed data accessibility, ultimately promoting seamless integration and efficient data management.
Jun 12, 2023 2,824 words in the original blog post.
Python is widely used for analyzing time-series data due to its versatility and extensive library ecosystem. Python's popularity stems from its simplicity, flexibility, and the availability of numerous tools and modules that make it an ideal choice for businesses looking to analyze data and make informed decisions. NumPy provides advanced numerical processing capabilities, pandas offers practical data analysis and manipulation toolkit, and Matplotlib is a popular plotting library that allows users to create visually appealing visualizations. Additionally, Python's extensive library ecosystem includes time-series specific libraries such as Tsfresh, Sktime, AutoTS, and Prophet, which offer various features for extracting insights from time-series data. These tools enable data scientists and analysts to work with time-series data efficiently and effectively. By connecting Python with Timescale, users can leverage the efficiency of a relational database designed specifically for time-series analysis, allowing them to perform complex analytics like machine learning, identifying anomalies, and projections while keeping their data in the database.
Jun 09, 2023 3,147 words in the original blog post.
The blog post explores the integration of PostGIS and Timescale within a PostgreSQL database to manage and analyze geospatial and time-series data effectively. By extending PostgreSQL with PostGIS, users can enrich their database tables with advanced geospatial objects and functions, while Timescale offers robust time-series capabilities. The post provides practical examples, including creating a database table for tracking a fleet of delivery vehicles' GPS coordinates over time and executing various queries to retrieve and analyze this data. These include fetching locations of specific vehicles within a timeframe, retrieving the last known locations efficiently, and identifying vehicles within a specified distance of a given point. The combination of PostGIS and Timescale positions PostgreSQL as a powerful tool for conducting complex analyses of geospatial time-series data, emphasizing the importance of selecting appropriate tools for efficient data analysis.
Jun 02, 2023 508 words in the original blog post.