Presentation is loading. Please wait.

Presentation is loading. Please wait.

Holger Klemt hklemt@h-k.de 801 Serverperformance Holger Klemt hklemt@h-k.de.

Similar presentations


Presentation on theme: "Holger Klemt hklemt@h-k.de 801 Serverperformance Holger Klemt hklemt@h-k.de."— Presentation transcript:

1 Holger Klemt hklemt@h-k.de
801 Serverperformance Holger Klemt

2 Client Issues Use Parameters Prepare Queries
Active Transaction Control Use SQL Components with execsql Demodatabase and Example1

3 Index Issues Create Indexes where useful Avoid too many indexes
Read the Query Plan Set Statistics Demodatabase

4 Performance Analysis Indexed or Nonindexed Reads Memory Reads Writes
Fetches Demodatabase SQL Commands

5 Database Statistics Difference Oldest to Next Transaction
Database fill distribution Index Depth Demodatabase Statistic

6 Try to avoid fields like varchar(32000) Small Segment Size for Blobs
Order by with more than one Column UDF, Upper() DESC without index Containing, Like %XXX% Subselects and Exists Count, Sum, AVG, ...

7 Try to avoid Selects without a where clause
Where Clause on non Indexed fields Too many tables in one Query (better create a stored procedure) Long running Transactions Too many Updates on the same row

8 Try to avoid Requestlive Recordcount Filter TTable

9 HK Tipps&Tricks Set Buffers for each Database Check forced Writes

10 HK Tipps&Tricks Like with Param vs. Like with const
Group by and Order By Demodatabase

11 HK Tipps&Tricks Use extra harddisk for database,os and isc_temp
Use a fast writing Harddisk or RAID Delete all Open GL (or unknown) Screen Saver on the Server Demodatabase and filemon

12 HK Tipps&Tricks Comparison of a client based and a server based operation Demodatabase and Example2

13 HK Tipps&Tricks Use IDs in every Table for Primary Key
Foreign Keys only on IDs

14 Serverperformance Q&A


Download ppt "Holger Klemt hklemt@h-k.de 801 Serverperformance Holger Klemt hklemt@h-k.de."

Similar presentations


Ads by Google