News for hackers. Stuff that matters.
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by hdjjhhvvhga on Wednesday October 11, 2023 @02:25PM (#37848316)
The Free Tier is completely irrelevant here, though. The very reason someone might use Spanner is its excellent scalability. I don't believe there is any reason to use it for smaller projects other than education. The customers who will use Spanners are those for whom CockroachDB is not enough, for example. For everybody with databases that are not that huge PostgreSQL will do just fine.
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by Vt71fcAqt7 on Wednesday October 11, 2023 @02:31PM (#37848391)
Very true, but most people do not yet no about scale-to-zero pay-for-what-you-use sql server clouds with a free tier like CockroachDB and neon. They think that you must pay $5 a month to run a sql server, which has been the case until very recently, so they go with no sql options to get the free tier.

Edit: actualy Spanner looks like another CockroachDB. You use sql to interact with it. In which case I can see many people who would want to use this with a free tier for hobby projects. ie. in between education and production development.

Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by dmoy on Wednesday October 11, 2023 @02:54PM (#37848728)
> Edit: actualy Spanner looks like another CockroachDB. You use sql to interact with it. In which case I can see many people who would want to use this with a free tier for hobby projects. ie. in between education and production development.

Pedantically, cockroachDB is another spanner. It was made by Google devs who left Google having previously used spanner, and intentionally made something similar to spanner (ish, lots of handwaving happening here)

Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by catch22l on Thursday October 12, 2023 @01:23AM (#37853706)
haha !!!. cockroachDB literally says, their motivation is spanner .. lol
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by foobazgt on Wednesday October 11, 2023 @02:55PM (#37848737)
FYI, Spanner came long before CockroachDB. Indeed, the founders of CockroachDB are Xooglers and Spanner was inspiration for the latter.
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by RcouF1uZ4gsC on Wednesday October 11, 2023 @02:59PM (#37848798)
> actualy Spanner looks like another CockroachDB.

Yeah it does :). CockroachDB set out to be an open source version of Spanner by ex-Google engineers.

Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by bananapub on Wednesday October 11, 2023 @03:03PM (#37848847)
> Edit: actualy Spanner looks like another CockroachDB

lol

cockroachdb is an external reimplementation of some of the ideas of spanner but without depending on excellent clocks.

Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by chx on Wednesday October 11, 2023 @03:13PM (#37848966)
> For everybody with databases that are not that huge PostgreSQL will do just fine.

Ha. Remember Gary Bernhardt of WAT fame? https://twitter.com/garybernhardt/status/600783770925420546

> Consulting service: you bring your big data problems to me, I say "your data set fits in RAM", you pay me $10,000 for saving you $500,000.

Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by jiggawatts on Wednesday October 11, 2023 @03:56PM (#37849482)
AWS will happily rent you a server with 24 TB of memory for about $200/hour.

Columnar databases typically get a 10:1 compression ratio over raw data = 240 TB effectively.

That’s a lot of data.

Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by RhodesianHunter on Wednesday October 11, 2023 @04:45PM (#37850028)
Which columnar databases are doing the above in-memory?
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by jiggawatts on Wednesday October 11, 2023 @05:37PM (#37850566)
SQL Server supports in-memory columnstore tables. I’m not an expert but I suspect SAP HANA also.

If you squint, any database engine is “in memory” if there is more buffer than data.

Or just use a RAM disk!

Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by folmar on Wednesday October 11, 2023 @06:17PM (#37851017)
> If you squint, any database engine is “in memory” if there is more buffer than data.

That is sadly not true, I remember one lonely night debugging a MSSQL 2012 instance that was _very_ slow, and it turned out that for a simple query (one join, 100 rows in one table and 10 in the other, 100 result in total, one where clause) it forced writing the result to disk before evaluating the WHERE condition. Unable to fight the scheduler I've ended up making a ramdisk for this data.

Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by jiggawatts on Wednesday October 11, 2023 @06:36PM (#37851239)
Yes, tempdb spills can be annoying, but I believe they never occur for queries that use only in-memory tables.
Re:Google Cloud Spanner is now half the cost of Amazon DynamoDB by mianos on Wednesday October 11, 2023 @05:27PM (#37850460)
Kdb with ease, but down 500k on on licenses and the cost of people who can use it. :)