Re: how to do a django data migration on a massive Postgres data table (solved)

2015-05-27 Thread Vernon D. Cole
Hmm. Sorry, I think that I sent the download link when I intended the web link. The trailing ".git" made things bad. Try https://gist.github.com/vernondcole/9adedbab1899224a4eaf On Tuesday, May 26, 2015 at 4:51:59 AM UTC-6, aRkadeFR wrote: > > Thanks for the email on the django-user ML. > >

Re: how to do a django data migration on a massive Postgres data table (solved)

2015-05-26 Thread aRkadeFR
Thanks for the email on the django-user ML. I don't see the gist though, is the problem from me? On 05/22/2015 09:09 PM, Vernon D. Cole wrote: Django migrations are run in a single transaction (if your database is capable of doing a rollback of DDL, as PostgreSQL is) so data migrations of larg

Re: how to do a django data migration on a massive Postgres data table (solved)

2015-05-22 Thread Larry Martell
On Fri, May 22, 2015 at 3:09 PM, Vernon D. Cole wrote: > Django migrations are run in a single transaction (if your database is > capable of doing a rollback of DDL, as PostgreSQL is) so data migrations of > large tables become impossible. > > I was able to solve this problem by having the migrati

how to do a django data migration on a massive Postgres data table (solved)

2015-05-22 Thread Vernon D. Cole
Django migrations are run in a single transaction (if your database is capable of doing a rollback of DDL, as PostgreSQL is) so data migrations of large tables become impossible. I was able to solve this problem by having the migration run a no-wait subprocess which performs the data migration