January 2022 Summaries
9 posts from Yugabyte
Filter
Month:
Year:
Post Summaries
Back to Blog
As a software engineering intern on the YSQL team at Yugabyte, Tim Elgersma gained hands-on experience with implementing tablespaces on tablegroups, which allowed for co-locating multiple tables on a single tablet to increase the number of tables per node. He also worked on improving selectivity support in query planning, using Postgres's logic as a reference point. Additionally, he participated in biweekly "Wisdom Within" sessions with senior leaders to ask questions and gain insights about the company's ethics and growth. Tim's experience was marked by flexibility from Yugabyte, allowing him to extend his internship for an additional month after his initial plans were canceled. He reflected that his internship not only deepened his understanding of databases but also changed his perception of them from "magicly-fast blackboxes" to well-written code.
Jan 28, 2022
1,099 words in the original blog post.
This summary provides an overview of the challenges and complexities of working with timestamps and timezones in PostgreSQL and YSQL. It highlights the importance of understanding the nuances of date-time data types, including timestamp, timestamptz, and interval, as well as how to specify the timezone correctly to avoid potential issues. The text emphasizes that using the dedicated date-time data types can simplify operations and reduce errors, and that avoiding common mistakes such as storing moment values as text or using plain timestamp for persistence can save effort and prevent bugs. The summary concludes by encouraging users of PostgreSQL to value the documentation provided in this post as a useful resource to complement the official PostgreSQL documentation.
Jan 27, 2022
7,377 words in the original blog post.
This is a summary of the text delimited by triple backticks:
PostgreSQL's interval apparatus, inherited by YSQL, is surprisingly large and complex due to historical facts and unfortunate design choices made by PostgreSQL implementers. The complexity arises from allowing hybrid interval values, which can lead to unpredictable results. However, with user-defined utilities that enforce safety, it is possible to avoid going wrong when working with intervals in YSQL. YugabyteDB's YSQL subsystem uses PostgreSQL's SQL processing C code as-is, resulting in consistent behavior between the two systems. By downloading and installing the companion code kit for the YSQL date-time documentation, users can access a range of code examples and tests that demonstrate the functionality and limitations of PostgreSQL's interval apparatus. The custom domain types feature allows users to create their own safe interval domains with specific semantics, providing a way to work around the limitations of the native interval apparatus.
Jan 27, 2022
9,461 words in the original blog post.
YugabyteDB has integrated with Arctype SQL Client, offering a seamless experience of using both technologies. YugabyteDB is fully compatible with Postgres, supporting every attribute, and provides a dedicated connection screen and dropdowns to distinguish between cloud-ready and plain Postgres connections. The integration includes features such as one-click query sharing, visualization of query output, and dashboard creation in Arctype, while ensuring enterprise security requirements are met through offline access and secure data storage. Additionally, resource guides and detailed documentation are available for users connecting to YugabyteDB locally or in the cloud.
Jan 25, 2022
529 words in the original blog post.
YugabyteDB Savepoints: Checkpointing Work in Distributed Transactions` is a blog post discussing the implementation of savepoints in YugabyteDB, a PostgreSQL-compatible SQL database. The authors highlight the importance of savepoints for managing transactions with low-risk pieces of work and provide an overview of how they were implemented in YugabyteDB's distributed transaction layer. By reusing PostgreSQL code and leveraging its existing implementation of savepoints, YugabyteDB is able to enable more PostgreSQL functionality, including exception handling, making it a valuable tool for developers and users. The authors conclude by encouraging readers to try out YugabyteDB and join the community Slack channel for any questions or feedback.
Jan 21, 2022
744 words in the original blog post.
This intern's journey into distributed databases began with an internship at Snowflake and the FoundationDB team, where they worked on CDC mechanisms. They then joined Yugabyte for their final internship, eager to work on a distributed SQL database. The intern was part of the core team that implemented automatic tablet splitting in YugabyteDB, which allows for more efficient splitting of large tablets into smaller ones. This feature was crucial in preventing system saturation when dealing with many requested splits. The intern also worked on improving the consensus algorithm by implementing Multi-Raft, a batching approach that reduces CPU usage and improves network efficiency. Through their experience at Yugabyte, the intern gained valuable knowledge of distributed systems and databases, solidifying their interest in this field.
Jan 21, 2022
1,382 words in the original blog post.
Migrating from a commercial database like Oracle is not about covering its full set of features, but rather staying in control of the software that processes and stores enterprise data.
YugabyteDB offers an alternative with no locks, relying on optimistic locking to avoid response time issues and prevent non-scalable waits.
The database supports both SERIALIZABLE and READ COMMITTED isolation levels, providing a more-than-viable option for those looking to leave Oracle behind.
Jan 19, 2022
324 words in the original blog post.
In a scalable and self-service platform layer, Kubernetes enables scalability, resiliency, and agility for internet-scale applications on various clouds in a predictable manner. However, data confinement to a single vertically scalable server limits application layer scalability. YugabyteDB addresses these challenges as an open-source, distributed SQL database built for cloud-native architecture, handling global applications with low query latency and extreme resilience against failures. A multi-region deployment of YugabyteDB on Google Kubernetes Engine (GKE) using Google Cloud Platform's native multi-cluster discovery service (MCS) enables service discovery across clusters natively. To deploy this setup, one needs to enable specific GCP APIs, create three GKE clusters in different regions with workload identity enabled, establish hub membership, and initialize YugabyteDB by updating Helm templates and deploying the database. The deployment allows for a highly available, fault-tolerant, and geo-distributed cluster, addressing use cases such as region-local delivery, geo-partitioning, higher availability, and resiliency.
Jan 18, 2022
1,241 words in the original blog post.
YugabyteDB is a cloud-native, distributed SQL database that provides consistency across development, staging, and production environments. It can be run locally with a Docker container, making it easy to achieve dev/prod parity and experiment with new versions and features. To get started, download the YugabyteDB OCI Docker image and use podman to run the container. The container exposes internal ports that can be interacted with from outside the container, allowing for testing and development of the database. Once running, users can test the container's processes, review the administrative UIs, and enable YSQL logging to view Postgres query logs. Additionally, users can connect to the database using tools like DBeaver or IntelliJ to experiment with SQL commands and ensure dev/prod parity.
Jan 07, 2022
1,710 words in the original blog post.