Forum Discussion
barabum
7 years agoFrequent Visitor
Analyzing Big Data
I have a dataset, containing products and categories (it is an example). There are tens of millions of products and thousands of categories. Every product has a category and other columns with a...
v-chuncz-msft
7 years agoCommunity Support
barabum
7 years agoFrequent Visitor
SQL Profiler is deprecated and doesn't work with Azure SQL Server.
I used sys.dm_exec_query_stats and sys.dm_exec_sql_text views to see actual ueries. They look like this one, where <ListOfColumns> are other columns:
SELECT TOP (1000001) [t12].[CompositeKey],<ListOfColumns> FROM ( (select [$Table].[CompositeKey] as [CompositeKey], <ListOfColumns> ) AS [t12] GROUP BY [t12].[CompositeKey],<ListOfColumns>
There is no WHERE clause in the query, so it tries loading all data.
Table component shows this error:
Error Message:
The resultset of a query to external data source has exceeded the maximum allowed size of '1000000' rows.