Upload excel table data to database

Source: Internet
Author: User
Please help me analyze the excel table data uploaded to the database.
Data in an excel table is uploaded to the database, with 10 thousand to 20 thousand entries of data. The data can be uploaded successfully on one server, but the data uploaded on the other server is incomplete (less data, the code is exactly the same, and it has been a long time...


Reply to discussion (solution)

It is estimated that this is the cause of insufficient memory.

It is estimated that the memory is insufficient. how can this problem be solved? is the customer waiting to upload data?

Write an SQL document. It does not take long.

If you can change it to a csv file, you can use SQL to import it to mysql.
If you must use php to increase the memory, or split the excel file into several small files and upload them in batches.

Write an SQL document. Thank you.

If you can change it to a csv file, you can use SQL to import it to mysql.
If you must use php to increase the memory, or split the excel file into several small files and upload them in batches. Thank you.

Related Article

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.