473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

web database question

Sue
Hi, we are thinking of installing sql server as a backend to our
website.

Q.1. What is the best way to do this - should we host the database on
the same IIS server where the website is hosted, or would it be better
to put the database on a server on it's own, separate from the IIS
server?

Q.2. Also what is the best way for clients to connect to the database
for querying purposes - will I be able to install client versions of
sql server on their machines so they can connect for querying purposes
only, (cannot create tables etc), or will it be better if the clients
have sql server express installed locally and connect to the server
sql through odbc?

Q.3. When connecting to a sql server database through odbc, using ms
access or sql server express, what happens when queries are run or
updates are made - does the original database on the server get
updated or only the local copy on the client? Also will the client
always have the most recent data?

Sorry, for all the questions, thank you very much for replying. I have
used DB2 in a client server environment but am new to sql server....

Oct 1 '07 #1
2 1417
What sort of traffic , will you be getting?

q1. You can put the db on the same box as IIS , but if you have separate
boxes , and you
envisage throughput will be significant , then separating them is a good
idea.
Is a RAID array available?
q2. Isn't the website going to be the client end for querying?
If that is the case , then there is no need to have SQL Server Tools or
express installed on the client machines.
They would just use the web front end as the querying mechanism. On the
other hand , if there is a further requirement to
allow developers (for example ) to query the db directly, thn just install
SQL Server express and give them a User who is defined
as only having SELECT permissions

q3. If the main depository is the main SQL db , and you connected via a
client such as SQL Server express , then if you ran
an UPDATE on the main depository and that user had UPDATE permissions then
the main db would be updated

--

Jack Vamvas
___________________________________
Search IT jobs from multiple sources- http://www.ITjobfeed.com/SQL


"Sue" <se*****@hotmail.comwrote in message
news:11**********************@22g2000hsm.googlegro ups.com...
Hi, we are thinking of installing sql server as a backend to our
website.

Q.1. What is the best way to do this - should we host the database on
the same IIS server where the website is hosted, or would it be better
to put the database on a server on it's own, separate from the IIS
server?

Q.2. Also what is the best way for clients to connect to the database
for querying purposes - will I be able to install client versions of
sql server on their machines so they can connect for querying purposes
only, (cannot create tables etc), or will it be better if the clients
have sql server express installed locally and connect to the server
sql through odbc?

Q.3. When connecting to a sql server database through odbc, using ms
access or sql server express, what happens when queries are run or
updates are made - does the original database on the server get
updated or only the local copy on the client? Also will the client
always have the most recent data?

Sorry, for all the questions, thank you very much for replying. I have
used DB2 in a client server environment but am new to sql server....

Oct 1 '07 #2
Sue (se*****@hotmail.com) writes:
Q.1. What is the best way to do this - should we host the database on
the same IIS server where the website is hosted, or would it be better
to put the database on a server on it's own, separate from the IIS
server?
Install on a separate box if you can. Else IIS and SQL Server will
compete for memory. There is also a security aspect.
Q.2. Also what is the best way for clients to connect to the database
for querying purposes - will I be able to install client versions of
sql server on their machines so they can connect for querying purposes
only, (cannot create tables etc), or will it be better if the clients
have sql server express installed locally and connect to the server
sql through odbc?
What clients? Didn't you say this was for a web site? Then I would
assume that client connect over the web.

It's difficult to answer this question, without knowing what the
requirements are.
Q.3. When connecting to a sql server database through odbc, using ms
access or sql server express, what happens when queries are run or
updates are made - does the original database on the server get
updated or only the local copy on the client? Also will the client
always have the most recent data?
If they update the local database, they update the local database. If
they update the central database, they update the central database. You
can set up replication, to distribute updates, but again, without
knowing what the requirements are for your possible, it's impossible to
give a useful answer.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Oct 1 '07 #3

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

Similar topics

3
by: Lee | last post by:
Hi, I'm developing a socket program to connect to Informix database through the ODBC. In here i called my socket program as "tap" . My tap will listen for data from unix through port 1070. After...
7
by: Dave | last post by:
I have a system that basically stores a database within a database (I'm sure lots have you have done this before in some form or another). At the end of the day, I'm storing the actual data...
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
6
by: ronwer | last post by:
Hello, The title doesn't completely cover the question I have, but it's a bit more complicated problem we have. We are using a database, based on Acces, but developed by a third party...
8
by: Inspector | last post by:
I'm hoping I might be able to pick someone's brain out there. Our company is currently running an inhouse application in which data is being stored in SQL. Included in this data are thousands...
29
by: MP | last post by:
Greets, context: vb6/ado/.mdb/jet 4.0 (no access)/sql beginning learner, first database, planning stages (I think the underlying question here is whether to normalize or not to normalize this...
8
by: mesut | last post by:
Mybe it's a stupid question but : I'm starting to learn VB.NET. I have some basic skills. I'm from Mainframe world and I have same question to make my DATABASES (tables and relation) I would like...
35
by: Terry Jolly | last post by:
Web Solution Goal: Have a global database connection Why: (There will be 30+ tables, represented by 30+ classes) I only want to reference the database connection once. I put the connection...
2
by: clinttoris | last post by:
Hello, If someone could help me it would be appreciated as I am not having much luck. I'm struggling with my asp code and have some questions relating to asp and oracle database. First...
5
by: Slant | last post by:
Here's a question that most will have different answers to. I'm just dying to find a solution that seems halfway automated!! There really are two seperate issues which might be answered by the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
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...
0
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...
0
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,...

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.