My table had 17500000 rows,
I deleted 500k rows. After deleting, I ran the vacuum command.
According to SVV_VACUUM_SUMMARY, row_delta is difference in the total number of table rows before and after the vacuum.
But when I saw the SVV_VACUUM_SUMMARY table, row_delta is 0. Shouldn't it be 500K?
Also here's the output from STL_VACUUM table:
status rows sortedrows
Started 17500000 813055
Finished 17500000 17500000
Does this mean Vacuum wasn't successful as the rows for finished is same as when it was started?
Also SVV_VACUUM_PROGRESS has status as complete for the table. So want to confirm if it was successful or not.
And checked SVV_TABLE_INFO for my table and tbl_rows has 17500000. I don't know what should be done as I think tbl_rows should be 17000000 as the vacuum operation was successful.
Any help would be appreciated.
VACUUM DELETE ONLY TO 100 PERCENT
– RaviANALYZE
afterVACUUM
? – AlexYes