[Info-ingres] rollforwarddb error

Martin Bowes martin.bowes at ndph.ox.ac.uk
Fri Feb 2 12:44:14 UTC 2018


Hi Paul,

This looks like it was fixed in the response to Bug 129237.

I've found it on:
    II 10.2.0 (a64.lnx/100) p15151.
    II 10.2.0 (a64.lnx/100) p15162.

It's OK from 10.2.0 (a64.lnx/100) p15254.

I've added this to my suite of patch acceptance tests.

Now I just have to think of upgrading the 34 installations that are running those two patches.

Marty

From: Paul White [mailto:paul.white at shift7solutions.com.au]
Sent: 02 February 2018 12:18
To: Martin Bowes; info-ingres at lists.planetingres.org
Subject: RE: [Info-ingres] rollforwarddb error

Thanks Marty

I avoid ALTER TABLE ADD COLUMN for production systems.

Best practise.
Checkpoint before and after schema changes.
Schema changes only during quiet periods.

Paul



From: info-ingres-bounces at lists.planetingres.org<mailto:info-ingres-bounces at lists.planetingres.org> [mailto:info-ingres-bounces at lists.planetingres.org] On Behalf Of Martin Bowes
Sent: Friday, 2 February 2018 9:19 PM
To: info-ingres at lists.planetingres.org<mailto:info-ingres at lists.planetingres.org>
Subject: [Info-ingres] rollforwarddb error

Hi All.

I'm thanking my lucky stars I came across this one in a routine trial recovery...

And even more thankful its very patch specific: II 10.2.0 (a64.lnx/100) +p15162.

Take a journaled table and use 'alter table add column' twice. It must be at least twice.
Then do a recovery...
Fri Feb  2 11:01:06 2018 RFP: Start processing journal file sequence 1.
Fri Feb  2 11:01:06 2018 E_DM960C_DMVE_MODIFY   Error recovering table MODIFY operation.
Fri Feb  2 11:01:06 2018 E_DM1306_RFP_APPLY_RECORD  Error occurred attempting to apply rollforward record.
        LSN=(57440958,0324BCE3), COMP_LSN=(00000000,00000000), DBID=0x5A7444E5, XID=0x000057445B1F1EA1
        MODIFY       Length:  2496  Flags: JOURNAL,NONREDO
            TABLE: (243,0) NAME(test,ingres)
            STRUCTURE: BTREE STATUS: UNIQUE,DUPLICATES
            MINPAGES: 0 MAXPAGES: 0 IFILL: 80 DFILL: 80 LFILL: 70
            BUCKETS: 32589  RELTUPS: 4
            Alloc: 4  Extend: 16  Page size: 8192 Type: 6  Name: (2, 41509)
                LOCATION: ii_database
Open Transaction 0x000057445B1F1EA1 with BT time 02-Feb-2018 11:01:05.06 for database bowtest redo 3 undo 0

The recovery is cool on p 15268.

Marty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.planetingres.org/pipermail/info-ingres/attachments/20180202/d724094d/attachment.html>


More information about the Info-ingres mailing list