显示标签为“system”的博文。显示所有博文
显示标签为“system”的博文。显示所有博文

2012年3月29日星期四

Full Text Searching....THOUSANDS of records!

Hope I am in the correct section.
I am installing a FTS system on an existing system (that used LIKE % queries!! hahaha)
Anyway, it is working pretty well (AND FAST!) but when I type in acommon word like "damage" I get like 32,000 records. Now, theserver handles those records in about one second but the ASP page thatreturns the results takes about one MINUTE to download. When Isave the source, it is almost 12 MEGS!!
So, basically, I am streaming 12 megs across the pipe and I want to reduce that.
I would like the system to detect over maybe 500 records and cancel the search.
I have put a "TOP 500" into the search and that actually works pretty well but is there a better/smarter method?
Thanks!
cbmeeks

Your Top 500 query is good, but you could also do a SELECT COUNT SQL query first getting exactly how may records would be returned. Just replace the fields to be returned by "COUNT(*)".
// Instantiate a Command object...
SqlCommand dbCommand = new SqlCommand();
dbCommand.Connection = yourConnectionObject;
dbCommand.CommandText = "SELECT COUNT(*) " +
"FROM table-name WHERE column-name = 'some-value'";
dbCommand.CommandType = CommandType.Text;

// Execute the Command object...
int returnValue = (int)dbCommand.ExecuteScalar();
if ( returnValue > 500 )
string errorMessage = "Your query brings back " + returnValue.ToString() + " records!";
else
// Execute your regular query...
Or you could also just execute your normal query and test the number of rows in the DataTable:
if ( dataSet.Tables[0].Rows.Count > 500 )
string errorMessage = "Your query brings back " + dataSet.Tables[0].Rows.Count.ToString() + " records!";
else
// Display it...
The last could be your best bet as it only incurs one trip to the database.
NC...

|||Thanks!
What I actually did (after I posted the question) is leave the TOP 200(was 500 but I shortened it) and as I was displaying the results, Iupdated a variable. At the end of the page, I say somethinglike: "Over 200 records found, try narrowing your search".
The disadvantage is that you never really know how many records therewas (201 would be the same as 10,000) and it's at the bottom of thepage. But, I can live with it.
How much overhead would the extra SELECT COUNT method cost? Icould profile it I guess. But everyone is complaining about thespeed now.
I wrote the program 4 years ago when I was a rookie.
At least now even very common words just take a second or two to get the page. :-)
cbmeeks
|||

Run a search for CONTAINS, CONTAINSTABLE, FREETEXT and FREETEXTTABLE Microsoft proprietry implementation of ANSI SQL in SQL Server BOL (books online). Full Text is an add on to SQL Server so you must populate the Microsoft search catalog to get expected results. Hope this helps.

sql

full text searching...

I am working on a system where we wish toc reat a full text catalog in sql server 2000. I created a test catalog and started a 'full population' but it failed. After several attempts I restarted the 'Mircosoft Search' service and it is failing with the following error:
"The Gatherer property mapping file cannot be opened. Error: 80070003. The default values are being used. You may have to copy the property mapping file from the setup CD, or reinstall the application".
I have little knowledge about MS seraching and the relationship with full text catalogs in sql server 2000. I have been able from google to find the following MS knowledge base article:
http://support.microsoft.com/?kbid=827449
Is this the best solution for my problem?
The system I am working on is not a clustered database and has the sql installtion on the 'C:' drive with the log and data files fdor the database seperated oput onto to seperate physical drives
Cheers
Ollie Riches
I think this kb article is the best choice for you.
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Ollie Riches" <ollie.riches@.phoneanalyser.net> wrote in message
news:eIl646eTGHA.424@.TK2MSFTNGP12.phx.gbl...
I am working on a system where we wish toc reat a full text catalog in sql
server 2000. I created a test catalog and started a 'full population' but it
failed. After several attempts I restarted the 'Mircosoft Search' service
and it is failing with the following error:
"The Gatherer property mapping file cannot be opened. Error: 80070003. The
default values are being used. You may have to copy the property mapping
file from the setup CD, or reinstall the application".
I have little knowledge about MS seraching and the relationship with full
text catalogs in sql server 2000. I have been able from google to find the
following MS knowledge base article:
http://support.microsoft.com/?kbid=827449
Is this the best solution for my problem?
The system I am working on is not a clustered database and has the sql
installtion on the 'C:' drive with the log and data files fdor the database
seperated oput onto to seperate physical drives
Cheers
Ollie Riches

