Don't load whole SQL file into memory at once

Bug #1188634 reported by Daniel Holbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
D-A-T Overview
Fix Released
Medium
Andrew Starr-Bochicchio

Bug Description

Right now we load the entire 3gb SQL file into memory at once which will always make problems with smaller servers.

Related branches

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

In the meeting, I suggested that maybe we could connect to UDD programmatically. Turns out UDD only accepts guest connections from wagner.debian.org and quantz.debian.org So that's a no go, but since I have access to those machines I set up a cron job on wagner to dump just the ubuntu_upload_history table than scp it over to my public_html on alioth.debian.org:

http://alioth.debian.org/~asb/udd/ubuntu_upload_history.sql

Right now, it is running once a day at 22 UTC. If we start using that rather than the full dump of UDD, it should help with both the memory and bandwidth issues. It is about 159M

Revision history for this message
Daniel Holbach (dholbach) wrote :

You are a hero!

Changed in dat-overview:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Changed in dat-overview:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.