my assignment is make a database with 100 millions record in mongetdb.for now my solution is generate a big file db.sql then import . size of that file is bigger than 6gb. I have imported near to 2 days.and i don't know when it finish. Somebody help me ,please! thanks you .
Asked
Active
Viewed 117 times
0
-
monetdb and mongodb are different databases..please edit your question :) – Anthony Damico Dec 05 '14 at 14:20
-
1lol, mongetdb. I would suggest importing by either switching off autocommit or using the copy into method. – Hannes Mühleisen Dec 05 '14 at 18:31
-
thank you. it work. i just need ten minutes. – Phantanx Dec 07 '14 at 13:24
1 Answers
1
I would suggest importing by either switching off autocommit (START TRANSACTION; ... COMMIT;
or using the COPY INTO
method.

Hannes Mühleisen
- 2,542
- 11
- 13
-
it's worked! i just take 10 minutes. I have tried normal method ,it take so long time, no less than 3 day LOL – Phantanx Dec 11 '14 at 20:06