Fast fulltext search

Discussion in 'Databases' started by dracu1234, Sep 17, 2011.

  1. #1
    Hello,

    Anyone knows of any database that supports FAST fulltext search. I have around 5M values in the database. They vary from 10chars to 200chars. If anyone has experience with this, please let me know. The table is fully optimized..even separated in sub-tables, letter by letter, but it seems to crack out now.

    Thank you!!
     
    dracu1234, Sep 17, 2011 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    LIKE is always a linear search in any database. If you use =, not LIKE, and you have your tables indexed properly, that's as fast as that particular database software can go.

    If you use LIKE, it's a linear search (the database searches the entire table looking for matches), so it's going to crawl.

    RDB7 uses indexing for BEGINS WITH and ENDS WITH. (But RDB7 isn't cheap like MS SQL Server.)
     
    Rukbat, Sep 18, 2011 IP
  3. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #3
    I presume that you have already added FULL TEXT indexes on column(s) on which search is made.

    5M does not seem much of data, but again it depends on row length, type of data being stored, and underlying hardware to determine over all performance.

    Moreover, queries and indexes should also be checked properly.

    If above all is proper, then may be you can try external search engine like Sphinx.
     
    mastermunj, Sep 19, 2011 IP
  4. alexfad20

    alexfad20 Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can try this thing - Sphinx (search engine). You can find it in wikipedia
     
    alexfad20, Nov 23, 2011 IP
  5. iliveforyou

    iliveforyou Active Member

    Messages:
    207
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    change the database type
     
    iliveforyou, Nov 25, 2011 IP