Miranda IM

Results 1 to 7 of 7

Thread: Automatic compact DB

  1. #1
    Join Date
    March 2005
    Location
    Argentina
    Posts
    121

    Automatic compact DB

    Is possible to add this feature??

    It would be great when Miranda startup check if the DAT profile is wasting space and automatically compact the profile and then start Miranda??

    This problem happen to people that is not so "techie" and hate the originals IM and they forget to use DBTOOL time to time and I saw DB with 20mb!!! only in 6 mounts and after the DBtool it only 1mb!!

    Please someone can do something?

    Thanks for the excellent work!! I love Miranda!!

  2. #2
    Join Date
    March 2005
    Location
    Cincinnati, OH
    Posts
    3,720
    the only reason your db would grow like this and then be able to shrink with dbtool is you had alot of history and deleted it, if thats the case then you must have used something like history sweeper which would have told you that would be the case
    miranda itself doesn't resize the dat file, but it will reclaim empty space
    your dat file shouldn't have grown unless the data in it needed more space

  3. #3
    Join Date
    March 2005
    Location
    Argentina
    Posts
    121
    yes is true I use history sweeper and my friends too because we don't like to store old msg (as a lot of people) so I thought that would be nice to be implement something to shrink the DB automatically, as I haven't got enough programing knowledge the only thing that I can do is let you know as a Feature Requests, sorry if someone don't understand this problem.

    Thanks for the answer.

  4. #4
    Join Date
    March 2005
    Location
    Germany, Duesseldorf
    Posts
    5,514
    There is a solution, but i dont find anything about this in the forum...
    Some time ago there was a dbtool2 which support command line arguments, i hope someone can remember to this tool...

    But there is no need for this, use the historysweeper and use the dbTool all 1-2 week, this should be enough.

    Peter

  5. #5
    Join Date
    June 2005
    Posts
    11,839
    Quote Originally Posted by cojones
    the only reason your db would grow like this and then be able to shrink with dbtool is you had alot of history and deleted it, if thats the case then you must have used something like history sweeper which would have told you that would be the case
    miranda itself doesn't resize the dat file, but it will reclaim empty space
    your dat file shouldn't have grown unless the data in it needed more space
    cojones, have to disagree with you. I did not delete any history and dbtool shrinked my database the same way few days ago.

  6. #6
    Join Date
    March 2005
    Posts
    9,533
    Ferchobahia, try using VirtDB. Once you set your DB up properly, you save it and you don't have to worry about it growing and history removing. Just set the respective mirandaboot.ini entry to 'No' (I think it's called 'Realize on exit' or something) and you're done. The only issue will be with the MSN protocol, which will show some 'ghost' users still online on startup, because some settings are not handled properly. Hopefully this issue will be fixed, sooner or later.

  7. #7
    Join Date
    March 2005
    Location
    Argentina
    Posts
    121
    Thanks Drugwash I read about that in the forum before post this, but I saw some problems including the increment of memory use and some crash problems too, so I disagree to test it for now, maybe in the future.

    Perhaps a command line of dbtool would be enough....

    But I thing that a plugin to do this will be the solution.

Similar Threads

  1. No Automatic Login?
    By spacedog in forum Technical Support
    Replies: 10
    Last Post: 27 Oct 2008, 10:59 AM
  2. Automatic scrolling
    By jiveturkey in forum Technical Support
    Replies: 2
    Last Post: 13 Feb 2008, 5:20 PM
  3. Automatic reconnect
    By noccy in forum Technical Support
    Replies: 3
    Last Post: 20 Mar 2007, 7:51 PM
  4. automatic reconnect
    By hitman3266 in forum Technical Support
    Replies: 1
    Last Post: 21 Oct 2006, 7:21 AM
  5. Automatic log in?
    By danilapus in forum Technical Support
    Replies: 3
    Last Post: 18 Apr 2006, 8:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •