Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Installation of MSDE and Maximum Number of Concurrent Users Legal

Posted on 2006-06-26
6
Medium Priority
?
319 Views
Last Modified: 2008-01-09
I have read many posts regarding MSDE usage.  Unfortunately many of them are old (2002 and up).  MS now has SQL Expres (2005).

I am 3/4 finished with (1) re-distributable application that will probably have no more than 5 users concurrently where I am implementing MSDE 2000.  However, I will be starting on another re-distributable application in the same market that will take advantage of 80% of the data structure, forms and reports previously written in application #1.

My problem is that the amount of data may increase exponentially and the number of concurrent users may double or triple.  The key word is MAY.  I don't want to initially lock myself into having to raise the price of my #2 application for full-price SQL Server because of database size and/or performance.  I understand the 2gb limitation of the MSDE database.  Unfortunately, economics is a driving force in marketing this app.  Fair amount of competition.

Many of the links found on the Expert postings regarding performance issues, licensing, etc. refer to MSDE 2000 and those links aren't available anymore now that MS is pushing SQL Express/Server 2005.

I feel that I am at a crossroads in my development and need to decide several things before moving forward:

1)  Do I stick with MSDE 2000 or do I look at another database like mySQL (considerably cheaper)?
2)  Do I stick with MSDE and upgrade to 2005?
3)  Where do I find some correct information on performance and licensing issues?
4)  Where do I find information on integrating installation (Server & Client) of my SQL database into my application installation CD?

Thanks in advance!

Phil Tate
0
Comment
Question by:TSFLLC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 16986402
if the application and database are tuned, you can have more than 5 concurrent users. even having 20 will not be a big issue.

1) you will have to potentially review ALL your sql, whatever choice you make
2) you can upgrade to SQL Express. you can take advantage of those new features, but what worked in msde will continue to work in sql express if you put the compatiblity mode to 80. with 90 (sql server 2005) you will have to test again all over again
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 300 total points
ID: 16986409
For the record: SQL Server Express does not have a concurrent user limit and the maximum size of the database is increased to 4 GB.
0
 

Author Comment

by:TSFLLC
ID: 16986571
AngelIII,

I respect your opinion of the utmost.  

"even having 20 will not be a big issue."

Why do you say 'even with 20' when everything I have read so far about MSDE makes reference to 'load governor', '5 threads maximum'.  90% of my VB.NET application is based on select..., insert... & update...  command stored procedures instead of SQL statements imbedded in code.  Therefore it is being tuned from it's inception.  However, if there is validity to a 'governor' or 'thread' issue(s) in MSDE...the optimization of my code will only go so far if these other issues are valid?

Thanks.

Phil
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 1700 total points
ID: 16987604
>Why do you say 'even with 20' when everything I have read so far about MSDE makes reference to 'load governor', '5 threads maximum'.

practice (and a bit of maths).
20 concurrent users means 20 active connections at the same time (ie doing something actively), which is not the same as 20 users sitting at their desks clicking on the application that runs the queries.

now, 20 users will be no problem at all definitively, because their click rate will be something around 1 click/second in the fastest period, mostly rather 1 click per 5 seconds. so 20 users -> 20 clicks/second, means 0,05 seconds (50 milliseconds) per query, which is fine for single row-lookup queries (don't forget we speak about msde database with 2gb max data + index size). heavier queries will still run in less than 1-2 seconds, but those will be at much longer intervals.

so, although the msde is optimized for having 5 concurrent active connections working, it still can handle up to 20 concurrent active sessions without problem.

CHeers
0
 

Author Comment

by:TSFLLC
ID: 16987797
Thanks Angel,

This was a very appropriate reply for me.  I appreciate it very much.  Like you said, it's not like 20 users are going to be performing data entry or generating reports non-stop.  You have put my mind at ease 100%.  Nothing like educated or logical confirmation.

I'm will go ahead and divy up the points.  I appreciate Anthony's comment about changes to 4gb for SQL Express.  I would like to divide accordingly.

#3 is a mute issue now, but can you help me with my #4 question.  This is my first use of SQL from a re-distribution standpoint.  I feel like I have investigated re-distributed installation somewhat thoroughly, but just as with my original issue you have resolved....I'm not sure the best way to move forward.

For additional reference....I am planning on having the complete installation available via CD and also via a downloadable .exe from my website www.thesoftwarefirm.com.  The app will install initially as a 30 day demo...which can then be registered upon payment with an registration/install key.

Many thanks, Angel & Anthony!

Phil
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 16989024
>>but can you help me with my #4 question.<<
Here is one solution:

SQL Packagerâ„¢ Standard
Packages a database or a database update
http://www.red-gate.com/products/SQL_Packager/index.htm
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
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.

636 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