Download presentation
Presentation is loading. Please wait.
Published byAndrew Nelson Singleton Modified over 8 years ago
1
ATUL PATANKAR [ ASUG INSTALLATION MEMBER MEMBER SINCE: 2000 LINDA WILSON [ ASUG INSTALLATION MEMBER MEMBER SINCE: 1999 JUERGEN LINDNER [ SAP POINT OF CONTACT MEMBER SINCE: 1998 [ ] Performance Tuning for the SAP® Business One Maxim Michtchenko, Coastal Range Systems [ ASUG SAP Business One Summit 2010 Hosted By Nike – August 4-6, 2010
2
[ Real Experience. Real Advantage. 2 1.Introduction 2.SAP Business One architecture 3.Performance Impact 4.Optimization areas 5.Case study 6.Performance Management 7.Summary Agenda
3
[ Real Experience. Real Advantage. 3 Coastal Range Systems Inc. British Columbia, Alberta and Ontario Over 5 years of experience Over 100 Installations Custom development with DI and UI SDK Up to 50 users per installation SAP B1 Gold partner Microsoft Gold Partner Our Customers Dynamic, Fast growing enterprises Database size up to 100GB High volume transaction customers Who we are
4
[ Real Experience. Real Advantage. 4 Document throughput Per day Per hour Average for the month Average for the year Time needed to complete an operation Per document type Per document line User experience Retrieval of the document User interface response What is “Performance”?
5
[ Real Experience. Real Advantage. 5 1.Introduction 2.SAP Business One architecture 3.Performance Impact 4.Optimization areas 5.Case study 6.Performance Management 7.Summary Agenda
6
[ Real Experience. Real Advantage. Application Components 6 SAP Server SAP ClientWindows App
7
[ Real Experience. Real Advantage. 7 2-Tier Application Tier 1 - “Fat” Client User Interface Business logic Object Model Data relations Procedural integrity Tier 2 – Database Server Tables only Indexes No business logic on the database level No stored procedures No Triggers No Foreign keys (referential integrity) Main characteristics
8
[ Real Experience. Real Advantage. 8 Numbering series
9
[ Real Experience. Real Advantage. 9 Document numbering SAP Business One SDK 8.8 - Database Tables Reference Table name: ONNM FieldDescriptionType ObjectCodeDocumentnVarChar(20) AutoKeyAutomatic KeyInt DfltSeriesDefault SeriesInt UpdCounterUpdate CounterInt UserSignUser SignatureInt DocSubTypeDocument Sub-TypenVarChar(2)
10
[ Real Experience. Real Advantage. 10 Documents Numbering - Series SAP Business One SDK 8.8 - Database Tables Reference Table name: NNM1 FieldDescriptionType ObjectCodeDocumentnVarChar(20) Series Int SeriesName nVarChar(8) InitialNumInitial NumberInt NextNumberNext Number for UseInt LastNumLast Number AllowedInt … DocSubTypeDocument Sub-TypenVarChar(2)
11
[ Real Experience. Real Advantage. 11 Documents Numbering – Marketing document SAP Business One SDK 8.8 - Database Tables Reference Table name: OINV (A/R Invoice Header) FieldDescriptionType DocEntryInternal NumberInt DocNumDocument NumberInt DocTypeDocument TypeVarChar(1) … Table name: INV1 (A/R Invoice Row) FieldDescriptionType DocEntryInternal NumberInt LineNumRow NumberInt …
12
[ Real Experience. Real Advantage. 12 Marketing Documents DocEntry DocNum Journal Entries TransId Master Data DocEntry User Defined Objects (Document Type) DocEntry Unique Keys in objects
13
[ Real Experience. Real Advantage. 13 Creation of the document Start New Document Add Row More Lines Yes No Submit End Begin Transaction Calculate IDs and Insert Header Insert Row More Lines Final Updates Commit Transaction Database activity
14
[ Real Experience. Real Advantage. 14 1.Introduction 2.SAP Business One architecture 3.Performance Impact 4.Optimization areas 5.Case study 6.Performance Management 7.Summary Agenda
15
[ Real Experience. Real Advantage. 15 High volume data exchange with the Client application Read all data to support business logic Execute insert for every table of the object(s) Execute update for secondary calculations Execute updates to the related master tables Significant processing on the client Computation of the data on the client Locking bottleneck Prolonged lock on the Numbering tables (ONNM, NNM1, NNM2, NNM3) Excessive locking on the Journal Entry “Transaction ID” key Performance Impact
16
[ Real Experience. Real Advantage. 16 1.Introduction 2.SAP Business One architecture 3.Performance Impact 4.Optimization areas 5.Case study 6.Performance Management 7.Summary Agenda
17
[ Real Experience. Real Advantage. 17 Optimization areas Server Solution Client
18
[ Real Experience. Real Advantage. 18 SAP Database Server (up to 25 Users) Name Brand (IBM, Dell, HP) CPU:Xeon Quad core 2 GHz CPU or better Mainboard: 1333 MHz FSB RAM:4-16 GB ( 2GB + 0.5 GB * Number of Users) OS:Windows 2003 R2/ 2008 64bit Database:SQL Server 2005/2008 64 bit Network:Dual load-balanced 1 GB Network Adaptor TEAM and supporting high performance gigabit switch infrastructure HDD:Enhanced RAID Controller supporting RAID 10 with 256 MB or more of cache
19
[ Real Experience. Real Advantage. 19 SAP Server disk configuration C: - 2 * Disk 15 K RPM, SAS drives in a RAID 1 \Window (primary OS volume) \Program Files D: - 2 * Disk 15 K RPM, SAS drives in a RAID 1 Formatting with 64K sectors (both RAID and OS) Page files SQL Log E: - 4 * Disk 15 K RPM, SAS drives in a RAID 10 Formatting with 64K sectors (both RAID and OS) SQL Data
20
[ Real Experience. Real Advantage. 20 Hardware cost impact (25 users) Project ComponentPriceWeight Hardware$8,0008.4% Microsoft Licenses$6,0006.4% SAP Licenses$40,00042.6% Consulting services$40,00042.6% Total$94,000
21
[ Real Experience. Real Advantage. 21 1.Introduction 2.SAP Business One architecture 3.Performance Impact 4.Optimization areas 5.Case study 6.Performance Management 7.Summary Agenda
22
[ Real Experience. Real Advantage. 22 Fuel Distribution System
23
[ Real Experience. Real Advantage. Fuel Distribution System Operate across Canada 35 SAP Professional Users 130 Fuel tankers (warehouse) 100 main products GL Definition – Product/Warehouse level Over 6000 customers Custom Add-On for Pricing/Taxes definitions 23
24
[ Real Experience. Real Advantage. 24 FDS – Statistics Transaction Volume per month 5,200 Invoices / 182,000 invoice lines 28,000 Deliveries / 194,000 delivery lines 14,000 Journal entries total Execute updates to the related master tables
25
[ Real Experience. Real Advantage. 25 FDS – Deliveries Monthly Uploads Low 27,500 / 191,500 High 32,500 / 219,000 Average 30,200 / 206,500 Daily Average 1,370 documents 9,385 Lines “Monday” Peaks 2,500 documents 18,000 Lines PeriodMonthDocsLines 672009-01 32,457 218,795 682009-02 29,692 196,476 692009-03 31,794 215,876 702009-04 27,982 191,361 712009-05 28,634 200,668 722009-06 31,268 214,201 732009-07 31,358 216,045 742009-08 30,162 207,360 752009-09 31,047 217,402 762009-10 30,804 209,985 772009-11 29,960 198,167 782009-12 27,563 191,518 Average 30,227 206,488
26
[ Real Experience. Real Advantage. 26 FDS – Disk Configuration Hardware Configuration 1 C: 2*76GB RAID 1 (System) D: 3*76GB RAID 5 (SQL Data) E: 2*76GB RAID 1 (SQL Log) Hardware Configuration 2: C: 2*76GB RAID 1 (System) D: 12*76GB RAID 10 (SQL Data) E: 6*76GB RAID 10 (SQL Log) F: 4*76GB RAID 10 (SQL Temp) Avg. Disk Queue Length C: 1.5 (1.5/spindle) D: 6.3 (3.2/spindle) E: 3.1 (3.1/spindle) Invoice Run Time 5.5 hours Avg. Disk Queue Length C: 0.5 (0.5/spindle) D: 5.1 (0.9/spindle) E: 1.5 (0.5/spindle) F: 1.2 (0.6/spindle) Invoice Run Time 2 hours
27
[ Real Experience. Real Advantage. 27 FDS – Original flow Start Upload to SAP Yes No Validate delivery Start More Docs SAP 1.Upload to SAP Database Custom DI API application reads files transferred from handheld devices and creates deliveries in the SAP database 2.Manual validation Custom Add-on helps to identify violated business rules and edit deliveries inside the SAP database by returning original delivery and creating new one with the correct values Performance impact Locking of the system during step 1 Increased amount of documents caused by return/recreate algorithm
28
[ Real Experience. Real Advantage. 28 FDS – Modified flow Start Upload to TPC Yes No Validate delivery Start More Docs TPC 1.Upload to Touch PC Database Custom Windows application reads files transferred from handheld devices and adds them intermediate validation database 2.Manual validation Windows application helps to identify violated business rules and edit records inside validation database 3.Upload to SAP Windows application uses DI API to add delivery(s) at time as soon as user completed review Deliveries can be created one by one or in a small batches Upload to SAP SAP
29
[ Real Experience. Real Advantage. 29 FDS – Invoices PeriodMonthDocsLines 672009-01 4,640 192,599 682009-02 4,985 179,621 692009-03 5,342 198,603 702009-04 4,990 176,049 712009-05 4,868 189,904 722009-06 4,998 196,874 732009-07 5,121 197,278 742009-08 5,138 195,611 752009-09 5,119 204,639 762009-10 5,387 206,873 772009-11 5,278 190,791 782009-12 5,113 180,950 Average 5,082 192,483 Monthly Generated Low 4,640 / 192,600 High 5,340 / 198,600 Average 5,100 / 192,400 Invoicing Batches Semi-monthly 80% Weekly 12% Daily 4% On-Demand 4% Invoicing Peaks 13,500 documents 90,000 Lines
30
[ Real Experience. Real Advantage. 30 1.Introduction 2.SAP Business One architecture 3.Performance Impact 4.Optimization areas 5.Case study 6.Performance Management 7.Summary Agenda
31
[ Real Experience. Real Advantage. 31 Performance Management System Monitoring Disk fragmentation Disk utilization (free space) Processor utilization Disk I/O Memory utilization Database Monitoring Database health check Log management Space allocation Index fragmentation Current statistics Corrective measures System maintenance Database maintenance
32
[ Real Experience. Real Advantage. 32 1.Introduction 2.SAP Business One architecture 3.Performance Impact 4.Optimization areas 5.Case study 6.Performance Management 7.Summary Agenda
33
[ Real Experience. Real Advantage. 33 Control the hardware Choose the “RIGHT” server hardware Professionally configure server Prepare your network and enforce compliance Right skill (employ or contract) OS professionals DBA Network engineers Software configuration Never use “default” installation/configuration Smart implementation Be aware or the architectural aspects of the system Optimize processes Spread the load Optimize documents Summary
34
[ Real Experience. Real Advantage. 34 ] Thank you. maxim@coastalrange.ca maxim@coastalrange.ca
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.