[Error message processing] about error message processing

vividime-Club Show all floors Published on 2024-12-16 15:13:47 |Reading mode print Previous Topic Next Topic
1
Unresolved
Some common issues related to error messages processing
reply

Using props report

Exciting comments2

vividime-Club Show all floors Published on 2024-12-16 15:30:16
When the user creates a dashboard, the system will perform a static detection of the report performance, informing the user what will affect the report display and giving reasonable suggestions.
The reasons for report performance detection are categorized into three types, including system reasons, report reasons and dataset reasons, which are described in detail below.
1.2 Application scenario
Inform the person who creates the report what information may affect the performance of the dashboard.
2. Step
1)Function Entry: When there is a performance problem in the dashboard, a small red dot will appear on the "Performance Help" on the dashboard menu bar to remind the user, and the user can click Performance Help > Performance Test to view the specific reasons and suggestions, and click Download in Performance Test to export all the reasons for slow performance in Excel format, as shown in the figure below:
2)According tothe reasons for test, adjust the situation, for example, the first step in the commit can be adjusted to "batch commit", when the user will detect the performance of all the problems listed in the performance according to the recommendations given to solve all the red dots will disappear.
➢Note:
Dashboard performance testing is only prompted when the user to create a dashboard, in the preview dashboard will not be prompted tip.
3. Parameter configuration
•Frequency of performance test
The dashboard performance test frequency can be controlled by the db.performance.test.interval property in System Setting > System Parameter Configuration > Basic Parameter Configuration, as shown in the following figure:
The default value is 60s, that is, every minute on the dashboard performance test, users can also manually modify the value.
➢Note:
The first time you open a dashboard or open multiple dashboards at the same time after switching the selected dashboard will immediately test the performance of the dashboard, other operations will be tested according to the value of the property.
•Timeout check tip
The timeout for database/bazaar calculation and the timeout for BI memory calculation can be set through System Setting > System Parameter Configuration > Basic Parameter Configuration in pre.process.timeout and post.process.timeout respectively.
The default value is 10000 milliseconds. If the set value is exceeded, the following tip will pop up.
•Whether to perform performance test and usefulness checking of self-service dataset nodes when saving datasets.
Whether to perform performance checking when saving datasets and checking the usefulness of self-service dataset nodes can be set through dataset.save.check in System Setting > System Parameter Configuration > Basic Parameter Configuration .
The default value is true, which means the tip will be popped up when the performance test or usefulness test fails, and false, which means the tip will not be popped up when the dashboard is saved.
• Save dashboard performance test tip
After the user finishes making the dashboard, click "Save" or "Save As", the tip box will pop up by default to list all the performance problems in the dashboard, and the user can modify the dashboard according to the listed reasons and suggestions, as shown in the figure below:
Click "Keep Saving", the dashboard is saved successfully; click "Cancel" or "Close", users can continue to create the dashboard.
Whether or not to pop up the test performance Tip when saving the dashboard can be controlled by the db.save.performance.detail property in System Setting > System Parameter Configuration > Basic Parameter Configuration, as shown in the figure below:
The value of this attribute can be true or false, the default is true. when the value is true, the performance dashboard will pop up when saving the dashboard; when the value is false, the performance dashboard will not be popped up when saving the dashboard, the user can configure according to need.
4.Performance test reason
•System reason
When users modify some data volume related attribute values beyond the default value, it may cause too much pressure on the product calculation, which we will tip and collect into the system reasons.
1)The maximum number of rows set for the filter component or parameter component list.qry.maxrow exceeds the default value of 10000, a Tip will pop up, as shown in the following figure:
After the user clicks "OK" to force the value to be changed, if there is a filter component or parameter component in the dashboard, this information will be collected in the system cause, as shown in the following figure:
Solution: Modify the value of the list.qry.maxrow parameter in System Settings > System Parameter Configuration > Data Volume Parameter Configuration.
2)The set freestyle.max.size exceeds the default value of 500000
If there is a free-style form or a free-style fill form in the dashboard, it will collect the performance test information into the system reason.
Solution: Some of the grid calculation scenarios using free-form tables can actually be calculated just as well by calculating columns, so you can consider changing to calculating columns and then binding; you can also modify the default value of freestyle.max.size in bi.properties, but the default value is too large and may increase the dashboard load, resulting in lagging.
3)The maximum number of rows of the set parameter optional value browseParamlist.maxrow exceeds the default value of 5000
If there is a popup parameter in the dashboard and the optional value comes from the dataset, it will collect the performance detection information into the system reason.
Solution: You can go to System Settings > System Parameter Configuration > Data Volume Parameter Configuration to modify the browseParamlist.maxrow parameter value. The optional parameter value should not be too large, otherwise it may cause lagging.
4) The number of loaded data rows max.load.rows of the set component exceeds the default value 5000000
If there are tables, dashboards, free-form tables, charts, and bound data in the dashboard, it will collect the performance test information into the system reason.
Solution: You can go to System Settings>System Parameter Configuration>Data Volume Parameter Configuration to modify the max.load.rows parameter value, which cannot exceed the upper limit of 1000000000.
5)If the set number of rows of exported csv csv.max.row exceeds the limit 5000000
If there are tables, dashboards, free-form tables, charts, and bound data in the dashboard, it will collect the performance testing information into the system reason.
Solution: You can go to bi.properties and change the csv.max.rows parameter value and restart.
6)If the number of rows set for the pivot table pivot.max.row exceeds the default value of 500000
If there is a dashboard component or free-form table component in the dashboard with bound data, it will collect the performance detection information into the system reason.
Solution: You can go to bi.properties and change the pivot.max.row parameter value and restart.
7)The maximum number of axis labels set chart.axis.label.max.count exceeds the limit of 5000
If there is a chart component in the dashboard and data is bound to it, it will collect the performance test information into the system reason.
Solution: You can go to bi.properties and change the value of the chart.axis.label.max.count parameter and restart.
•Dashboard reason
When a user creates a dashboard to add a new column, if the column cannot be pushed down to the database for execution, it will be displayed as an orange logo and there is a performance detection Tip when the mouse is hovered over the column, as shown in the following figure:
It is collected in the dashboard reasons when the dashboard has the following conditions:
1)The columns in the SQL dataset used on the component cannot be pushed down to the database for execution, or the filter conditions set in the filter of the component cannot be pushed down to the database for execution, as shown in the following figure:
Solution: Before creating the dashboard, you can filter the dataset to leave only valid data and reduce the memory load.
2)The filter component or parameter component does not check the default value and the empty option policy is set to All Data, that is, all the data are displayed at once, as shown in the following figure:
Solution: Set default values for the filter component and parameter component.
3)The SQL dataset used on the component has columns that are detail expressions of logical judgment type (expressions with if statements), as shown in the following figure:
Solution: You can replace the calculated column with a filtered column.
4)The number of dimension bindings in the component exceeds 10, as shown in the following figure:
Solution: Remove the data fields that are not related to the analysis from the binding area. It is recommended that the number of bound dimensions does not exceed 10.
5) When there are multiple filter conditions in the dashboard, as shown in the following figure:
Solution: Add a batch commit button in the dashboard, check all the filter conditions and then submit them in bulk before performing the filtering.
6)For the database that has supported paging, paging is not used when creating the detail table, as shown in the following figure:
Solution: Check "Page" in the component settings to display an appropriate number of data rows per page.
•Dataset reason
1) When the dataset (SQL dataset/self-service dataset/combined dataset) that the dashboard component relies on has columns/operations that cannot be pushed down to the database, or the filter conditions in the filtering of the SQL dataset cannot be pushed down to the database, the information will be collected in the dataset reasons, as shown in the following figure:
Solution: Mongo calculates columns as much as possible using pipeline commands, datasets are filtered out of valid data before association calculations are performed, which can reduce the amount of data that needs to be concatenated, improve performance, and reduce the number of unnecessary fields to be calculated and so on.
2) In the static performance testing of the Dataset and Dashboard, do a test on the mpp execution. The number of rows in the execution plan exceeds a certain number.
Solution: This limit is controlled by the dc.perf.query.maxrow parameter and defaults to 10000000.
3) two into the Dataset of the Mart to do a joint query to determine whether to meet the map-side join, does not meet the performance tips.
Solution: To extract data, you need to first selec shard column and then import data into the data mart.


