415 points · by postila · 10y ago · 210 comments
* Reasons to migrate were: unresponsive support, inconvenient deployment, closed source, huge cost.
* It took just 10 man-years to rewrite whole project from Oracle to Postgres (e.g. 10 developers, 1 year), which is amazing.
* They benefited from Postgres data versioning, arrays and composite types.
* They liked writing logic on PL/pgSQL more than on Oracle PL/SQL: reduced code size, increased test coverage.
* Easier deployment of changes due no library cache locks.
Great thing for community is that Yandex now commited to Postgres, meaning it will get more testing and bug-fixes faster.
That remains to be seen. There's a fair amount of huge postgres users that don't even bother to report bugs they find...
If Uber DBAs came to IRC or any public place (see http://Postgres.chat) where Postgres experts are present and didn't hesitate asking questions, they would still be running Postgres.
So for the moment I'm using zoho.com.
I tried Zoho last year after hearing multiple recommendations and it was nothing but problems with spam coming in and my outbound emails being incorrectly marked as spam. I even had SPF + DKIM tested and working from the start! Not sure I would try them again after that experience.
Thinking about switching untrusted one over to Fastmail. Still surveillance state but less surveillance and supposedly good uptime.
If you live in US but use yandex, Russian gov spies on you but you live in USA and therefore cannot be arrested as easily.
http://www.stratcomcoe.org/internet-trolling-hybrid-warfare-...
So as much as I want to talk about Oracle vs. Postgres, these slides aren't giving me anything technical to debate.
2. The other concern was Oracle's slow bugfixing and reaction to feedback.
So, this is a good case showing how a company can stop wasting millions of $ for proprietary software, joining Open Source community, contributing to it and taking benefits from tech collaboration with core developers of the product.
- PL/SQL was harder to deploy than PL/pgSQL (as stated later)
- Only synchronous interface in Oracle's OCCI
- Problems with Oracle's development environments
- Not very responsive support from Oracle.
But the dev environment and support for Postgres are not talked about.
Also I can't quite figure out if "3x more hardware" is supposed to be a good thing on their last slide. It's possible that it's a good thing (if it's, say, we can replicate to more servers), but to me it doesn't read like one.
Initial architecture with 2 servers was set up that way to save money on Oracle per-core licensing. They wanted to add more, but that was too costly.
Not having to deal with stuff like this while having the same features/performance/stability/etc may qualify as a 'wow':
I'm guessing it was a few million dollars worth of wow-factor.
I'm a postgres fan and booster myself but I'd need a good reason to migrate a data backend on any project I'm managing.
http://www.oracle.com/us/corporate/contracts/processor-core-...
So if you look at just enterprise licensing, it's $47k per "processor" - which in their world, a single intel core counts as 0.5 processors. So if you've got a 36 core machine (which I think they mentioned in the video) that's 18 "processors". Or $846,000 for one box. You want clustering (RAC) - that's another $315,000. Partitioning? $207,000. So now we're up to ~$1.4 million for a single server. YAY!
Obviously these are list prices, so you should be paying less than that, but it gets ugly FAST.
Judging by the salaries from job sites and my yandex interview, the cost would most certainly top up at $0.5 million (that's a very generous guess, probably half or two thirds that, realistically). Not sure how much Oracle costs at Yandex scale (a LOT more?).
That's actually huge for companies that have invested in Oracle and feel trapped.
And the companies that buy Oracle, have a slight tendency to write all their core business logic inside the database.
Their mobile app (Android) is quite pleasant and lightweight.
What might be a problem for non-Russian speaking people is the lack of documentation in English. Quite often a random link redirects to a page in Russian.
We're looking to make the switch from SQL Server when 9.6 comes out (and proves to be more scalable).
On the other hand, PostgreSQL can take advantage of ZFS compression which is great for archiving cold data.
For analytical workloads, SQL is often a poor choice.
Full disclosure, I work for an analytics and BI Microsoft partner. There are plenty of great alternative semantic layers beyond SSAS, but I am not as comfortable with each of those.
Tells you something about how insanely costly Oracle's licenses are. Whatever you say about Oracle though - Oracle DB is an incredibly well performing and reliable piece of software. (Attested by experience - we had several Oracle DBs running on HP-UX Itanium that only needed to be handled when OS and Oracle patches were needed. Massively used too - think 36 PA-RISC cores at peak, 24 IA64 ones. It also helps that there are lot of DBAs with great deal of Oracle experience.)
While I never tried yandex's email, I do share the impression that gmail is too magical and shouldn't be labelling my emails outside of the explicitly rules that i have set.
> To be fair Russia along with the US, France & Japan is one of my favorite countries, so I might be very biased.
Haha same here! It makes me so sad the propaganda war that russia and the us are having. Those two countries are similar in so many ways. Russia was unfortunate that communism had a successful revolution, so they are currently some 30 years behind culturally :-/
Not related with the migration itself but I tried to use yandex and its mailing service a couple of years ago when attempting to become google independent but it didn´t work well with spanish queries so I eventually went back to google. But I recall that yandex mail was really nice.
That Yandex chiefly targets the Russian, other Cyrillic, and Turkish markets limits its exposure to people who aren't in those markets. And some of it has to do with the kitchen-sink nature of what Yandex does (a lot of tech and some media), in that it's easy to mistake them to be similar to other such companies (Yahoo, Verizon, AOL -- incidentally they're now all the same) that have a similar spread of services, and yet they're not generally complimented in their tech achievements.
[1] https://en.wiktionary.org/wiki/everything_but_the_kitchen_si...
[2] http://dictionary.cambridge.org/us/dictionary/english/everyt...
There are a couple of downsides, but really - there's a lot more upsides to Postgres than downsides (IMO).
A useful series of tweets by @SwiftOnSecurity about why storing data in the US isn't a bad idea:
https://twitter.com/SwiftOnSecurity/status/77549120598337126...
Yes. In fact, I'd say that's the case even if your only concern is with the US government.
Virtually all of the controversy over US government actions with regard to local data is about violation of expectations (some of which are codified into law) about domestic surveillance by doing things which are uncontroversial in the context of foreign surveillance, and its not like the US lacks capacity or will for foreign surveillance.
That said, Russia doesn't even have the constraints (legal or mere expectations) on domestic surveillance that the US domestic actions raise concern for violating, so if your concern extends beyond US government surveillance, then that compounds the problem when hosting in Russia.