BIX Query TimedOut
> We are having an SQL query timeout issue with BIX extract when it's being executed from in background processing through an agent .
We are working with DB team to look at the indexes of this table but meanwhile we would like to how to increase the default timeout (30 sec) of BIX query execution.
Is the below hotfix still relevant for Pega 8.8.1 ?
HFIX-50605 and Add below DSS.
- Setting purpose :-"BIX/selectQueryTimeout"
- Rule set :- "Pega-Rules".
- Value :- << Highest value which required for the query to run in seconds >>
java.sql.SQLTimeoutException: The query has timed out
SQL: SELECT COUNT("PC0"."pzInsKey") AS "pySummaryCount(1)" FROM pegaDATA.pc_Version_Work "PC0" WHERE ( ( ( "PC0"."pxSaveDateTime" >= ? AND "PC0"."pxSaveDateTime" < ? ) ) AND "PC0"."pxObjClass" = ? )<Caused by SQL Problems.Problem #1, SQLState HY008, Error code 0: java.sql.SQLTimeoutException: The query has timed out.
> We are having an SQL query timeout issue with BIX extract when it's being executed from in background processing through an agent .
We are working with DB team to look at the indexes of this table but meanwhile we would like to how to increase the default timeout (30 sec) of BIX query execution.
Is the below hotfix still relevant for Pega 8.8.1 ?
HFIX-50605 and Add below DSS.
- Setting purpose :-"BIX/selectQueryTimeout"
- Rule set :- "Pega-Rules".
- Value :- << Highest value which required for the query to run in seconds >>
java.sql.SQLTimeoutException: The query has timed out
SQL: SELECT COUNT("PC0"."pzInsKey") AS "pySummaryCount(1)" FROM pegaDATA.pc_Version_Work "PC0" WHERE ( ( ( "PC0"."pxSaveDateTime" >= ? AND "PC0"."pxSaveDateTime" < ? ) ) AND "PC0"."pxObjClass" = ? )<Caused by SQL Problems.Problem #1, SQLState HY008, Error code 0: java.sql.SQLTimeoutException: The query has timed out.
java.sql.SQLTimeoutException: The query has timed out.<CR> | SQL Code: 0 | SQL State: HY008<CR>][STACK][com.pega.pegarules.pub.database.DatabaseException: There was a problem getting a list: code: 0 SQLState: HY008 Message: The query has timed out.<CR>DatabaseException caused by prior exception: java.sql.SQLTimeoutException: The query has timed out.<CR> | SQL Code: 0 | SQL State: HY008<CR><CR><CR>From: (BF88E0SQTRKB29SOKD64GU8M21KMZZSNOA) <CR><CR> SQL: SELECT COUNT("PC0"."pzInsKey") AS "pySummaryCount(1)" FROM pegaDATA.pc_Version_Work "PC0" WHERE ( ( ( "PC0"."pxSaveDateTime" >= ? AND "PC0"."pxSaveDateTime" < ? ) ) AND "PC0"."pxObjClass" = ? )<CR><CR><CR>Caused by SQL Problems.<CR><CR>Problem #1, SQLState HY008, Error code 0: java.sql.SQLTimeoutException: The query has timed out.<CR><CR> at com.pega.pegarules.data.internal.access.ExceptionInformation.createAppropriateExceptionDueToDBFailure(ExceptionInformation.java:385)<CR><CR> at com.pega.pegarules.data.internal.access.ExceptionInformation.createExceptionDueToDBFailure(ExceptionInformation.java:364)<CR><CR> at com.pega.pegarules.data.internal.access.Lister.convertSqlExceptionToDatabaseException(Lister.java:638)<CR><CR> at com.pega.pegarules.data.internal.access.Lister.listWithResultPresenter(Lister.java:271)<CR><CR> at com.pega.pegarules.data.internal.rd.queryexec.SqlQueryExecutor.executeQuery(SqlQueryExecutor.java:100)<CR><CR> at com.pega.pegarules.data.internal.rd.queryexec.SqlQueryExecutor.executeQuery(SqlQueryExecutor.java:50)<CR><CR> at com.pega.pegarules.data.internal.rd.SQLExecutorResultsCP.executeQuery(SQLExecutorResultsCP.java:111)<CR><CR> at com.pega.pegarules.data.internal.rd.SqlReportExecutor.executeResolvedReport(SqlReportExecutor.java:202)<CR><CR> at com.pega.pegarules.data.internal.rd.SqlReportExecutor.executeMainReport(SqlReportExecutor.java:236)<CR><CR> at com.pega.pegarules.data.internal.rd.SqlReportExecutor.execute(SqlReportExecutor.java:91)<CR><CR> at com.pega.pegarules.data.internal.rd.SqlReportExecutor.execute(SqlReportExecutor.java:60)<CR><CR> at com.pega.pegarules.data.internal.access.ExtractImpl.executeSQLReport(ExtractImpl.java:3242)<CR><CR> at com.pega.pegarules.data.internal.access.ExtractImpl.getInstanceCount(ExtractImpl.java:3208)<CR><CR> at com.pega.pegarules.data.internal.access.ExtractImpl.doExtract(ExtractImpl.java:1731)<CR><CR> at com.pega.pegarules.data.internal.access.ExtractImpl.runExtract(ExtractImpl.java:1297)<CR><CR> at com.pega.pegarules.data.internal.access.ExtractImpl.init(ExtractImpl.java:1003)<CR><CR> at com.pega.pegarules.data.internal.access.ExtractImpl.parseAndRunExtractCommand(ExtractImpl.java:929)<CR><CR> at com.pega.pegarules.data.internal.access.ExtractImpl.executeCommandLineExtract(ExtractImpl.java:858)<CR><CR> at com.pega.pegarules.data.internal.PRDataProviderImpl.executeCommandLineExtract(PRDataProviderImpl.java:1737)<CR><CR> at com.pega.pegarules.session.internal.mgmt.Executable.executeCommandLineExtract(Executable.java:8916)<CR><CR> at com.pegarules.generated.activity.ra_action_pxextractdatawithargs_b390b959167377f95f63ce79c39386b3.step2_circum0(ra_action_pxextractdatawithargs_b390b959167377f95f63ce79c39386b3.java:318)