full text searching...

I am working on a system where we wish toc reat a full text catalog in sql server 2000. I created a test catalog and started a 'full population' but it failed. After several attempts I restarted the 'Mircosoft Search' service and it is failing with the following error:
"The Gatherer property mapping file cannot be opened. Error: 80070003. The default values are being used. You may have to copy the property mapping file from the setup CD, or reinstall the application".
I have little knowledge about MS seraching and the relationship with full text catalogs in sql server 2000. I have been able from google to find the following MS knowledge base article:
http://support.microsoft.com/?kbid=827449
Is this the best solution for my problem?
The system I am working on is not a clustered database and has the sql installtion on the 'C:' drive with the log and data files fdor the database seperated oput onto to seperate physical drives
Cheers
Ollie Riches
I think this kb article is the best choice for you.
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Ollie Riches" <ollie.riches@.phoneanalyser.net> wrote in message
news:eIl646eTGHA.424@.TK2MSFTNGP12.phx.gbl...
I am working on a system where we wish toc reat a full text catalog in sql
server 2000. I created a test catalog and started a 'full population' but it
failed. After several attempts I restarted the 'Mircosoft Search' service
and it is failing with the following error:
"The Gatherer property mapping file cannot be opened. Error: 80070003. The
default values are being used. You may have to copy the property mapping
file from the setup CD, or reinstall the application".
I have little knowledge about MS seraching and the relationship with full
text catalogs in sql server 2000. I have been able from google to find the
following MS knowledge base article:
http://support.microsoft.com/?kbid=827449
Is this the best solution for my problem?
The system I am working on is not a clustered database and has the sql
installtion on the 'C:' drive with the log and data files fdor the database
seperated oput onto to seperate physical drives
Cheers
Ollie Riches

full text searching...

I am working on a system where we wish toc reat a full text catalog in sql s
erver 2000. I created a test catalog and started a 'full population' but it
failed. After several attempts I restarted the 'Mircosoft Search' service an
d it is failing with the following error:
"The Gatherer property mapping file cannot be opened. Error: 80070003. The d
efault values are being used. You may have to copy the property mapping file
from the setup CD, or reinstall the application".
I have little knowledge about MS seraching and the relationship with full te
xt catalogs in sql server 2000. I have been able from google to find the fol
lowing MS knowledge base article:
http://support.microsoft.com/?kbid=827449
Is this the best solution for my problem?
The system I am working on is not a clustered database and has the sql insta
lltion on the 'C:' drive with the log and data files fdor the database seper
ated oput onto to seperate physical drives
Cheers
Ollie RichesI think this kb article is the best choice for you.
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Ollie Riches" <ollie.riches@.phoneanalyser.net> wrote in message
news:eIl646eTGHA.424@.TK2MSFTNGP12.phx.gbl...
I am working on a system where we wish toc reat a full text catalog in sql
server 2000. I created a test catalog and started a 'full population' but it
failed. After several attempts I restarted the 'Mircosoft Search' service
and it is failing with the following error:
"The Gatherer property mapping file cannot be opened. Error: 80070003. The
default values are being used. You may have to copy the property mapping
file from the setup CD, or reinstall the application".
I have little knowledge about MS seraching and the relationship with full
text catalogs in sql server 2000. I have been able from google to find the
following MS knowledge base article:
http://support.microsoft.com/?kbid=827449
Is this the best solution for my problem?
The system I am working on is not a clustered database and has the sql
installtion on the 'C:' drive with the log and data files fdor the database
seperated oput onto to seperate physical drives
Cheers
Ollie Riches

Full text searching on a bulletin board system

