I have a map/reduce script running for about 1800 ...
# ask-stanley-ai
a
I have a map/reduce script running for about 1800 records, how long should it take?
c
AI generated answer (using internal Slack threads):
The execution time of a Map/Reduce script in NetSuite can vary greatly depending on several factors. These factors include the complexity of the script, the number of records being processed, the load on the server, and the number of SuiteCloud Processors available in your account. In your case, you mentioned that your script is processing about 1800 records. However, without knowing the complexity of your script and the current load on the server, it's difficult to provide an exact estimate of how long it should take. However, it's worth noting that there can be time gaps between different stages of the Map/Reduce script execution. This is because the server running your scripts has a finite number of threads that is shared among multiple accounts. Your account can use a certain amount of threads determined by your SuiteCloud processor count. If there are other accounts using up all the threads, or if your account has no more SuiteCloud processors, your scripts will wait. If you notice that the wait time is too long for each stage, you might want to check the processor utilization information provided by the bundle. If you see that the queue use is high even though you only have a Map/Reduce script running in your account, it might indicate that there is also a scheduled script running. In conclusion, the execution time of a Map/Reduce script can vary greatly and it's not unusual to see time gaps between different stages of the script execution. If you want to reduce the execution time, you might want to optimize your script or increase the number of SuiteCloud Processors in your account. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.864469349
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.848339
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847816
Please provide your feedback on this answer.