简体   繁体   English

将数据库从 SQL Server 2005 升级到 2008 — 并重建全文索引?

[英]Upgrade database from SQL Server 2005 to 2008 — and rebuild full-text indexes?

I upgraded from Sql Server 2005 to Sql Server 2008. I backed up the data in SQL Server 2005, and then I restored in SQL Server 2008. Next, I found the catalog under "Storage->Full Text Catalogs", and I right-clicked on it, and am trying to rebuild the Full-Text Catalog. I upgraded from Sql Server 2005 to Sql Server 2008. I backed up the data in SQL Server 2005, and then I restored in SQL Server 2008. Next, I found the catalog under "Storage->Full Text Catalogs", and I right-单击它,并尝试重建全文目录。 The database is only 600mb.数据库只有600mb。 However, it keeps running for hours, and never semes to finish.但是,它会持续运行数小时,并且永远不会完成。

Take a look at the following article.看看下面的文章。

It provides details and references for best practices for using Full Text Search in SQL Server 2008.它提供了在 SQL Server 2008 中使用全文搜索的最佳实践的详细信息和参考。

http://sqlcat.com/msdnmirror/archive/2008/11/05/best-practices-for-integrated-full-text-search-ifts-in-sql-2008.aspx http://sqlcat.com/msdnmirror/archive/2008/11/05/best-practices-for-integrated-full-text-search-ifts-in-sql-2008.aspx

If you need specific assistance just drop me a line.如果您需要具体帮助,请给我留言。

Cheers,干杯,

It appears that SQL Server 2008 has lousy Full-Text search because it is more tightly integrated into the database. SQL Server 2008 的全文搜索似乎很糟糕,因为它更紧密地集成到数据库中。 There are some workarounds, but it isn't that great.有一些解决方法,但不是那么好。

It can take a long time to complete, I'd look at the FTLOGs (.log files) for the catalogs - if they are big I'd say it is having a problem indexing your documents.可能需要很长时间才能完成,我会查看目录的 FTLOG(.log 文件) - 如果它们很大,我会说它在索引您的文档时遇到问题。 Is this RTM 2008?这是 RTM 2008 吗?

Things you can try.你可以尝试的东西。

  • Drop the indexes and create from scratch, dont use the interface - run this in a script.删除索引并从头开始创建,不要使用界面 - 在脚本中运行它。
  • Check the Logs for possible errors.检查日志以查找可能的错误。
  • Ensure the Fulltext daemon is running and indexing your确保全文守护程序正在运行并索引您的
    documents, an issue with a CTP meant the daemon stopped.文档中,CTP 的问题意味着守护程序已停止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM