There are bugs in Tablespace Map that I observed in 25.3 and again in 26.1. When I use the map on one of our tablespaces, it exhibits anomalous behavior. Here is the map:
(I have changed the map colors in Options.)
I have a larger screenshot that demonstrates the following problems, but I don't want to post it publicly.
There are multiple problems:
-
When that tablespace's map is first shown, it does not show the last partial line as occupied. The whole line is white as being outside the map. The purple blocks on the partial last line of blocks start out white and are only purpled when I click something inside the map. Mouse hovering those blocks either when white or purple show nothing--not a segment name and not "free space". Clicking on anything inside the map colorizes those blocks, but hover still shows nothing.
-
When the map window first opens, it is maximized within the Tablespace Map tab. I then right-click the tab and "Pop-out Window" to make it smaller. I then select a tablespace and click Analyze. The map is populated, but it is larger than the size of the window, so I pull the borders to enlarge it to show the whole map. Now, when I click a block to select something, various blocks are highlighted. So far so good. But, when I click Clear Highlights, this happens:
Only that part of the window that was visible before resizing is cleared. The part outside the original window size keeps its highlighting. It only resets when I click Analyze again. Now, it I resize the window before selecting and analyzing a tablespace, the above does not happen. The full map is cleared by Clear highlights.
-
Finally, there is a segment occupancy mapping issue. I can provide a screenshot privately that shows the issue. What is happening is that the last block of the map, which is the bottom-right complete row, shows the wrong segment name on mouse hover. I have a query that I run that maps out datafile occupancy. That query returns different information about the last occupied blocks of the file. The segment that the map shows at the end is only near the end. According to my query, a different segment is at the very end.
I suspect that partial row issue is in play here. The partial row that only appears when I click on something may be the real end of the map, but when I hover the mouse pointer over those blocks, no occupancy information appears. Although highlighted, they behave as if they are outside the map. It may be that the partial row is where the real end is and that is what is broken.
Cheers,
Russ




