What is the design idea of User profile database?

Source: Internet
Author: User
We want to establish a database for user profile analysis. the main information is the user's personal information, order information for the purchased items, and order transaction amount. Now I want to export the data, store it in the database again, and perform a profile analysis. However, I want to store 100,000 of the data in a table... we want to establish a database for user profile analysis. the main information is the user's personal information, order information for the purchased items, and order transaction amount.

Now I want to export the data, store it in the database again, and perform profile analysis. However, if I put hundreds of thousands of data records in a table, the response is too slow, however, if multiple data tables are stored separately based on the item type, many fields need to be spliced in Association query.

I just got started and thought too simple. please give me some advice on how to store databases.

Reply content:

We want to establish a database for user profile analysis. the main information is the user's personal information, order information for the purchased items, and order transaction amount.

Now I want to export the data, store it in the database again, and perform profile analysis. However, if I put hundreds of thousands of data records in a table, the response is too slow, however, if multiple data tables are stored separately based on the item type, many fields need to be spliced in Association query.

I just got started and thought too simple. please give me some advice on how to store databases.

The definition of stored fields should be similar to that of the quantity. The table should be indexed and defined, and data can be obtained and analyzed in different data segments. At present, most companies adopt this method.

How large is the data volume of 100,000? Not found in 1 ms

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.