Home / Companies / Tiger Data / Blog / October 2023

October 2023 Summaries

12 posts from Tiger Data

Filter
Month: Year:
Post Summaries Back to Blog
New Timescale Enterprise Tier: A Solution for Mature Applications` Timescale has launched its new Enterprise Tier, designed to meet the needs of enterprise customers using the Timescale database platform. This comprehensive set of features is suited for businesses with mature applications requiring high performance, scalability, security, and compliance guarantees. The Enterprise Tier includes improved security and compliance measures, such as SAML/SSO support, SOC 2 certification, and a 99.9% SLA. It also offers enablement and reduced costs through compression assistance, migration support, and quarterly architectural reviews. Additionally, the Enterprise Tier provides data protection and recovery with 14-day Point-In-Time Recovery, production-level support from dedicated experts, and peace of mind for secure and compliant deployments.
Oct 31, 2023 557 words in the original blog post.
Timescale has evolved its cloud platform to meet the demands of modern developers and enterprises by enhancing PostgreSQL's performance with TimescaleDB, emphasizing ease of use, scalability, and high availability. Over the years, Timescale has introduced features like automated backups, zero downtime migrations, and robust security compliance, ensuring seamless database management and operational efficiency. The recent Cloud Week at Timescale highlights new capabilities such as an Enterprise Tier for large organizations, advanced observability tools, flexible connection pooling, and cost-effective pricing models. These developments underscore Timescale's commitment to offering a reliable and innovative cloud solution that caters to both startups and large enterprises, ensuring that their databases remain robust, secure, and adaptable to changing workloads while maintaining high performance and cost-efficiency.
Oct 30, 2023 1,321 words in the original blog post.
TOAST (The Oversized Attribute Storage Technique) is a mechanism used by PostgreSQL to efficiently store and manage large values within the structural confines of a page, but it's not effective for optimizing database storage use in modern applications. TOAST uses compression as one of its techniques, but its primary role isn't to serve as a traditional data compression mechanism. Instead, it aims to reduce storage space by compressing specific large values. However, accessing TOASTed data can add overhead, and the lack of a high-level mechanism for dictating compression policies is a significant limitation. To overcome these limitations, PostgreSQL users have a better alternative in TimescaleDB, which adds columnar compression functionality to PostgreSQL, allowing for up to 10x reduction in database size through defined time-based compression policies.
Oct 25, 2023 2,665 words in the original blog post.
Database backups and disaster recovery are crucial for protecting PostgreSQL databases from loss or corruption. Physical backups capture the database's state at a specific point in time, while logical backups export data into a human-readable format. To manage physical backups, tools like pg_basebackup and pgBackRest can be used, with pgBackRest offering improvements such as multi-threaded operations and support for incremental backups. Logical backups are useful for testing databases or migrations, but recovering from them is slow. Replicas can be used to improve availability, allowing the replica to take over in case of a failure. Timescale, a managed PostgreSQL platform, takes care of backup management, including full and incremental backups, EBS snapshots, and rapid recovery from compute failures. It also offers high-availability replicas and handles PostgreSQL upgrades automatically, with options for PITR (Point-in-Time Recovery) available soon.
Oct 24, 2023 3,597 words in the original blog post.
PostgreSQL is an open-source relational database management system designed to handle a wide range of workloads. It's known for its robustness, scalability, and technical standards compliance. PostgreSQL supports various data types like JSON, XML, and arrays, as well as user-defined types. Its extensibility allows custom functions written in different programming languages like Python, Java, or C/C++. The database has a strong reputation for reliability, data integrity, and correctness. However, it needs tweaks to accommodate the overwhelming amounts of time-series data currently produced by applications. To manage time-series data, one must consider data lifecycle management, which includes ingesting and storing data efficiently, querying recent raw data regularly, creating aggregated historical rollups, archiving older raw data, and dropping raw data after a predefined interval passes. PostgreSQL provides features like hypertables, compression, continuous aggregates, tablespaces, and user-defined actions to support time-series data management. These features enable fast data ingestion, efficient query performance, cost-effective storage, and customizable workflows for managing time-series data.
Oct 20, 2023 3,719 words in the original blog post.
TimescaleDB is a PostgreSQL database extension designed for storing and analyzing time-series data, particularly in blockchain applications. It offers features such as auto-partitioning, continuous aggregates, and optimized query planning to handle the unique demands of blockchain data. By leveraging TimescaleDB's capabilities, developers can build scalable and efficient applications that provide real-time insights into blockchain data. The database is built on top of PostgreSQL and shares its schema management and SQL API, while introducing new functionality specifically tailored for time-series data analysis. With its focus on scalability, performance, and ease of use, TimescaleDB has emerged as a leading solution for building blockchain analytics applications.
Oct 16, 2023 2,598 words in the original blog post.
Timescale Vector is an integration that enables LlamaIndex developers to build better AI applications with PostgreSQL as their vector database, providing faster vector similarity search, efficient time-based search filtering, and operational simplicity. It enhances pgvector, the open-source extension for vector data on PostgreSQL, by introducing a new search index inspired by the DiskANN algorithm, achieving 3x faster search speed at ~99% recall than specialized databases. Timescale Vector optimizes time-based vector search queries, leveraging automatic time-based partitioning and indexing of hypertables to efficiently find recent embeddings and constrain vector search by a time range or document age. It simplifies AI infra stack by combining vector embeddings, relational data, and time-series data in one PostgreSQL database, eliminating operational complexity. The integration also provides robust, production-ready cloud PostgreSQL platform with flexible pricing, enterprise-grade security, and free expert support.
Oct 13, 2023 3,576 words in the original blog post.
Real-time data analytics is crucial for modern applications, but PostgreSQL, despite being popular among developers, struggles with efficiently querying large datasets. Materialized views in PostgreSQL pre-compute and store query results for faster access, yet their need for manual refreshes and their inability to provide up-to-date results limit their practicality for real-time analytics. TimescaleDB addresses these limitations with continuous aggregates, an enhanced version of materialized views that automatically refreshes and efficiently updates only changed data, thus providing up-to-date results. These continuous aggregates offer significant improvements for applications requiring real-time data processing, such as live dashboards and analytics, by combining stored materialized data with the latest raw data, ensuring data accuracy and performance. TimescaleDB can be accessed as a PostgreSQL extension or via the Timescale platform on AWS, offering a free trial period for exploration.
Oct 13, 2023 2,145 words in the original blog post.
In the context of managing data retention in PostgreSQL databases, particularly with large amounts of time-partitioned data, issues arise from partition management causing repeated outages. The problem is often caused by interactions between scripts and queries that prevent locks required for creating new partitions or dropping old ones. TimescaleDB addresses this challenge by offering a lock avoidance approach, which solves the problems of failure to create partitions before they are needed blocking inserts, and dropping partitions when needed for regulatory or cost reasons not only failing but also blocking reading and writing to the relevant tables. This is achieved through maintaining its own chunk catalogs and locking only the partitions that will be removed, allowing reads and writes to other chunks without interfering with dropping or adding chunks.
Oct 12, 2023 2,899 words in the original blog post.
Your PostgreSQL database is growing, but you can reduce its size by implementing several strategies. First, consider using Timescale compression to compress data and save storage space. Monitoring dead tuples in each table is also crucial to minimize storage usage. Running autovacuum more frequently can help free up wasted storage space. Reclaiming unused pages with pg_repack and finding unused indexes are also essential steps. Arranging columns by data type from largest to smallest can minimize unnecessary padding, and deleting old data regularly helps maintain a healthy database size. By implementing these techniques, you'll be able to reduce your PostgreSQL database size sustainably.
Oct 06, 2023 3,151 words in the original blog post.
InfluxDB's recent trajectory has been marred by multiple backend rewrites, which have put its user base in a precarious position. The company's focus on innovation and technological advancements has overshadowed the fundamental task of maintaining and refining existing products with an actual user base. The frequent changes to query languages, interfaces, and operational protocols have caused developers to lose trust in InfluxDB as a product. This design instability has also led to issues with reliability, stability, and performance, making it difficult for users to adopt new solutions. Additionally, the company's oscillating between roles and projects has discharged cognitive load onto developers, who now navigate multiple versions and features of InfluxDB. The lack of focus on simplicity and user needs has allowed other, more focused solutions like Prometheus and Grafana to emerge and dominate the metrics and monitoring space. Despite some areas where InfluxDB excels, such as IoT workloads, the company's overall trajectory is a cautionary tale for database companies about the importance of listening to users and learning from past experiences.
Oct 05, 2023 2,825 words in the original blog post.
The TimescaleDB extension for PostgreSQL enables high-performance columnar compression for time-series data, allowing developers to store large volumes of data without incurring exorbitant storage costs and ensuring query performance remains optimal. The original method had limitations, including immutability restrictions on DML operations such as INSERTS, UPDATES, and DELETES. To address this, TimescaleDB introduced a flexible compression engine that allows for seamless modification of compressed data, enabling efficient insertion, update, and deletion of time-series data without manual decompression and recompression. This approach breaks the traditional trade-off between storage costs and query performance, making it possible to store time-series data in OLTP databases while maintaining fast query performance and reducing storage costs. With TimescaleDB 2.11, developers can now easily backfill historical data into compressed datasets, correct errors, or migrate large volumes of data without significant technical complexities, paving the way for more efficient, flexible, and fair time-series data management in PostgreSQL.
Oct 03, 2023 2,192 words in the original blog post.