Hi Art,
thank you for your input.
Your guess about a number of varchar fields in the table is correct. These are only filled partly, which would explain
the lower number of consumed pages for a 2k+ rowsize. (if MAX_FILL_DATA_PAGES is set to 1)
When looking at the real data length, there is room to reduce the column length in some cases in order to get to
a total row size < 2k, which would be beneficial.
As I said, the table is long-grown, it was probably initialized in an 11.70 instance and was upgraded to 14.10 in the meantime.
But MAX_FILL_DATA_PAGES is currently set to 0 on the server, which makes me wonder why the actual data does not consume min. a page
per row.
Does it make a difference if the data is copied using "insert into ... select * from" in dbaccess compared to single inserts from a JDBC based app ?
Does the JDBC driver have any influence ? I would expect no. Otherwise we could copy the data with a JDBC app instead ....
The parameter has been added in 11.x according to the documentation and I doubt it was ever changed on the instance.
I would assume this is mostly a result of inplace alter table activity resulting in this not-so-nice row length
which probably left the older rows untouched (which have been smaller).
We will give it a try on a restored server instance with a copy table which has some columns reduced in length
(to a total of < 2k per row, 10% under 2k would be better if I understand you right in order to leave room
for possible updates (which are rare)) on a 8k or 16k page dbspace
and set the MAX_FILL_DATA_PAGES to 1.
It should be easy to copy the data identically since the table has a sequential counter and a modify timestamp.
Very old data is typically not touched at all.
We will see where this is going, keep you informed.
The message that the hard limits are subject to change this year probably is good news. There are a couple of things
we already touched in real life ...
(number of tables in exclusive lock state, SBLOB metadata has been an issue in the past, number of extents reached max.)
Best,