PI extension is enabled
SQL Text is truncated under SQL Performance panel
Message displayed is "SQL text is out of the collected batch configured size" for historically collected SQL statements in SQL PI using a SQL Server PI repository.
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p0] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p1] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p2] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p3] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p4] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p5] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p6] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p7] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p8] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p9] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p10] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p11] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p12] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p13] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p14] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p15] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p16] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p17] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p18] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p19] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p20] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p21] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p22] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p23] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p24] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p25] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p26] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p27] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p28] where sql_short_text like 'SQL text is out of the collected batch configured size%'
SELECT count(*) from [SPIMSSQL].[dbo].[pass_syntax_dim_p29] where sql_short_text like 'SQL text is out of the collected batch configured size%'
Then run the following script in the SQL Server PI repository database using a query utility like Quest Toad or SQL Server Management Studio to delete the rows with the message beginning with "SQL test is out of the collected batch configured size". Replace the valus SPIMSSQL with the name of the SQL Server PI repository database.
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p0] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p1] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p2] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p3] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p4] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p5] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p6] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p7] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p8] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p9] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p10] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p11] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p12] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p13] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p14] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p15] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p16] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p17] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p18] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p19] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p20] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p21] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p22] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p23] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p24] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p25] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p26] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p27] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p28] where sql_short_text like 'SQL text is out of the collected batch configured size%'
delete from [SPIMSSQL].[dbo].[pass_syntax_dim_p29] where sql_short_text like 'SQL text is out of the collected batch configured size%'
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center