View Full Version : Empty recycle bin and bad performance
Jon Polish
06-19-2007, 09:47 AM
Hi Kinook:
I have 1409 items in my Recycle Bin. I initiated the "Empty Recycle Bin" command. After 40 minutes with the "Please Wait" dialogue displayed, I tried cancelling the operation. The appropriate message appeared, but did not go away even after another 40 minutes. Obviously I could not use URp during that time. URp was running on a dual core machine with 2Gb ram. The database is 353Gb.
I had to kill UR and restart. The program froze and I had to kill it again. I noticed a file with the database name and urd-journal extension and deleted it. UR fired right up and loaded my database with the recycle bin with the 1409 items still there. Emptying the recycle bin failed again and I went through the same steps to re-start the program. By the way, ALL OF MY TOOLBAR CUSTOMIZATIONS WERE LOST!
I tried a database repair and got the error "database disk image is malformed." So I created a new database and copied the items from the "bad" one to the empty one. Guess what? I initiated this process 4 hours and 50 minutes ago and am still waiting. I also cannot leave the computer unattended because the "Switch to" dialogue pops up from time to time. I click the button "switch to" and the dialogue goes away. I assume the copying process resumes until the next box appears.
Can you PLEASE fix these performace issues I am experiencing? Or, am I in such a minority that it is not worth addressing (I will understand if this is the case and will have to use some other program).
Thank you.
Jon
quant
06-19-2007, 10:42 AM
353Gb ~ 40GB database???
now I understand you speed concerns from another post :)
by Jon Polish
"... By the way, PLEASE do not implement any further changes or additions to the program without first addressing its speed (and yes, I am now running it on a dual core, but as I have described my needs elsewhere, I find UR's speed positively maddening) ..."
Jon Polish
06-19-2007, 10:58 AM
Hi Quant:
As I understand it, the size of a UR database should not significantly effect its performance. That may be the theory, but practice may be different.
I use two other information managers which do not have anything near these performance issues despite having even larger databases.
Jon
quant
06-19-2007, 11:12 AM
I'm sure there must be a significant performance issues once you go beyond your RAM size, probably not 40 minutes for operation but ... maybe I'm wrong, let's hear from Kinook.
Just read several days ago that SQLite performance is quite dependent on tables it's operating on, but it was at table sizes of about 500.000 . If you were deleting only 1500 items, it shouldn't be a problem. The thing is, that UR has to do a lot of cleaning, ... and reading/writting to HDD ... hmmm ... I'm curious ... good that someone put UR to the real test :)
Jon Polish
06-19-2007, 02:20 PM
Here is my report on the repair of the database (the procedures I took are described above).
The total time to copy the items from the old, damaged and irreparable (at least what could be salvaged by UR's repair utility) database was 8 hours 58 minutes. I understand that keywording, etc. takes place in the background, but this is ridiculous. Adding insult to injury were two additional problems. First, UR could not be used during this period. The second problem was the very frequent, but erratic pop-up (switch to or retry) that needed constant attention, lest the copying process would not proceed further. I could dismiss this by either clicking switch to or retry.
I like what UR is supposed to be able to do, but I have just about had enough. The reality is that when pushed beyond what I think most users use it for, but still very far below its stated limitations, UR simply falls flat on its face.
Jon
quant
06-19-2007, 03:16 PM
I'd like to see the screenshot of "Database Properties", when you go to File -> Properties?
You say your DB is 40GB, what is the Stored document size, Item Rich text size, ... ?
My db is about 50 MB, but Item rich text size about 5 times more. If I used that for your example, that would make about 200 GB of data (dont know how much of that is index and keywords itself)
Now, just to copy that ... about 1-2 hours depending on HDD speed
indexing ... (SearchInform, high speed about 15-30 Gb/hour) ...
Really hard to say what is actually copied and what is indexed, but 9 hours doesn't seem that unreasonable after all ...
$bill
06-19-2007, 03:41 PM
Quant is right (as usual)...from the Sqlite documentation:
"...when database begin to grow into the multi-gigabyte range, the size of the bitmap can get quite large. If you need to store and modify more than a few dozen GB of data, you should consider using a different database engine."
Jon Polish
06-19-2007, 05:53 PM
Quant, I will try to send you a screen cap tomorrow. The database is at work.
Bill, elsewhere in the forums, http://www.kinook.com/Forum/showthread.php?s=&threadid=709 Kinook states this.
"What is the maximum size of an Ultra Recall database?
The physical size limit is 2 terabytes (1 terabyte = approximately 1,000 gigabytes, http://en.wikipedia.org/wiki/Terabyte).
You may also be limited by free disk space and the maximum file size supported by your file system (2GB for FAT, 4GB for FAT32, > 2TB for NTFS). Another consideration is that some file formats (for instance, some CD-R formats) can't handle files larger than 2GB, so how you backup your data may be a factor in how large of database you wish to maintain.
We've successfully tested databases upwards of 5GB and regularly use databases larger than 300MB."
Based on this information and my successful trial of UR 2.x (albeit with a much smaller database) I purchased 2.0 and eventually upgraded to 3.x. My database is far from Kinook's stated limits, so perhaps they need to change this claim to be more in line with SQLite's documentation.
Jon
Jon Polish
06-20-2007, 09:01 AM
Originally posted by quant
I'd like to see the screenshot of "Database Properties", when you go to File -> Properties?
You say your DB is 40GB, what is the Stored document size, Item Rich text size, ... ?
My db is about 50 MB, but Item rich text size about 5 times more. If I used that for your example, that would make about 200 GB of data (dont know how much of that is index and keywords itself)
Now, just to copy that ... about 1-2 hours depending on HDD speed
indexing ... (SearchInform, high speed about 15-30 Gb/hour) ...
Really hard to say what is actually copied and what is indexed, but 9 hours doesn't seem that unreasonable after all ...
I said the database was 353Mb. This was the size before I unsuccessfully attempted to clear the recycle bin. After the process I described above, the recovered file with an empty recycle bin is now 310Mb. I think you got the 40 from the time I mentioned at the top of this thread.
As far as 9 hours seeming reasonable, I respectfully feel otherwise. First of all two of my other information managers (one of which is indexed) manages similar tasks in no longer than 30 minutes. A relational database program I use can accomplish identical data manipulation in less than 10 minutes. While doing their tasks, all three do not significantly impact the performance of other programs as does UR. Perhaps this is reasonable when using SQLite, but it is a problem for me (and again, maybe I am alone with this complaint and I accept that this will not be resolved for the sake of one user). Making matters worse was, during this operation, the frequent appearance of the "Switch To" box. Without continued user intervention the copying process would not have been able to complete.
Besides, as I indicated above, UR is supposedly able to deal with databases far larger than mine. I shudder to think how long I would have to wait for a database of that size. My 211th birthday?
I like the thoughtful design and intent that has gone into UR and I don't want to give the impression that I am down on the program. It may not be for me now, but if the problems I experience would ever be addressed - WOW!
The screen cap I promised is attached.
Jon
kevina
06-20-2007, 09:25 AM
The main reason that permanent deleting can take an extended time period (as well as some other "data manipulation" functions) is the full Undo-Redo capabilities of Ultra Recall. When you empty the Recycle Bin of 1500 items storing 40GB of data, all of this data being deleted is "moved" into the Undo "temporary tables", so Undo/Redo is available.
Perhaps emptying the Recycle Bin should not be undoable (this would likely speed up this process significantly).
You mention the Empty Recycle Bin and Compact & Repair functions as being slow, I would ask about the performance of normal usage functions (adding, navigating, viewing, searching, etc). Ultra Recall has been significantly optimized for these more routine functions, and I imagine that these functions are at least as efficient as competing applications.
Regarding the published "limits" of Ultra Recall - we really didn't envision users trying to stored hundreds of gigabytes of information in a Personal Information Manager application, but as I mentioned before - I would expect that normal functions would continue to have reasonable performance (view, search, navigate, etc) even when storing these enormous amounts of data...
Finally, unless it is imperative that the file actually shrink in size (ie, you are not going to add more data to the file), compacting really is not necessary - the unused space will be reclaimed by the new items anyway.
quant
06-20-2007, 10:22 AM
Hang on a second! You wrote at the beginning that
"The database is 353Gb." - 1 B (byte) is 8 bits, so that's about 40GB.
But your db is only 310 MB !!! (seeing that your document size is about half of it, I assume the other is stored keywords and index)
http://en.wikipedia.org/wiki/Giga_byte
So that makes the conversation completely different!!!
Kinook, please reread this thread, it really shouldn't take 8 hours to manipulate 5000 items database. As you mentioned, it might be the undo of Recycle Item thing ...
Jon Polish
06-20-2007, 10:44 AM
Quant:
You are correct, I should have expressed the size in Mb not Gb. My apologies. However that only magnifies the problem. The correct size of the database is now several orders smaller, yet the performance is horrible.
Jon
Jon Polish
06-20-2007, 10:46 AM
Originally posted by kevina
You mention the Empty Recycle Bin and Compact & Repair functions as being slow, I would ask about the performance of normal usage functions (adding, navigating, viewing, searching, etc). Ultra Recall has been significantly optimized for these more routine functions, and I imagine that these functions are at least as efficient as competing applications.
Adding data via import or copy / paste is quite slow. For a single item it can take several seconds and this, I am sorry to report, is out of the norm when compared to competing applications.
Navigating and searching are fine. Viewing can sometimes be slow, but this is only for very large chunks of data, so I make allowances. Besides, some (but not all) of your competitors would display large chunks of data slowly too.
Jon
quant
06-20-2007, 10:54 AM
Jon,
just a note, you're probably still mixing capital B (bytes) for small letter b (bit). That makes a difference of about one order cause 1B = 8b ...
Jon Polish
06-20-2007, 10:56 AM
Originally posted by quant
Kinook, please reread this thread, it really shouldn't take 8 hours to manipulate 5000 items database. As you mentioned, it might be the undo of Recycle Item thing ...
It could not have anything to do with the recycle bin because at that point I was moving the data to a new database. The recycle bin was never successfully emptied in the old database. The time I stated was only for copying from one database to another.
Jon
P.S. By the way, I greatly appreciate interest in my problem. Thank you Quant.
cnewtonne
06-20-2007, 12:14 PM
I really do not understand why there is an undo when emptying trash bin. We already have a chance to change our minds when deleting items to the trash bin. One chance is good enough (besides your backup). If I have to choose between this trivial second chance or having UR perform well upon emptying trash bin, I will certainly choose later. After all every app I know works this way, windows, outlook, thunderbird, ...etc.
I say, remove all undo work when emptying trash bin.
Jon Polish
06-20-2007, 12:25 PM
Agreed. But that only addresses performance when emptying the recycle bin. It does nothing to address the other issues I spoke of.
In another thread you asked if anyone wanted to know about alternative programs you use. I replied with my email address, but I got no response from you. Please?
Jon
cnewtonne
06-20-2007, 12:54 PM
sorry.
Please email me to cnewtonne[at]gmail[dot]com
Jon Polish
06-25-2007, 07:15 AM
Originally posted by cnewtonne
I really do not understand why there is an undo when emptying trash bin. We already have a chance to change our minds when deleting items to the trash bin.
I am not sure and, because of the performance issues I have discussed perviously I do not have the time/patience to try this, but would it help to empty the recycle bin using the following method?
1. Highlight all items in the recycle bin.
2. Use SHIFT+DELETE to permanently remove the items.
I suggest this work around because this does not allow for any reversal (undo). I suspect this reduces any overhead caused by the undo feature. I have no idea how much it would improve the performance on my end. Kinook can confirm.
I should explain that many of my databases have to be "distrbuted" to other colleagues who rely on UR's viewer. Kind of like a very structured pdf file. This is why I need to copy (and sometimes export) large numbers of items into new databases. The time and effort it takes to accomplish this is a killer.
Jon
zargron
06-26-2007, 06:45 AM
I'd like to express my interest in the UR performance issue.
I humbly state that I always assume software vendors and developers exaggerate the performance capabilities of their software. I don't have an empirical measure as to the factor by which I divide the claimed performance. I simply add to my existing IT experience with facts about the software infrastructure, functionality the software is claiming to offer and a feeling about the vendors quality of workmanship. I took all this into account before choosing UR.
I already have separate UR databases for different major topics and an archive strategy that keeps the size of my live data files at a reasonable level. I'm too fresh to UR to contribute real life quantification of UR performance. I would love to see half-a-dozen or so experienced UR users with large databases use this forum to offer their real life accounts regarding how far you can push UR version 3.xx.
wordmuse
06-26-2007, 11:30 AM
how large is a large database for you? One of my smaller ones is 7MB. I have another close to 30MB.
Performance is NOT like greased lightning with either one. But the wait time isn't enough to irritate me.
I find it difficult to tease out what is URP3 from what is Windows and other overhead functions (virus protection, firewall, etc.).
Again - seems reasonably fast - at least for my needs.
Regards,
Bal
zargron
06-26-2007, 12:07 PM
Originally posted by wordmuse
how large is a large database for you? One of my smaller ones is 7MB. I have another close to 30MB.Sorry Bal, you're right, i should have been more specific. I'd be interested in hearing from users with databases of 100MB+, with and without stored documents, running WinXP, and using a reasonably modern system (1GB RAM, 2Ghz+ CPU)
Thanks for your feedback BTW.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.