You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I adjusted the script a little bit on my fork. Following is the pseudocode:
Before:
for item in items:
dump_file()
for item in items:
update_db()
for item in items:
remove_blobs()
After:
for item in items:
dump_file()
update_db()
remove_blobs()
the scanned rows would become less and less, I guess it will improve the performance a little
For MongoDB, I am a newbie. As you can see from the screenshot below, about 20s to dump the file, and 20 more seconds to remove blobs. The migration process is pretty slow. So I am wondering if there is a way to improve it, thanks in advance, and thanks for your script!
The text was updated successfully, but these errors were encountered:
ranqiangjun
changed the title
Is there anyway to improve the performance
Is there any way to improve performance
Jul 6, 2019
I adjusted the script a little bit on my fork. Following is the pseudocode:
Before:
After:
the scanned rows would become less and less, I guess it will improve the performance a little
For MongoDB, I am a newbie. As you can see from the screenshot below, about 20s to dump the file, and 20 more seconds to remove blobs. The migration process is pretty slow. So I am wondering if there is a way to improve it, thanks in advance, and thanks for your script!
The text was updated successfully, but these errors were encountered: