Home / Companies / Cockroach Labs / Blog / May 2019

May 2019 Summaries

2 posts from Cockroach Labs

Filter
Month: Year:
Post Summaries Back to Blog
As organizations transition to cloud environments, they face significant challenges in migrating relational database management systems (RDBMS) to the cloud, primarily due to issues surrounding full SQL support, consistency, scalability, and geo-partitioning. Traditional RDBMS have struggled with cloud adaptations, leading to the rise of NoSQL databases like Apache Cassandra, which offer scalability and resilience at the cost of simpler query operations and consistency. These limitations necessitate complex data management logic at the application level, complicating migrations. To overcome these challenges, cloud-native solutions like CockroachDB have emerged, combining transactional integrity, scalability, and geo-partitioning while ensuring full SQL support and ACID compliance, making them well-suited for modern cloud-based applications.
May 16, 2019 1,534 words in the original blog post.
In a blog post by Rebecca Taft on CockroachDB 19.1, the importance of automatic table statistics collection for optimizing query plans is highlighted. CockroachDB's cost-based optimizer, rebuilt for the 2.1 release, now includes automatic statistics collection which aids in selecting efficient query plans by estimating query costs based on computing resources like CPU and I/O. The post explains how statistics influence the optimizer’s decisions, particularly in estimating the number of rows processed at each stage of a query plan, using assumptions of uniformity and independence to simplify calculations. To maintain up-to-date statistics without burdening users, CockroachDB has implemented a system to automatically trigger statistics collection when a significant portion of a table's data changes, with minimal impact on performance. This automatic collection addresses user challenges in manually updating statistics, such as determining refresh frequency and handling large data sets, ensuring that queries are optimized for current data conditions.
May 09, 2019 3,491 words in the original blog post.