Home / Companies / PlanetScale / Blog / January 2024

January 2024 Summaries

6 posts from PlanetScale

Filter
Month: Year:
Post Summaries Back to Blog
The text discusses the three primary facets of scaling databases: storage, compute, and network. It also mentions the next topic to be covered, which is considerations for creating a database disaster recovery plan.
Jan 31, 2024 23 words in the original blog post.
Building a database disaster recovery plan requires careful consideration of several factors, including high availability (HA) and disaster recovery (DR). HA focuses on minimizing downtime and ensuring continuous operation, while DR aims to restore the database and its associated services after a catastrophic event. Defining Recovery Point Objectives (RPOs) and Recovery Time Objectives (RTOs) is crucial in setting goals for data loss and system recovery time. Databases are stateful, meaning they rely on previous actions, which makes disaster recovery more complex than fixing application issues. MySQL replication allows data to replicate across multiple servers, reducing downtime and enabling faster recovery. A robust backup strategy is essential, with logical and physical backups used to recreate the database from scratch or copy files stored on disk. Automating the recovery process can minimize human error and ensure consistency, while regular testing helps validate the plan's effectiveness and identify areas for improvement.
Jan 30, 2024 2,067 words in the original blog post.
MySQL supports geospatial features through its spatial data types, which include points, paths, and polygons, as well as multi-geometry types such as MULTIPOINT, MULTILINESTRING, and MULTIPOLYGON. These data types can be used to store and manipulate geographic information efficiently within a database. MySQL provides various spatial functions for manipulating and analyzing geographic data, including location functions, distance calculations, area and perimeter calculations, intersection and containment checks, buffering, analysis functions, and relationship functions. Spatial reference systems (SRS) are also supported in MySQL 8, allowing users to specify the coordinate system of their geometry values, which can improve computation accuracy. The database also supports spatial indexing, which optimizes columns holding spatial data by restricting them to a specific spatial reference system identifier (SRID). Overall, working with geospatial features in MySQL allows developers to store, retrieve, analyze, and visualize geographic information efficiently within their databases.
Jan 25, 2024 1,573 words in the original blog post.
PlanetScale database clusters use traditional MySQL replication, with each node containing a copy of the data it needs to operate properly. Clients connect to the source MySQL server for writes, and clients with read-only workloads can connect to one of the replicas. Aurora's replication system is proprietary and stores redo log entries on dedicated storage appliances in the same availability zone as the source compute node. Data is replicated on the storage level, allowing read-only compute nodes to be started at any time without affecting primary data access. PlanetScale excels with its open-source software foundation built on Vitess, a proven MySQL-compatible and horizontally scalable project, offering features like rolling MySQL upgrades, sharding, and automatically validated backups.
Jan 24, 2024 1,502 words in the original blog post.
The Vantage + PlanetScale integration is now available, allowing users to connect their PlanetScale account to Vantage for cloud cost observability and reporting. With this integration, users can include their PlanetScale databases in their cost reporting, creating budgets, setting up alerts, monitoring tagged resources, receiving cost recommendations, and more. The integration provides a more comprehensive view of an organization's cloud costs, enabling data-driven decision making.
Jan 23, 2024 126 words in the original blog post.
MySQL provides four main isolation levels: Read Uncommitted, Read Committed, Repeatable Read, and Serializable. Each level has its own set of benefits and drawbacks when it comes to concurrency and data consistency. The goal is to strike a balance between performance and reliability for your application's use case. Isolation levels instruct the database engine on how to manage multiple transactions being performed concurrently and what violations are possible. By setting a specific isolation level, you can fine-tune the balance between safety and performance in your MySQL database.
Jan 08, 2024 2,723 words in the original blog post.