Re: MySQL Proxy: Scenarios, Use Cases
Jonathon Suggs Wrote:
-------------------------------------------------------
> >example:
> >SELECT /*gallery*/ * FROM pictures WHERE ..
>
> Unless you have a pictures table in both your
> gallery and forum shards, then why not have the
> the -proxy take care of connecting to the
> appropriate database? Then you could just write
> syntactically correct queries inside your
> application (makes for MUCH easier debugging).
>
Because there is no way proxy would know where (on which logical pool/servers) the table actually resides.
It would be possible if proxy had perfomed SHOW TABLES on each of the attached server nodes but then again if you have pretty large table count (and changing) mantaining/refreshing makes much more pain. So the choice is on programmers/aplication side in which logical pool/shard drop the table and proxy has to hold only shard maping/naming.
Subject
Views
Written By
Posted
21470
July 09, 2007 11:35PM
7982
July 10, 2007 12:01AM
8101
July 10, 2007 11:21AM
5715
July 10, 2007 12:05PM
5807
July 10, 2007 12:17PM
5198
July 10, 2007 02:37PM
5186
July 10, 2007 04:07PM
4640
February 21, 2008 11:26PM
5032
July 10, 2007 11:55AM
8229
July 20, 2007 03:58AM
4948
July 30, 2007 01:21PM
Re: MySQL Proxy: Scenarios, Use Cases
5143
August 01, 2007 05:58AM
4668
August 01, 2007 06:03AM
4259
February 13, 2008 02:04PM
4217
April 08, 2008 04:25AM
5251
July 28, 2008 09:32PM
3843
September 24, 2008 02:44AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.