reply

Using props report

vividime-Club Show all floors Published on 2024-12-16 15:32:40
This function can dynamically analyze the execution time of the components under the current dashboard to help you quantitatively analyze the execution of the dashboard.
1.2 Application scenario
If there are many components in the dashboard and the loading speed is slow, and you want to compare and analyze the time consumed by each component to optimize the performance of the dashboard, you can use this function.
2. Step
2.1 Function Entry
When creating a dashboard, users can click Performance Help > Dashboard Execution Process in the dashboard menu bar to view the execution status.
When you view dashboard, you can also view the dashboard, you can click View > Action Mode at the top of the dashboard, and in the "Action Mode" pop-up window as View Mode, Analytic Mode, and Edit Mode, as shown in the following figure, if you do not configure it, the Performance menu item will not be visible by default.
When  you view dashboard, click Performance in the top menu bar to view the performance execution process in a new window, as shown below:
2.2 Data Table Structure for Dashboard Dependent Datasets
Column Name
Type
Description
ID
Integer
Data Serial Number
DBID
String
Dashboard Execution ID
REFNAME
String
Dashboard Path
DBNAME
String
Dashboard Name
TRIGGERREQ
String
The name of the triggered request, such as execution data, execution view, etc., which request was triggered by the Client.
REQ
String
Request Name
ISTRIGGERED
Boolean
Whether the request was actively triggered
SID
String
Component Name
QUERYNAME
String
Dataset Name
COMMENT
String
If the current sql query exceeds 2 seconds, the sql will be logged.
CREATETIME
Long
Request Time
RECEIVETIME
Long
Backend Receive Time
ERTIME
Long
Backend  Finish Process Time
NETCOST
Long
Processing time from frontend to backend, in ms
PROCOST
Long
Processing time of the backend, in ms
HOST
String
Request IP
USERNAME
String
User Name
ALIAS
String
Alias

