on 04-01-2016 2:13 PM
Vian
What version is this for?
Some observations:
1) is this the entire trace for packing a single SFC? The log file only shows just under 2 seconds of trace time.
2) that said, over 1500 SQL statements executed in that time. No single SQL was "slow", but all the SQL accounts for nearly 1 second of the total execution time alone.
3) The number of SQL statements is just too inefficient and this will not scale: as you increase the packed quantity, this will get slower and slower.
4) probably, you need to open a support incident for this issue, to get the code improved, but finally:
5) make sure you are patched to the latest version where possible - fixes to issues like this can and do appear regularly.
Stuart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vian
OK, you have the latest patch for 6.0.4.
I'd recommend you capture the NW SQL trace for the entire duration of adding a single SFC to a container with over 100 SFCs. Analyse the results and look for any slow SQL that contributes a significant % to the delay. Improving one statement that accounts for a tiny proportion of the execution time is of no value. Obviously, you cannot change the code, but you can sometimes improve the SQL by adding new indexes. Core indexes can be dropped to help too, but these will get re-created if you re-execute any core scripts at any point.
After you have exhausted that, I'd recommend opening a support incident, including your findings. As I say, it looks like the code ME is running for this packing process is not scaleable and will continue to deteriorate as the container fills.
Stuart
hello Stuard ,
I have opened the support incident now for the issue with packing process. but I found the same issue with Material maintenance because it takes long time during saving a change for one item specially if the item have several revisions and if it connected to several item group.
I attached the log file for sql trace when I tried to save a little change to one item.
thank you
regards,
Vian
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.