473,770 Members | 6,158 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Jet or MSDE

NB
Hi

I have been developing on MS Access / Jet / VBA platform for about 2
years.
The current project I am working on for a small business is built on
Access 2002. It has about 53 tables in 2 backend MDB files, 125
queries, 109 forms & subforms, 43 reports & subreports, 20 code
modules and some macros.

The size of the backend is now at a modest size of about 4MB (down
from an original size of 270MB when the previous folk kept images
inside it). But it's growing, though I predict not at a very high
speed.

The backend files are hosted on a Win 2000 PC running Access 2002.
Current number of users is 6. The app has appeared robust up to now.

I heard about the MSDE engine. Can someone give me some pointer if I
should consider using it instead of the Jet engine that comes default
with Access?
BTW the code in my app uses mainly DAO library.

Thanks
NB
Nov 12 '05
41 2454
there is no linear relationship between users and processes. in a
disconnected app for example, i have as many as 150 concurrent users
and i've only had the number of concurrent connections exceed 40 once.
now mind you there is a difference between connections and processes.
from what i have read, MSDE throttles when processes, not connections
exceed 5. when you use connection pooling and disconnected recordsets
each of your users can go several minutes without needing to grab a
connection from the pool and initiate a process.

the most important thing that needs to be considered when calculating
concurrent processes is the nature of the app. in access things are
obviously a little different. but if you're using ado.net, for
example, you can have reads and updates cached in the data adapter,
you can have defaults invoked and u can even have constraints and
referential integrity (i beleive) enforced all client side WITHOUT
initiating a process on the server. it's almost like a replicated
environment. when u invoke the update method of the data adapter
(similar to the updatebatch method of the recordset object) that's
when the server process(es) are initiated.

once that is figured out, then the number of users comes in to play as
a coefficient. my point is that u can't simply take the number of
users without determining the nature of the app. i see people make
that mistake all the time.
Nov 12 '05 #21
"TC" wrote
PL/SQL is basically just Oracle's normal
SQL, embedded (made available)
within a procedural environment (if's, else,
case, procedures, etc.).


That's also what T-SQL is for MS SQL Server, but there are, unless I am
mistaken, some differences here and there... and I don't know the details.
Nov 12 '05 #22
there are quite a few difference between pl/sql and t-sql even though
they accomplish the same thing. not all of these differences are
syntactical. i'm a die hard sql server user but have to conceed that
pl/sql has a slight edge as far as functionality goes. as a quick
example, certain set operators in pl/sql such as the MINUS operator
function are a PITA to work around in t-sql when you are subtracting
several sub sets from the main dataset.

if u r really interested in the differences go to
comp.databases. ms-sqlserver and search. there are several oracle
trolls over there that are constantly posting this 10+ page manifest
on the advantages of pl over t-sql. some of the points in this
manifest are utter bullshit and some are very accurate. definately
worth a read.

