Company: Link Technologies
Case No: L12303. Project: 12.43: LinkSOFT Version 12.43
Logged By: Vineet (Link Business Solutions) on behalf of Sanjay (Link Technologies) on 02 Jul 2021 04:56PM
Priority: High
Product: Point of Sale
Group: Software Defect
Time Taken: 37.00 (Weight: 37.00)
Version: 12.43.0706
Assigned To: Sanjay (Link Technologies)
Circulation: Alvis, Rashna, Sanjay, Vineet
Resolve By: Saturday, 03 July 2021 11:59 PM [1238 days since logged date]
Status: Closed
Subject: Valuation is taking a long time in large databases with large number of transactions
Summary:    
1. Problem Details

The valuation is not completing on the OTG Database. Pending for the Month of May onwards. POS014 is running every minute and POS 012 is running every 4 hours

2. Error Message (Include screenshot of the error)


3. Environment Details
Server Name: 10.0.0.14\CP1
Database name: CLIENT-OTGL-LinkSOFT-HQ
Application Hosted on: 10.0.0.14
Login User ID/Password: admin\admin
Client Operating System: 
Browser version (if Applicable): 
Audit Notes:Edited by sanjay on 05/07/21 10:28. Edited by sanjay on 02/07/21 16:56. 
02 Jul 202104:55PM Comment 1 by Sanjay (Link Technologies) Case L12303 added to project 12.43
02 Jul 202104:58PM Comment 2 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 02-07-2021 10:56 PM Time Taken: 9.00
Hi Vineet, we have found a few ways we can improve the performance of the valuation process. We will implement these changes in 12.43 before attempting to transform this to 12.42. We hope to have this completed by COB Monday 5th July.

05 Jul 202109:48AM Comment 3 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 05-07-2021 02:31 PM Time Taken: 26.00

We have done some performance tuning on the valuation process. Below are notes based on OTGL data for HQ:

  1. Added "Estimated time to complete" and "Remaining time" so the user can see progress details
  2. Index Tuning performed on Valuation data extraction
  3. Streamlined data extraction for valuation calculation
  4. Use Primary keys instead of composite keys for search 

Calculation Timing:

  1. Dataset: Inventory items: 87,000. Transactions ~>  400,000. Database Size: 99.32. Total Transactions: > ~ 300,000,000
  2. Server SPecs: VM  8 VCPU on 16GB RAM. This server is shared and is used by consultants for support.
  3. Compute 1 item's - Average Time taken:  .5 second
  4. Compute 1000 items ~ 500 seconds
  5. The expected time for Valuation for all items for a month based on the above is: 15 hours

The change will be available in versions 12.43.0705 onwards


05 Jul 202110:28AM Comment 4 by Sanjay (Link Technologies) ETC was changed from 03/07/2021 to 03/07/2021
07 Jul 202109:03AM Comment 5 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 07-07-2021 02:51 PM Time Taken: 1.00
QA Results
Tests carried out according to requirements specified on the case header

Test Results Summary

Table 1 - Summarised list of issues
NoTest DescriptionPass/Fail
1
  1. Added "Estimated time to complete" and "Remaining time" so the user can see progress details

Enable, valuation, and validate that the user is able to review progress.

The valuation should complete within the estimated time 

Pass



Environment Details

  1. OS version: Windows Server 2012
  2. Application version: 12.43.0706GA
  3. Setup: Demo
  4. Server : 10.0.0.14
  5. Database: DEMO-LINKSOFT and CLIENT-OTGL-LinkSOFT-HQ

Next Step

  1. For Closure

    07 Jul 202101:18PM Comment 6 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 07-07-2021 07:17 PM Time Taken: 1.00
    Thanks Rashna

    If you have any queries regarding this support incident, please email admin@linktechnologies.com.au and include the Case No: L12303 in the subject line of all emails regarding this issue.

    Document size: 270.3 KB
    For call complaints, please contact the Managing Director of the company using this form