Go Back   TechArena Community > Software > Tips & Tweaks
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links



Tips to improve performance in SQL server and ODBC.

Tips & Tweaks


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-01-2010
Member
 
Join Date: Nov 2009
Posts: 1,065
Tips to improve performance in SQL server and ODBC.

I am working on project of Visual Studio 2010. I have created the data base and trying to connect the SQL database to the Visual Studio 2010. But the thing is that I am something wrong because the performance of my software is very low. I think the problem is because of database design or may be because of the way I have used for linking. So I need the tips for improving the performance of SQL server and ODBC.
Reply With Quote
  #2  
Old 29-01-2010
Itronix's Avatar
Member
 
Join Date: Apr 2008
Posts: 419
Re: Tips to improve performance in SQL server and ODBC.

1. You are using the Visual Studio for designing the software that means you going to connect to the table in SQL server. It will be better if you link the SQL database table permanently. This will help in opening the table in much faster way.
2. Try to minimize the server traffic and you can do this by selecting only those fields that are required. It will be better if you use “WHERE” clause in your query.
Reply With Quote
  #3  
Old 29-01-2010
SpearMan's Avatar
Member
 
Join Date: Apr 2008
Posts: 464
Re: Tips to improve performance in SQL server and ODBC.

I will suggest you to use the Dynasets instead of Snapshot when you are dealing with the large recordset, because of the simple reasons given below.
1. If you use Snapshot recordset then it will load the whole data before displaying but if you use the Dynaset recordset then it will display the data as soon as the first 20 records are available.
2. If you are using the Snapshot recordset then there is risk of “out of disk space” on the local machine, because it may happen that the whole data has much larger size then the space available on the local computer.
Reply With Quote
  #4  
Old 29-01-2010
XDRoX's Avatar
Member
 
Join Date: Apr 2008
Posts: 416
Re: Tips to improve performance in SQL server and ODBC.

For the better performance do not force local query processing like
1. Join operations base queries that have the keywords like “DISTINCT” or the “GROUP BY” clause.
2. Outer joins which contains the syntax that are not directly have a support of the remote database server
3. Use of “LIKE” operator with text or memo fields.
Reply With Quote
Reply

  TechArena Community > Software > Tips & Tweaks


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Tips to improve performance in SQL server and ODBC."
Thread Thread Starter Forum Replies Last Post
How to improve safety and performance of FTP server Makayla-alex Technology & Internet 4 16-02-2010 05:54 AM
Tips to improve form performance in Visual Studio 2010 Mahajabeen Tips & Tweaks 2 31-01-2010 04:39 AM
Tips to improve subform performance in Access. Karleen Tips & Tweaks 2 29-01-2010 03:54 AM
Does squid really improve server performance nitesh mehta Technology & Internet 2 29-05-2009 04:21 PM
How to improve Network performance of SQL Server 2000 niteshgoswami Networking & Security 0 15-11-2007 03:19 PM


All times are GMT +5.5. The time now is 09:28 AM.