Hi David,
it would be great if you could share your actual query with us, by the description you gave I can only give some general implementation insights you may want to consider.
If you use an aql like this:
FOR x IN collectionA INSERT x IN collectionB
this should work in chunks of 1000 documents.
However, if you sort by a non indexed property, this may not be true:
FOR x IN collectionA SORT x.NonIndexedProperty INSERT x IN collectionB
Another way of doing this to minimize the stress on your infrastructure could be do dump and re-import using arangodump and arangorestore:
https://docs.arangodb.com/HttpBulkImports/Arangodump.htmlhttps://docs.arangodb.com/HttpBulkImports/Arangorestore.htmlSince indices are in memory, you may want to drop some temporarily to reduce the resource usage on your machine while you run such a very expensive query.
For performance reasons you may also consider to create the indices on collectionB _after_ loading it with content.
Did you actually experience the process go away? Or was it just unresponsive for a while? What was your actual query?
Hope this helps,
Cheers,
Willi