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

  • SEARCH
  • Home
  • 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 8148949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:45:00+00:00 2026-06-06T14:45:00+00:00

I have a mysql DB table of about 10.000 rows and about 20 fields.

  • 0

I have a mysql DB table of about 10.000 rows and about 20 fields. I have a form with all the fields and when I press a key in any of the field it should filter the 10.000 rows to only those that match what I typed. I don’t want to make an AJAX request to the server for every key that I type and I was thinking that I can grab all the data at first and make an array out of it and do the search this way.
My question is: Is this a good way to do it or should I stick with good old SQL queries on the databse and do N ajax requests ? You have a better advice ?

  • 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. Editorial Team
    Editorial Team
    2026-06-06T14:45:02+00:00Added an answer on June 6, 2026 at 2:45 pm

    You can make incremental searches far more efficient just by adding a half-second pause between a keypress and the actual loading of data. The user probably won’t notice, but your server will.

    Of course, if you can add JavaScript-assisted filtering too, that’d be even better. There’s no reason why you can’t combine the two methods.

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

Sidebar

Related Questions

I have a MySQL table with about 5,000,000 rows that are being constantly updated
I have a mysql table with about 2,000,000 entries, with a primary key which
i have a table with 500,000 rows and about 10 columns that is in
I have a large mysql table (about 5M rows) on which i frequently insert
I have a mysql table containing 400,000 rows whenever I run a PHP script
I have a MySQL table storing about 330,000 records at the moment. I need
I have two large tables in MySQL, one containing about 6,00,000 records and another
Greetings friends, In my MySQL database, I have 'MAB' table which contains information about
I have a MySQL table and would like to return the rows based on
I have a table of over 150,000 rows of which most would be updated

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.