Live data from Hacker News

Poll: What database does your company use?

news.ycombinator.com

251–260 of 378 posts

Re: Poll: What database does your company use?

#251
Speaking of Databases - Has anyone here @ HN got a first/second hand experience migrating from Oracle 10G to PostgreSQL?

Let's say migrating a multi node 10G RAC instance - what would I lose in terms of functionality - Distributed transactions, limitations on # of replicated nodes, RAT etc.

Just curious how far it has come in terms of replacing Oracle.

Re: Poll: What database does your company use?

#252
post #83

SQLite all over the place – it's great having a super portable DB format for quick little hits. There's nothing quite like sending a DB as an email attachment.

For me JSON has replaced SQLLite, with a large reduction in code and complexity. [ Admittedly I've written my own routines to access it more simply/directly on iOS ]

You're getting jumped on, but you have a good point. It's often easier to just stringify a dictionary and read it back as the object instead of handling the database creation/insertion/selection if all you need is to store and access a few values.

Re: Poll: What database does your company use?

#255

Earlier quoted context omitted.

Amazon uses Oracle. I think to completely disregard Amazon because of this fact would be a mistake.

As does Facebook I believe

Facebook uses MySQL as it's primary data store, with some hbase, cassandra, and other more minor usage storage solutions in various places.

Re: Poll: What database does your company use?

#256

Earlier quoted context omitted.

SQLite is so pervasive that I'm pretty sure everyone uses it at some point. It's in client applications, it's used by yum (the package manager found on CentOS/RHEL/Scientific Linux systems), it's part of many web applications, it's part of many spam filtering systems, it's part of Android (maybe iOS, too?), it's basically impossible to avoid it if you're a nerd. Also, it's awesome.

Firefox uses it.

So does Chrome

Re: Poll: What database does your company use?

#257

Earlier quoted context omitted.

SQLite is so pervasive that I'm pretty sure everyone uses it at some point. It's in client applications, it's used by yum (the package manager found on CentOS/RHEL/Scientific Linux systems), it's part of many web applications, it's part of many spam filtering systems, it's part of Android (maybe iOS, too?), it's basically impossible to avoid it if you're a nerd. Also, it's awesome.

Firefox uses it.

So does Chrome. Actually, this comes in handy: http://sqlite.org/famous.html

Re: Poll: What database does your company use?

#258
post #229

Earlier quoted context omitted.

For tabular data, relational databases rock. But the relational model doesn't align well with object-orientated programming so you have an ORM layer that adds complexity to your code. And with relational databases, the complexity of your schema grows with the complexity of the data. The graph-database model simplifies much of this and makes working with the modern-day social graph so much cleaner. Graphs allow you to…

> But the relational model doesn't align well with object-orientated programming so you have an ORM layer that adds complexity to your code. The mismatch comes about for a number of reasons: * OOP has no formal basis so it can't be reliably transformed into relational terms. * OOP is identity-bound -- each object is essentially an address in memory, not a relation in a set. * The biggie: OOP mixes data with behaviour…

The "NoSQL vs SQL debate" name will eventually change. Instead of isolating SQL from the other datastores, the debate will move toward discussing which database is the right tool for the job, where SQL/relational databases will have a specific role.

Putting relational databases into their own group is silly. I believe this came about because relational databases have dominated for so long, and this has caused developers to try and fit every problem into the relational database model.

In the early days of the Web, choosing a database meant choosing between relational database management systems -- Oracle was king but expensive, Microsoft SQL Server if you were on a Microsoft stack, and PostgreSQL or MySQL were the primary open-source options (with one being a real RDBMS while the other was basically just an SQL interface to the file system).

Ten years ago the RDBMS was the only good option so that's what everyone used even though many problems and programming languages didn't match up well with it -- it was like trying to fit a square peg in a round hole.

You don't have to do that anymore so relational databases can stop being the one-size-fits-all solution, and instead we can move toward using them for the specialized cases where they're the right fit.

Re: Poll: What database does your company use?

#259

Earlier quoted context omitted.

Why do you use pgsql over mysql? I've used mysql a lot, and pgsql a little. I can't tell the difference, other than pgsql being slower and having less support. Some people swear by it, so I'm curious what I am missing.

I personally picked PostgreSQL instead of MySQL since I don't trust Oracle. Why support a free database server when it competes with Oracle RDBMS? Granted Oracle RDBMS is extremely expensive, but still, something doesn't sit well with me...

MySQL is licensed under the GPL, and that isn't going to change. Oracle can't kill MySQL, nor can they force you to pay for it. I think your fears are unfounded.

Re: Poll: What database does your company use?

#260
post #145

Is it possible HN has a very strong bias on web developers? Because in "serious business" or at least in my case in finance, you almost always find Oracle and DB2 being the leading DBs and maybe Sybase and maybe-maybe mysql or mssql but hardly ever postgre no matter how awesome it is and definitely never-ever something hip and cool and latest-fashion/fad like Mongo or Couch.

It would appear so. The poll question is basically meaningless anyway, as it leaves out "for what purpose." I'm going to have different criteria for storing web app session data than I am storing financial transactions that are subject to audit.
Post reply on HN