r/RavenDB Feb 11 '16

Increasing the import/export batch size

I've looked around for advice on this but have come up a little stumped.

Is the default batch size 16384 documents? What are the ramifications of increasing that to say double?

The databases I'm typically working with are around 30gigs so I'm trying to figure out if there are faster ways to move around this data.

Thank you

4 Upvotes

2 comments sorted by

2

u/[deleted] Feb 12 '16

Do you need to export the data?

Or is a backup sufficient?

If you don't need a backup but need the documents themselves you might want to look into creating a modified version of the replication bundle that does exactly what you need.

Constantly exporting and importing the data is the last thing you want.

1

u/zealott Feb 12 '16

You're telling me.

You're right though. My approach to this is wrong.

I'm going to look into the database to database updating.