how to improve seaching string performance in huge database

本文探讨了在面对大型数据库时,如何改进字符串搜索性能的方法。包括使用全文搜索、内存缓存(如Memcached)、硬盘缓存(如Squid)、分割字典技术等策略。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

We usually use like ,instr or other key words like that to search string in database. But at present the table size becomes more and more bigger,So we have to choose some others methods to improve seaching string performance in huge database.

[@more@]

I may suggest some methods here for you.

1 use fulltext search in database (sybase or oracle,or sqlserver. It is a easy method with limited function.

2 use memory cache such as Memcached , a typical open source software.

or memory database such as timesten for oracle

3 use harddisk cache such as Squid

4 use search technich using splitting dictionary just like google. It may be too difficult for most of us.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14067/viewspace-1020849/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/14067/viewspace-1020849/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值