Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some number related columns are being imported by Nexus as null (tbl_MissingIndexes & tbl_dm_db_stats_properties) #385

Open
asavioliMSFT opened this issue Feb 13, 2025 · 0 comments
Assignees

Comments

@asavioliMSFT
Copy link
Contributor

asavioliMSFT commented Feb 13, 2025

An issue is happening when importing data related to missing indexes to table tbl_MissingIndexes. Values from column many columns, like improvement_measure, are being imported as NULL. Probably this is related to number decimal format.

Image

Confirmed the columns have the data in the output file generated by Log Scout

Image

We also found an issue on tbl_dm_db_stats_properties. Some columns, like the rows, are defined as INT in the rowsetimportengine and data from large tables are being imported as NULL

<Rowset name="tbl_dm_db_stats_properties" enabled="true" identifier="-- sys.dm_db_stats_properties --" type="RowsetImportEngine.TextRowset">
<Column name="input_file_name" type="RowsetImportEngine.VarCharColumn" length="512" valuetoken="INPUTFILENAME" />
<Column name="rownum" type="RowsetImportEngine.BigIntColumn" length="24" valuetoken="ROWNUMBER" />
<Column name="database_id" type="RowsetImportEngine.IntColumn" />
<Column name="database_name" type="RowsetImportEngine.NVarCharColumn" />
<Column name="schema_name" type="RowsetImportEngine.NVarCharColumn" />
<Column name="object_name" type="RowsetImportEngine.NVarCharColumn" />
<Column name="object_id" type="RowsetImportEngine.IntColumn" />
<Column name="stats_id" type="RowsetImportEngine.IntColumn" />
<Column name="statistics_name" type="RowsetImportEngine.NVarCharColumn" />
<Column name="last_updated" type="RowsetImportEngine.DateTimeColumn" />
 <Column name="rows" type="RowsetImportEngine.IntColumn" />
<Column name="rows_sampled" type="RowsetImportEngine.IntColumn" />
<Column name="steps" type="RowsetImportEngine.IntColumn" />
<Column name="unfiltered_rows" type="RowsetImportEngine.IntColumn" />
<Column name="modification_counter" type="RowsetImportEngine.IntColumn" />
<Column name="persisted_sample_percent" type="RowsetImportEngine.FloatColumn" />
</Rowset>

Image

@asavioliMSFT asavioliMSFT changed the title tbl_MissingIndexes - Many columns is being imported as null tbl_MissingIndexes - Many columns are being imported as null Feb 13, 2025
@asavioliMSFT asavioliMSFT changed the title tbl_MissingIndexes - Many columns are being imported as null Many number related columns are being imported as null Feb 13, 2025
@asavioliMSFT asavioliMSFT changed the title Many number related columns are being imported as null Some number related columns are being imported by Nexus as null Feb 13, 2025
@hacitandogan hacitandogan self-assigned this Feb 14, 2025
@PiJoCoder PiJoCoder changed the title Some number related columns are being imported by Nexus as null Some number related columns are being imported by Nexus as null (tbl_MissingIndexes & tbl_dm_db_stats_properties) Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants