sql-bi / VertiPaq-Analyzer

MIT License
77 stars 14 forks source link

Make number of tables in LoadTableStatistics configurable #140

Open albertospelta opened 3 months ago

albertospelta commented 3 months ago

We should consider making the current hard-coded value of 50 in the LoadTableStatistics method configurable by introducing a tableBatchSize parameter. This enhancement is similar to the columnBatchSize parameter that was added to the LoadColumnStatistics method in https://github.com/sql-bi/VertiPaq-Analyzer/issues/131

Originally posted by @corycundy in https://github.com/sql-bi/VertiPaq-Analyzer/issues/131#issuecomment-2278331191

One other observation that I made is that similar logic is used in the LoadTableStatistics method where 50 is hard coded. var loopTables = tableList.SplitList(50);