Forums Register Login

how to add 50 million records in a table?

+Pie Number of slices to send: Send
hi, i want to add 50 million records in my table
can i directly add 50 million records ?
some people say that i need to do something before creating the table

what should i do?
and can i achieve performance?


please give me some information on this


thanks in advance

regards
saikrihshna
+Pie Number of slices to send: Send
You can use threads and add records. Sleep the thread and so on...
+Pie Number of slices to send: Send
i am not asking about java programming i am asking about query
+Pie Number of slices to send: Send
"query"? I'm not sure I follow what you are asking here.

For enormous amounts of data most RDBMS's include some sort of bulk loading application. Consult your database documentation to see what it provides. This is also where you will find suggestions on improving performance.

There are general rules you can follow to speed things up. The most obvious is to remove any indices on the table before starting the bulk load. Other things include multi-threading the load, if your loader tool supports this.
[ September 18, 2006: Message edited by: Paul Sturrock ]
I am Arthur, King of the Britons. And this is a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1079 times.
Similar Threads
Hash table
Creating Temp table and querying it
how to fetch 50 million records from a database
How to set the limit for primary keys
Removing duplicate records
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 08:19:39.