473,396 Members | 1,775 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,396 software developers and data experts.

Advice

Hi everyone,

I am wanting to store documents (doc, xls, pdf, ppt...) within the DB.
Is it advisable in general (I don't know exactly how big the docs are
going to be) to compress the files before putting them into the DB?
How does this affect Full Text Searching?

Thanks for your help in advance.
Jose
Jul 20 '05 #1
2 1466

"Jose Perez" <jl**@totalise.co.uk> wrote in message
news:37**************************@posting.google.c om...
Hi everyone,

I am wanting to store documents (doc, xls, pdf, ppt...) within the DB.
Is it advisable in general (I don't know exactly how big the docs are
going to be) to compress the files before putting them into the DB?
How does this affect Full Text Searching?

Thanks for your help in advance.
Jose


Although I haven't tried this myself, many people prefer to leave the binary
files in the filesystem, and store only the path to the file in the
database - this gives better performance when you need to retrieve a file.
MSSQL can still execute full-text queries on documents outside the database,
via the Indexing Service. Also, note that not all document types are
supported for indexing - .PDF is not, for example, unless you have a custom
full-text filter for it. I don't know about compressing the document before
putting it in the database, but I guess that would mean that the full-text
indexing would fail.

You should probably post this question in
microsoft.public.sqlserver.fulltext to get a better answer.

Simon
Jul 20 '05 #2

"Jose Perez" <jl**@totalise.co.uk> wrote in message
news:37**************************@posting.google.c om...
Hi everyone,

I am wanting to store documents (doc, xls, pdf, ppt...) within the DB.
Is it advisable in general (I don't know exactly how big the docs are
going to be) to compress the files before putting them into the DB?
How does this affect Full Text Searching?

Thanks for your help in advance.
Jose


Although I haven't tried this myself, many people prefer to leave the binary
files in the filesystem, and store only the path to the file in the
database - this gives better performance when you need to retrieve a file.
MSSQL can still execute full-text queries on documents outside the database,
via the Indexing Service. Also, note that not all document types are
supported for indexing - .PDF is not, for example, unless you have a custom
full-text filter for it. I don't know about compressing the document before
putting it in the database, but I guess that would mean that the full-text
indexing would fail.

You should probably post this question in
microsoft.public.sqlserver.fulltext to get a better answer.

Simon
Jul 20 '05 #3

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

Similar topics

75
by: Howard Nease | last post by:
Hello, everyone. I would appreciate any advice that someone could give me on my future career path. Here is my situation: I am a bright Junior in a very well-respected private high school, taking...
5
by: Martin Piper | last post by:
Hi all. I've recently landed myself the position of trainee C++ programmer which I'm extremely pleased about, but also nervous. According to the feedback from the interview, I have a good...
3
by: Andy Dingley | last post by:
I've just started on a new project and inherited a huge pile of XSLT (and I use the term "pile" advisedly !) It runs at glacial speed, and I need to fix this this. Platform is MSXML 4 / ASP ...
11
by: ma740988 | last post by:
I'm perusing a slide with roughly 12 bullets spread across 3 pages. Each bullet reflects 'advice'. I'm ok with all but 1 bullet, more specifically the bullet that states: " Avoid the STL unless...
6
by: J Rieggle | last post by:
Hi there, I am stuck on a problem that relates to eCommerce sites, but isnt ASP.NET specific (sorry). The ecommerce site is working in the UK, and products will be sold in pounds stirling. ...
13
by: Alan Silver | last post by:
Hello, MSDN (amongst other places) is full of helpful advice on ways to do data access, but they all seem geared to wards enterprise applications. Maybe I'm in a minority, but I don't have those...
7
by: John Paul | last post by:
I'm thinking of building an e-commerce site in php. Anyone got any advice in building one? What is the best way to implement a payment system? Are any legal issues involved? Thanks,
232
by: robert maas, see http://tinyurl.com/uh3t | last post by:
I'm working on examples of programming in several languages, all (except PHP) running under CGI so that I can show both the source files and the actually running of the examples online. The first...
3
by: mesut | last post by:
Hi colleagues, I need your advice... I have approx 1,5 years experience with ASP.NET/VB.NET 2005 and I have to switch over into C# 2005 language. I don't have experience with C# 2005...
7
by: SM | last post by:
Hello, I have a index.php template (2 columns). The right columns contains a bunch of links (interviews, poems, etc...) The left columns contains the actual article. So if I click on a link on...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.