This project is read-only.

Import very slow

Topics: Administration, Troubleshooting
Jan 19, 2016 at 10:17 PM
Edited Jan 19, 2016 at 10:17 PM
My XML export from production is getting pretty huge. It takes around 15 minutes to import. What would you suggest to optimize the import process?

Thanks for your help.
Jan 20, 2016 at 9:02 PM
Edited Jan 20, 2016 at 9:03 PM
Did you enable batching? On the Content (or Data, if you're on <=1.9.2) element, you can include a batch size. Should increase speed noticeably. Also, which Orchard version are you on?
Jan 20, 2016 at 9:06 PM
I'm on 1.8.0. How can you define a batch size?
Jan 21, 2016 at 4:47 PM
I found how to specify a batch size. It's much faster. However, I found that some ContentItemVersionRecords are not published while they were when I did not specify a BatchSize. Any idea?
Jan 22, 2016 at 11:05 AM
No idea. Can you reproduce this issue with the version from the dev branch? If so, I would create an issue on GitHub with repro steps.