Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Power Tools - Shared File Viewer

There are bookmarks in the file with $LASTKNOWNSTATE, can anyone enlighten me when these get created and how they are used?

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

There is an option available in QV11 and QV10 SR5 (not yet released) to expire temporary bookmarks. Haven't tested yet to see if it deletes the session recovery bookmarks.

There is an article in the Knowledge Base titled "Deleting Temp Bookmarks.pdf" that explains the option.

-Rob

View solution in original post

11 Replies
Bill_Britt
Former Employee
Former Employee

These are used for session recovery.

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Not applicable
Author

The issue seems to be they hang around indefinately, is there a setting that tells the server when to purge them?

Not applicable
Author

The issue is the .shared file keeps growing. The $LASTKNOWNSTATE records do not seem to be reset with a new session.

Please excuse the brevity of this email, it was sent from my telephone.

Rick Welch

Senior Consultant

rwelch@Analytics8.com<mailto:rwelch@Analytics8.com>

Cell: (910) 818-4559<tel:9108184559>

www.Analytics8.com<http://www.Analytics8.com>

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

There is an option available in QV11 and QV10 SR5 (not yet released) to expire temporary bookmarks. Haven't tested yet to see if it deletes the session recovery bookmarks.

There is an article in the Knowledge Base titled "Deleting Temp Bookmarks.pdf" that explains the option.

-Rob

Bill_Britt
Former Employee
Former Employee



To enable the deletion of temporary bookmarks, a setting needs to be activated in QlikView Server. Its value is a timeout value indicating how many days each temporary bookmark will be kept from its time of creation.

This setting is available in the following versions:
  • QlikView Server 10 SR5 and later
  • QlikView Server 11 SR1 and later
To enable this setting, do the following:
  1. In the Windows Services Management console, stop the QlikView Server service (QVS.exe)
  2. Locate the Settings.ini configuration file for QlikView Server. It is by default located in the application data folders for QlikView, which can be either of the following two locations:          
    1. Windows Server 2003: C:\Documents and Settings\All Users\Application Data\QlikTech\QlikViewServer
    2. Windows Server 2008: C:\ProgramData\QlikTech\QlikViewServer
  3. Open the Settings.ini file in a text editor
  4. Located the node [Settings 7] in the file. Directly under that, add the following row, where N is the timeout value (integer; days before bookmark is deleted): ServerTempBookmarkDayTimeout=N
  5. Save and close the Settings.ini file
  6. In the Windows Services Management console, start the QlikView Server service (QVS.exe)
Note: Removing temporary bookmarks from the .shared file will not decrease the size of the .shared file. This is by design and a consequence of its binary format. To shrink/defrag .shared files, please visit QlikView QlikCommunity (http://www.qlik.com) and look into the Power Tools for QlikView suite and the tool Shared File Viewer.
Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Brett_Bleess
Former Employee
Former Employee

The Article number is 000002746.

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
Not applicable
Author

Hi Bill,

Thanks a lot for this info. I have a question - if the setting ServerTempBookmarkDayTimeout=N is enabled on server, will .shared file size get reduced by server after N days or will it remain same?

Thanks,

Anosh

Bill_Britt
Former Employee
Former Employee

HI,

No, according to the notes:

Note: Removing temporary bookmarks from the .shared file will not decrease the size of the .shared file. This is by design and a consequence of its binary format. 


Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Not applicable
Author

Thanks Bill.