I was told by a programmer that the full text searching on ms sql is only a
good solution on static data, meaning no new data is being added frequently,
as the indexes have to be rebuilt each time someone is added/removed.
I will be running a bulletin board system, so there will be many new posts
per day. I'll also need searching of the text by users.
What are your thoughts on this and what the programmer said?
Suppose there are hundreds of thousands of posts, and say, one new post is
added every 5 minutes.
How often would you recommend an update or reindexing of the index take
place? And each time it happens how much will it bog down the system?
|||your programmer friend is misinformed. You can schedule incremental
populations for SQL 7 which will process new changes if there is a timestamp
column on the table. If there is no timestamp column it will reindex the
entire table.
With SQL 2000 you should use change tracking. This will only index the
changes which occur in columns you are full text indexing. Incremental
populations still extract and examine each row. Change tracking will only
index the changes and is much faster. You can run Change Tracking in a batch
mode (ie scheduled) or have it run continuously, where it picks up changes
every few seconds (most likely within 10 s).
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
"Shabam" <blislecp@.hotmail.com> wrote in message
news:9MqdnTASMpw_MvbcRVn-vw@.adelphia.com...
> Suppose there are hundreds of thousands of posts, and say, one new post is
> added every 5 minutes.
> How often would you recommend an update or reindexing of the index take
> place? And each time it happens how much will it bog down the system?
>
|||"Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
news:%23vYZ0KFsEHA.376@.TK2MSFTNGP14.phx.gbl...
> your programmer friend is misinformed. You can schedule incremental
> populations for SQL 7 which will process new changes if there is a
timestamp
> column on the table. If there is no timestamp column it will reindex the
> entire table.
> With SQL 2000 you should use change tracking. This will only index the
> changes which occur in columns you are full text indexing. Incremental
> populations still extract and examine each row. Change tracking will only
> index the changes and is much faster. You can run Change Tracking in a
batch
> mode (ie scheduled) or have it run continuously, where it picks up changes
> every few seconds (most likely within 10 s).
What kind of load would this generate on the system? I read somewhere that
index updates should be done during off-peak hours.
|||That depends on the frequency of updates, the size of the data you are
indexing, the number of CPUs, and your horsepower.
In general it doesn't consume significant cpu for long periods. You may
notice some CPU spiking with German or the Far Eastern word breakers.
"Shabam" <blislecp@.hotmail.com> wrote in message
news:Br-dneL7af1_m_HcRVn-jA@.adelphia.com...
> "Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
> news:%23vYZ0KFsEHA.376@.TK2MSFTNGP14.phx.gbl...
> timestamp
> batch
> What kind of load would this generate on the system? I read somewhere that
> index updates should be done during off-peak hours.
>
|||"Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
news:uXpTI3IsEHA.2340@.TK2MSFTNGP11.phx.gbl...
> That depends on the frequency of updates, the size of the data you are
> indexing, the number of CPUs, and your horsepower.
> In general it doesn't consume significant cpu for long periods. You may
> notice some CPU spiking with German or the Far Eastern word breakers.
Thanks! That was very helpful.
Are there any times when it wouldn't be good to use the full text searching
of MS SQL?
|||Shabam,
Q. Are there any times when it wouldn't be good to use the full text
searching of MS SQL?
A. This would depend upon the type, amount and frequency of non-FTS type SQL
queries that for your application consume &/or use significant portions of
your server's CPU, Memory and disk I/O (assuming that you have separated the
FT Catalog from your database files). What is your application's workload?
Is it heavy OLTP or OLAP? primarily a web site host with lots of searchers?
Depending upon these answers, you would want to schedule your Full &/or
Incremental Populations around the time periods of your most active
(non-FTS) SQL query processing. If you have a dual or multi-proc server, you
can separate the MSSearch cpu usage from your MSSQLServer cpu usage as well.
Let me know if you have any other questions!
Thanks,
John
"Shabam" <blislecp@.hotmail.com> wrote in message
news:zvCdnWrP0ZOIifPcRVn-sA@.adelphia.com...
> "Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
> news:uXpTI3IsEHA.2340@.TK2MSFTNGP11.phx.gbl...
> Thanks! That was very helpful.
> Are there any times when it wouldn't be good to use the full text
searching
> of MS SQL?
>
sql

2012年3月27日星期二

Full text search txt or doc files?

