![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi, We've ran into this problem before, where we hit the limit of the number of pages that can be allocated to a dbspace for a table. It's something like 16million. After that, you can't add anymore pages to the table. I have a script to warn me when it gets close. Basically just grabbing the pages allocated from an onstat -pt. We have a table very close now, over 15million pages. My question is thisjust datapages for the limit or index pages also. The reason is, this table has 2 indexes created with the 'in table' clause. |
|
I am thinking that instead of reorging the whole table into fragments I can just drop the indexes and create them in another dbspace to buy some time. Would that in effect provide me with a lower number of allocated pages and solve the problem for now ? |
#4
| |||
| |||
|
|
Hi, We've ran into this problem before, where we hit the limit of the number of pages that can be allocated to a dbspace for a table. It's something like 16million. After that, you can't add anymore pages to the table. I have a script to warn me when it gets close. Basically just grabbing the pages allocated from an onstat -pt. We have a table very close now, over 15million pages. My question is this just datapages for the limit or index pages also. The reason is, this table has 2 indexes created with the 'in table' clause. |
|
I am thinking that instead of reorging the whole table into fragments I can just drop the indexes and create them in another dbspace to buy some time. Would that in effect provide me with a lower number of allocated pages and solve the problem for now ? Yes, if you drop those indexes those pages should be marked as free available pages for the table to use for data. You would not see a |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
fragmenting the table resolves the problem, of course... Is this limit still around in version 11+? |
#7
| |||
| |||
|
|
fragmenting the table resolves the problem, of course... |
|
I normally keep an eye with something like: select systabnames.partnum, tabname, npused from sysptnhdr, systabnames where sysptnhdr.partnum = systabnames.partnum and systabnames.dbsname = "dbname" and npused > 15000000 order by npused desc |
#8
| |||
| |||
|
|
"Floyd Wellershaus" <floyd (AT) fwellers (DOT) com> wrote in message news:mailman.110.1246489338.4791.informix-list (AT) iiug (DOT) org... Thanks. |
|
To monitor, use the actual number of Data Pages, not the Data Pages allocated. |
#9
| |||
| |||
|
|
"Floyd Wellershaus" <floyd (AT) fwellers (DOT) com> wrote in message news:mailman.110.1246489338.4791.informix-list (AT) iiug (DOT) org... Thanks. The answer however is that removing the indexes won't help. According to Informix support, who I called to make sure, the 16,775 million page limit is against data pages only. I was also using the wrong value from the oncheck -pt. To monitor, use the actual number of Data Pages, not the Data Pages allocated. That's bollocks. If the indexes are "in table", as you said in the OP, the 16g limit applies to the data and indexes. |
#10
| |||
| |||
|
|
Neil Truby wrote: "Floyd Wellershaus" <floyd (AT) fwellers (DOT) com> wrote in message news:mailman.110.1246489338.4791.informix-list (AT) iiug (DOT) org... Thanks. The answer however is that removing the indexes won't help. According to Informix support, who I called to make sure, the 16,775 million page limit is against data pages only. I was also using the wrong value from the oncheck -pt. To monitor, use the actual number of Data Pages, not the Data Pages allocated. That's bollocks. If the indexes are "in table", as you said in the OP, the 16g limit applies to the data and indexes. Droping an index "in table" of such a big table will take time. Be aware of that. |
![]() |
| Thread Tools | |
| Display Modes | |
| |