Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / October 2007

Tip: Looking for answers? Try searching our database.

choosing a database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Maximilian - 31 Oct 2007 11:27 GMT
I often only use one or more XML-files as database for my applications since
it is very non-complicated and lets me model my datastructure in any way i
like it to be. But when do I really need to consider moving up to a larger
database-platform?
Today I would load the entire xml-database (<20MB) into memory and use
LINQ-expressions to query the data. Is this really such a bad idea? Is it
only the matter of size i need to consider when choosing between xml and sql?
What size then? And when do I need to step up from MSSQL Server Express to
MSSQL Server?

One more question. Can MSSQL Server Express-files be accessed without SQL
Server Express installed? I mean as through the .NET framework in some way?
Roy Harvey (SQL Server MVP) - 31 Oct 2007 14:09 GMT
As long as it works it might not be a bad idea.  I am not familiar
with the details of your XML/LINQ approach for dealing with basics
like data integrity, recovery, backups, and all the other things that
SQL Server provides, so I really can't comment.

SQL Server Express is SQL Server with only a few restrictions.  As
such it must be installed and the service running for a database to be
used.  Nothing else ever accesses the files.  Your application sends
commands to the service, which performs all database actions.

Roy Harvey
Beacon Falls, CT

>I often only use one or more XML-files as database for my applications since
>it is very non-complicated and lets me model my datastructure in any way i
[quoted text clipped - 8 lines]
>One more question. Can MSSQL Server Express-files be accessed without SQL
>Server Express installed? I mean as through the .NET framework in some way?
Plamen Ratchev - 31 Oct 2007 14:21 GMT
> One more question. Can MSSQL Server Express-files be accessed without SQL
> Server Express installed? I mean as through the .NET framework in some
> way?

You may want to take a look at SQL Server Compact Edition. You can deploy it
just by copying the DLL files with your application (no need to install or
have a service running). For more details look here:
http://www.microsoft.com/sql/editions/compact/default.mspx

HTH,

Plamen Ratchev
http://www.SQLStudio.com
bass_player [SBS-MVP] - 31 Oct 2007 16:03 GMT
You need to remember that in order for you to work with XML, you have to
load it into memory.  If you XML files grow big and your number of records
increase, this becomes a performance issue

>I often only use one or more XML-files as database for my applications
>since
[quoted text clipped - 11 lines]
> Server Express installed? I mean as through the .NET framework in some
> way?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.