Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL2005 Express twice as slow as MSDE2000. How do I increase the performance of SQL Express?

Posted on 2006-11-13
3
Medium Priority
?
332 Views
Last Modified: 2012-05-05
Hi,

Since upgrading from MSDE to SQLExpress it seems that writing to the table is at least twice as slow.

I am running a P4 2.8 Ghz with 512Mb with winXP fully serviced packed.

FYI. We have an application that writes to 2 tables and when we run the app again for a fresh set of results it re-creates both tables.

Any pointers would be really helpful.


Cheers, Andy.
0
Comment
Question by:naexpert
3 Comments
 
LVL 11

Assisted Solution

by:Goodangel Matope
Goodangel Matope earned 750 total points
ID: 17929284
What are you using to connect to the database? OLEDB? ODBC?

Check indexing on your tables. If your tables are not indexed, you usually get MUCH slower performance.
0
 
LVL 28

Accepted Solution

by:
imran_fast earned 750 total points
ID: 17929303
>>Express twice as slow as MSDE2000.

In sql 2005 there is concept of schema so you should try accessing yourtable using ownername.tablename instead of tablename

select columnname from yourtablename
will be slow  as compared to
select columnname from schemaname.yourtablename
0
 

Author Comment

by:naexpert
ID: 18131215
Hi,

I think it something to do with the way our application connects to SQL. We are developing a new app so hopefully the Dev team will deal with SQL 2005 in the best possible way.

Thanks for your help/advice.

Andy
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question