Jump to content
Uwe

1934 - 2010 Catalog->Optimize...

Recommended Posts

hello,

the action "Menu->Catalog->Optimize..." deletes the folder "drive:\...Thumbnail\name_of_the_catalog\Video\NetCatalogx". As log as you don't stop the server Daminion works. But if you stop the server and want to restart you get this error message:

20190525_101655.jpg

You'll get a video by Skype.

Regards, Uwe

Share this post


Link to post
Share on other sites

I don't get the error mentioned by Uwe, but I have the impression, the optimize function does not do anything, because it completes in 30 seconds. I use the Homer Server with Build 1934.

Share this post


Link to post
Share on other sites

I realized that the optimize catalog function finishes in seconds as well, therefore I think it it not working properly.

  • Like 1

Share this post


Link to post
Share on other sites

I can't confirm this. I've tested the following using pgAdmin and this request:

SELECT * FROM mediaitems
where deleted = true

1. delete a file from catalog.

2. For this mediaitem: the field mediaitem-deleted is set to true in the table mediaitems, the default value = false.

3. Optimize Catalog: the record is deleted from the table mediaitems

Regards, Uwe

Share this post


Link to post
Share on other sites

Uwe, this only means some part of the optimization is performed, but not necessarily all. In the progress panel you see 12 lines. When I started optimization earlier today , it stayed a couple of seconds on the first line (Create temporary table), then it "ran" through the next tasks in less than a second and then stayed again at som task at the bottom. I repeated it just now with Build 1960: It only did the Create temporary table and then finished immediately.

Optimize Daminion Catalog 2019-07-29 103021.png

Share this post


Link to post
Share on other sites

Did you try to call the optimize immediately after it was closed? I did it and the window came back and it took some time to go step by step through the activities.

Regards, Uwe

Share this post


Link to post
Share on other sites
1 minute ago, Uwe said:

Did you try to call the optimize immediately after it was closed?

Interesting. I did now and it remained for 2-3 seconds at "Clear removed thumbnails" and then "Vacuum" and finished.

I have more than 187 thousand items in my catalog and cannot believe, this should be all to optimize it.

Share this post


Link to post
Share on other sites

Hello,

the bug regarding the deleted folder "drive:\...Thumbnail\name_of_the_catalog\Video\NetCatalogx" is still existing in build 1960. This should be fixed in the official release.

Regards, Uwe

Share this post


Link to post
Share on other sites

Update: I found the reason:

this is my folder structure:

Drive X:
    Daminion
         thumbnails
               Test (name of the catalog)
                    0 ... F (here are the thumbnail folders and the thumbnails created by Daminion)
                    midsize
                    preview
                    Video (here are the video previews, set in the Admin Panel->Catalogs->Actions->Edit->Folder to store video previews)

The action Catalog Optimize deletes the Video folder.

But, if the folder Video is not a subfolder of the folder ...\Test -> Catalog Optimize doesn't delete the Video folder.

A long way to find the reason. Now it has to be fixed or a check that the Video folder may not be a subfolder as shown above.

regards, Uwe

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...