Skip to content

Commit

Permalink
Fix - correct number of rows per table for tables with multiple parti…
Browse files Browse the repository at this point in the history
…tions (#468)

Co-authored-by: Jan Declercq <Jan.Declercq@alsic.be>
  • Loading branch information
j-dc and DevAlsicJanDeclercq authored Mar 14, 2023
1 parent 8d72ce1 commit 05105ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ select
table_name = t.name,
database_name = sdb.name,
database_create_date = sdb.create_date,
row_count = convert(real,avg(p.rows)),
row_count = convert(real,sum(p.rows)),
total_pages = convert(real,sum(a.total_pages)),
used_pages = convert(real,sum(a.used_pages)),
/* only take table compression into account and not index compression.
Expand Down

0 comments on commit 05105ef

Please sign in to comment.