Re: 32TB relation size make mdnblocks overflow

2022-01-18 Thread 陈佳昕(步真)
​I think we must meet some corner cases about our storage. The relation has 32TB blocks, so 'mdnblocks' gets the unexpected value, we will check it again. Thanks a lot.

Re: 32TB relation size make mdnblocks overflow

2022-01-18 Thread Tom Lane
Julien Rouhaud writes: > On Tue, Jan 18, 2022 at 02:21:14PM +0800, 陈佳昕(步真) wrote: >> We know that PostgreSQL doesn't support a single relation size over 32TB, >> limited by the MaxBlockNumber. But if we just 'insert into' one relation over >> 32TB, it will get an error message 'unexpected data bey

Re: 32TB relation size make mdnblocks overflow

2022-01-17 Thread Julien Rouhaud
Hi, On Tue, Jan 18, 2022 at 02:21:14PM +0800, 陈佳昕(步真) wrote: > > We know that PostgreSQL doesn't support a single relation size over 32TB, > limited by the MaxBlockNumber. But if we just 'insert into' one relation over > 32TB, it will get an error message 'unexpected data beyond EOF in block 0 of

32TB relation size make mdnblocks overflow

2022-01-17 Thread 陈佳昕(步真)
Hello We know that PostgreSQL doesn't support a single relation size over 32TB, limited by the MaxBlockNumber. But if we just 'insert into' one relation over 32TB, it will get an error message 'unexpected data beyond EOF in block 0 of relation' in ReadBuffer_common. The '0 block' is from mdnblo