Hi,
I'm putting together a system and one of the requirements is to have a
searchable CV function.
I've got all the code to load the files on to the image fields, I've indexed
and got it mostly working.
Before I go to far down the road what is your opinion on having txt files
instead of doc files to search? The SQL seems to be more flexible on
searches rather than on the binary files and the index files themselves are
smaller.
My main concern is I'd have to do the text conversion automatically, any
pointers on this?
Does anyone have any views on the best way to go about this
Many thanks for any help you can give
Jim FlorenceHave you tried asking this in the sqlserver.fulltext news group?
As long as all expected binary types are supported by appropriate IFilters
on your server, using binary data will be just fine - AFAIK.
ML
http://milambda.blogspot.com/|||Thanks for the pointer, embarrassingly I didn't see it existed :0/
I just noticed on trying one query with "select like" it would only work on
varchar fields and failed on the blob, could well be mistaken though.
Thanks again
Jim
"ML" <ML@.discussions.microsoft.com> wrote in message
news:45DBD971-2EE7-42C5-AD3A-C3F542B4F8DA@.microsoft.com...
> Have you tried asking this in the sqlserver.fulltext news group?
> As long as all expected binary types are supported by appropriate IFilters
> on your server, using binary data will be just fine - AFAIK.
>
> ML
> --
> http://milambda.blogspot.com/|||The LIKE operatoron binary values works if the searched string is cast to
binary or varbinary, but only if the binary column contains a true
representation of the text, which is not how Word documents are represented.
What exactly did you try?
BTW: with FTI you really shouldn't use the LIKE operator - FTS functions are
more efficient in this case.
ML
http://milambda.blogspot.com/|||Thaks for thatr I knew I'd have missed something obvious.
I'm not entierly sure what the difference is between FTI and FTS, I thought
they were one and the same
Jim
"ML" <ML@.discussions.microsoft.com> wrote in message
news:29D91E26-BE4C-4832-B888-8FA47423C793@.microsoft.com...
> The LIKE operatoron binary values works if the searched string is cast to
> binary or varbinary, but only if the binary column contains a true
> representation of the text, which is not how Word documents are
> represented.
> What exactly did you try?
> BTW: with FTI you really shouldn't use the LIKE operator - FTS functions
> are
> more efficient in this case.
>
> ML
> --
> http://milambda.blogspot.com/|||Jim,
I am trying to do something similar. I have a list of .doc files that I am
trying to do i full text search on. I would really appreciate some help on
how to do this. Some sql code would be great. Thanks
qtrsteve@.yahoo.com|||Sorry for a late reply.
FTS = full-text search
FTI = full-text index
FTS uses FTI.
I was referring to FTS functions: contains, containstable, frettext,
freetexttable. FTS functions are far more efficient than the LIKE operator,
or at least the processing overhead of FTS is pretty constant compared to th
e
overhead when using the LIKE operator.
ML
http://milambda.blogspot.com/sql

2012年3月22日星期四

Full Text Search component Problem

Hai
i having Mssql Server 2000. My System OS is Windows xp and Ram 1 Gb

I having Install MS Sql Sever Service Pack 3 in my system. then i
install Full Text Search component

I run this Command

SELECT @.@.VERSION

Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Personal Edition on Windows NT 5.1 (Build 2600: Service Pack
2)
SELECT SERVERPROPERTY('productversion') return =8.00.760

SELECT SERVERPROPERTY('productlevel')= Return SP3

SELECT SERVERPROPERTY('IsFullTextInstalled') returns: 0
but i run This command i got This Error

EXEC sp_fulltext_database 'enable' returns:

Server: Msg 7609, Level 17, State 2, Procedure sp_fulltext_database,
Line 46
Full-Text Search is not installed, or a full-text component cannot
be loaded.

i check the Microsoft Search service in Computer Management,
Microsoft Search servic runing Properly
pls advice me

Try this :

http://support.microsoft.com/default.aspx?scid=kb;EN-US;827449 This is the page to reinstall Microsoft Search (Full-Text) Service.

Good luck.

Full Text Search component Problem

Hai
i having Mssql Server 2000. My System OS is Windows xp and Ram 1 Gb

I having Install MS Sql Sever Service Pack 3 in my system. then i
install Full Text Search component

I run this Command

SELECT @.@.VERSION

Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Personal Edition on Windows NT 5.1 (Build 2600: Service Pack
2)
SELECT SERVERPROPERTY('productversion') return =8.00.760

SELECT SERVERPROPERTY('productlevel')= Return SP3

SELECT SERVERPROPERTY('IsFullTextInstalled') returns: 0
but i run This command i got This Error

EXEC sp_fulltext_database 'enable' returns:

Server: Msg 7609, Level 17, State 2, Procedure sp_fulltext_database,
Line 46
Full-Text Search is not installed, or a full-text component cannot
be loaded.

