Last modified: 2014-05-08 21:41:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50896, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48896 - Please install Postgresql on Tool-labs
Please install Postgresql on Tool-labs
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Marc A. Pelletier
:
: 51885 (view as bug list)
Depends on:
Blocks: tool-missing-ts-feat osm-labs
  Show dependency treegraph
 
Reported: 2013-05-28 14:50 UTC by kolossos
Modified: 2014-05-08 21:41 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description kolossos 2013-05-28 14:50:45 UTC
A installation of Postgresql with PostGIS and hstore would be nice to work with Wikipedia-coordinates there.

I assume the amount of data will be relatively small compared with the data we will have later from OpenStreetMap on an other Server.
Comment 1 Marc A. Pelletier 2013-08-29 20:10:07 UTC
*** Bug 51885 has been marked as a duplicate of this bug. ***
Comment 2 Marc A. Pelletier 2013-08-29 20:10:24 UTC
We are currently working on setting up a Mysql DB on physical servers for Labs'
use; given that there are also nice things that can be done with a working
pgsql in general (testing mw against it comes to mind), I think this should be
provided as a general service.

The current mysql DB plan calls for a master/slave setup, it'd be easy to set
up a postgres server on those same servers as well -- switching roles so that
performance is distributed.
Comment 3 kolossos 2013-08-30 12:47:11 UTC
Nice things possible with psql would be:
*Have PostGIS to play with Wikipedia-coordinates or other geospatial data as mention before. 
*pgsql has a nice key-values store (hstore) 
*pgsql starts to support JSON[1]. This is perhaps a really nice way to make data from WikiDATA accessible.  

[1]http://www.postgresql.org/docs/9.3/static/functions-json.html
Comment 4 Andre Klapper 2013-09-11 17:33:25 UTC
[moving from "Tools" to "WM Labs > tools"]
Comment 5 Sumana Harihareswara 2013-09-28 00:17:07 UTC
Silke, what tools are waiting on this?
Comment 6 Andre Klapper 2013-11-08 15:30:59 UTC
Silke: Do you know tools which are waiting for this (Postgres on Tool labs)?
Comment 7 Silke Meyer (WMDE) 2013-11-08 17:20:51 UTC
This is for the part of OSM that is going to move to the Wikimedia Labs.
Comment 8 kolossos 2013-11-08 17:47:31 UTC
One tool which is waiting for it is Wikipedia coordinates [1], which is with 6 Mio. entries relatively small but often used. This tool is independent from OSM and was the reason for me to open this ticket, because it seems to be an easy task.  

Other tools like WIWOSM, Addtags, ... need off course the full OSM database.
Existing OSM tools can be found here [2] (by using the search function).  

If the database in WMF production is now running I hope we can get OSM database in Labs really soon.

Greetings 

[1]https://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Georeferenzierung/Wikipedia-World/en

[2]https://www.mediawiki.org/wiki/Wikimedia_Labs/Tool_Labs/List_of_Toolserver_Tools
Comment 9 kolossos 2013-12-16 19:00:31 UTC
Is there an schedule for it? I read something about Postgresql-server for Labs  in the WMF engineering report of November.
Comment 10 Marc A. Pelletier 2013-12-16 19:03:02 UTC
The hardware has been set aside for it in eqiad (the datacenter labs is moving to).  Since we are moving all of labs, it didn't seem reasonable to set it up for a month and then have to migrate it, so the postgresql instance will be available in the new location (we are gunning for early Feb).
Comment 11 kolossos 2013-12-18 18:42:34 UTC
Thanks for the info.
Comment 12 Silke Meyer (WMDE) 2014-02-05 09:05:15 UTC
Postgresql might be also needed to keep the toolserver wiki somewhere in Tool Labs (see #60220). Giving high priority for after the migration to equiad.
Comment 13 Alexandros Kosiaris 2014-03-04 11:20:55 UTC
PostgreSQL master/server databases are good and ready to go
labsdb1004 is the master, labsdb1005 is the slave. Streaming asynchronous replication is setup between them, as configured by the puppet module.

Some minor manual steps to get the architecture fully working will be documented in the puppet module. PostGIS is scheduled to be enabled soon. OSM syncing from planet.osm still needs some work and will be ready ASAP.
Comment 14 Silke Meyer (WMDE) 2014-05-08 14:56:59 UTC
So, can this ticket be closed?
Comment 15 Alexandros Kosiaris 2014-05-08 21:41:11 UTC
Indeed it can. Closing it. Thanks Silke

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links