Re: DB migration: Loading a massive fixture dump

2020-09-03 Thread Fred Blaise
Just for the follow-up, I ended up using pgloader and after some argument tweaking, it worked. Cheers. On Wednesday, September 2, 2020 at 7:26:04 AM UTC+2 Fred Blaise wrote: > Hi Mike, > > Thanks for the answer. > > Yes, I was aware yet hopeful regarding the size. > > Regarding the converter, I

Re: DB migration: Loading a massive fixture dump

2020-09-01 Thread Fred Blaise
Hi Mike, Thanks for the answer. Yes, I was aware yet hopeful regarding the size. Regarding the converter, I would be interested to take a look at your py3 work, if you could forward it along. Thanks. On Wed, Sep 2, 2020, 00:21 Fred Blaise wrote: > Hi, > > I have to migrate a database from m

Re: DB migration: Loading a massive fixture dump

2020-09-01 Thread Mike Dewhirst
On 2/09/2020 3:51 am, Fred Blaise wrote: > Hi, > > I have to migrate a database from mysql to postgresql. Unfortunately, > there is quite a bit of data in there. > > As a strategy, I thought of using Django's ORM feature, dump the data > from my setup using mysql, and load the fixtures on the other

Re: DB migration bug in 1.8.3 when creating ManyToMany relation.

2015-08-03 Thread mohsenbande
Chen, what is the error? is it the same as what i reported here On Tuesday, August 4, 2015 at 4:24:01 AM UTC+4:30, Chen Xu wrote: > > Hi Everyone, > Does anyone experience a bug in 1.8.3 on creating ManyToMany relations? I > have

Re: Db migration

2009-10-26 Thread Tom Evans
On Mon, 2009-10-26 at 16:09 +0530, aju mathew wrote: > Hi > > How can I populate values from a python file to database. > > Is it any commands their for db migration from command prompt. > > -- > Thanks & Regards, > Aju P Mathew > http://docs.djangoproject.com/en/dev/howto/initial-data/ Che

Re: Db migration

2009-10-26 Thread Daniel Roseman
On Oct 26, 10:39 am, aju mathew wrote: > Hi > > How can I populate values from a python file to database. > > Is it any commands their for db migration from command prompt. > > -- > Thanks & Regards, > Aju P Mathew What do you mean a 'Python file'? If it's in a Python file, you can use ORM comma

Re: DB migration from Oracle to MySQL

2008-04-04 Thread olive
Thank you for your answer Ian. Then I dropped the models for which there is no id (in fact I don't need them). I also removed these apps to prevent dumpdata from trying to read the related tables (which does not exists in the source Oracle DB): 'django.contrib.auth', 'django.contrib.cont

Re: DB migration from Oracle to MySQL

2008-04-03 Thread Ian
On Apr 3, 11:20 am, olive <[EMAIL PROTECTED]> wrote: > Hello again, > > I've tried dumpdata after having copied back my tweaked models.py to > the Oracle powered Django project. > > After 1 minute of intensive CPU activity this message appears: > > D:\test>python manage.py dumpdata test > Tracebac

Re: DB migration from Oracle to MySQL

2008-04-03 Thread olive
Hello again, I've tried dumpdata after having copied back my tweaked models.py to the Oracle powered Django project. After 1 minute of intensive CPU activity this message appears: D:\test>python manage.py dumpdata test Traceback (most recent call last): File "manage.py", line 11, in exec