i check the Microsoft Search service in Computer Management,
Microsoft Search servic runing Properly
pls advice me

Try this :

http://support.microsoft.com/default.aspx?scid=kb;EN-US;827449 This is the page to reinstall Microsoft Search (Full-Text) Service.

Good luck.

2012年3月21日星期三

Full Text Search - Conatins doesnot work

Our SQL Server 2000 (sp1) on a Windows 2000 system is configured for a full text search.

The ntext column having a full text index has a value as follows:

Rob Proctor's Tips: Creating a "Tropical" Get-Away At Home

when I search it by

SELECT NTEXT_COL
FROM FULL_TEXT_TABLE
WHERE CONTAINS(NTEXT_COL, N'"Tropical Get Away"')

it displays the result as

NTEXT_COL
======================================
Rob Proctor's Tips: Creating a "Tropical" Get-Away At Home

But the query

SELECT NTEXT_COL
FROM FULL_TEXT_TABLE
WHERE CONTAINS(NTEXT_COL, N'"Tropical Get Aw*"')

do not return any rows..

Can anybody give me the reason for this behaviour, or is it a known bug?

Thanks

Sajan'Get' is included in Noise-word file and therefore query does not return what do you expect. Just remove hyphen from Get-Away (GetAway), repopulate index, run query and you'll see.

SELECT NTEXT_COL
FROM FULL_TEXT_TABLE
WHERE CONTAINS(NTEXT_COL, N'"Tropical GetAw*"')

I agree it is stupid but I guess it was designed this way. You could update list of your Noise words but size of indexes will be increased...

2012年3月9日星期五

Full Text Image Type

Hi,
Can anybody tell me from which system tables / catalog views can I get the
Full Text Image Type for a Column in SQL 2005 (Yukon).
TIA
PraWith
SELECT *
FROM INFORMATION_sCHEMA.COLUMNS
WHERE CHARACTER_OCTET_LENGTH > 8000 OR
CHARACTER_OCTET_LENGTH = -1
you will get all image, varbinary(max), text, varchar(max), ntext,
nvarchar(max) and xml data type columns.
Dejan Sarka, SQL Server MVP
Mentor
www.SolidQualityLearning.com
"Pra" <ekke_nikhil@.yahoo.co.uk> wrote in message
news:O3EPbsw$FHA.4012@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Can anybody tell me from which system tables / catalog views can I get the
> Full Text Image Type for a Column in SQL 2005 (Yukon).
>
> TIA
> Pra
>
>

Full Text Image Type

Hi,
Can anybody tell me from which system tables / catalog views can I get the
Full Text Image Type for a Column in SQL 2005 (Yukon).
TIA
Prasad
With
SELECT *
FROM INFORMATION_sCHEMA.COLUMNS
WHERE CHARACTER_OCTET_LENGTH > 8000 OR
CHARACTER_OCTET_LENGTH = -1
you will get all image, varbinary(max), text, varchar(max), ntext,
nvarchar(max) and xml data type columns.
Dejan Sarka, SQL Server MVP
Mentor
www.SolidQualityLearning.com
"Prasad" <ekke_nikhil@.yahoo.co.uk> wrote in message
news:O3EPbsw$FHA.4012@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Can anybody tell me from which system tables / catalog views can I get the
> Full Text Image Type for a Column in SQL 2005 (Yukon).
>
> TIA
> Prasad
>
>

Full Text Image Type

Hi,
Can anybody tell me from which system tables / catalog views can I get the
Full Text Image Type for a Column in SQL 2005 (Yukon).
TIA
PrasadWith
SELECT *
FROM INFORMATION_sCHEMA.COLUMNS
WHERE CHARACTER_OCTET_LENGTH > 8000 OR
CHARACTER_OCTET_LENGTH = -1
you will get all image, varbinary(max), text, varchar(max), ntext,
nvarchar(max) and xml data type columns.
Dejan Sarka, SQL Server MVP
Mentor
www.SolidQualityLearning.com
"Prasad" <ekke_nikhil@.yahoo.co.uk> wrote in message
news:O3EPbsw$FHA.4012@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Can anybody tell me from which system tables / catalog views can I get the
> Full Text Image Type for a Column in SQL 2005 (Yukon).
>
> TIA
> Prasad
>
>

Full Text Image Type

