Live data from Hacker News

Oracle vs. PostgreSQL – A Comment

postgresql.org

81–90 of 238 posts

Re: Oracle vs. PostgreSQL – A Comment

#81

It has been known for DECADES that Oracle is outrageously expensive compared to the competition. But the unwillingness of larger companies to go with open-source databases which have no multi-billion dollar company behind them has kept Oracle in the saddle all these years.

Also, government lobbying. How many large government databases do you think are oracle? I suspect quite a lot.

Re: Oracle vs. PostgreSQL – A Comment

#82
post #3

Copying from https://stackoverflow.com/questions/12115397/is-it-against-l... : The standard license ( http://www.oracle.com/technetwork/licenses/standard-license-... ) you agree to when you download software from the Oracle Technology Network (OTN) does state that you're not allowed to disclose benchmarks. You may not: > - disclose results of any program benchmark tests without our prior consent. I sadly suspect that…

People are scared of corporations, but they don't really have much ability to damage you. They can't cause physical harm to your body. They can't take away your loved ones. All they can do is take some money. You started life with $0, so you can probably make it all back. It would be inconvenient, but not an existential crisis.

The likeliest outcome is that nothing will happen. The second most likely outcome is that they will say "don't do that again". People in this thread have a lot of speculation as to how evil Oracle is, but I haven't really seen them go out of their way to ruin people's lives. They sued Google over the range check function because they wanted a percentage of Android, not because they wanted to make Larry Page's life miserable. Legal action costs money, a lot of money, and even companies we think of as evil don't go out of their way to expose themselves to lawsuits.

More scary to me than evil corporations are people that spread fear, uncertainty, and doubt to encourage others to self-censor where they are afraid to speak out themselves. Everyone knows about Oracle's benchmark clause. Everyone knows that you personally would never even think of violating it. The author of this post sees it differently, and on a forum called "Hacker News", we should celebrate the risk he's taking, not spread fear about what could happen in the worst case.

Re: Oracle vs. PostgreSQL – A Comment

#83
post #20

Earlier quoted context omitted.

Vacuuming is online, with some performance hit while it's underway.

The latest release has multi-threaded vacuuming so it goes much quicker these days.

Aside of auto vacuuming, there is also VACUUM FULL [1] which does an exclusive lock on the table. If you look for an alternative option for reorganizing tables in online mode, try the pg_repack extension [2].

[1] https://www.postgresql.org/docs/current/sql-vacuum.html [2] https://reorg.github.io/pg_repack/

Re: Oracle vs. PostgreSQL – A Comment

#84
post #46

For those still on Oracle, why? Is it regulations or executives demanding certified solutions? And if so then with so many bugs at what point does certification become a negative signal?

Query hints are one reason. I'm not a fan of Oracle as a company, but for certain usage patterns you need query hints and Postgres doesn't support them.

I don't think it's likely that you ever really need query hints.

Even if updating analyses, creating indices, changing the query, etc. fails, you can always either use CTEs or temporary tables, or use a stored procedure that manually iterates over results to implement whatever strategy is desired.

It might be more time consuming than having query hints, although this is compensated by the fact that almost always queries just work after creating appropriate indices.

Re: Oracle vs. PostgreSQL – A Comment

#85
post #72

"create stand alone database: ~30m" If creating a database takes 30 minutes, there is something extremely wrong either in the procedure the person used to do so, or in the Oracle software itself.

Well, if the database has the number of tables, triggers, stored procedures, etc that SAP or Oracle’s ERP has then this seems less unreasonable. We’re talking thousands

Re: Oracle vs. PostgreSQL – A Comment

#86
post #57
post #22

Earlier quoted context omitted.

> You may not: > I mean... does anyone here think this is in any way reasonable? Is this even legal?

It's not about making it reasonable, it's an open threat to punish anyone who does decide to benchmark Oracle. Nobody's going to win the case, but whoever violates the term will surely wind up bankrupt defending themselves.

publish over tor with steps to replicate. lack of authority shouldn't be a problem because anyone can replicate it. reputable people might even be able to say they endorse the findings without running afoul of the EULA, considering they're just saying yes/no, not disclosing the results of the benchmark.

Re: Oracle vs. PostgreSQL – A Comment

#87
post #46

Earlier quoted context omitted.

Query hints are one reason. I'm not a fan of Oracle as a company, but for certain usage patterns you need query hints and Postgres doesn't support them.

PostgreSQL provides a variety of options for tuning both the query planner's strategy and the per-table statistical analyses that are used as input to the query planner itself. These tuning methods are actually far more robust than the query hints that are commonly used in other databases, including Oracle.

I'm not a DB expert by any means, but the DB experts at my job are pretty insistent that (given the way we deploy our software) it's not practical to do in Postgres what we can do with Oracle query hints.

Re: Oracle vs. PostgreSQL – A Comment

#88

I'm a big fan of Postgres, and it's got plenty going for it. That's not to say Oracle isn't a good database in its own right. The knocks against Oracle tend to be lock-in, complexity, price, but rather than go in a checklist comparison I'd rather say what's unique about Postgres: - Based on its license it's very hard for any one company or individual to "own" Postgres, this makes risk of a company as a bad actor bein…

"Based on its license it's very hard for any one company or individual to 'own' Postgres"

I know you already know this, but it takes a lot more than just a license. I'd like to call attention to the very enlightened (and noble) work others have done to build a robust political structure and community for Postgres.

The core team, committers and major contributors are spread across many companies and continents. There are different foundations across different regions for handling finances, trademarks, domains, and other basic business operations.

Amazingly, a lot of this structure was being put in place a long time ago, when Postgres was still the weird database option to choose.

Re: Oracle vs. PostgreSQL – A Comment

#89
post #84
post #46

Earlier quoted context omitted.

Query hints are one reason. I'm not a fan of Oracle as a company, but for certain usage patterns you need query hints and Postgres doesn't support them.

I don't think it's likely that you ever really need query hints. Even if updating analyses, creating indices, changing the query, etc. fails, you can always either use CTEs or temporary tables, or use a stored procedure that manually iterates over results to implement whatever strategy is desired. It might be more time consuming than having query hints, although this is compensated by the fact that almost always quer…

> It might be more time consuming than having query hints

The queries in question can't be allowed to get any slower than they already are. They bottleneck certain critical uses.

Re: Oracle vs. PostgreSQL – A Comment

#90
post #22

Earlier quoted context omitted.

> You may not: > I mean... does anyone here think this is in any way reasonable? Is this even legal?

VMware does it too. It's in the Eula.

I've heard of others prohibiting benchmarks before, which I can at least begin to comprehend (fair benchmarks are hard) even if I disagree. But prohibiting discussing things a product can't do is a new one on me.
Post reply on HN