Menu

#18 Database can only grow

open
nobody
None
5
2003-12-29
2003-12-29
No

Even tough the database is completely empty (to the
user), it can still be hundreds of megabytes, even after
compacting it. So I ask myself "what the hell is in it?"
Doest so much information really need to be stored until
the end of time?

On top of that, I can delete the .als, .log and .tlg files no
problem and the database still works perfectly.

Discussion

  • Knut Roll-Lund

    Knut Roll-Lund - 2004-01-09

    Logged In: YES
    user_id=944763

    I have found that the only way to reduce the database (to
    reduce startup, exit and compact time) is to start over. I
    create a new database, enter servers and groups in the new
    database, then delete the old database's files...

    I agree NG needs some sensible way of reducing or clearing
    the database (while leaving servers and groups)

     
  • Martijn Saly

    Martijn Saly - 2004-01-09

    Logged In: YES
    user_id=861944

    You don't have to start over. Just delete everything except
    the GDB file, and then open it. NG will recreate the rest if
    neccesary.

    I guess NG now simply destroys deleted records when
    compacting. Obviously a lot more can be thrown away.

     

Log in to post a comment.

MongoDB Logo MongoDB