10 million data non-real-time search, but requires rapid development, what advice?

Source: Internet
Author: User
Php+mysql+sphinx, the sooner the better, the faster the time.
Do you guys have any suggestions?

10 million data the table contains more than 30 fields, and there are not less than 10 child tables, and the fields that need to be searched are in both the main table and the child table.

The search is fast and the delay is guaranteed to be almost 1 seconds.

High concurrency odds are not too high

Reply content:

Php+mysql+sphinx, the sooner the better, the faster the time.
Do you guys have any suggestions?

10 million data the table contains more than 30 fields, and there are not less than 10 child tables, and the fields that need to be searched are in both the main table and the child table.

The search is fast and the delay is guaranteed to be almost 1 seconds.

High concurrency odds are not too high

The amount of data and the background you introduced, Sphinx should be competent?

1. Fully put in memory
2. Index optimization

Look at your description, my first reaction is. Unreasonable design ... Can you write down the detailed design or the demand, so that the plan ~ ~ ~
10 million data, Mysql+sphinx is absolutely capable, the design of a reasonable millisecond level is entirely possible.
Now I can think of:

  • If necessary, sub-database or sub-table;
  • Search all go sphinx,mysql only the key query;
  • Optimize the table structure to reduce the probability of connection.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.