Slashdot Mirror


MemSQL Makers Say They've Created the Fastest Database On the Planet

mikejuk writes "Two former Facebook developers have created a new database that they say is the world's fastest and it is MySQL compatible. According to Eric Frenkiel and Nikita Shamgunov, MemSQL, the database they have developed over the past year, is thirty times faster than conventional disk-based databases. MemSQL has put together a video showing MySQL versus MemSQL carrying out a sequence of queries, in which MySQL performs at around 3,500 queries per second, while MemSQL achieves around 80,000 queries per second. The documentation says that MemSQL writes back to disk/SSD as soon as the transaction is acknowledged in memory, and that using a combination of write-ahead logging and snapshotting ensures your data is secure. There is a free version but so far how much a full version will cost isn't given." (See also this article at SlashBI.)

11 of 377 comments (clear)

  1. Re:Err... what? by viperidaenz · · Score: 4, Informative

    Just leaves me with the question, what are they trying to get out of this BS?

    Your money, its not a free piece of software.

  2. Re:okay...? by Ziekheid · · Score: 3, Informative

    He was being sarcastic..

  3. Re:Show me vs a real DB engine by BitterOak · · Score: 4, Informative

    Show me benchmarks vs Oracle, PostgreSQL or SQLServer. Spare me the comparison with MySQL or some other toy.

    I think the reason the comparison to MySQL is appropriate is that this database is supposed to be MySQL compatible.

    --
    If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
  4. Re:Show me vs a real DB engine by symbolset · · Score: 4, Informative

    This i supposed to be funny. Oracle prohibits private benchmark publication in their license.

    --
    Help stamp out iliturcy.
  5. Filesystem anyone? by Anonymous Coward · · Score: 2, Informative

    Remember the good old days, when XYZ-db wasn't always available (or even disirable)? we used to use files.

    Yea, files. Novel concept, these days, mention ISAM to someone and they don't know what you're talking about!

    If you really need speed, maybe a database isn't your best bet. Maybe, just maybe, you should consider structuring the data in a way that makes sense for your application using files.

  6. Re:Ya Don't Say! by arth1 · · Score: 4, Informative

    The third is to store regular InnoDB tables on a ramdisk. This can be crazy fast, but it also means that if your server crashes or loses power, you're *fucked*

    Not necessarily. There are battery-backed volatile RAM devices that can last for days, and also non-volatile RAM devices like F-RAM and MRAM.
    Battery backed volatile RAM can even be considered "cheap" - if the bottleneck are in tables small enough to fit on these, or the amount of overall writes is so high that placing the innodb logs there makes sense, it can be cheaper than a RAID10 or 50 of high-speed SAS drives.

    The HyperCard / ACARD drives, for example, are only $300 plus RAM. And if the worst happens, you can even dump the RAM to a CF card before the battery runs out.

  7. Re:How do they write to disk faster? by Surt · · Score: 4, Informative

    SSD is significantly faster than HDD at both sequential and random writes. Top 15K SAS drives write ~250MB/s sequential. Top SSD write 550MB/s sequential. Write random and it gets much worse for the SAS drive. Try to even find an enterprise HDD benchmark done in the last year. No one bothers because enterprise buys SSD if they care about performance.

    --
    "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
  8. Re:okay...? by Areyoukiddingme · · Score: 4, Informative

    Here on Slashdot, we have a convention for saying that with less typing. It's spelled like this:

    *woosh*

  9. The Devil Is In The Detail by Anonymous Coward · · Score: 4, Informative

    I've had a love-hate relationship with MySQL for over ten years now, and have as much cause to hate it as anyone, but I have to point this out. Read the MemSQL docs carefully, and here's the killer - they only support single-query transactions, and only at isolation level READ COMMITTED.

    Until those two facts change, then its hardly a fair comparison.

  10. Re:Ya Don't Say! by Anonymous Coward · · Score: 4, Informative

    For those who don't get the reference:

    http://www.xtranormal.com/watch/6995033/mongo-db-is-web-scale

  11. Re:A nice approach perhaps... by Anonymous Coward · · Score: 2, Informative

    AFAIK, that's how any decent DB system works.

    Yes, but he said MySQL...