0

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 .

Phantanx
  • 15
  • 6

1 Answers1

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