[Labs-l] Many DB connections - ideas?
Yuvi Panda
yuvipanda at gmail.com
Mon Oct 20 15:44:35 UTC 2014
On Mon, Oct 20, 2014 at 9:10 PM, Magnus Manske
<magnusmanske at googlemail.com> wrote:
> Anyone have ideas about how to make this faster/more scalable?
Because the labsdb servers now have a copy of all the language wikis
in the same server, you can just:
1. Open one connection
2. for each language, just issue a 'use <wikiname>_p' command first
3. Run the queries required
4. Go to step 2
So with this, you will need only one connection and that might be better?
--
Yuvi Panda T
http://yuvi.in/blog
More information about the Labs-l
mailing list