Solved

MySql: what's the most efficient way of adding large numbers of unique records

Posted on 2013-01-11
1
381 Views
Last Modified: 2013-03-15
Hi

I'm using classic asp and MySql.

I'm creating a survey and need to add up to 5,000 unique records at a time with a randomly generated user name and password amongst other things.

Currently I have a classic asp page that loops through and writes each individual record, which works fine for smaller quantities but drags it's heals with larger.

I'm sure there has to be a better way of doing this - can anyone point me in the right direction?

Many thanks

Grant
0
Comment
Question by:Buzby58
1 Comment
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 38767016
you can try Bulk insert
 
and\or mysqldbimport utility
http://dev.mysql.com/doc/workbench/en/mysqldbimport.html

BTW: it is sql server  sub-forum not mysql
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now