Hi,
Can anybody tell me from which system tables / catalog views can I get the
Full Text Image Type for a Column in SQL 2005 (Yukon).
TIA
PrasadWith
SELECT *
FROM INFORMATION_sCHEMA.COLUMNS
WHERE CHARACTER_OCTET_LENGTH > 8000 OR
CHARACTER_OCTET_LENGTH = -1
you will get all image, varbinary(max), text, varchar(max), ntext,
nvarchar(max) and xml data type columns.
--
Dejan Sarka, SQL Server MVP
Mentor
www.SolidQualityLearning.com
"Prasad" <ekke_nikhil@.yahoo.co.uk> wrote in message
news:O3EPbsw$FHA.4012@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Can anybody tell me from which system tables / catalog views can I get the
> Full Text Image Type for a Column in SQL 2005 (Yukon).
>
> TIA
> Prasad
>
>

Full text HELP!

Can anyone tell me why this doesnt work:
1- full text service is running under local system account
2- sql server is running under a domain account
3- local admin consists of both (domain admins and system)
4- correct priviledges are given to the folders (sql
folders)
5- sql is in CLUSTER (4 nodes / 4 virtual servers)
When i create a catalog it works. When i populate it.. it
says that it populated with sucess but value maintains 0 ?
I have the article (microsoft) where it tells me builtin
admins need to be in the logins.. i have tryed with
builtin admin AND nt authority system (seperatly) and
still doesnt work... it worked ONCE but then never worked
again.. it populates with no errors but the value mantains
0
event viewer gives me the following warnings: 3036 3035
and 3024 but when i reaseached them i get the article
about the builtin admins and ms search running under local
system acount which is already the case...
Can anyone help me? Is full text supported in cluster?
what can i do to fix this problem?
this basically means that MSSearch is unable to access SQL Server to
retrieve the rows it wishes to index.
Most frequently this problem is caused when you modify the MSSQL Server
account using control panel instead of Enterprise Manager. Check out this kb
article for more info:
http://support.microsoft.com/default...b;en-us;277549
This is SQL 7 but it still applies
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
"" <anonymous@.discussions.microsoft.com> wrote in message
news:2dbfa01c46a87$29eca3c0$a501280a@.phx.gbl...
> Can anyone tell me why this doesnt work:
> 1- full text service is running under local system account
> 2- sql server is running under a domain account
> 3- local admin consists of both (domain admins and system)
> 4- correct priviledges are given to the folders (sql
> folders)
> 5- sql is in CLUSTER (4 nodes / 4 virtual servers)
> When i create a catalog it works. When i populate it.. it
> says that it populated with sucess but value maintains 0 ?
> I have the article (microsoft) where it tells me builtin
> admins need to be in the logins.. i have tryed with
> builtin admin AND nt authority system (seperatly) and
> still doesnt work... it worked ONCE but then never worked
> again.. it populates with no errors but the value mantains
> 0
> event viewer gives me the following warnings: 3036 3035
> and 3024 but when i reaseached them i get the article
> about the builtin admins and ms search running under local
> system acount which is already the case...
> Can anyone help me? Is full text supported in cluster?
> what can i do to fix this problem?

2012年2月24日星期五

full backup and transaction log truncate

Hi,
I'm about how the backup system works in SQL Server. I'm using
the BULK LOGGED recovery model, I do regular full backups but my log
file is growing very large.
BOL says:
Full database backup, which backs up the entire database including the
transaction log
and it also says the BACKUP LOG truncates the log file, so I assumed
that BACKUP DATABASE would truncate the log file as well, but it doesn't
seem to be doing that. So the question is:
Does doing a full backup using BACKUP DATABASE truncate the log file?
Although I might be by the statement in BOL I actually hope
that BACKUP DATABASE does not truncate the log file, that way I can do
full backups whenever I want, for whatever reason and these backups will
not interfere with an automated full/differential/trans log backup system.
Thanks.BACKUP DATABASE does not truncate the inactive log portion. This means that
full backups do not interrupt a log backup sequence. If your most recent
backup is bad or incomplete, you can use an older backup as a starting point
and restore more logs to get back to the desired recovery point in time.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"John" <no@.spam> wrote in message
news:edF0K$deGHA.2068@.TK2MSFTNGP02.phx.gbl...
> Hi,
> I'm about how the backup system works in SQL Server. I'm using
> the BULK LOGGED recovery model, I do regular full backups but my log file
> is growing very large.
> BOL says:
> Full database backup, which backs up the entire database including the
> transaction log
> and it also says the BACKUP LOG truncates the log file, so I assumed that
> BACKUP DATABASE would truncate the log file as well, but it doesn't seem
> to be doing that. So the question is:
> Does doing a full backup using BACKUP DATABASE truncate the log file?
> Although I might be by the statement in BOL I actually hope that
> BACKUP DATABASE does not truncate the log file, that way I can do full
> backups whenever I want, for whatever reason and these backups will not
> interfere with an automated full/differential/trans log backup system.
> Thanks.|||John,
You have to backup the log in order to allow sql server to re-use the VLF
before the MinLSN. If these VLFs can not be reused and we reach the end of
the transaction log, then sql server will have to expand it.
Truncating the Transaction Log
http://msdn.microsoft.com/library/d...r />
_7vaf.asp
How to stop the transaction log of a SQL Server database from growing
unexpectedly
http://support.microsoft.com/?kbid=873235
AMB
"John" wrote:

