Skip to content

Commit 1a3eb54

Browse files
bird-03Lacah
andauthored
Bird 03instancescanoct2023 (#100)
* Restict the number of row counts ma x to 10,20,50 instaed of higher limit as 100 and 1000 to tune the performance on different table when user interact. This is increase the user experience and platform performance as well. Since it is exposed to potentially slower performance due to having query, process ACL and then render more records. Navigate to user preference <sys_user_preference> table and search by 'rowcount'. Set the value to 50 max. Also, can set the property 'glide.ui.per_page' sys property value to 10, 20, 50 only * Create readme.md Restict the number of row counts ma x to 10,20,50 instaed of higher limit as 100 and 1000 to tune the performance on different table when user interact. This is increase the user experience and platform performance as well. Since it is exposed to potentially slower performance due to having query, process ACL and then render more records. Navigate to user preference <sys_user_preference> table and search by 'rowcount'. Set the value to 50 max. Also, can set the property 'glide.ui.per_page' sys property value to 10, 20, 50 only * Update README.md Restrict rowcount to 10,20,50 max from user preference table * Delete readme.md Please do not create separate readme files for this app/repo, only update the generic one (which you have done too)! --------- Co-authored-by: Laszlo <[email protected]>
1 parent 8e9aff8 commit 1a3eb54

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,12 @@ Running business rules during transform may cause the transform to take longer t
220220
### Avoid using getReference()
221221
getReference is no longer considered best practice due to its performance impact and it is recommended to use g_scratchpad or GlideAjax instead.
222222

223+
### Restrict rowcount to 10,20,50 max from user preference table
224+
Restrict the number of row counts ma x to 10,20,50 instead of higher limits such as 100 and 1000 to tune the performance on different tables when users interact. This increases the user experience and platform performance as well. Since it is exposed to potentially slower performance due to having query, process ACL, and then render more records.
225+
226+
Navigate to the user preference <sys_user_preference> table and search by 'rowcount'. Set the value to 50 max.
227+
Also, can set the property 'glide.ui.per_page' sys property value to 10, 20, 50 only
228+
223229

224230
## Category: Security
225231
##Check Mandatory fields on incident
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
WyDWaOKNvg3N5cv11DxXOjdRJYFrZSAO2U-hCS9PRvA7WXJsc2qJlW0hkib9Zv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PTQXKdvcH-0fVpSB2OT9coMwaPrCyd_FPhmK4gt1sELwn53BjCZUKBouNRoW4rdoV-K6KF4gaeRCDoe7zamubLcO6W1hP9Wegvfh-zEtPKpjH_7T8tJWxp4_ZwCmzry6KJXWZKYR1DUBRhAFAAHf2KxIuvKYTAYVnXGeCLJf_JDVi5i6n9LRAiitEQfwKBpSQTDOZ1mju6sZqcCMS04xoZIaCcKymhonkJ4RKLD4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check">
2+
<scan_table_check action="INSERT_OR_UPDATE">
3+
<active>true</active>
4+
<advanced>false</advanced>
5+
<category>performance</category>
6+
<conditions table="sys_user_preference">user.nameLIKErowcount^value&lt;=50^EQ<item endquery="false" field="user.name" goto="false" newquery="false" operator="LIKE" or="false" value="rowcount"/>
7+
<item endquery="false" field="value" goto="false" newquery="false" operator="&lt;=" or="false" value="50"/>
8+
<item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
9+
</conditions>
10+
<description>Restict the number of row counts ma x to 10,20,50 instaed of higher limit as 100 and 1000 to tune the performance on different table when user interact. This is increase the user experience and platform performance as well. Since it is exposed to potentially slower performance due to having query, process ACL and then render more records.</description>
11+
<documentation_url/>
12+
<finding_type>scan_finding</finding_type>
13+
<name>Limit rowcount to 50 max for users</name>
14+
<priority>3</priority>
15+
<resolution_details>Restict the number of row counts ma x to 10,20,50 instaed of higher limit as 100 and 1000 to tune the performance on different table when user interact. This is increase the user experience and platform performance as well. Since it is exposed to potentially slower performance due to having query, process ACL and then render more records.&#13;
16+
&#13;
17+
Navigate to user preference &lt;sys_user_preference&gt; table and search by 'rowcount'. Set the value to 50 max.&#13;
18+
Also, can set the property 'glide.ui.per_page' sys property value to 10, 20, 50 only</resolution_details>
19+
<run_condition/>
20+
<score_max>100</score_max>
21+
<score_min>0</score_min>
22+
<score_scale>1</score_scale>
23+
<script><![CDATA[(function (engine) {
24+
25+
// Add your code here
26+
27+
})(engine);]]></script>
28+
<short_description>Restrict rowcount to 10,20,50 max from user preference table</short_description>
29+
<sys_class_name>scan_table_check</sys_class_name>
30+
<sys_created_by>a.pandey</sys_created_by>
31+
<sys_created_on>2023-10-27 20:15:19</sys_created_on>
32+
<sys_id>d3f47b4b97823110dd0178300153af08</sys_id>
33+
<sys_mod_count>0</sys_mod_count>
34+
<sys_name>Limit rowcount to 50 max for users</sys_name>
35+
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
36+
<sys_policy/>
37+
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
38+
<sys_update_name>scan_table_check_d3f47b4b97823110dd0178300153af08</sys_update_name>
39+
<sys_updated_by>a.pandey</sys_updated_by>
40+
<sys_updated_on>2023-10-27 20:15:19</sys_updated_on>
41+
<table>sys_user_preference</table>
42+
<use_manifest>false</use_manifest>
43+
</scan_table_check>
44+
</record_update>

0 commit comments

Comments
 (0)