News for hackers. Stuff that matters.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by jedieaston on Tuesday October 15, 2019 @10:29AM (#21258751)
Is this not a case study that anyone can leave Oracle now, if an Amazon scale install can?
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by mumblemumble on Tuesday October 15, 2019 @10:57AM (#21259090)
It is not.

Amazon accomplished the task by building their own Oracle replacement. You have to be approximately as large as Amazon for that to be a realistic option.

If you'd like to use the alternatives that Amazon built, you can, of course, migrate to Amazon Web Services. Though, if you dislike the vendor lock-in you're experiencing with Oracle, and are considering Amazon as a good place to flee to, you possibly haven't been paying attention. With Oracle, you're just renting the software. With Amazon, you're renting both the software and the hardware, and renting the hardware is a precondition of being able to continue using the software, AND they charge you a fee to move your data off of their hardware. It's one of the most well-engineered enterprise vendor lock-in traps the industry has ever seen.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by cwyers on Tuesday October 15, 2019 @11:03AM (#21259165)
Most places likely aren't using Oracle at Amazon's scale, either.

I suspect that one of MySQL, Postgres or Microsoft SQL Server can fill in for Oracle if you have access to the source code and can make changes yourself. (If you've bought software that is Oracle-only, then it's not an option -- but it wasn't an option for Amazon, either). I suspect that in a lot of cases, this will pay for itself, but it might take 10 years to do so.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by sovnade on Tuesday October 15, 2019 @11:23AM (#21259406)
Depending on the size of your install, there are companies that are very good at converting over something like Oracle to Postgres for probably much less than you'd expect. With the price of oracle licensing, your break-even could be in a year or two.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by jabl on Tuesday October 15, 2019 @12:25PM (#21260267)
Wouldn't surprise me if a large fraction of those installs could be replaced with sqlite..
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by bilbo0s on Tuesday October 15, 2019 @11:33AM (#21259526)
>Microsoft SQL Server

Out of the frying pan, into the fire.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by mumblemumble on Tuesday October 15, 2019 @11:42AM (#21259653)
MSSQL's really not too bad. Yes, it's a commercial offering, but there's nothing inherently evil about charging money for software, and you do get what you pay for.

I've worked in both MSSQL shops and PostgreSQL shops, and, while I wasn't in charge of the budget, I wouldn't be at all surprised to find out that, once you factor paying your programmers and DBAs for their time into the equation, the MSSQL shop ended up having lower overall costs associated with its choice of DBMS.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by briffle on Tuesday October 15, 2019 @12:48PM (#21260576)
Have you worked on MSSQL licensing in the age of Virtualization and per-core licensing? It's gotten VERY complex according to some of my friends that still run it.

It seems they have changed their pricing strategy:

    Oracle: What is your IT budget? We'll take it. (all of it)

    Microsoft: Hey, at least we're not as bad as Oracle.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by nikanj on Tuesday October 15, 2019 @12:35PM (#21260367)
MS licensing is somewhat expensive, but easy to understand and relatively benign. Oracle licensing chokes you like the Drakh keepers from Babylon 5.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by mlashcorp on Tuesday October 15, 2019 @03:01PM (#21262355)
I'm currently working on a mssql shop, and on aws it's more than twice the price vs postgres or aurora. I don't see how you can justify the price difference
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by kirbypineapple on Tuesday October 15, 2019 @02:32PM (#21261997)
I'm not sure I follow this logic. Wouldn't both databases require the same amount of care and feeding? Are you suggesting that you need less DBA's per MSSQL database than for a PostgreSQL or Maria database?
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by mumblemumble on Tuesday October 15, 2019 @02:55PM (#21262286)
Yep. Because the tooling is stronger. The developer ergonomics are better. The performance is better, meaning you'll be able to do more with fewer servers. MSSQL has a boatload of useful features that PostgreSQL lacks. (Clustered indexes and table-valued parameters are the ones I like to fixate on.) And so on. I can only personally speak to the developer story, but my experience has been that the productivity difference is huge. There's a night and day difference in the information you can get out of an EXPLAIN on each of them, for example, and I would get detailed emails warning me if a MSSQL query plan unexpectedly changed in production. With PostgreSQL you're more likely to need to build your own tooling for that sort of stuff, or just wait for a user to complain. On the DBA side, I'm hazier on the details, but I've seen PostgreSQL DBA's sinking hours' or sometimes even days' worth of effort into grinding through tasks tasks that an MSSQL DBA can bang out by spending a couple minutes clicking through a wizard dialog.

If you're a tiny startup, the differences won't amount to all that much, and it will be hard to justify MSSQL's price tag, which is fine, because, yeah, you can't afford it, anyway. If you're an enterprise or otherwise have large database needs, the differences can very quickly become apparent, and easily worth the money.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by olavgg on Tuesday October 15, 2019 @04:11PM (#21263158)
I have worked with both databases over a decade. The biggest difference between SQL Server and Postgresql is neither tooling or performance(both are excellent), but the community and culture.

By far, PostgreSQL has more knowledge sharing and documented edge cases. Not to mention that the official PostgreSQL documentation is probably one of the best documented software systems ever. This makes PostgreSQL a lot easier to learn and use and that also affects the amount of money you need to spend.

SQL Server has some annoying edge cases, licensing is a real pain point these days, but so are the technical issues like lack of schema support in the JDBC driver. Other things are that you cannot pipe the backup. I would love to take backup of an Azure SQL service to my local machine with SSH.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by fanf2 on Tuesday October 15, 2019 @04:37PM (#21263459)
Instead of a table-valued parameter, wouldn’t you use an array of a composite type in PostgreSQL? What are the relative good and bad points?
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by philliphaydon on Wednesday October 16, 2019 @02:19AM (#21267590)
Yeah. And you don’t need to create a custom type to handle it as a parameter. So it’s easier.

The only thing SQLServer has over PostgreSQL is multiply resultsets. That’s it. I really wish that existed in PostgreSQL to prevent round trips.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by ebiester on Tuesday October 15, 2019 @12:02PM (#21259951)
That said, if you restrict yourself to the PostgreSQL subset of Aurora, you will be able to move to any Postgres implementation down the line.

Yes, they charge you a fee to move your data off. However, that is not the limiting factor for people moving off of Oracle. (And if it is, they're probably not looking at AWS in the first place.)

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by bob1029 on Tuesday October 15, 2019 @06:28PM (#21264663)
I would protest the point that you have to be as large as Amazon to produce your own database-as-a-service solution, especially if you are only building it for yourself. Throwing some automated tooling around Postgres and any arbitrary linux VM hypervisor API should get you a lot of the same value.

It doesn't take a ton of magic to allow a developer to spin up a pg cluster with a few clicks via some custom web tool. Reporting and operations are trickier to handle, but if you don't need to satisfy the same customer base as Amazon does (i.e. you are your only customer), you could probably pull this off at nearly any scale.

That said, I will certainly grant you the cloud vendor lock-in angle. It truly is one of the biggest ploys of this decade. My organization takes great pride in only using the most fundamental of cloud resources (compute instances, block storage, DNS, VPN, routing). If we had to evacuate AWS to on-prem or some other provider, it would not be a huge ordeal. For those who wound up with their entire business stuck firmly inside vendor-specific things like Lambdas, you have my deepest sympathies.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by didibus on Tuesday October 15, 2019 @01:57PM (#21261536)
They don't really charge you a fee. The only thing you are charged is data transfer out cost of whatever amount of data you transfer out. And that price is the same whether you are transferring data out for backup, for use by your internal systems, etc. Or for leaving to another vendor.

Also, as far as I know, all cloud providers charge for data transfer out.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by ravedave5 on Tuesday October 15, 2019 @01:43PM (#21261355)
There are plenty of alternatives that don't lock you to Amazon. One of my teams just migrated from oracle to MariaDB and saw big performance gains. We happen to be using AWS for hosting, but it's Maria, we can go anywhere.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by zentiggr on Tuesday October 15, 2019 @01:00PM (#21260770)
Thank you for mentioning the departure fee... That just took AWS off the table for me unless I'm pushed into it by other (paying) parties.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by didibus on Tuesday October 15, 2019 @01:54PM (#21261509)
It's not really a fee. It's just the price they charge you for data transfer to external systems. This is known as Data Egress charges and all cloud providers I know off has it. The cost of egress will depend on which service you are using. Some services have lower data transfer out costs, some have higher, etc..
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by jeffbarr on Tuesday October 15, 2019 @03:38PM (#21262768)
There is no departure fee. As others have pointed out, this is simply data transfer.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by mypalmike on Tuesday October 15, 2019 @01:45PM (#21261389)
I believe the parent is referring to the price of the bandwidth that would be required for transferring data from AWS to somewhere else.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by abledon on Tuesday October 15, 2019 @12:41PM (#21260476)
can you give an eli5 of postgresql's offering vs oracle db? Why isn't there an open source equivalent right now? What 'extra stuff' did Amazon have to build to make it 'more' than the open source stuff available right now.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by mmsimanga on Tuesday October 15, 2019 @10:47AM (#21258984)
> some third-party applications are tightly bound to Oracle and were not migrated

Oracle's strategy of buying companies like PeopleSoft is paying off.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by lawnchair_larry on Tuesday October 15, 2019 @10:43AM (#21258917)
Or is it a case study that you need the resources of Amazon to pull off migrating from Oracle?
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by StreamBright on Tuesday October 15, 2019 @12:04PM (#21259981)
I think the approach can be applied to many companies. I have seen some companies turning every single data storing problem into an Oracle problem. Amazon turned many of the problems into ones that are easier to solve. Using 6 different technologies[1]. I am sure not all applies to all departments but it is a better approach to do this at the scale they got. For small companies this really does not matter. If your hot data fits a single node disk cache you obviously won't benefit from using a horizontally scalable database but Oracle's customers are often in the higher end of the scale spectrum. The question is how can Amazon compete with Oracle where the relationship is there for decades between a customer and Oracle. Good example of this is banks. They managed to get some of the financial companies to move some workloads to AWS but to move Oracle workloads to something else is a whole different game.

1. https://media.amazonwebservices.com/blog/2019/bye_bye_oracle...

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by AshwinDurairaj on Tuesday October 15, 2019 @10:52AM (#21259044)
SAP and Salesforce would love to, but haven't achieved Oracle-free status to the joy of Larry.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by notzuck on Tuesday October 15, 2019 @01:08PM (#21260868)
S4 doesn't use Oracle, Commerce doesn't use Oracle. Some of the acquisitions still do because nobody wanted to free up cash.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by ceejayoz on Tuesday October 15, 2019 @11:20AM (#21259380)
Just because Bill Gates has the resources to buy a fleet of 747s doesn't mean I can.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by tanilama on Tuesday October 15, 2019 @04:37PM (#21263460)
It is. The effort is not really as other comments put out to build a Oracle competitors. Arguably for most companies, the open source alternatives are enough for them to be happy with.

What Amazon shown here is the transition at scale is possible.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by vkaku on Tuesday October 15, 2019 @10:33AM (#21258813)
It shows that a big company like Amazon, hiring thousands of SDEs still needed other vendors software than their own, because of all that time they spent in hiring and firing people and obsessing over their customers needs.

sarcasm

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by vkaku on Tuesday October 15, 2019 @10:37AM (#21258843)
Also, MySQL is technically, an Oracle database (after Sun got bought out). Now they should write some migrations to turn all of that off.

sarcasm intensifies

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by deweller on Tuesday October 15, 2019 @10:43AM (#21258930)
I expect the internal teams use Amazon Aurora instead of MySQL. Aurora is compatible with MySQL but is not owned by Oracle.
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by vkaku on Tuesday October 15, 2019 @10:52AM (#21259039)
Yeah but the client interfaces are all MySQL. Oracle should buy off PostgreSQL too. And then it should start charging only Amazon for using these interfaces.

moar sarcasm.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by gerdesj on Tuesday October 15, 2019 @11:16AM (#21259319)
Re:Amazon’s Consumer Business Turned Off Final Oracle Database by vkaku on Tuesday October 15, 2019 @11:40AM (#21259625)
There was also MaxDB, and a few other that Monty built. There's also Percona, WebscaleSQL and a few other forks.

Amazon have been using MySQL even before all these forks happened. And not only that, if Oracle decided to pursue a lawsuit, or if MariaDB, Percona, Elasticsearch or EnterpriseDB did, Amazon will have to cough up.

This is not really a thing that Amazon should be bragging about, because it makes no real sense! They still run a lot of software they did not write.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by jhall1468 on Tuesday October 15, 2019 @12:52PM (#21260641)
Note: Amazon employee, but opinions are mine.

Amazon did not replace Oracle with MySQL. You seems to talk a lot given your knowledge of how Amazon operates internally and how licensing works is... blatantly false.

All of those DB's that could "pursue" a lawsuit are built on open source licenses which Amazon is not violating.

But the most important point here: The idea that you have to write a database to be happy to be off Oracle is insane. Amazon moved to an alternative that doesn't have a deep license designed to financially screw their clients as much as possible. That's a win.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by vkaku on Tuesday October 15, 2019 @01:55PM (#21261512)
1. When did I say that Amazon replaced Oracle with MySQL? I just said that MySQL is an Oracle database.

2. Open Source licenses that Amazon is not violating - a 3rdparty lawyer would be able to ascertain better about the extent of legality on Amazon's changes and its contribution back to open source software than you and I do.

3. Ex-Amazon employee here. My comments are purely based on my observation - and purely my opinions. Why can't I talk a lot?

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by jhall1468 on Tuesday October 15, 2019 @02:07PM (#21261666)
1. I assumed it was implied. Why else bring it up?

2. If there was a means to sue Amazon for hosting databases, Oracle would have already done it a LONG time ago with MySQL. The burden is on you to prove your claim.

3. You are free to talk as much as you want, just expect push back when you aren't right, a lot. ;)

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by vkaku on Tuesday October 15, 2019 @02:30PM (#21261967)
1. and 2. Amazon does use a lot of MySQL, and the fact that they still do. Oracle can determine when and how it wants to bill Amazon. You and I can't change any of that.

3. Except when the other person isn't. You just lost me on the last comment.

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by cthalupa on Tuesday October 15, 2019 @03:32PM (#21262704)
>Amazon have been using MySQL even before all these forks happened. And not only that, if Oracle decided to pursue a lawsuit, or if MariaDB, Percona, Elasticsearch or EnterpriseDB did, Amazon will have to cough up.

Pursue a lawsuit over... what, exactly?

Re:Amazon’s Consumer Business Turned Off Final Oracle Database by StreamBright on Tuesday October 15, 2019 @12:07PM (#21260007)
No, it means that Amazon reached the point of considering other solutions than Oracle (I bet partially because of cost) at the time when this project started to move their database workloads that at the time were residing on Oracle to something else. Amazon uses many software vendors, they by no mean suffer from the NIH (not invented here) plague.