2.3 Data Sample
ID
DB
ID
REFNAME
DBNAME
TRIGGERREQ
REQ
ISTRIGGERED
SID
QUERYNAME
COMMENT
REQUEST START TIME
REQUEST RECEIVE TIME
REQUEST FINISH TIME
TRANSMISSION TIME
EXECUTION TIME
HOST
USERNAME
ALIAS

0
test120220509111019-334
test1.db
test1
URLLoadDBReq
TRUE
1652065820304
1652065820304
1652065820311
0
7
0:0:0:0:0:0:0:1
admin

1
test120220509111019-334
test1.db
test1
OpenCacheDBReq
ExecuteSQL
FALSE
Dropdown List Filter1
Coffee Sales Data
1652065821474
1652065821474
1652065821552
0
78
0:0:0:0:0:0:0:1
admin

2
test120220509111019-334
test1.db
test1
OpenCacheDBReq
ExecuteGQuery
FALSE
Dropdown List Filter
Coffee Sales Data
1652065821469
1652065821469
1652065821558
0
89
0:0:0:0:0:0:0:1
admin

3
test120220509111019-334
test1.db
test1
OpenCacheDBReq
ExecuteAQuery
FALSE
Dropdown List Filter1
Coffee Sales Data
1652065821468
1652065821468
1652065821562
0
94
0:0:0:0:0:0:0:1
admin

4
test120220509111019-334
test1.db
test1
OpenCacheDBReq
ExecuteData
FALSE
Dropdown List Filter1
Coffee Sales Data
1652065821466
1652065821466
165206582155
0
106
0:0:0:0:0:0:0:1
admin

5
test120220509111019-334
test1.db
test1
OpenCacheDBReq
ExecuteView
FALSE
Dropdown List Filter1
Coffee Sales Data
1652065821574
1652065821574
1652065821574
0
0
0:0:0:0:0:0:0:1
admin

6
test120220509111019-334
test1.db
test1
OpenCacheDBReq
TRUE
Dropdown List Filter1
Coffee Sales Data
1652065820684
1652065821406
1652065821578
52
15
0:0:0:0:0:0:0:1
admin

7
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteSQL
FALSE
Chart2
Coffee Sales Data
1652065821836
1652065821836
1652065821909
0
73
0:0:0:0:0:0:0:1
admin

8
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteGQuery
FALSE
Chart2
Coffee Sales Data
1652065821833
1652065821833
1652065821923
0
90
0:0:0:0:0:0:0:1
admin

9
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteAQuery
FALSE
Chart2
Coffee Sales Data
1652065821831
1652065821831
1652065821924
0
93
0:0:0:0:0:0:0:1
admin

10
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteData
FALSE
Chart2
Coffee Sales Data
1652065821828
1652065821828
1652065821925
0
97
0:0:0:0:0:0:0:1
admin

11
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteAQuery
FALSE
Text1
Coffee Sales Data
1652065821831
1652065821831
1652065821924
0
93
0:0:0:0:0:0:0:1
admin

12
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteData
FALSE
Text1
Coffee Sales Data
1652065821828
1652065821828
1652065821937
0
109
0:0:0:0:0:0:0:1
admin

