Ask a Question related to ASP Database, Design and Development.
-
Jim Bowman #1
Simultaneous SQL queries to Access
In evaluating asp and an Access database as a way to
store user data from an Authorware training piece, I ran
across this article:
"For performance and reliability reasons, it is strongly
recommended that you use a client-server database engine
for the deployment of data-driven web applications that
require high-demand access from more than approximately
10 concurrent users. Although ADO works with any OLE DB
compliant data source, it has been extensively tested and
is designed to work with client server databases such as
Microsoft SQL Server or Oracle.
ASP supports shared file databases (Microsoft Access or
Microsoft FoxPro) as valid data sources. Although some
examples in the ASP documentation use a "shared file"
database, it is recommended that these types of database
engines be used only for development purposes or limited
deployment scenarios. Shared file databases may not be
as well suited as client-server databases for very high-
demand, production-quality web applications."
My Authorware piece will send and retrieve data through
an asp page that's connected to an Access database. The
data in each user record is small: about 25 two-digit
numbers. There may, however, be a significant
number of users. Does the above article mean that asp
and Access are not adequate as a database for commercial
computer-based training?
Thanks.
Jim Bowman
Jim Bowman Guest
-
Queries slower with SQL Server than Access
Hoping for better security and performance, I'm moving data from an Access database to SQL Server. However, our more query-intensive reports in CF... -
SQL queries when Access is open
My Authorware training piece sends and retrieves data through asp pages that are connected to an Access database. Three asp pages use SQL SELECT,... -
Creating queries in Access (for ASP)
Hi, So far I have been writing ASP and embedding my SQL in the ASP pages. But, I've heard advantages of creating queries inside the database... -
Translate Access queries to ASP
Hi, I'm still confused about my queries, I want to do something is ASP that is easily done in Access. I'll post the Access queries below as a... -
using Access queries using ADOX
Hello, I have the following code in an asp 3.0 page: Dim dbConn As adodb.Connection Dim cat As ADOX.Catalog Dim view As ADOX.view Set dbConn... -
Ken Schaefer #2
Re: Simultaneous SQL queries to Access
Well written code (that minimises load on the database) can allow a fairly
substantial number of concurrent users to run off an Access database (say,
~20-25). All operations are serialised though the Jet OLEDB Provider (or
ODBC Driver). However if you require greater performance, or you need a more
robust DBMS (e.g. the ability to recover from transaction logs etc), you
need to use a proper Client-Server DB (like SQL Server).
Have you considered using MSDE (cut down version of SQL Server)? It's free
in a lot of cases.
Cheers
Ken
"Jim Bowman" <anonymous@discussions.microsoft.com> wrote in message
news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
: In evaluating asp and an Access database as a way to
: store user data from an Authorware training piece, I ran
: across this article:
:
: "For performance and reliability reasons, it is strongly
: recommended that you use a client-server database engine
: for the deployment of data-driven web applications that
: require high-demand access from more than approximately
: 10 concurrent users. Although ADO works with any OLE DB
: compliant data source, it has been extensively tested and
: is designed to work with client server databases such as
: Microsoft SQL Server or Oracle.
:
: ASP supports shared file databases (Microsoft Access or
: Microsoft FoxPro) as valid data sources. Although some
: examples in the ASP documentation use a "shared file"
: database, it is recommended that these types of database
: engines be used only for development purposes or limited
: deployment scenarios. Shared file databases may not be
: as well suited as client-server databases for very high-
: demand, production-quality web applications."
:
: My Authorware piece will send and retrieve data through
: an asp page that's connected to an Access database. The
: data in each user record is small: about 25 two-digit
: numbers. There may, however, be a significant
: number of users. Does the above article mean that asp
: and Access are not adequate as a database for commercial
: computer-based training?
:
: Thanks.
:
: Jim Bowman
Ken Schaefer Guest
-
Jim Bowman #3
Re: Simultaneous SQL queries to Access
Thanks Ken. I will explore MSDE.
Suppose my Access db can handle 20 concurrent users and
that 20 are simultaneously connected at some point in
time. If user No. 21 tries to connect, does Access
return an error and then continue to function? Or does
Access crash?
If it's the former, suppose I program my Authorware
training piece so that if the asp page returns an error,
the training piece waits 3 seconds and then tries again.
Maybe it repeats this sequence a total of 5 times before
giving up and providing a "connection failed" message to
the user. What do you think?
Jim
can allow a fairly>-----Original Message-----
>Well written code (that minimises load on the database)Access database (say,>substantial number of concurrent users to run off anOLEDB Provider (or>~20-25). All operations are serialised though the Jetperformance, or you need a more>ODBC Driver). However if you require greatertransaction logs etc), you>robust DBMS (e.g. the ability to recover fromServer)? It's free>need to use a proper Client-Server DB (like SQL Server).
>
>Have you considered using MSDE (cut down version of SQLin message>in a lot of cases.
>
>Cheers
>Ken
>
>"Jim Bowman" <anonymous@discussions.microsoft.com> wroteran>news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
>: In evaluating asp and an Access database as a way to
>: store user data from an Authorware training piece, Istrongly>: across this article:
>:
>: "For performance and reliability reasons, it isengine>: recommended that you use a client-server databaseDB>: for the deployment of data-driven web applications that
>: require high-demand access from more than approximately
>: 10 concurrent users. Although ADO works with any OLEand>: compliant data source, it has been extensively testedas>: is designed to work with client server databases suchdatabase>: Microsoft SQL Server or Oracle.
>:
>: ASP supports shared file databases (Microsoft Access or
>: Microsoft FoxPro) as valid data sources. Although some
>: examples in the ASP documentation use a "shared file"
>: database, it is recommended that these types oflimited>: engines be used only for development purposes orhigh->: deployment scenarios. Shared file databases may not be
>: as well suited as client-server databases for verycommercial>: demand, production-quality web applications."
>:
>: My Authorware piece will send and retrieve data through
>: an asp page that's connected to an Access database. The
>: data in each user record is small: about 25 two-digit
>: numbers. There may, however, be a significant
>: number of users. Does the above article mean that asp
>: and Access are not adequate as a database for>: computer-based training?
>:
>: Thanks.
>:
>: Jim Bowman
>
>
>.
>Jim Bowman Guest
-
Ken Schaefer #4
Re: Simultaneous SQL queries to Access
Access doesn't "crash" per se. You will, depending on how effeciently your
code is organised, start encountering blocking. You will be unable to open
connections, or users already in the database will have locks that block new
users.
You can, to a point, do what you suggest - try to open a connection, see if
there's an error, and if so try again "x" number of times before returning
an error to the user.
Cheers
Ken
"Jim Bowman" <james@jbassoc.biz> wrote in message
news:35f401c4294b$99182940$a501280a@phx.gbl...
: Thanks Ken. I will explore MSDE.
:
: Suppose my Access db can handle 20 concurrent users and
: that 20 are simultaneously connected at some point in
: time. If user No. 21 tries to connect, does Access
: return an error and then continue to function? Or does
: Access crash?
:
: If it's the former, suppose I program my Authorware
: training piece so that if the asp page returns an error,
: the training piece waits 3 seconds and then tries again.
: Maybe it repeats this sequence a total of 5 times before
: giving up and providing a "connection failed" message to
: the user. What do you think?
:
: Jim
:
: >-----Original Message-----
: >Well written code (that minimises load on the database)
: can allow a fairly
: >substantial number of concurrent users to run off an
: Access database (say,
: >~20-25). All operations are serialised though the Jet
: OLEDB Provider (or
: >ODBC Driver). However if you require greater
: performance, or you need a more
: >robust DBMS (e.g. the ability to recover from
: transaction logs etc), you
: >need to use a proper Client-Server DB (like SQL Server).
: >
: >Have you considered using MSDE (cut down version of SQL
: Server)? It's free
: >in a lot of cases.
: >
: >Cheers
: >Ken
: >
: >"Jim Bowman" <anonymous@discussions.microsoft.com> wrote
: in message
: >news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
: >: In evaluating asp and an Access database as a way to
: >: store user data from an Authorware training piece, I
: ran
: >: across this article:
: >:
: >: "For performance and reliability reasons, it is
: strongly
: >: recommended that you use a client-server database
: engine
: >: for the deployment of data-driven web applications that
: >: require high-demand access from more than approximately
: >: 10 concurrent users. Although ADO works with any OLE
: DB
: >: compliant data source, it has been extensively tested
: and
: >: is designed to work with client server databases such
: as
: >: Microsoft SQL Server or Oracle.
: >:
: >: ASP supports shared file databases (Microsoft Access or
: >: Microsoft FoxPro) as valid data sources. Although some
: >: examples in the ASP documentation use a "shared file"
: >: database, it is recommended that these types of
: database
: >: engines be used only for development purposes or
: limited
: >: deployment scenarios. Shared file databases may not be
: >: as well suited as client-server databases for very
: high-
: >: demand, production-quality web applications."
: >:
: >: My Authorware piece will send and retrieve data through
: >: an asp page that's connected to an Access database. The
: >: data in each user record is small: about 25 two-digit
: >: numbers. There may, however, be a significant
: >: number of users. Does the above article mean that asp
: >: and Access are not adequate as a database for
: commercial
: >: computer-based training?
: >:
: >: Thanks.
: >:
: >: Jim Bowman
: >
: >
: >.
: >
Ken Schaefer Guest
-
Re: Simultaneous SQL queries to Access
When you say "to a point", you sound cautious about this
approach. What are your concerns?
Thanks.
Jim
how effeciently your>-----Original Message-----
>Access doesn't "crash" per se. You will, depending onbe unable to open>code is organised, start encountering blocking. You willlocks that block new>connections, or users already in the database will haveconnection, see if>users.
>
>You can, to a point, do what you suggest - try to open atimes before returning>there's an error, and if so try again "x" number oferror,>an error to the user.
>
>Cheers
>Ken
>
>"Jim Bowman" <james@jbassoc.biz> wrote in message
>news:35f401c4294b$99182940$a501280a@phx.gbl...
>: Thanks Ken. I will explore MSDE.
>:
>: Suppose my Access db can handle 20 concurrent users and
>: that 20 are simultaneously connected at some point in
>: time. If user No. 21 tries to connect, does Access
>: return an error and then continue to function? Or does
>: Access crash?
>:
>: If it's the former, suppose I program my Authorware
>: training piece so that if the asp page returns anagain.>: the training piece waits 3 seconds and then triesbefore>: Maybe it repeats this sequence a total of 5 timesto>: giving up and providing a "connection failed" messagedatabase)>: the user. What do you think?
>:
>: Jim
>:
>: >-----Original Message-----
>: >Well written code (that minimises load on theServer).>: can allow a fairly
>: >substantial number of concurrent users to run off an
>: Access database (say,
>: >~20-25). All operations are serialised though the Jet
>: OLEDB Provider (or
>: >ODBC Driver). However if you require greater
>: performance, or you need a more
>: >robust DBMS (e.g. the ability to recover from
>: transaction logs etc), you
>: >need to use a proper Client-Server DB (like SQLSQL>: >
>: >Have you considered using MSDE (cut down version ofwrote>: Server)? It's free
>: >in a lot of cases.
>: >
>: >Cheers
>: >Ken
>: >
>: >"Jim Bowman" <anonymous@discussions.microsoft.com>that>: in message
>: >news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
>: >: In evaluating asp and an Access database as a way to
>: >: store user data from an Authorware training piece, I
>: ran
>: >: across this article:
>: >:
>: >: "For performance and reliability reasons, it is
>: strongly
>: >: recommended that you use a client-server database
>: engine
>: >: for the deployment of data-driven web applicationsapproximately>: >: require high-demand access from more thanOLE>: >: 10 concurrent users. Although ADO works with anytested>: DB
>: >: compliant data source, it has been extensivelysuch>: and
>: >: is designed to work with client server databasesAccess or>: as
>: >: Microsoft SQL Server or Oracle.
>: >:
>: >: ASP supports shared file databases (Microsoftsome>: >: Microsoft FoxPro) as valid data sources. Althoughfile">: >: examples in the ASP documentation use a "sharednot be>: >: database, it is recommended that these types of
>: database
>: >: engines be used only for development purposes or
>: limited
>: >: deployment scenarios. Shared file databases maythrough>: >: as well suited as client-server databases for very
>: high-
>: >: demand, production-quality web applications."
>: >:
>: >: My Authorware piece will send and retrieve dataThe>: >: an asp page that's connected to an Access database.digit>: >: data in each user record is small: about 25 two-asp>: >: numbers. There may, however, be a significant
>: >: number of users. Does the above article mean that>: >: and Access are not adequate as a database for
>: commercial
>: >: computer-based training?
>: >:
>: >: Thanks.
>: >:
>: >: Jim Bowman
>: >
>: >
>: >.
>: >
>
>
>.
>Guest
-
Ken Schaefer #6
Re: Simultaneous SQL queries to Access
Because, even that will start to fail after a while as you increase the
number of users (e.g. if you loop 5 times, it maybe that each of the 5 times
you won't be able to get a connection).
Cheers
Ken
<anonymous@discussions.microsoft.com> wrote in message
news:3fe401c42af0$89743af0$a301280a@phx.gbl...
: When you say "to a point", you sound cautious about this
: approach. What are your concerns?
:
: Thanks.
:
: Jim
:
: >-----Original Message-----
: >Access doesn't "crash" per se. You will, depending on
: how effeciently your
: >code is organised, start encountering blocking. You will
: be unable to open
: >connections, or users already in the database will have
: locks that block new
: >users.
: >
: >You can, to a point, do what you suggest - try to open a
: connection, see if
: >there's an error, and if so try again "x" number of
: times before returning
: >an error to the user.
: >
: >Cheers
: >Ken
: >
: >"Jim Bowman" <james@jbassoc.biz> wrote in message
: >news:35f401c4294b$99182940$a501280a@phx.gbl...
: >: Thanks Ken. I will explore MSDE.
: >:
: >: Suppose my Access db can handle 20 concurrent users and
: >: that 20 are simultaneously connected at some point in
: >: time. If user No. 21 tries to connect, does Access
: >: return an error and then continue to function? Or does
: >: Access crash?
: >:
: >: If it's the former, suppose I program my Authorware
: >: training piece so that if the asp page returns an
: error,
: >: the training piece waits 3 seconds and then tries
: again.
: >: Maybe it repeats this sequence a total of 5 times
: before
: >: giving up and providing a "connection failed" message
: to
: >: the user. What do you think?
: >:
: >: Jim
: >:
: >: >-----Original Message-----
: >: >Well written code (that minimises load on the
: database)
: >: can allow a fairly
: >: >substantial number of concurrent users to run off an
: >: Access database (say,
: >: >~20-25). All operations are serialised though the Jet
: >: OLEDB Provider (or
: >: >ODBC Driver). However if you require greater
: >: performance, or you need a more
: >: >robust DBMS (e.g. the ability to recover from
: >: transaction logs etc), you
: >: >need to use a proper Client-Server DB (like SQL
: Server).
: >: >
: >: >Have you considered using MSDE (cut down version of
: SQL
: >: Server)? It's free
: >: >in a lot of cases.
: >: >
: >: >Cheers
: >: >Ken
: >: >
: >: >"Jim Bowman" <anonymous@discussions.microsoft.com>
: wrote
: >: in message
: >: >news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
: >: >: In evaluating asp and an Access database as a way to
: >: >: store user data from an Authorware training piece, I
: >: ran
: >: >: across this article:
: >: >:
: >: >: "For performance and reliability reasons, it is
: >: strongly
: >: >: recommended that you use a client-server database
: >: engine
: >: >: for the deployment of data-driven web applications
: that
: >: >: require high-demand access from more than
: approximately
: >: >: 10 concurrent users. Although ADO works with any
: OLE
: >: DB
: >: >: compliant data source, it has been extensively
: tested
: >: and
: >: >: is designed to work with client server databases
: such
: >: as
: >: >: Microsoft SQL Server or Oracle.
: >: >:
: >: >: ASP supports shared file databases (Microsoft
: Access or
: >: >: Microsoft FoxPro) as valid data sources. Although
: some
: >: >: examples in the ASP documentation use a "shared
: file"
: >: >: database, it is recommended that these types of
: >: database
: >: >: engines be used only for development purposes or
: >: limited
: >: >: deployment scenarios. Shared file databases may
: not be
: >: >: as well suited as client-server databases for very
: >: high-
: >: >: demand, production-quality web applications."
: >: >:
: >: >: My Authorware piece will send and retrieve data
: through
: >: >: an asp page that's connected to an Access database.
: The
: >: >: data in each user record is small: about 25 two-
: digit
: >: >: numbers. There may, however, be a significant
: >: >: number of users. Does the above article mean that
: asp
: >: >: and Access are not adequate as a database for
: >: commercial
: >: >: computer-based training?
: >: >:
: >: >: Thanks.
: >: >:
: >: >: Jim Bowman
: >: >
: >: >
: >: >.
: >: >
: >
: >
: >.
: >
Ken Schaefer Guest
-
Jim Bowman #7
Re: Simultaneous SQL queries to Access
I think I understand. If the number of users exceeds the
capabilities of Access on a continuting basis, then the
looping delay solves nothing. But if the number of users
exceeds the capabilities of Access temporarily (e.g. a
spike in demand), then the delay approach should work
because it levels the demand. Am I right?
Jim
you increase the>-----Original Message-----
>Because, even that will start to fail after a while aseach of the 5 times>number of users (e.g. if you loop 5 times, it maybe thatthis>you won't be able to get a connection).
>
>Cheers
>Ken
>
><anonymous@discussions.microsoft.com> wrote in message
>news:3fe401c42af0$89743af0$a301280a@phx.gbl...
>: When you say "to a point", you sound cautious aboutwill>: approach. What are your concerns?
>:
>: Thanks.
>:
>: Jim
>:
>: >-----Original Message-----
>: >Access doesn't "crash" per se. You will, depending on
>: how effeciently your
>: >code is organised, start encountering blocking. Youhave>: be unable to open
>: >connections, or users already in the database willopen a>: locks that block new
>: >users.
>: >
>: >You can, to a point, do what you suggest - try toand>: connection, see if
>: >there's an error, and if so try again "x" number of
>: times before returning
>: >an error to the user.
>: >
>: >Cheers
>: >Ken
>: >
>: >"Jim Bowman" <james@jbassoc.biz> wrote in message
>: >news:35f401c4294b$99182940$a501280a@phx.gbl...
>: >: Thanks Ken. I will explore MSDE.
>: >:
>: >: Suppose my Access db can handle 20 concurrent usersin>: >: that 20 are simultaneously connected at some pointdoes>: >: time. If user No. 21 tries to connect, does Access
>: >: return an error and then continue to function? Ormessage>: >: Access crash?
>: >:
>: >: If it's the former, suppose I program my Authorware
>: >: training piece so that if the asp page returns an
>: error,
>: >: the training piece waits 3 seconds and then tries
>: again.
>: >: Maybe it repeats this sequence a total of 5 times
>: before
>: >: giving up and providing a "connection failed"an>: to
>: >: the user. What do you think?
>: >:
>: >: Jim
>: >:
>: >: >-----Original Message-----
>: >: >Well written code (that minimises load on the
>: database)
>: >: can allow a fairly
>: >: >substantial number of concurrent users to run offJet>: >: Access database (say,
>: >: >~20-25). All operations are serialised though theway to>: >: OLEDB Provider (or
>: >: >ODBC Driver). However if you require greater
>: >: performance, or you need a more
>: >: >robust DBMS (e.g. the ability to recover from
>: >: transaction logs etc), you
>: >: >need to use a proper Client-Server DB (like SQL
>: Server).
>: >: >
>: >: >Have you considered using MSDE (cut down version of
>: SQL
>: >: Server)? It's free
>: >: >in a lot of cases.
>: >: >
>: >: >Cheers
>: >: >Ken
>: >: >
>: >: >"Jim Bowman" <anonymous@discussions.microsoft.com>
>: wrote
>: >: in message
>: >: >news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
>: >: >: In evaluating asp and an Access database as apiece, I>: >: >: store user data from an Authorware trainingapplications>: >: ran
>: >: >: across this article:
>: >: >:
>: >: >: "For performance and reliability reasons, it is
>: >: strongly
>: >: >: recommended that you use a client-server database
>: >: engine
>: >: >: for the deployment of data-driven webAlthough>: that
>: >: >: require high-demand access from more than
>: approximately
>: >: >: 10 concurrent users. Although ADO works with any
>: OLE
>: >: DB
>: >: >: compliant data source, it has been extensively
>: tested
>: >: and
>: >: >: is designed to work with client server databases
>: such
>: >: as
>: >: >: Microsoft SQL Server or Oracle.
>: >: >:
>: >: >: ASP supports shared file databases (Microsoft
>: Access or
>: >: >: Microsoft FoxPro) as valid data sources.very>: some
>: >: >: examples in the ASP documentation use a "shared
>: file"
>: >: >: database, it is recommended that these types of
>: >: database
>: >: >: engines be used only for development purposes or
>: >: limited
>: >: >: deployment scenarios. Shared file databases may
>: not be
>: >: >: as well suited as client-server databases fordatabase.>: >: high-
>: >: >: demand, production-quality web applications."
>: >: >:
>: >: >: My Authorware piece will send and retrieve data
>: through
>: >: >: an asp page that's connected to an Accessthat>: The
>: >: >: data in each user record is small: about 25 two-
>: digit
>: >: >: numbers. There may, however, be a significant
>: >: >: number of users. Does the above article mean>: asp
>: >: >: and Access are not adequate as a database for
>: >: commercial
>: >: >: computer-based training?
>: >: >:
>: >: >: Thanks.
>: >: >:
>: >: >: Jim Bowman
>: >: >
>: >: >
>: >: >.
>: >: >
>: >
>: >
>: >.
>: >
>
>
>.
>Jim Bowman Guest
-
Ken Schaefer #8
Re: Simultaneous SQL queries to Access
Bingo. :-)
Cheers
Ken
"Jim Bowman" <james@jbassoc.biz> wrote in message
news:52b701c42cbe$593aca50$a301280a@phx.gbl...
: I think I understand. If the number of users exceeds the
: capabilities of Access on a continuting basis, then the
: looping delay solves nothing. But if the number of users
: exceeds the capabilities of Access temporarily (e.g. a
: spike in demand), then the delay approach should work
: because it levels the demand. Am I right?
:
: Jim
:
: >-----Original Message-----
: >Because, even that will start to fail after a while as
: you increase the
: >number of users (e.g. if you loop 5 times, it maybe that
: each of the 5 times
: >you won't be able to get a connection).
: >
: >Cheers
: >Ken
: >
: ><anonymous@discussions.microsoft.com> wrote in message
: >news:3fe401c42af0$89743af0$a301280a@phx.gbl...
: >: When you say "to a point", you sound cautious about
: this
: >: approach. What are your concerns?
: >:
: >: Thanks.
: >:
: >: Jim
: >:
: >: >-----Original Message-----
: >: >Access doesn't "crash" per se. You will, depending on
: >: how effeciently your
: >: >code is organised, start encountering blocking. You
: will
: >: be unable to open
: >: >connections, or users already in the database will
: have
: >: locks that block new
: >: >users.
: >: >
: >: >You can, to a point, do what you suggest - try to
: open a
: >: connection, see if
: >: >there's an error, and if so try again "x" number of
: >: times before returning
: >: >an error to the user.
: >: >
: >: >Cheers
: >: >Ken
: >: >
: >: >"Jim Bowman" <james@jbassoc.biz> wrote in message
: >: >news:35f401c4294b$99182940$a501280a@phx.gbl...
: >: >: Thanks Ken. I will explore MSDE.
: >: >:
: >: >: Suppose my Access db can handle 20 concurrent users
: and
: >: >: that 20 are simultaneously connected at some point
: in
: >: >: time. If user No. 21 tries to connect, does Access
: >: >: return an error and then continue to function? Or
: does
: >: >: Access crash?
: >: >:
: >: >: If it's the former, suppose I program my Authorware
: >: >: training piece so that if the asp page returns an
: >: error,
: >: >: the training piece waits 3 seconds and then tries
: >: again.
: >: >: Maybe it repeats this sequence a total of 5 times
: >: before
: >: >: giving up and providing a "connection failed"
: message
: >: to
: >: >: the user. What do you think?
: >: >:
: >: >: Jim
: >: >:
: >: >: >-----Original Message-----
: >: >: >Well written code (that minimises load on the
: >: database)
: >: >: can allow a fairly
: >: >: >substantial number of concurrent users to run off
: an
: >: >: Access database (say,
: >: >: >~20-25). All operations are serialised though the
: Jet
: >: >: OLEDB Provider (or
: >: >: >ODBC Driver). However if you require greater
: >: >: performance, or you need a more
: >: >: >robust DBMS (e.g. the ability to recover from
: >: >: transaction logs etc), you
: >: >: >need to use a proper Client-Server DB (like SQL
: >: Server).
: >: >: >
: >: >: >Have you considered using MSDE (cut down version of
: >: SQL
: >: >: Server)? It's free
: >: >: >in a lot of cases.
: >: >: >
: >: >: >Cheers
: >: >: >Ken
: >: >: >
: >: >: >"Jim Bowman" <anonymous@discussions.microsoft.com>
: >: wrote
: >: >: in message
: >: >: >news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
: >: >: >: In evaluating asp and an Access database as a
: way to
: >: >: >: store user data from an Authorware training
: piece, I
: >: >: ran
: >: >: >: across this article:
: >: >: >:
: >: >: >: "For performance and reliability reasons, it is
: >: >: strongly
: >: >: >: recommended that you use a client-server database
: >: >: engine
: >: >: >: for the deployment of data-driven web
: applications
: >: that
: >: >: >: require high-demand access from more than
: >: approximately
: >: >: >: 10 concurrent users. Although ADO works with any
: >: OLE
: >: >: DB
: >: >: >: compliant data source, it has been extensively
: >: tested
: >: >: and
: >: >: >: is designed to work with client server databases
: >: such
: >: >: as
: >: >: >: Microsoft SQL Server or Oracle.
: >: >: >:
: >: >: >: ASP supports shared file databases (Microsoft
: >: Access or
: >: >: >: Microsoft FoxPro) as valid data sources.
: Although
: >: some
: >: >: >: examples in the ASP documentation use a "shared
: >: file"
: >: >: >: database, it is recommended that these types of
: >: >: database
: >: >: >: engines be used only for development purposes or
: >: >: limited
: >: >: >: deployment scenarios. Shared file databases may
: >: not be
: >: >: >: as well suited as client-server databases for
: very
: >: >: high-
: >: >: >: demand, production-quality web applications."
: >: >: >:
: >: >: >: My Authorware piece will send and retrieve data
: >: through
: >: >: >: an asp page that's connected to an Access
: database.
: >: The
: >: >: >: data in each user record is small: about 25 two-
: >: digit
: >: >: >: numbers. There may, however, be a significant
: >: >: >: number of users. Does the above article mean
: that
: >: asp
: >: >: >: and Access are not adequate as a database for
: >: >: commercial
: >: >: >: computer-based training?
: >: >: >:
: >: >: >: Thanks.
: >: >: >:
: >: >: >: Jim Bowman
: >: >: >
: >: >: >
: >: >: >.
: >: >: >
: >: >
: >: >
: >: >.
: >: >
: >
: >
: >.
: >
Ken Schaefer Guest
-
Ken Schaefer #9
Re: Simultaneous SQL queries to Access
Also, if you go down the MSDE path, you can buy SQL Server Developer Edition
(equivalent to SQL Server Enterprise Edition) for US$49.95 - it is only
licenced for development.
This gives you a full set of client tools, reference material etc on the
installation CD (something that MSDE does not). You can then develop your
databases, then detach them, and attach them to your MSDE server,
[url]http://www.microsoft.com/sql/howtobuy/development.asp[/url]
Cheers
Ken
"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:%23eqIj3RLEHA.3204@TK2MSFTNGP10.phx.gbl...
: Bingo. :-)
:
: Cheers
: Ken
:
: "Jim Bowman" <james@jbassoc.biz> wrote in message
: news:52b701c42cbe$593aca50$a301280a@phx.gbl...
: : I think I understand. If the number of users exceeds the
: : capabilities of Access on a continuting basis, then the
: : looping delay solves nothing. But if the number of users
: : exceeds the capabilities of Access temporarily (e.g. a
: : spike in demand), then the delay approach should work
: : because it levels the demand. Am I right?
: :
: : Jim
: :
: : >-----Original Message-----
: : >Because, even that will start to fail after a while as
: : you increase the
: : >number of users (e.g. if you loop 5 times, it maybe that
: : each of the 5 times
: : >you won't be able to get a connection).
: : >
: : >Cheers
: : >Ken
: : >
: : ><anonymous@discussions.microsoft.com> wrote in message
: : >news:3fe401c42af0$89743af0$a301280a@phx.gbl...
: : >: When you say "to a point", you sound cautious about
: : this
: : >: approach. What are your concerns?
: : >:
: : >: Thanks.
: : >:
: : >: Jim
: : >:
: : >: >-----Original Message-----
: : >: >Access doesn't "crash" per se. You will, depending on
: : >: how effeciently your
: : >: >code is organised, start encountering blocking. You
: : will
: : >: be unable to open
: : >: >connections, or users already in the database will
: : have
: : >: locks that block new
: : >: >users.
: : >: >
: : >: >You can, to a point, do what you suggest - try to
: : open a
: : >: connection, see if
: : >: >there's an error, and if so try again "x" number of
: : >: times before returning
: : >: >an error to the user.
: : >: >
: : >: >Cheers
: : >: >Ken
: : >: >
: : >: >"Jim Bowman" <james@jbassoc.biz> wrote in message
: : >: >news:35f401c4294b$99182940$a501280a@phx.gbl...
: : >: >: Thanks Ken. I will explore MSDE.
: : >: >:
: : >: >: Suppose my Access db can handle 20 concurrent users
: : and
: : >: >: that 20 are simultaneously connected at some point
: : in
: : >: >: time. If user No. 21 tries to connect, does Access
: : >: >: return an error and then continue to function? Or
: : does
: : >: >: Access crash?
: : >: >:
: : >: >: If it's the former, suppose I program my Authorware
: : >: >: training piece so that if the asp page returns an
: : >: error,
: : >: >: the training piece waits 3 seconds and then tries
: : >: again.
: : >: >: Maybe it repeats this sequence a total of 5 times
: : >: before
: : >: >: giving up and providing a "connection failed"
: : message
: : >: to
: : >: >: the user. What do you think?
: : >: >:
: : >: >: Jim
: : >: >:
: : >: >: >-----Original Message-----
: : >: >: >Well written code (that minimises load on the
: : >: database)
: : >: >: can allow a fairly
: : >: >: >substantial number of concurrent users to run off
: : an
: : >: >: Access database (say,
: : >: >: >~20-25). All operations are serialised though the
: : Jet
: : >: >: OLEDB Provider (or
: : >: >: >ODBC Driver). However if you require greater
: : >: >: performance, or you need a more
: : >: >: >robust DBMS (e.g. the ability to recover from
: : >: >: transaction logs etc), you
: : >: >: >need to use a proper Client-Server DB (like SQL
: : >: Server).
: : >: >: >
: : >: >: >Have you considered using MSDE (cut down version of
: : >: SQL
: : >: >: Server)? It's free
: : >: >: >in a lot of cases.
: : >: >: >
: : >: >: >Cheers
: : >: >: >Ken
: : >: >: >
: : >: >: >"Jim Bowman" <anonymous@discussions.microsoft.com>
: : >: wrote
: : >: >: in message
: : >: >: >news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
: : >: >: >: In evaluating asp and an Access database as a
: : way to
: : >: >: >: store user data from an Authorware training
: : piece, I
: : >: >: ran
: : >: >: >: across this article:
: : >: >: >:
: : >: >: >: "For performance and reliability reasons, it is
: : >: >: strongly
: : >: >: >: recommended that you use a client-server database
: : >: >: engine
: : >: >: >: for the deployment of data-driven web
: : applications
: : >: that
: : >: >: >: require high-demand access from more than
: : >: approximately
: : >: >: >: 10 concurrent users. Although ADO works with any
: : >: OLE
: : >: >: DB
: : >: >: >: compliant data source, it has been extensively
: : >: tested
: : >: >: and
: : >: >: >: is designed to work with client server databases
: : >: such
: : >: >: as
: : >: >: >: Microsoft SQL Server or Oracle.
: : >: >: >:
: : >: >: >: ASP supports shared file databases (Microsoft
: : >: Access or
: : >: >: >: Microsoft FoxPro) as valid data sources.
: : Although
: : >: some
: : >: >: >: examples in the ASP documentation use a "shared
: : >: file"
: : >: >: >: database, it is recommended that these types of
: : >: >: database
: : >: >: >: engines be used only for development purposes or
: : >: >: limited
: : >: >: >: deployment scenarios. Shared file databases may
: : >: not be
: : >: >: >: as well suited as client-server databases for
: : very
: : >: >: high-
: : >: >: >: demand, production-quality web applications."
: : >: >: >:
: : >: >: >: My Authorware piece will send and retrieve data
: : >: through
: : >: >: >: an asp page that's connected to an Access
: : database.
: : >: The
: : >: >: >: data in each user record is small: about 25 two-
: : >: digit
: : >: >: >: numbers. There may, however, be a significant
: : >: >: >: number of users. Does the above article mean
: : that
: : >: asp
: : >: >: >: and Access are not adequate as a database for
: : >: >: commercial
: : >: >: >: computer-based training?
: : >: >: >:
: : >: >: >: Thanks.
: : >: >: >:
: : >: >: >: Jim Bowman
: : >: >: >
: : >: >: >
: : >: >: >.
: : >: >: >
: : >: >
: : >: >
: : >: >.
: : >: >
: : >
: : >
: : >.
: : >
:
:
Ken Schaefer Guest
-
Jim Bowman #10
Re: Simultaneous SQL queries to Access
Thanks for the help Ken
Jim
Server Developer Edition>-----Original Message-----
>Also, if you go down the MSDE path, you can buy SQLUS$49.95 - it is only>(equivalent to SQL Server Enterprise Edition) formaterial etc on the>licenced for development.
>
>This gives you a full set of client tools, referencethen develop your>installation CD (something that MSDE does not). You canMSDE server,>databases, then detach them, and attach them to yourmessage>[url]http://www.microsoft.com/sql/howtobuy/development.asp[/url]
>
>Cheers
>Ken
>
>"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote inexceeds the>news:%23eqIj3RLEHA.3204@TK2MSFTNGP10.phx.gbl...
>: Bingo. :-)
>:
>: Cheers
>: Ken
>:
>: "Jim Bowman" <james@jbassoc.biz> wrote in message
>: news:52b701c42cbe$593aca50$a301280a@phx.gbl...
>: : I think I understand. If the number of usersthe>: : capabilities of Access on a continuting basis, thenusers>: : looping delay solves nothing. But if the number ofa>: : exceeds the capabilities of Access temporarily (e.g.as>: : spike in demand), then the delay approach should work
>: : because it levels the demand. Am I right?
>: :
>: : Jim
>: :
>: : >-----Original Message-----
>: : >Because, even that will start to fail after a whilethat>: : you increase the
>: : >number of users (e.g. if you loop 5 times, it maybemessage>: : each of the 5 times
>: : >you won't be able to get a connection).
>: : >
>: : >Cheers
>: : >Ken
>: : >
>: : ><anonymous@discussions.microsoft.com> wrote inabout>: : >news:3fe401c42af0$89743af0$a301280a@phx.gbl...
>: : >: When you say "to a point", you sound cautiousdepending on>: : this
>: : >: approach. What are your concerns?
>: : >:
>: : >: Thanks.
>: : >:
>: : >: Jim
>: : >:
>: : >: >-----Original Message-----
>: : >: >Access doesn't "crash" per se. You will,You>: : >: how effeciently your
>: : >: >code is organised, start encountering blocking.will>: : will
>: : >: be unable to open
>: : >: >connections, or users already in the databaseof>: : have
>: : >: locks that block new
>: : >: >users.
>: : >: >
>: : >: >You can, to a point, do what you suggest - try to
>: : open a
>: : >: connection, see if
>: : >: >there's an error, and if so try again "x" numberusers>: : >: times before returning
>: : >: >an error to the user.
>: : >: >
>: : >: >Cheers
>: : >: >Ken
>: : >: >
>: : >: >"Jim Bowman" <james@jbassoc.biz> wrote in message
>: : >: >news:35f401c4294b$99182940$a501280a@phx.gbl...
>: : >: >: Thanks Ken. I will explore MSDE.
>: : >: >:
>: : >: >: Suppose my Access db can handle 20 concurrentpoint>: : and
>: : >: >: that 20 are simultaneously connected at someAccess>: : in
>: : >: >: time. If user No. 21 tries to connect, doesfunction? Or>: : >: >: return an error and then continue toAuthorware>: : does
>: : >: >: Access crash?
>: : >: >:
>: : >: >: If it's the former, suppose I program myan>: : >: >: training piece so that if the asp page returnstries>: : >: error,
>: : >: >: the training piece waits 3 seconds and thentimes>: : >: again.
>: : >: >: Maybe it repeats this sequence a total of 5off>: : >: before
>: : >: >: giving up and providing a "connection failed"
>: : message
>: : >: to
>: : >: >: the user. What do you think?
>: : >: >:
>: : >: >: Jim
>: : >: >:
>: : >: >: >-----Original Message-----
>: : >: >: >Well written code (that minimises load on the
>: : >: database)
>: : >: >: can allow a fairly
>: : >: >: >substantial number of concurrent users to runthe>: : an
>: : >: >: Access database (say,
>: : >: >: >~20-25). All operations are serialised thoughSQL>: : Jet
>: : >: >: OLEDB Provider (or
>: : >: >: >ODBC Driver). However if you require greater
>: : >: >: performance, or you need a more
>: : >: >: >robust DBMS (e.g. the ability to recover from
>: : >: >: transaction logs etc), you
>: : >: >: >need to use a proper Client-Server DB (likeversion of>: : >: Server).
>: : >: >: >
>: : >: >: >Have you considered using MSDE (cut down<anonymous@discussions.microsoft.com>>: : >: SQL
>: : >: >: Server)? It's free
>: : >: >: >in a lot of cases.
>: : >: >: >
>: : >: >: >Cheers
>: : >: >: >Ken
>: : >: >: >
>: : >: >: >"Jim Bowman"a>: : >: wrote
>: : >: >: in message
>: : >: >: >news:2c5101c4286d$523d6c80$a301280a@phx.gbl...
>: : >: >: >: In evaluating asp and an Access database asit is>: : way to
>: : >: >: >: store user data from an Authorware training
>: : piece, I
>: : >: >: ran
>: : >: >: >: across this article:
>: : >: >: >:
>: : >: >: >: "For performance and reliability reasons,database>: : >: >: strongly
>: : >: >: >: recommended that you use a client-serverwith any>: : >: >: engine
>: : >: >: >: for the deployment of data-driven web
>: : applications
>: : >: that
>: : >: >: >: require high-demand access from more than
>: : >: approximately
>: : >: >: >: 10 concurrent users. Although ADO worksextensively>: : >: OLE
>: : >: >: DB
>: : >: >: >: compliant data source, it has beendatabases>: : >: tested
>: : >: >: and
>: : >: >: >: is designed to work with client server(Microsoft>: : >: such
>: : >: >: as
>: : >: >: >: Microsoft SQL Server or Oracle.
>: : >: >: >:
>: : >: >: >: ASP supports shared file databasesa "shared>: : >: Access or
>: : >: >: >: Microsoft FoxPro) as valid data sources.
>: : Although
>: : >: some
>: : >: >: >: examples in the ASP documentation usetypes of>: : >: file"
>: : >: >: >: database, it is recommended that thesepurposes or>: : >: >: database
>: : >: >: >: engines be used only for developmentdatabases may>: : >: >: limited
>: : >: >: >: deployment scenarios. Shared filefor>: : >: not be
>: : >: >: >: as well suited as client-server databasesapplications.">: : very
>: : >: >: high-
>: : >: >: >: demand, production-quality webdata>: : >: >: >:
>: : >: >: >: My Authorware piece will send and retrievetwo->: : >: through
>: : >: >: >: an asp page that's connected to an Access
>: : database.
>: : >: The
>: : >: >: >: data in each user record is small: about 25significant>: : >: digit
>: : >: >: >: numbers. There may, however, be amean>: : >: >: >: number of users. Does the above articlefor>: : that
>: : >: asp
>: : >: >: >: and Access are not adequate as a database>: : >: >: commercial
>: : >: >: >: computer-based training?
>: : >: >: >:
>: : >: >: >: Thanks.
>: : >: >: >:
>: : >: >: >: Jim Bowman
>: : >: >: >
>: : >: >: >
>: : >: >: >.
>: : >: >: >
>: : >: >
>: : >: >
>: : >: >.
>: : >: >
>: : >
>: : >
>: : >.
>: : >
>:
>:
>
>
>.
>Jim Bowman Guest



Reply With Quote

