<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: User Preference table clean-up to prevent system performance degradation in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075462#M31851</link>
    <description>&lt;P&gt;I fixed the image, at least I hope so.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did not investigate if it concerned a specific user preference as once I cleaned up all of the inactive user ones the system performance improved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not having the performance issues right now. I may have to wait for awhile and see if we get build up again and do a review at that time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was hoping to create a clean-up job to keep it semi clean so we can hope to avoid the issue in the future.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 16:44:14 GMT</pubDate>
    <dc:creator>jbirk</dc:creator>
    <dc:date>2022-07-01T16:44:14Z</dc:date>
    <item>
      <title>User Preference table clean-up to prevent system performance degradation</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075458#M31847</link>
      <description>&lt;P&gt;We recently had some very poor performance with our sub-production instances. So we opened a case with support and they found that we had over 77k User Preferences with my account having over 3.5k. Once I deleted all of my User Preferences (in the sub-production instances) the performance was night and day. I have since gone through and deleted all user preferences tied to inactive users and the performance seems to be back to normal.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question and desire is to create a clean-up job so that we can limit our exposure to this issue. I know how to create the clean-up jobs easily enough, but I am not entirely sure what is safe to delete or clean-up within the User Preferences table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the document I have been directed to, but it really only says that over a certain number of records you will experience system degradation, but doesn't go into any details about &lt;STRONG&gt;what is safe to clean up and what to leave alone&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.servicenow.com/bundle/sandiego-platform-administration/page/administer/navigation-and-ui/concept/c_UserPreferences.html"&gt;https://docs.servicenow.com/bundle/sandiego-platform-administration/page/administer/navigation-and-ui/concept/c_UserPreferences.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 15:00:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075458#M31847</guid>
      <dc:creator>jbirk</dc:creator>
      <dc:date>2022-07-01T15:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: User Preference table clean-up to prevent system performance degradation</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075459#M31848</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;While creating such a scheduled job / sys_auto_flush / flow would be easy, I would be careful with it where it concerns active users or ones with system checked. For example it can concern user preferences which you really want to keep. User preferences like for example having the Next Experience UI turned on &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can you identify why you have such a high amount of user preferences for your user (77K for all users, doesn't sound that bad if you have thousands of users)? Is there something from a certain app causing this? Etc..&lt;/P&gt;
&lt;P class="ng-scope"&gt;If my answer helped you in any way, please then mark it as helpful.&lt;/P&gt;
&lt;P class="ng-scope"&gt;Kind regards,&lt;BR /&gt;Mark&lt;BR /&gt;&lt;EM&gt;2020-2022 ServiceNow Community MVP&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;2020-2022 ServiceNow Developer MVP&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P class="ng-scope"&gt;&lt;A href="https://www.linkedin.com/in/markroethof/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=14e51965db2200d013b5fb24399619fb" target="_blank" rel="noopener noreferrer"&gt;Community article, blog, video list&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 15:05:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075459#M31848</guid>
      <dc:creator>Mark Roethof</dc:creator>
      <dc:date>2022-07-01T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: User Preference table clean-up to prevent system performance degradation</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075460#M31849</link>
      <description>&lt;P&gt;There isn't anything that really stands out unfortunately and we only have maybe 2k which not all of them log into the system and use it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After just going through the list ones that begin with &lt;STRONG&gt;menu.&lt;/STRONG&gt; seem to have the most records.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/113203i1C3780C07384AB16/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 15:30:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075460#M31849</guid>
      <dc:creator>jbirk</dc:creator>
      <dc:date>2022-07-01T15:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: User Preference table clean-up to prevent system performance degradation</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075461#M31850</link>
      <description>&lt;P&gt;Can you re-share your images? They are not visible now.&lt;/P&gt;
&lt;P&gt;Anyway, it's not a strange number of user preferences. Just checked at two customer instances, not much different.&lt;/P&gt;
&lt;P&gt;Have you also investigated if it concerned specific user preferences causing the performance?&lt;/P&gt;
&lt;P class="ng-scope"&gt;If my answer helped you in any way, please then mark it as helpful.&lt;/P&gt;
&lt;P class="ng-scope"&gt;Kind regards,&lt;BR /&gt;Mark&lt;BR /&gt;&lt;EM&gt;2020-2022 ServiceNow Community MVP&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;2020-2022 ServiceNow Developer MVP&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P class="ng-scope"&gt;&lt;A href="https://www.linkedin.com/in/markroethof/" target="_blank" rel="noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=14e51965db2200d013b5fb24399619fb" target="_blank" rel="noopener noreferrer"&gt;Community article, blog, video list&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 15:44:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075461#M31850</guid>
      <dc:creator>Mark Roethof</dc:creator>
      <dc:date>2022-07-01T15:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: User Preference table clean-up to prevent system performance degradation</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075462#M31851</link>
      <description>&lt;P&gt;I fixed the image, at least I hope so.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did not investigate if it concerned a specific user preference as once I cleaned up all of the inactive user ones the system performance improved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not having the performance issues right now. I may have to wait for awhile and see if we get build up again and do a review at that time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was hoping to create a clean-up job to keep it semi clean so we can hope to avoid the issue in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 16:44:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075462#M31851</guid>
      <dc:creator>jbirk</dc:creator>
      <dc:date>2022-07-01T16:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: User Preference table clean-up to prevent system performance degradation</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075463#M31852</link>
      <description>&lt;P&gt;I've asked SN for some clarification on that small number of 10,000 records on that Docs article.&amp;nbsp; That seems like a ridiculously small number.&lt;/P&gt;
&lt;P&gt;I have 660 records in production myself, an instance I rarely work in to be honest.&amp;nbsp; I mean just the list view options can create a large number of preferences (separate ones for each table for things like column to sort on, direction of sort, whether the filter is pinned or not, etc...).&lt;/P&gt;
&lt;P&gt;I think if your job deletes records for any inactive user should at the very least help you out there.&amp;nbsp; Deleting them for active users will affect their user experience.&amp;nbsp; You might get a large number on your first execution, but then far less if you run it on a daily or weekly basis.&amp;nbsp; I'd probably run it daily as it shouldn't affect the platform much, especially off-hours.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 05:08:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/1075463#M31852</guid>
      <dc:creator>Jim Coyne</dc:creator>
      <dc:date>2022-07-02T05:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: User Preference table clean-up to prevent system performance degradation</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/2382233#M186457</link>
      <description>&lt;P&gt;I do have the same question regarding that number. Is not clear if it is total (counting all user preferences) or just system wide preferences.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We have around 700 users with backend access and everytime (as you said) sort a list, modify columns, that creates a user preference. Also, we have users around the globe, so, if they switch languages, that is another user preference record.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I could not find though a relationship to the user preference count to poor performance, wish ServiceNow could be more clear on that.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 17:52:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/user-preference-table-clean-up-to-prevent-system-performance/m-p/2382233#M186457</guid>
      <dc:creator>Luiz Lucena</dc:creator>
      <dc:date>2022-11-14T17:52:36Z</dc:date>
    </item>
  </channel>
</rss>

