Site sponsored by: Idera Try Idera’s new SQL admin toolset
SQL Server Performance

  • Home
  • Articles
  • Forums
  • Tips
  • Quiz
  • FAQ's
  • Blogs
  • Software
  • Books
  • About Us
RSS Feeds
Sign in | Join


FAQ Topics

All FAQ's
General DBA
General Developer
DBA Performance Tuning
Developer Performance Tuning
Clustering
Error Messages

Write for Us

Share you SQL Server knowledge with others and raise your profile in the community More...
Latest Articles

Server and Database Auditing in SQL Server 2008
So, you find yourself On-Call
Administrator & Monitoring Change Data Capture in SQL Server 2008 ...
Importance of the Resource Database

More     
 
Latest FAQ's

SQL Server Reporting Server (SSRS) service is failing to start ...
Cannot Start SQL Server Service
Users are able to connect to report manager but not able ...
Errors when SQL Server Snapshot Replication is Running

More     
   
Latest Software Reviews

Spotlight on ApexSQL Doc 2008
ApexSQL Enforce
Embarcadero Change Manager
SQL Server DBA Dashboard

More     

We run an ERP program that uses SQL Server as the backend database. Does how the ERP program is designed and written affect its performance with SQL Server?



Very much so. In fact, I would go as far as to say that if you are experiencing performance problems with your ERP application, that it is the biggest source of the performance problem, not SQL Server or your hardware (although they could be contributing to the problem).

I have seen this over and over again with third-party applications that use SQL Server as their backend. There seems to be two main reasons, based on my personal experience, that third party applications have performance problems when using SQL Server.

First, the designers of the applications may be good coders in C++, VB, ASP, or whatever language they are developing the front-end part of the application in, but they don't know much about how to design applications to get the most out of SQL Server.

Second, the designers want to support multiple database programs (not just SQL Server), and because of this, they write their data access code very generically, not taking full advantage of the power of Transact-SQL and SQL Server.

Unfortunately, many vendors don't care much about writing applications that make the most out of SQL Server's abilities. If you complain about performance, they will blame SQL Server or your hardware, but never blame their own code, even though it is the guilty party.

As a DBA, you don't have many options to speed applications that you cannot change. For the most part, here's all that you can do to speed badly written third-party applications.

  • Purchase the fastest hardware your company can afford.
  • Tweak the hardware, operating system, and SQL Server the best you can using the tips you find on this website.
  • Add or modify current indexes on tables to help out performance as much as possible. Use Profiler and the Index Wizard (or the Database Tuning Advisor) to help you out.
  • If you are using SQL Server 2000 or 2005 Enterprise Edition, consider using clustered indexes to speed queries. Although the application won't be able to use clustered indexes directly, they can be used by the query optimizer to help boost the performance of some queries.
  • If you are running SQL Server 2005, you have the option of creating Plan Guides to provide hints to poorly-performing queries created at the application.

I would almost add to this list "complaining to the third-party application vendor," but I know from experience that most of them could care less.








Home | Peformance Articles | Audit Articles | Business Intelligence Articles | Clustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | Clustering FAQ's | Error Messages | Audit Tool Reviews | Backup Tool Reviews | Coding Tool Reviews | Compare Tool Reviews | Documentation Tool Reviews | Design Tool Reviews | Monitoring Tool Reviews | Log Tool Reviews | Reporting Tool Reviews | Clustering Tool Reviews | Security Tool Reviews | Change Management Tool Reviews | Remote Access Tool Reviews | Book Reviews | Security Tool Reviews | QDPMA Performance Tuning | ADO.NET / ASP.NET | Administration | Analysis/OLAP Services | Application Development | Configuration | Components | ETL | Hardware | High Availability | Hints | Index | Misc | Operating Systems | Performance Tuning | Replication | T-SQL | Views


              © 1999-2008 by T10 Media. All rights reserved