Offered here: A script for parallelizing db updates, where possible

Bug #1164031 reported by Mike Rylander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Triaged
Wishlist
Unassigned

Bug Description

    This script takes a file of SQL commands, one complete command per line,
    and applies them in parallel via psql.

    Caveats:
     * no multi-line commands
     * no protection against foot-guns in the SQL (check for injections!)
     * probably will cause puppies to be eaten

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/miker/parallel-db-upgrade

Ben Shum (bshum)
Changed in evergreen:
status: New → Triaged
Revision history for this message
Galen Charlton (gmc) wrote :

Puppies are too grisly to make good food; I think this is better off living as a contrib or a spell on the wiki until foot-gun protection is added. Removing pullrequest for now.

tags: removed: pullrequest
Elaine Hardy (ehardy)
tags: added: wishlist
tags: added: database
removed: wishlist
tags: added: supportscripts
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.