Hi all, I'm populating my database manually using a script that create ORM objects and save them... I have a lot of datas and it's fairly slow. I'm wondering what is the best way to speed this up.
>From >http://docs.djangoproject.com/en/dev/howto/initial-data/#howto-initial-data I see there are two alternatives. * Using fixtures I could create a big json files (or several), and then load them. Will it be smart and do the smallest number of query, or a bunch of queries ? * Or using raw SQL ? (I'm using postgres, and I saw you can do an INSERT command with multiple rows. Is it a good way to speedup things) ? Thanks for any insights, - Benjamin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---