"TC" <a@b.c.d> wrote in message news:<107155166 3.326546@teutho s>...
PL/SQL is basically just Oracle's normal SQL, embedded (made available)
within a procedural environment (if's, else, case, procedures, etc.).

TC

Nov 12 '05 #23
Yes. If you look at my earlier post, I wrote that it depends on how dynamic
the data is.

Also, if you have, says 5 users doing updates and the average usage of
processes is 1 for example, would you say that it is reasonable to
extrapolate that for 10 users doing updates, the average usage of process is
at least greater than 1 and likely to 2.

Personally, I tend to be conservative with the number of users because I
look at it this way: the license fee for the MS-SQL Server is fairly
reasonable compared to other development costs, most notably my fee /
salary. So, why would I want to throttle the application and the client
might think that the application I developed is not efficient or worst, not
up to scratch ...

--
Cheers
Van T. Dinh

"Ted Theodoropoulos" <te********@yah oo.com> wrote in message
news:f5******** *************** ***@posting.goo gle.com...
there is no linear relationship between users and processes. in a
disconnected app for example, i have as many as 150 concurrent users
and i've only had the number of concurrent connections exceed 40 once.
now mind you there is a difference between connections and processes.
from what i have read, MSDE throttles when processes, not connections
exceed 5. when you use connection pooling and disconnected recordsets
each of your users can go several minutes without needing to grab a
connection from the pool and initiate a process.

the most important thing that needs to be considered when calculating
concurrent processes is the nature of the app. in access things are
obviously a little different. but if you're using ado.net, for
example, you can have reads and updates cached in the data adapter,
you can have defaults invoked and u can even have constraints and
referential integrity (i beleive) enforced all client side WITHOUT
initiating a process on the server. it's almost like a replicated
environment. when u invoke the update method of the data adapter
(similar to the updatebatch method of the recordset object) that's
when the server process(es) are initiated.

once that is figured out, then the number of users comes in to play as
a coefficient. my point is that u can't simply take the number of
users without determining the nature of the app. i see people make
that mistake all the time.

Nov 12 '05 #24
NB
Back to the concurrent processes: Upon opening my app, I open a hidden
form and maintain a recordset from a table on the backend until the
app is closed. By doing that I significantly improve forms' load time
on users' front end.

The question is if I still have to do that with an MSDE back-end.
Would my very-complex form load time worsen without a persistent
back-end connection? And that would count as one process, right?

Thks
NB
Nov 12 '05 #25
are u talking about doing this in an ADP or MDB? if it's an MDB, are
you going to use pass thru or a linked tables? honestly though, it
really shouldn't matter just having a form open with a bound recordset
without edits being made. the best way to tell is to test it using
profiler. that's a sql server client tool that u can use to run
traces that will tell u when process begin and end.

ni******@lycos. com (NB) wrote in message news:<5c******* *************** ***@posting.goo gle.com>...
Back to the concurrent processes: Upon opening my app, I open a hidden
form and maintain a recordset from a table on the backend until the
app is closed. By doing that I significantly improve forms' load time
on users' front end.

The question is if I still have to do that with an MSDE back-end.
Would my very-complex form load time worsen without a persistent
back-end connection? And that would count as one process, right?

Thks
NB

Nov 12 '05 #26
TC
You don't need to open a formb - or a table. Just open the >database<:

dim db as database
set db = dbengine.openda tabase(...)

Make sure db stays in scope for the whole run.

HTH,
TC
"NB" <ni******@lycos .com> wrote in message
news:5c******** *************** **@posting.goog le.com...
Back to the concurrent processes: Upon opening my app, I open a hidden
form and maintain a recordset from a table on the backend until the
app is closed. By doing that I significantly improve forms' load time
on users' front end.

The question is if I still have to do that with an MSDE back-end.
Would my very-complex form load time worsen without a persistent
back-end connection? And that would count as one process, right?

Thks
NB

Nov 12 '05 #27
ni******@lycos. com (NB) wrote in
<5c************ *************@p osting.google.c om>:
Back to the concurrent processes: Upon opening my app, I open a
hidden form and maintain a recordset from a table on the backend
until the app is closed. By doing that I significantly improve
forms' load time on users' front end.

The question is if I still have to do that with an MSDE back-end.
Would my very-complex form load time worsen without a persistent
back-end connection? And that would count as one process, right?


No, it shouldn't be necessary with MSDE. The whole point of doing
it with Jet is to make sure the LDB file is created and persists,
as the time it takes to delete and recreate that file can be pretty
significant.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 12 '05 #28
te********@yaho o.com (Ted Theodoropoulos) wrote:
if u r really interested in the differences go to
comp.databases .ms-sqlserver and search. there are several oracle
trolls over there that are constantly posting this 10+ page manifest
on the advantages of pl over t-sql. some of the points in this
manifest are utter bullshit and some are very accurate. definately
worth a read.


I remember reading a paper from Borland about the advantages of Paradox, I think it
was a Windows version, over Access. Back in A1.0/2.0 days. They had some useful
ideas but then they stated that Paradox had something like 17 different data types
but Access had only five or six or something like that. Of course Access's number
type of field has byte, integer, long, single and double as subtypes. So when you
compared them there was only one or two differences. Which I thought was really
misleading on Borland's part.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #29
DFS

"Tony Toews" <tt****@teluspl anet.net> wrote in message
news:48******** *************** *********@4ax.c om...
te********@yaho o.com (Ted Theodoropoulos) wrote:
if u r really interested in the differences go to
comp.databases .ms-sqlserver and search. there are several oracle
trolls over there that are constantly posting this 10+ page manifest
on the advantages of pl over t-sql. some of the points in this
manifest are utter bullshit and some are very accurate. definately
worth a read.
I remember reading a paper from Borland about the advantages of Paradox, I

think it was a Windows version, over Access. Back in A1.0/2.0 days. They had some useful ideas but then they stated that Paradox had something like 17 different data types but Access had only five or six or something like that. Of course Access's number type of field has byte, integer, long, single and double as subtypes. So when you compared them there was only one or two differences. Which I thought was really misleading on Borland's part.
Borland has created some superior programs: from Turbo Pascal to Paradox for
Windows to Delphi to C++Builder/JBuilder to Kylix, but their marketing and
tech. support leaves a lot to be desired.

I used PDox for Windows for a couple of years; the included ObjectPAL
language was a powerful, Delphi-like scripting language. It had some useful
methods in it that (I believe) MS still hasn't added to VB or VBA. For
instance, it had a string function called breakApart() that would parse a
string, using spaces or any other identifier, and place the individual words
or phrases into array addresses.

var wordString String, array wordArray(50) String
wordString = "The network is the computer."
wordArray = breakApart(word String," ")

result:
wordArray(0) = "The"
wordArray(1) = "network"
wordArray(2) = "is"
wordArray(3) = "the"
wordArray(4) = "computer."

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm

Nov 12 '05 #30

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3101
by: izzy | last post by:
I was wondering if any of you guys can kindly help me in finding all the different versions of MSDE 2000 that came out since it's first release. I expected to find something similar like Sun's archive (http://java.sun.com/products/archive/index.html) for MSDE 2000 too but failed to find after a few hours of browsing at the Microsoft Download Center (http://www.microsoft.com/downloads/search.aspx?displaylang=en). They seem more into...
5
8434
by: Igor Solodovnikov | last post by:
Hi. I am trying to automatically backup transaction log when error 9002 happened. So i have created appropriate job and alert to catch this error. I have two instances of sql server under Windows 2000. One of them is full SQL Server, another is msde. When transaction log is full in full SQL Server error 9002 severity 17 state 2 is logged in sql server log and in Windows Application log. My alert firing my job. All is fine. But when...
10
3854
by: noname | last post by:
MSDE 2000 Release A installed under windows 2000 pro will not communicate with SQL Server Manager nor MS Access on peer computer. Can someone help? Have set DISABLENETWORKPROTOCOLS=0 at install time. Install log shows installation successful.. Control Panel> Admin Tools> Services section shows SQL server instance running.
3
6121
by: *no spam* | last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing Wizard crashes (a known bug wi A2K), so I'm using the following suggested method: Access --> New --> Project (Existing Database) This asks for the name of the .adp file to create and then launches into the Data Link Properties dialog box (so far so good) I select my MSDE server from the drop-down, enter the sa account & passwd, attach a database file and try to...
5
3501
by: Robin Tucker | last post by:
I'm looking for a simple way of telling (inside a stored procedure) if I'm currently using MSDE or a full SQL server. Ideally, there is some pre-defined environment variable that won't cause me too much overhead. The reason I'm doing this is because my system "rolls over" databases when it reaches the 2Gb limit with MSDE, but obviously I want to avoid this overhead if the user installs onto a full SQL server instance. Thanks
7
1579
by: Diogo Alves - Software Developer | last post by:
hi there I am developing a software that needs a database to be shared, I've heard about MSDE, can someone tell me if * There is a newer version than MSDE 2000? * It's possible to use MSDE with C#.Net? * I would like a tutorial or something about deploying MSDE with my application.
2
5069
by: Rosy Moss | last post by:
I am in the process of cleaning up a database that our company uses to track jobs, time and expense, and customer information. We are running Windows 2000 Server with approximately 20 terminals (Each running 2000) logging in each day. Four of these terminals access the server via Citrix. Currently the database is about 60MB, but it grows to 150 and larger each week. I am constantly having to compact it to keep it running smoothly. ...
3
2534
by: Paul Aspinall | last post by:
Hi I want to package my C# winforms app, to be deployed with MSDE, as easily as possible for the end user. I want to create an MSI or Installshield (prefer MSI), to setup my C# app, together with MSDE (if not already installed), and the MSDE application DB. How can I detect if MSDE is already installed?? Has anyone does this?? How??
4
1569
by: Anthony P. Mancini | last post by:
Does anyone know how to make the MSDE do SQL authentication ? It appears to authenticate using Windows at all times. Thanks, Anthony
0
9592
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10231
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10059
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10005
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8887
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.