How to get rid of overflow pages in an ISAM table?

How to get rid of overflow pages in an ISAM table?

Post by Lee, Boon-Che » Wed, 08 Sep 1999 04:00:00



Hi All,

Wonder is there any way we can get rid of overflow pages in an ISAM storage
structure table? Even an empty isam table contains 1 overflow page. See
below. For the rest of isam table, there are at least 1 overflow page.

TIA.

Regards,
Lee Boon Cheow
MobileOne, Singapore

  1> help table      
     isamtmp

Name:                 isamtmp                                    
Owner:                dba_cabsprod
Created:              06-sep-1999 11:13:00      
Location:             gsmdb_loc0
Type:                 user table
Version:              ING6.0    
Row width:            215        
Number of rows:       0                         <-- no rows
Storage structure:    isam      
Compression:          none      
Duplicate Rows:       allowed    
Number of pages:      2          
Overflow data pages:  1                         <-- but 1 overflow pg - ie
unavoidable !
Journaling:           disabled  
Base table for view:  no        
Permissions:          none      
Integrities:          none  

 
 
 

How to get rid of overflow pages in an ISAM table?

Post by Lee, Boon-Che » Wed, 08 Sep 1999 04:00:00


Thanks for your reply. Even with a much lower fillfactor than the default,
it still contains at least one overflow page. The wonder is, how to get rid
of that one page overflow for a isam table?

> ----------

> Sent:      Tuesday, September 07, 1999 2:57 PM
> To:        Lee, Boon-Cheow
> Subject:   RE: How to get rid of overflow pages in an ISAM table?

> Hi,
>     Take a look at fill factor. You could modify the table using a lower
> fill factor,  as far as I can recollect the default fill factor is 80 %,
> you could try with a lower percentage, but then the total number of pages
> will increase. You would need to take a look at the SQL and DBA manuals.
> HTH
> Raju

> "Luck is what happens when preparation meets opportunity." --- Coach
> Darell Royal

>    -----Original Message-----

>    Sent: Tuesday, September 07, 1999 11:52 AM
>    To: 'info-ingres'
>    Subject: How to get rid of overflow pages in an ISAM table?

>    Hi All,

>    Wonder is there any way we can get rid of overflow pages in an ISAM
> storage structure table? Even an empty isam table contains 1 overflow
> page. See below. For the rest of isam table, there are at least 1 overflow
> page.

>    TIA.

>    Regards,
>    Lee Boon Cheow
>    MobileOne, Singapore

>      1> help table      
>         isamtmp

>    Name:                 isamtmp                                    
>    Owner:                dba_cabsprod
>    Created:              06-sep-1999 11:13:00      
>    Location:             gsmdb_loc0
>    Type:                 user table
>    Version:              ING6.0    
>    Row width:            215        
>    Number of rows:       0                         <-- no rows
>    Storage structure:    isam      
>    Compression:          none      
>    Duplicate Rows:       allowed    
>    Number of pages:      2          
>    Overflow data pages:  1                         <-- but 1 overflow
> pg - ie unavoidable !
>    Journaling:           disabled  
>    Base table for view:  no        
>    Permissions:          none      
>    Integrities:          none  


 
 
 

How to get rid of overflow pages in an ISAM table?

Post by Karl & Betty Schend » Wed, 08 Sep 1999 04:00:00



Quote:>Hi All,

>Wonder is there any way we can get rid of overflow pages in an ISAM storage structure table? Even an empty isam table contains 1 overflow page. See below. For the rest of isam table, there are at least 1 overflow page.

I think you get the overflow page if you define the table without specifying UNIQUE keys.
I confess to not having worried about this very much, and I'd suggest that you not worry about it
too much either.  One overflow page is not going to hurt anything.  :)

Karl R. Schendel, Jr.

Ingres and Unix Expertise

Past President, North American Ingres Users Association

 
 
 

1. Getting rid of table scan

I'm trying to get rid of a table scan but even adding indexes to the tables
involved does not solve my problem. I can't change the SQL statement because
it is generated by an application and I don't have access to the source
code:

Here is the information(statement, indexes, explain plan):
If anyone got an idea how to force the SQL to use the indexes on table
pmt_audit without changing the SQL statement help would be greatly
appreciated

select count(distinct t22.pmt_instruction_id)
from omtxdba.pmt_audit t22, omtxdba.pmt_instruction t23
where t22.pmt_agent_id = 'de09d220165511d185f5b747339cf6a9'
and t23.pmt_audit_id = t22.pmt_audit_id
and t22.pmt_instruction_id = t23.pmt_instruction_id
and t22.request_type = 3110 and t22.error_category = 902
and t23.pmt_error = 902 and t22.event_date >= 937769520
and t22.event_date <= 938723520
/

rem INDEX_NAME                     COLUMN_NAME
COLUMN_POSITION
rem ------------------------------ ------------------------------ ----------
-----
rem PMT_AUDIT_PK                   PMT_AUDIT_ID
1
rem PMT_AUDIT_PMT_AGENT_ID_I       PMT_AGENT_ID
1
rem PMT_AUDIT_PMT_INSTRUCTIO_I     PMT_INSTRUCTION_ID
1
rem PMT_AUDIT_REQUEST_TYPE         REQUEST_TYPE
1

rem INDEX_NAME                     COLUMN_NAME
COLUMN_POSITION
rem ------------------------------ ------------------------------ ----------
-----
rem PMT_INSTRUCTION_PK             PMT_INSTRUCTION_ID
1
rem PMT_INSTRUCTI_PMT_INSTRUCTIO_I PMT_INSTRUCTION_SEQID
1
rem PMT_INSTRUCTI_SELLER_ACCOUNT_I SELLER_ACCOUNT_ID
1

rem Rows     Execution Plan
rem -------  ---------------------------------------------------
rem       0  SELECT STATEMENT   GOAL: CHOOSE
rem       1   SORT (GROUP BY)
rem       1    NESTED LOOPS
rem  380326     TABLE ACCESS   GOAL: ANALYZED (FULL) OF 'PMT_AUDIT'
rem       2     TABLE ACCESS   GOAL: ANALYZED (BY ROWID) OF
rem                 'PMT_INSTRUCTION'
rem       2      INDEX   GOAL: ANALYZED (UNIQUE SCAN) OF
rem                  'PMT_INSTRUCTION_PK' (UNIQUE)

2. - ::Oracle Applications Programmer Analyst:: Portland, Oregon:: jw004586

3. Rollforwarddb failure on hash table overflow pages

4. Sharing info on the web

5. Getting rid of a column in a table

6. DB Vista from Raima

7. how to consolidate a table from getting that table from 15 servers via RAS -

8. [WEBMASTER] 'www/html doxlist2.html gethelp-list.html y2k.html'

9. Getting data from old tables into new tables.

10. Cross Table (Pivot Table) with Oracle Spread Table Control (MMTX32.OCX)

11. Joining tables from a table variable with SQL tables

12. Access 97/SqlServer 7: Appending Access Tables into Sql Server tables doesnt work for big tables

13. Transactional Replication from a large table to a smaller table using criteria in a related table