BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Performance with named instance of MSDE

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Eric Harmon
Guest





PostPosted: Fri Apr 09, 2004 6:08 pm    Post subject: Performance with named instance of MSDE Reply with quote



Hi,

I have an app that ran just fine with the default instance of MSDE. I
changed the connection string in the app to work with a named instance
instead, like this: (local)/MyNamedInstance.

Database performance slowed measurably as soon as I did that, particularly
with DDL commands, like:

conn.Execute('CREATE DEFAULT BOOLEAN_DEFAULT AS ''F''');
conn.Execute('CREATE RULE BOOLEAN_RULE AS @list IN (''T'', ''F'')');

conn.Execute('sp_addtype DOM_BOOLEAN, ''VARCHAR(1)'', ''NOT NULL''');
conn.Execute('sp_bindefault BOOLEAN_DEFAULT, DOM_BOOLEAN');
conn.Execute('sp_bindrule BOOLEAN_RULE, DOM_BOOLEAN');

It literally takes 10-15 seconds to execute about 4 of these lines of code,
where they used to execute pretty much immediately.

Is there anything special I need to do with a named instance of MSDE to
obtain the same performance levels?

-Eric Harmon


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.