Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Anyone using MemSQL with Perl?

by jimpudar (Pilgrim)
on Nov 07, 2018 at 04:22 UTC ( #1225347=note: print w/replies, xml ) Need Help??


in reply to Anyone using MemSQL with Perl?

Hi all,

I can confirm that MemSQL does indeed work with DBD::mysql out of the box.

The only trick is using host=127.0.0.1 in your DSN to force a TCP connection instead of trying to connect via Unix socket.

Happy hacking!

Jim

πάντων χρημάτων μέτρον έστιν άνθρωπος.

Replies are listed 'Best First'.
Re^2: Anyone using MemSQL with Perl?
by 1nickt (Abbot) on Nov 07, 2018 at 12:46 UTC

    Hi, I am interested in hearing what about MemSQL interested you? Thanks.


    The way forward always starts with a minimal test.

      For my use case, I require extremely high write throughput but don't care much about durability. I also require indexing for fast queries.

      I've been using Redis with RediSearch, but I've always desired real SQL queries.

      In general, as RAM becomes cheaper and acceptable server response time shrinks, I think we will trend toward in-memory databases. MongoDB for example has an in-memory storage engine you can purchase. I do like MongoDB and Redis, but when you are dealing with relational data SQL is really the best fit IMHO.

      Jim

      πάντων χρημάτων μέτρον έστιν άνθρωπος.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1225347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2019-02-16 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (95 votes). Check out past polls.

    Notices?