Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Relational Database
Hi,
I have a very simple question.
In what cases are relational databases necessary?
Are they really necessary in cases where only a
single type of query is to be performed based on one unique
field or can we just put all fields together in a single database
and just access them through that unique field?


Report this thread to moderator Post Follow-up to this message
Old Post
Shwetabh
02-16-06 08:24 AM


Re: Relational Database
Shwetabh (shwetabhgoel@gmail.com)  writes:
> I have a very simple question.
> In what cases are relational databases necessary?
> Are they really necessary in cases where only a
> single type of query is to be performed based on one unique
> field or can we just put all fields together in a single database
> and just access them through that unique field?

There are plenty of alternatievs to relational databases. There are object-
oriented databases, there are probably still some hierarchical databases
around, and there are systems that uses flat files.

But the relational databases dominate the market, probably because they
have proven to be very good at handling large amounts of data.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
02-16-06 08:24 AM


Re: Relational Database
Erland Sommarskog  wrote:
> Shwetabh (shwetabhgoel@gmail.com) writes: 
>
> There are plenty of alternatievs to relational databases. There are object
-
> oriented databases, there are probably still some hierarchical databases
> around, and there are systems that uses flat files.
>
> But the relational databases dominate the market, probably because they
> have proven to be very good at handling large amounts of data.
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/pr...oads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodin...ions/books.mspx

Actually I am not asking about the alternatives. I just want to know
that are
relational databases really necessary for me if I require just a single
record
every time with no changes in structure, i.e I always need a record
based on
a unique value. Do i still need to create relations in the database or
am I better off
butting all fields in a single table and getting data from there.


Report this thread to moderator Post Follow-up to this message
Old Post
Shwetabh
02-16-06 12:23 PM


Re: Relational Database
"Shwetabh" <shwetabhgoel@gmail.com> wrote in message
news:1140086144.048226.309750@g14g2000cwa.googlegroups.com...
> Actually I am not asking about the alternatives. I just want to know
> that are
> relational databases really necessary for me if I require just a single
> record
> every time with no changes in structure, i.e I always need a record
> based on
> a unique value. Do i still need to create relations in the database or
> am I better off
> butting all fields in a single table and getting data from there.

More accurately, it sounds like you're asking whether you need to normalize
your database.

In this case probably not and using something like SQL Server may be
overkill.  But without knowing more details, I don't think any of us can say
for sure.


>



Report this thread to moderator Post Follow-up to this message
Old Post
Greg D. Moore \(Strider\)
02-16-06 12:23 PM


Re: Relational Database
Shwetabh  wrote:
> Actually I am not asking about the alternatives. I just want to know
> that are
> relational databases really necessary for me if I require just a single
> record
> every time with no changes in structure, i.e I always need a record
> based on
> a unique value. Do i still need to create relations in the database or
> am I better off
> butting all fields in a single table and getting data from there.

I don't think you asked the right question. It seems you aren't asking
whether to use relational database systems but whether to normalize
your database or not.

The main motivation to normalize data is to preserve its integrity when
it is updated. A secondary reason is that normalization can help
performance by ensuring you aren't maintaining redundant data. Given
those factors you ought to have a good excuse if you don't normalize.

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--


Report this thread to moderator Post Follow-up to this message
Old Post
David Portas
02-16-06 12:23 PM


Re: Relational Database
>>  if I require just a single record every time with no changes in structur
e, i.e I always need a record based on a unique value. <<

There is nothing wrong with an indexed file, which is probably
supported by your host language.   RDBMS is for large amounts of
inter-related data where integrity and portability are the big issue.


Report this thread to moderator Post Follow-up to this message
Old Post
--CELKO--
02-17-06 06:23 PM


Re: Relational Database
It depends what you are doing.

If its a single row ever then just store the information in a xml document
on the file system.

If you are storing multiple rows then I'd consider using a database system
because you then dont have to roll your own data access code, having said
that, .NET has a number of facilities to help you there.

Tony.

--
Tony Rogerson
SQL Server MVP
http://sqlserverfaq.com - free video tutorials


"Shwetabh" <shwetabhgoel@gmail.com> wrote in message
news:1140086144.048226.309750@g14g2000cwa.googlegroups.com...
>
> Erland Sommarskog wrote: 
>
> Actually I am not asking about the alternatives. I just want to know
> that are
> relational databases really necessary for me if I require just a single
> record
> every time with no changes in structure, i.e I always need a record
> based on
> a unique value. Do i still need to create relations in the database or
> am I better off
> butting all fields in a single table and getting data from there.
>



Report this thread to moderator Post Follow-up to this message
Old Post
Tony Rogerson
02-19-06 08:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 05:36 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006