Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2004, 05:39 AM
Registered User
 
Join Date: May 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pros & Cons of using Blobs in sql server

Hi,

I am new to sql server and especially using blobs.
In my application, I am dealing with some microsoft word documents. I feel that I can store them sql server as text/image column as its more secure to save them in database versus saving them on the file system.
Are there some issues involved in doing so. Some performance hits etc.
Pls guide or send some such links describing the same.

Thanks in anticipation
Sandeep


 
Old May 7th, 2004, 10:35 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

If you set up your security properly both storing it in the file system and the SQL server can be equally secure. Security on the file system would be controled by NT groups... the SQL could use a "spin your own" security.

The analysis of which would be better for you to use would depend on your requirements and what your storing and how secure is secure enough... Types of hardware availible.. speed and size of drives.. location of SQL server. Location of the DB on the drives...

Your going to need to think about all of that to know which solution will be better for you.

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old May 7th, 2004, 11:04 AM
Registered User
 
Join Date: May 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thx for putting points to my notice.
I would like to know, are there some issues with using blobs in sql server as I saw at a few places that it make database heavy and all blob related operations are heavy resulting in performance drop.

Is it tough to store and manipulate data in text/image columns?

Regards / sandeep


 
Old May 7th, 2004, 11:08 AM
Registered User
 
Join Date: May 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Thanks for putting the mentioned points to my notice which I shall surely keep in mind.
May I know whether there are any performance hit in storing and manipulating data using blobs ie text/image columns in sql server.
Also, will it be really complex/tough to store and manipulate document files with usage of blob i.e. text/image columns with respect to using file system.

Thanks in advance.
Sandeep


 
Old May 7th, 2004, 11:42 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I answered this already.

The performance hit depends on things like Speed of drives.. location of datastore.. location of data files.. location of physical SQL machine-. Network speed. Network Protocal...

That said- Yes, there will be a hit. How much of a hit depends on all of that information.

I have no idea what kind of manipulation you want to do - so again I can't tell you how dificult it would be.

You might want to try a google search on the topic.

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old May 7th, 2004, 02:09 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

You can take a look at these posts which were discussed earlier on the same topic, and have better idea.

http://p2p.wrox.com/topic.asp?TOPIC_...=storing,image

http://p2p.wrox.com/topic.asp?TOPIC_...rchTerms=image

You can always search for such topics if any discussed earlier here using the search link

Hope that helps.

Cheers!

-Vijay G





Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report & VB6 & SQL Server wlho VB How-To 2 June 5th, 2013 01:58 AM
Query Excution Process- pros and cons vinod_yadav1919 SQL Server 2000 1 July 23rd, 2006 01:02 PM
Pros and Cons of upgrading Access 97 DMickel Access 5 February 18th, 2006 06:00 PM
SQL Server 6.5 & Devices MarioG SQL Server 2000 3 October 6th, 2004 12:47 PM
SQL Server & MSDE reyboy SQL Server 2000 0 September 6th, 2004 10:15 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.