13
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteSQL
FALSE
Chart1
Coffee Sales Data
1652065821852
1652065821852
1652065821975
0
123
0:0:0:0:0:0:0:1
admin

14
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteView
FALSE
Text1
Coffee Sales Data
1652065821984
1652065821984
1652065821985
0
1
0:0:0:0:0:0:0:1
admin

15
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteView
FALSE
Text1
Coffee Sales Data
1652065821985
1652065821985
1652065821985
0
0
0:0:0:0:0:0:0:1
admin

16
test120220509111019-334
test1.db
test1
UpdateElemReq
TRUE
Text1
Coffee Sales Data
1652065821783
1652065821788
1652065821986
5
198
0:0:0:0:0:0:0:1
admin

17
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteView
FALSE
Chart2
Coffee Sales Data
1652065821984
1652065821984
1652065821986
0
2
0:0:0:0:0:0:0:1
admin

18
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteView
FALSE
Chart2
Coffee Sales Data
1652065821986
1652065821986
1652065821986
0
0
0:0:0:0:0:0:0:1
admin

19
test120220509111019-334
test1.db
test1
UpdateElemReq
TRUE
Chart2
Coffee Sales Data
1652065821786
1652065821792
1652065821986
6
194
0:0:0:0:0:0:0:1
admin

20
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteGQuery
FALSE
Chart1
Coffee Sales Data
1652065821835
1652065821835
1652065822006
0
171
0:0:0:0:0:0:0:1
admin

21
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteAQuery
FALSE
Chart1
Coffee Sales Data
1652065821832
1652065821832
1652065822011
0
179
0:0:0:0:0:0:0:1
admin

22
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteData
FALSE
Chart1
Coffee Sales Data
1652065821828
1652065821828
1652065822015
0
187
0:0:0:0:0:0:0:1
admin

23
test120220509111019-334
test1.db
test1
UpdateElemReq
ExecuteView
FALSE
Chart1
Coffee Sales Data
1652065822015
1652065822015
1652065822027
0
12
0:0:0:0:0:0:0:1
admin

24
test120220509111019-334
test1.db
test1
UpdateElemReq
FirstPageOver
FALSE
Coffee Sales Data
1652065819978
1652065819978
1652065822031
0
2051
0:0:0:0:0:0:0:1
admin

25
test120220509111019-334
test1.db
test1
UpdateElemReq
TRUE
Chart1
Coffee Sales Data
1652065821785
1652065821794
1652065822033
9
239
0:0:0:0:0:0:0:1
admin

26
test120220509111019-334
test1.db
test1
SubscribeReq
TRUE
1652065823782
1652065823789
1652065823791
7
2
0:0:0:0:0:0:0:1
admin

2.4  Main Request Description
OpenDBReq: open dashboard.
OpenCacheDBReq: open dashboard (with cache in the foreground).
OpenDBReq2: return component.
URLLoadDBReq: URL request page.
LoadContextReq: prepare the variables needed to run the environment.
FixDBScaleReq: dashboard adaption.
SubscribeReq: Get the subscription status.
UpdateElemReq: return component data to frontend rendering.
UpdateImage: return image to frontend rendering.
GetConn: Get database connection.
ExecuteSQL: Execute SQL.
ExecuteGQuery: database or bazaar execution data, including GetConn and ExecuteSQL.
ExecuteAQuery: In-memory execution data, such as performing dynamic calculations, performing summary filtering, etc.
ExecuteData: Execute data, including ExecuteGQuery and ExecuteAQuery.
ExecuteView: Execute the view, such as applying formatting, merging cells, highlighting, etc..
PageCountReq: request the number of pages of the form.
LoadGridCountReq: request the number of rows of the form.
FirstPageOver: dashboard to dashboard the completion of the first screen open.
2.5 Dashboard Description
Statistics include "component loading time ranking" and "dashboard loading time statistics".
[Component loading time TOP N] You can customize the value of N to display the components with the top N loading time;
[Total Time] You can drag the time range slider to filter out the components in the specified time range;
[Refresh Data] When viewing the dynamic performance dashboard of a dashboard, the dashboard may not have been executed yet, so only part of the data is displayed on the chart below, click the "Refresh Data" button to get the latest data.
Click the "Component Load Time Ranking" mark, you can link the following table to focus on analyzing a component.
The specific effect is shown in the figure below:
reply

Using props report

Advanced mode
You need to log in before you can reply to the post login | Free registration

© 2024 VIVIDATA PTE. LTD. All Rights Reserved. Privacy Statement