Improving Database Performance

Your ultimate application performance depends largely on the complexity of the generated SQL statements in your application and on the underlying performance and load of the database to which the application is connected.

Index your tables!

You can greatly increase your application’s performance by appropriate database table indexing.  Generally, any database table field that is used in SQL WHERE and ORDER BY clauses should be indexed.  Your database provides an easy way to specify the fields to be indexed, and the indexed fields are displayed on the Databases folder in Iron Speed Designer.  In our experience, slow application performance is usually related to un-indexed tables.  We can’t stress this enough!

These fields should be indexed in your database:

Improving performance in database views

If you are using Views in your application, add a Virtual Primary Key to the View.  You can create a composite Virtual Primary Key by designating two or more fields as keys.

If you are using Views in your application, remove the ORDER BY clause in the view schema definition if possible.  The application creates a SQL query based on the default sort order specified for the table, or the column sort order selected by the end user.  This results in double sorting the view.  If possible, remove the Order By clause in the view’s schema definition to avoid the double sorting and slowing down the application.

See Also

Performance Tuning

Improving Database Performance

Improving Application Performance

Improving Machine Performance

Improving Network Performance

View State Storage Options for Improving Performance

Session Management

Windows 2003 Application Performance Suggestions

Running Applications on Multiple Servers

Concurrent Application Users