• Retail • Service industries • Supply Chain Management • Global Financial Management • Foundation • Life Cycle Services SELECT TOP 1 T1.SALESID,.......,T1.RECID FROM SALESTABLE T1 WHERE (((PARTITION=?) AND (DATAAREAID=?)) AND (SALESID=?)) SELECT TOP 1 T1.SALESID,.......,T1.RECID FROM SALESTABLE T1 WHERE (((PARTITION=5637144576) AND (DATAAREAID=N'ceu')) AND (SALESID=?)) Reports Development – Things to look for Case Frequency Freshness Concurrence Contention expectation Solution 1 Transactional, simple Real time High High No high Query 2 Transactional, process Real time High High process High RDP 3 Transactional, high volume Real time High High Process, input very high Query, RDP, Static RDCE, 4 Fixed period, kpi < daily given High No high Cube, 5 long running report As needed low Low process Low PreRDP 6 mixed long running Random High Medium High Mixed split PreRDP/RDP • Don’t use fetch method to process line by line in RDP • Don’t use RDP unless Query based report can’t do to work • Don’t assume pre-processed RDP is faster for concurrent user reports • • • • • • • Number of POS stores: 1300 Number of tills per store: 5 Number of transactions per POSper day: 240 with 1, 5 and 15 lines Number of Products: 30,000 Data generated for the test: 6 months All scenarios need to complete within a 10 hour time frame Workload of the trickle feed and EOD scenario increased 2 times by 25 %. Scenario Post Trade agreements to stores Description Send trade agreements to retail stores for 30,000 products Assortment publishing to stores Publish product assortments for 30,000 products including converting pre-actions to action Trickle feed from the stores Inventory reservation and statement calculation Trickle feed all transactions from the stores First part of the end of day processing Statement posting Second part of the end of day processing Role AX DB Server Specifdication 64 cores, 1 Tb RAM, 2x300 GB HDD 2 x 12 Disks RAID 10 for Data Fusion IO for TempDB and Log file Qty 1 Comments HP 980 G7, 128 HT cores HQ CDX Server 24 core, 48 GB RAM, 500 GB HDD 1 Virtual machines Store CDX Servers 2 core, 4 Gb RAM, 100 Gb HDD, 128 kbps 25 Virtual machines Store CDX Server 24 core, 48 GB RAM, 500 Gb HDD 1 HP BL 460c G7, 24 HT, 96 GB AX AOS (physical) 2 x HP BL 460c G7, 24 HT, 96 GB 1 HP BL 460c G7, 24 HTR, 96 GB AX AOS (virtual) 8 cores, 16 GB RAM, 100 GB HDD 19 Virtual machines Developer workstation 8 cores, 8 Gb RAM, 300 GB HDD 1 Virtual machine Management workstation 8 cores, 8 Gb RAM, 300 GB HDD 1 Virtual machine Process Post Trade agreements and Assortment publishing plus updating the stores Base workload Trickle feed Inventory reservation and statement calculation Statement posting Total 25 % + Trickle feed Inventory reservation and statement calculation Statement posting Total 2 x 25 % + Trickle feed Inventory reservation and statement calculation Statement posting Total Duration ~35 min 56 min 1h 55 min 3h 12 min 6 h 3 min 51 min 2h 14 min 3h 50 min 6h 55 min 1 hour 15 min 2 hours 28 min 5 hours 2 min 8 hours 45 min Find where you loose the most time there spent the most time to optimize Few or many calls Running or waiting 20 / 80 80 / 10 /10 www.microsoft.com/dynamics/axtechconference