Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 87653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:26:12+00:00 2026-05-10T22:26:12+00:00

Which techniqes would you use to implement a search for contents in a column

  • 0

Which techniqes would you use to implement a search for contents in a column on a very big table in MySql? Say for instance that you have 10.000.000 emails stored in a table in the database and would like to implement a subject search, that would enable me to search for one or more words that was present in the email subject. If the user searched for ‘christmas santa’ you should find a emails with subjects like ‘Santa visits us this christmas’ and ‘christmas, will santa ever show’.

My idea is to process all the words in the subjects (strip all numbers, special signs, commas etc) and save each word in an index table, where I have a unique index on the word column. Then I would link that to the email table by a many to many relationship table.

Is there a better way to perform wildcard searches on very big tables ?

Is there databases that natively supports this kind of searches ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:26:12+00:00Added an answer on May 10, 2026 at 10:26 pm

    You could use FULLTEXT indexes if you are using MyISAM as the storage engine. However, MySQL in general is not very good with text search.

    A much better option would be to go with a dedicated text indexing solution such as Lucene or Sphinx. Personally I’d recommend Sphinx – it has great integration with PHP and MySQL and is very, very fast (can be used to speed up even ordinary queries – performs very fast grouping and ordering).

    Wikipedia has a nice list of different indexing engines – here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Do you know any implementation / technique which would provide similar behavior as Viewstate
I'm looking for a technique or tool which we can use to obfuscate or
What techinques do you use? How do you find out which jobs take the
Which Database table Schema is more efficient and why? Users (UserID, UserName, CompamyId) Companies
When several fields in a MSAccess table need to be updated (For instance Salary=Salary*Factor,
I notice in several API's, that you may create a struct which is used
I'm writing a program which will need to do a very large number of
I would like to make a bot that can carry on a simple conversation.
I am asking about the common techniques which are used in c# to support
Hai Techies, I have some stored procedure which was written in SQL server.Now i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.