TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PlanetScale increases plans to include billions of reads

136 pointsby synunlimitedabout 3 years ago

14 comments

felixrabout 3 years ago
Worth noting &quot;rows read&quot; is not &quot;rows returned&quot;. If you do 1000 full table scans on table with a million rows, you got a billion reads<p><a href="https:&#x2F;&#x2F;docs.planetscale.com&#x2F;concepts&#x2F;billing#understanding-rows-read" rel="nofollow">https:&#x2F;&#x2F;docs.planetscale.com&#x2F;concepts&#x2F;billing#understanding-...</a>
评论 #30460020 未加载
评论 #30458779 未加载
评论 #30461177 未加载
StratusBenabout 3 years ago
We wrote a blog post comparing RDS vs PlanetScale from a pricing perspective back in January...kudos to PlanetScale on responding to feedback on that so quickly. HN discussion here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29910812" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29910812</a><p>We&#x27;ll get the blog post updated but conceptually it seems like the &quot;tipping point&quot; of using PlanetScale vs RDS just got a lot easier at least from a read perspective - analysis is here: <a href="https:&#x2F;&#x2F;www.vantage.sh&#x2F;blog&#x2F;2022-01-12-rds-vs-planetscale-pricing-considerations" rel="nofollow">https:&#x2F;&#x2F;www.vantage.sh&#x2F;blog&#x2F;2022-01-12-rds-vs-planetscale-pr...</a>
joshstrangeabout 3 years ago
Well this is some nice news! From what I&#x27;ve seen from my data usages I was going to fall well within the free tier &#x2F;before&#x2F; this change and now I&#x27;ve got even more headroom. I&#x27;ve been switching over to PlanetScale from Aurora Serverless and I&#x27;m really enjoying the experience so far and the savings are great too (1 instance costs about $40&#x2F;mo, I have my dev&#x2F;qa environments turn off after 5 minutes of no activity so they are almost free but prod has to stay on 24&#x2F;7, now I&#x27;ll pay $30&#x2F;mo and that can take care of all 3 environments).
mdasenabout 3 years ago
This is a nice change. It looks like it used to be $15&#x2F;mo per 100 Million rows read, $15&#x2F;mo per 10 Million rows written. Now it&#x27;s $1 per billion reads and $1.50 per 1 million writes. So the write pricing hasn&#x27;t changed, but the read pricing has gone from $150 per billion to $1 per billion (a reduction of 99.3%). $1 would have gotten me 6.7M reads before the change and now a billion reads (150x more reads for your dollar). That&#x27;s a huge pricing change!<p>I&#x27;m guessing the &quot;difficult to understand and hard for you to predict&quot; is around how the read pricing is based on how many rows MySQL needs to read in order to serve your query. That&#x27;s going to depend on how the query optimizer executes your query (and what indexes you&#x27;ve made and such).<p>It does make me wonder if I&#x27;m allowed to create as many indexes as I want without incurring additional &quot;writes&quot;. Their billing page makes it seem like indexes don&#x27;t count: <a href="https:&#x2F;&#x2F;docs.planetscale.com&#x2F;concepts&#x2F;billing" rel="nofollow">https:&#x2F;&#x2F;docs.planetscale.com&#x2F;concepts&#x2F;billing</a>. In fact, their storage language makes it seem like indexes aren&#x27;t charged for storage: &quot;Data saved in the form of tables, columns, rows, and their corresponding relationships.&quot; I&#x27;m guessing that&#x27;s just an oversight and the thinking is that &quot;tables&quot; covers indexes, but wouldn&#x27;t &quot;tables&quot; also cover &quot;columns, rows, and their corresponding relationships?&quot; Given the expensive storage at $2.50&#x2F;GB, how big things are seems to matter. Cockroach charges $1&#x2F;GB (60% less), Google charges $0.34&#x2F;GB for Cloud SQL HA storage, and $0.33&#x2F;GB for Cloud Spanner storage (and 2-3x that if you&#x27;re going multi-region). $2.50 is a big premium.<p>It still seems like there&#x27;s an incentive to over-index rather than doing small filtering in-memory, though the incentive is now 99% smaller. Likewise, there seems to be no charge for doing something that requires sorting - or maybe they consider the sort to be a re-read of all the results? Looking over MySQL&#x27;s explain analyze results, it looks like there shouldn&#x27;t be a cost for reading through the index.<p>Sorry for the random thoughts. PlanetScale is a great project to offer a serverless MySQL on top of Vitess. I wish Vitess existed for PostgreSQL (we use Postgres&#x27; GIN indexes with JSON so it&#x27;s not easy to move to MySQL).
评论 #30458780 未加载
评论 #30458761 未加载
mxstbrabout 3 years ago
This is similar to the problem we face, where you&#x27;re charging based on usage of something people don&#x27;t usually count. For us, that&#x27;s GraphQL requests.<p>While certainly big companies have monitoring for this kind of thing set up, we learned that a majority of engineering teams have absolutely no clue how many GraphQL requests they get per month. Like, not even a ballpark. Hundreds of thousands? Millions? Billions? No clue, could be any of those.<p>Our free plan was originally 5M free requests per month, which is relatively generous — but people didn&#x27;t know and thus we had almost no users on the free plan. We recently changed it to just be &quot;free for solo developers working on side projects &#x2F; indie hacking &#x2F; etc. no matter how many requests&quot;.[0]<p>So far, the change&#x27;s been well received! Curious to see Planetscale dealing with the same general kind of issue, just on a different layer.<p>[0]: <a href="https:&#x2F;&#x2F;graphcdn.io&#x2F;blog&#x2F;unlimited-free-requests-for-developers" rel="nofollow">https:&#x2F;&#x2F;graphcdn.io&#x2F;blog&#x2F;unlimited-free-requests-for-develop...</a>
评论 #30464351 未加载
chillycurveabout 3 years ago
Database reads&#x2F;writes are really hard (read: impossible) to predict unless you are already in production. Leading to thoughts like: &quot;1 Billion reads!! I&#x27;ll never use that much...&quot; Once you cross the line, the overages kick in.<p>That being said, this does appear to be absurdly cheap compared to competitors. Amazon Aurora appears to be sitting at around $200 a month for 1 billion reads, excluding writes&#x2F;transfer&#x2F;storage&#x2F;etc.<p>CockroachDB Serverless includes 250M &quot;request units&quot; (request units include reads and writes and individual requests can costs multiple units depending on size). They charge an extra $1 per month per 10M &quot;request units,&quot; so $75 to get to 1B reads at least.<p>Am I missing something? What&#x27;s the catch?
评论 #30459685 未加载
vosperabout 3 years ago
I&#x27;m not really sure why a pricing change is HN-worthy, but I guess here I am biting:<p>&gt; We’ve also heard your feedback about how our pricing is difficult to understand and hard for you to predict.<p>&gt; Starting March 1st we’ll be offering our customers up to 200x more reads across all pricing plans.<p>Just giving more reads doesn&#x27;t seem like it&#x27;s actually simplifying pricing or making it more predictable?
评论 #30458595 未加载
评论 #30458614 未加载
评论 #30458501 未加载
评论 #30458415 未加载
truetravellerabout 3 years ago
The pricing page&#x2F;docs leaves so many questions unanswered:<p>-What&#x27;s the cost of egress?<p>-What is a read&#x2F;write exactly? It is a DB &quot;page&quot; read&#x2F;write? I know there&#x27;s a section on this, but it doesn&#x27;t explain details.<p>-If it&#x27;s a page read&#x2F;write, what is the size of the page? 16kb?<p>-If it&#x27;s a real row read&#x2F;write, what is the maximum size? Can I write a 100mb row for the same price?<p>-What about indexes, or merging the WAL log? Will I be charged for these operations (can result in million+ writes)?<p>-What about small consecutive writes that fit in a single 16kb page, do I get charged a single write &quot;unit&quot;? RDS actually combines this into a single op (see IOPS with RDS).<p>-What about cached reads, do I get charged for that?<p>-What about computationally expensive queries, that do not actually read&#x2F;write that much?<p>Please answer these questions. Provide useful real-world pricing examples. This is standard stuff, and especially important if &quot;transparent&quot; pricing is a key feature.
评论 #30459906 未加载
评论 #30464476 未加载
评论 #30459919 未加载
someelephantabout 3 years ago
If PlanetScale just offered to reimburse any costs above the 99th percentile of normal operations it would be a great success. If their business model is dependent on people getting screwed by costs above the 99th percentile then they shouldn&#x27;t be in business.
评论 #30463705 未加载
gigatexalabout 3 years ago
Look 200x more of something is 200x more, and 200x more for the same amount is a huge win for a service&#x27;s users.<p>In the DB space though pricing per row or iop or this or that is tough. We&#x27;re heavy users of BigQuery and the pricing per bytes consumed is tough, too, as you can&#x27;t always rely on the estimator. But then if you go the fully pre-paid route like with something like Redshift you have high upfront fixed costs for an always on DB (that changed a bit with Redshift serverless -- currently in preview -- <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;redshift&#x2F;redshift-serverless&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;redshift&#x2F;redshift-serverless&#x2F;</a>) but I mean it&#x27;s the same with BQ in that sense: don&#x27;t run a query don&#x27;t get charged except for stored data.<p>The point I am trying to make is that pricing of a DB is hard. If I had to choose I think I rather like the straight forward per second billing of serverless.
评论 #30464612 未加载
temuzeabout 3 years ago
Think of it, billions of `0000-00-00 00:00:00`s!
bachmeierabout 3 years ago
Can anyone comment on PlanetScale vs Supabase? I&#x27;m not their target, because I&#x27;m just a random individual that wants a free database for personal projects. I could try both but would be nice to hear about someone&#x27;s experience.
评论 #30460695 未加载
kondroabout 3 years ago
Just curious, how are indexes priced?<p>I assume you’ll pay $2.50&#x2F;GB for storage, but if I update a row that touches 5 indexes is this 1 write or 6?
sinkholedabout 3 years ago
Vitess is a popular choice, a battle hardened current gen solution.<p>I&#x27;m keen for Spanner&#x2F;CockroachDB!