Skip site navigation (1) Skip section navigation (2)

Re: MySQL HandlerSocket - Is this possible in PG?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Michael Ben-Nes <michael(at)epoch(dot)co(dot)il>
Cc: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: MySQL HandlerSocket - Is this possible in PG?
Date: 2010-12-21 11:31:47
Message-ID: AANLkTikPTBgtpZO0O9hTZ0McngwjukJY4NipVN+85s_6@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-performance
Hello

you can emulate it now.

a) try to do a simple stored procedure, where you can wrap your query
b) use a FAST CALL API to call this procedure
c) use a some pool tool for pooling and persisting sessions

Regards

Pavel Stehule

2010/12/21 Michael Ben-Nes <michael(at)epoch(dot)co(dot)il>:
> Hi,
>
> Just stumbled on the following post:
> http://yoshinorimatsunobu.blogspot.com/2010/10/using-mysql-as-nosql-story-for.html
>
> The post claim that MySQL can do more qps then MemCahed or any other NoSQL
> when doing simple queries like: SELECT * FROM table WHERE id=num;
>
> And I wonder if:
>
> 1. Currently, is it possbile to achive the same using PG 9.0.x
> 2. Is it possible at all?
>
> It seems to me that if such gain is possible, PG should benefit from that
> significantly when it comes to Key/Value queries.
>
>
> Best,
> Miki
>
> --------------------------------------------------
> Michael Ben-Nes - Internet Consultant and Director.
> http://www.epoch.co.il - weaving the Net.
> Cellular: 054-4848113
> --------------------------------------------------
>

In response to

Responses

pgsql-performance by date

Next:From: Mladen GogalaDate: 2010-12-21 11:34:27
Subject: Re: CPU bound
Previous:From: Michael Ben-NesDate: 2010-12-21 09:09:53
Subject: MySQL HandlerSocket - Is this possible in PG?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group