Home / Companies / PlanetScale / Blog / May 2023

May 2023 Summaries

11 posts from PlanetScale

Filter
Month: Year:
Post Summaries Back to Blog
The latest update from PlanetScale has brought significant changes to the database overview page, providing a comprehensive and interactive view of database health, metrics, and performance. The new design includes key components such as load balancers, primary, replicas, shards, and sharded databases, giving users a clearer understanding of their database's state and performance. This update aims to "pull back the curtain" on what's under the hood of PlanetScale databases, making it easier for users to manage and optimize their databases. With this new design, users can now easily access important metrics, such as query insights graph, latency, QPS, rows read/written, errors, and more, all in one place.
May 31, 2023 619 words in the original blog post.
PlanetScale, a company that supports developers, is sponsoring the Larabelles Laracon US conference giveaway, which aims to increase diversity and representation at the Laravel conference by giving three individuals who have been historically under-represented or marginalised due to their gender the opportunity to attend. The giveaway includes ticket reimbursement, hotel accommodations, and air travel reimbursement up to $600. Larabelles is a community that focuses on reducing barriers for people in the PHP and Laravel development communities who are from historically under-represented or marginalised groups due to gender. To apply, individuals must identify as part of one of these groups and send an email with their name and a statement acknowledging they will book their own travel and accommodation arrangements. The giveaway is open until June 12th, and PlanetScale is encouraging everyone to share the opportunity on social media to help reach more people who may benefit from it.
May 25, 2023 680 words in the original blog post.
PlanetScale, a company that supports developers, is sponsoring the Larabelles Laracon US conference giveaway. The giveaway will provide three individuals who are historically under-represented or marginalized due to their gender with tickets to Laracon US in July, along with hotel accommodations and air travel reimbursement. This initiative aims to remove financial barriers and give people a chance to attend conferences that may not be accessible otherwise. Larabelles is a community that focuses on supporting PHP and Laravel developers from underrepresented groups, providing resources such as mentorship, a Discord community, and directories of developers. To apply for the giveaway, individuals can send an email to [email protected] with their name and a statement acknowledging they will need to book travel and hotel arrangements themselves. PlanetScale is encouraging everyone to share this opportunity widely on social media to help reach more people who may benefit from attending Laracon.
May 25, 2023 680 words in the original blog post.
The text discusses the concept of "Database DevOps" and how it has evolved over time. It highlights its impact on development workflows and emphasizes the importance of innovative approaches such as schema changes, recovery, and monitoring to improve developer productivity. This tech talk aims to provide insights into these aspects.
May 25, 2023 35 words in the original blog post.
PlanetScale is now available on the Google Cloud Marketplace, aiming to simplify serverless database adoption by reducing development time and costs. The platform seeks to make database management more accessible and efficient, with a focus on heightened performance, scalability, and cost savings. PlanetScale aims to increase developer velocity while decreasing database fragility, allowing developers to speed up their applications and enjoy the power of Vitess behind the scenes.
May 22, 2023 225 words in the original blog post.
The key points of the text can be summarized as follows: Character sets in MySQL define the allowed characters in a column, while collations determine how string comparisons are made. A character set can be defined at multiple levels, including column level, table level, and database level. The most specific level takes precedence over less specific ones. Collations also have varying levels of specificity and can be influenced by the character set used. Understanding these concepts is crucial for designing efficient databases that handle string data correctly.
May 18, 2023 1,904 words in the original blog post.
Integrating PlanetScale with Cloudflare Workers is now easier and more secure, thanks to a direct integration between the two services. To start, you need a PlanetScale account, the pscale CLI installed and configured, and the latest version of NodeJS installed. You then set up a database in your PlanetScale account, create a table and populate it with some data. Next, you create a Cloudflare Worker project, install the PlanetScale Serverless Driver for JavaScript, update the contents of the worker to connect to your PlanetScale database, read rows from it, and display them in your browser. Finally, you configure the PlanetScale integration by logging into the Cloudflare dashboard, navigating to Workers > Overview, selecting the service, and following a wizard to connect your accounts. With this integration, you can now easily create credentials without manual handling, making it both easier and more secure when using the platforms together.
May 17, 2023 713 words in the original blog post.
The text discusses the comparison between MariaDB and MySQL, two popular database management systems. It highlights that MariaDB originated as a fork of MySQL but has since developed into an independent database system. The main differences between these two databases, reasons for choosing one over the other, scaling options, and the role of Vitess in this context are covered in the Tech Talk mentioned.
May 16, 2023 78 words in the original blog post.
A common practice is to separate database schema changes from application code changes to minimize risk. Coupling these changes can lead to issues such as double deployment risks, blocking the development pipeline, and increased migration time. The expand, migrate, and contract pattern provides a safe approach to making changes by expanding the schema first, then writing to both old and new schema in the application, migrating data, reading from the new schema, contracting the application, and finally deleting the old column or table. This process involves five steps, each with its own specific task, such as adding a new column, updating the application code, running a data migration script, updating the application to read from the new schema, and contracting the changes. The pattern is designed to ensure backward-compatible changes, reduce risk, and minimize downtime or disruptions for users.
May 09, 2023 2,355 words in the original blog post.
MySQL does not use an index until it has determined that it can be used and the optimizer has chosen it as the best option. This process involves considering all possible indexes for a query, calculating selectivity and cardinality to determine which index is most useful, and then choosing between multiple viable options based on these factors. Indexes are only considered if they are relevant to the query, such as when searching for strings that start with a particular substring or when joining two tables. However, there are certain scenarios in which an index cannot be used, including wildcard searches, composite indexes, joining on mismatched columns, and obfuscation of indexed columns. In these cases, MySQL may use alternative methods to access the data, such as scanning the table directly or using a range scan on the index. To ensure optimal performance, it's essential to understand how MySQL uses indexes and to carefully plan and maintain your database schema.
May 04, 2023 3,042 words in the original blog post.
In this article, the author creates a new Laravel application and deploys it to AWS Lambda using Bref, which simplifies configuring PHP on AWS Lambda. The author then connects to a PlanetScale MySQL database and performs load testing to demonstrate the benefits of serverless architecture, including instant autoscaling, redundant infrastructure, and pay-per-request billing. The article concludes with suggestions for further learning and improving performance, such as using Laravel Octane to keep the application in memory across requests and reuse SQL connections.
May 03, 2023 1,296 words in the original blog post.