> Hi,
> I'm about how the backup system works in SQL Server. I'm using
> the BULK LOGGED recovery model, I do regular full backups but my log
> file is growing very large.
> BOL says:
> Full database backup, which backs up the entire database including the
> transaction log
> and it also says the BACKUP LOG truncates the log file, so I assumed
> that BACKUP DATABASE would truncate the log file as well, but it doesn't
> seem to be doing that. So the question is:
> Does doing a full backup using BACKUP DATABASE truncate the log file?
> Although I might be by the statement in BOL I actually hope
> that BACKUP DATABASE does not truncate the log file, that way I can do
> full backups whenever I want, for whatever reason and these backups will
> not interfere with an automated full/differential/trans log backup system.
> Thanks.
>

2012年2月19日星期日

FTS Dutch operating system

I am getting an error running a full-text search against a database created
on a dutch operating system. The same query on the english-created database
does not produce an error.
System.Data.SqlClient.SqlException: Search on full-text catalog
'ImageCatalog003' for database ID 6, table or indexed view ID 1733581214 with
search condition 'ISABOUT ("pa" weight (.2))' failed with unknown result
(0x80020005).
Any Ideas?
Thanks.
Scott Taylor
"ScottTaylor-PAS" <ScottTaylor-PAS@.discussions.microsoft.com> wrote in
message news:BB50FCF3-0107-490A-8E54-0245FEC24D99@.microsoft.com...
>I am getting an error running a full-text search against a database created
> on a dutch operating system. The same query on the english-created
> database
> does not produce an error.
> System.Data.SqlClient.SqlException: Search on full-text catalog
> 'ImageCatalog003' for database ID 6, table or indexed view ID 1733581214
> with
> search condition 'ISABOUT ("pa" weight (.2))' failed with unknown result
> (0x80020005).
> Any Ideas?
> Thanks.
> Scott Taylor
|||This works for me on a SQL 2000 server and SQL 2005.
Are you sure you are indexing in Dutch? Also do you have problems with other
words?
"ScottTaylor-PAS" <ScottTaylor-PAS@.discussions.microsoft.com> wrote in
message news:BB50FCF3-0107-490A-8E54-0245FEC24D99@.microsoft.com...
>I am getting an error running a full-text search against a database created
> on a dutch operating system. The same query on the english-created
> database
> does not produce an error.
> System.Data.SqlClient.SqlException: Search on full-text catalog
> 'ImageCatalog003' for database ID 6, table or indexed view ID 1733581214
> with
> search condition 'ISABOUT ("pa" weight (.2))' failed with unknown result
> (0x80020005).
> Any Ideas?
> Thanks.
> Scott Taylor
|||Did you try it on a Dutch OS?
Any word I put in gives the same error.
I changed this line:
INNER Join CONTAINSTABLE( IMOC_003_Images ,[Image], 'ISABOUT ("test" weight
(.2))' ) as k
to this:
INNER Join CONTAINSTABLE( IMOC_003_Images ,[Image], 'ISABOUT (test:0.2)' )
as k
And now it works...but I don't know why.
Thanks for the reply,
Scott
"Hilary Cotter" wrote:

> This works for me on a SQL 2000 server and SQL 2005.
> Are you sure you are indexing in Dutch? Also do you have problems with other
> words?
>