Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

RE: Archecker Table Level restore

Posted By: Laurie Gustin
Date: Wednesday, 13 January 2010, at 3:31 p.m.

In Response To: RE: Archecker Table Level restore (Laurie Gustin)

Interesting... I restored a table with no dates, and the archecker process reported the following

TIME: [2010-01-13 12:27:04] Found Partition reportsubmission in space crimelab (0x00E00048).
STATUS: Scan PASSED
STATUS: Control page checks PASSED
STATUS: Table checks PASSED
STATUS: Table extraction commands 1
STATUS: Tables found on archive 1
STATUS: LOADED: crimelab:tlr_reportsubmission produced 64559 rows.
TIME: [2010-01-13 12:31:39] Physical Extraction Completed
.
.
.
STATUS: Recovery PIT(Mon Jan 11 13:00:00 2010) reached logid:111341 page:0x00CC0 offset:0x0018
STATUS: All logstreams have been staged by stager 13184
TIME: [2010-01-13 12:59:09] Scanner (13184) is done scanning logs
STATUS: Log stager elapsed processing time 00 H 27 M 29.250 S
TIME: [2010-01-13 12:59:09] Unload Completed
STATUS: archecker completed staging pid = 13184 exit code: 0
STATUS: SQL [SET INDEXES, TRIGGERS, CONSTRAINTS FOR tlr_reportsubmission ENABLED]
ERROR: "EXECUTE IMMEDIATE" failed
ERROR: -530: Check constraint (n494_734) failed.
STATUS: Logically recovered crimelab:tlr_reportsubmission Inserted 10 Deleted 0 Updated 0
STATUS: Log applier processing time 00 H 27 M 29.602 S
TIME: [2010-01-13 12:59:09] Unload Completed

but - - all the rows were null...

Thanks in advance....

Laurie

>>> "Laurie Gustin" <lgustin@utah.gov> 1/13/2010 10:20 AM >>>
I did verify the schema and they match. I am using the same user/profile to
restore that was used to create the archive... but Im wondering if I need to
set the DBDATE environment variable? We have gotten this date error
occasionally (very seldom) with some of our apps when the data is actually
fine...

Im have cut back to trying to restore just one table... the new cmd file is
below -

database crimelab;

create table reportpdf (

reportid INT not null,

reportdate DATETIME YEAR TO MINUTE,

createdby CHAR(8),

reportpdf BYTE
) in crimelab;
create table tlr_reportpdf (

reportid INT not null,

reportdate DATETIME YEAR TO MINUTE,

createdby CHAR(8),

reportpdf BYTE
);

Insert into tlr_reportpdf Select * from reportpdf;

RESTORE to '2010-01-11 13:00:00' ;
SET WORKSPACE to pstemp_1;

Thanks
Laurie

>>> "John Miller iii" <miller3@us.ibm.com> 1/13/2010 10:05 AM >>>
>From the partnum listed you should be able to tell which table is causing
the
problem. After you have identified the problem table please re-verify the
schema
for that table. I see a few of your tables have columns which are
datetimes,
double check the datetime qualifier on these tables, the order of all
columns
and the number of columns.

The error is being produced because archecker is taking the row off the
archive and converting column by column to an ascii value. This conversion
is failing for the datetime values.

John F. Miller III
STSM, Support Architect
miller3@us.ibm.com
503-578-5645
IBM Informix Dynamic Server (IDS)

ids-bounces@iiug.org wrote on 01/13/2010 08:54:07 AM:

> ok- I think I am getting closer...
>
> I added the SET WORKSPACE command.. that took care of the disk space
error.
>
> but... when I run with a filter, I get no rows returned, when I am sure
the
> rows should be in the archive...
> when I run with no filter I get this error:
> ERROR: -1263: A field in a datetime or interval value is incorrect or an
> illegal operation
> ERROR: Unable to convert page(14_799835) for partnum 14680137
> ERROR: "PUT CURSOR" failed
> It seems odd that I would get a date error on every record.. any clues?
>
> note: I have also switched from external tables to regular tables in the
> database.
>
> Any help would be appreciated.
>
> Thanks
> Laurie
>
> >>> "John Miller iii" <miller3@us.ibm.com> 1/12/2010 10:07 AM >>>
> One of the tables you are restoring contains a text blob, this
> requires some staging space which is in the form of a table.
> You can direct this table to a different dbspace or set of
> dbspaces using the SET command in your command file
>
> SET WORKSPACE TO dbspace1;
> or
> SET WORKSPACE TO dbspace1,dbspace2, dbspace3;
>
> John F. Miller III
> STSM, Support Architect
> miller3@us.ibm.com
> 503-578-5645
> IBM Informix Dynamic Server (IDS)
>
> ids-bounces@iiug.org wrote on 01/12/2010 08:25:38 AM:
>
> > [image removed]
> >
> > RE: Archecker Table Level restore [18655]:
> >
> > Plugge, Joe R.
> >
> > to:
> >
> > ids
> >
> > 01/12/2010 08:27 AM
> >
> > Sent by:
> >
> > ids-bounces@iiug.org
> >
> > Please respond to ids
> >
> > That is good news. I have not played around a lot with restores to
> external
> > tables, so was a little worried I may not be able to help you.
> >
> > -----Original Message-----
> > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
> Laurie
> > Gustin
> > Sent: Tuesday, January 12, 2010 10:21 AM
> > To: ids@iiug.org
> > Subject: RE: Archecker Table Level restore [18654]
> >
> > Hmmm - I found where you can't do a logical restore to external tables
-
> that
> > must have been causing the error. I didn't want to do a logical restore

> > because I want to filter the data, so I added WITH NO LOG to my restore

> > statement. IT is running now, we will see if it works.
> >
> > Thanks!
> > Laurie
> >
> > >>> "Plugge, Joe R." <JRPlugge@west.com> 1/12/2010 8:30 AM >>>
> > Laurie,
> >
> > Do you have the option (space in dbspace crimelab,or another dbspace)
to
> try
> > this restore to database table instead of external tables? Might be
worth
> a
> > shot to see if there is something amiss with the external table restore

> > functionality. Are you able to or have you in the past restored a table

> on
> > this instance using external table method?
> >
> > Joe
> >
> > -----Original Message-----
> > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
> Laurie
> > Gustin
> > Sent: Tuesday, January 12, 2010 9:25 AM
> > To: ids@iiug.org
> > Subject: RE: Archecker Table Level restore [18652]
> >
> > yep - my directories are fine... in fact, it creates the files for the
> > external tables...
> >
> > informix@ [/data2/crimelab]
> > $ ll
> > total 0
> > -rw-rw-r-- 1 informix informix 0 Jan 12 08:19 report_attachment.unl
> > -rw-rw-r-- 1 informix informix 0 Jan 12 08:19 reportpdf.unl
> > -rw-rw-r-- 1 informix informix 0 Jan 12 08:19 reportsubmission.unl
> > -rw-rw-r-- 1 informix informix 0 Jan 12 08:19 reporttext.unl
> >
> > It seems like it just cant create this lock table.. but I dont know
where
> it
> > is trying to create it ..
> >
> > ERROR: "Execute (name lock)" failed
> > ERROR: -261: Cannot create file for table (informix.acu_lock).
> > ERROR: -131: ISAM error: no free disk space
> > I
> >
> > >>> "Plugge, Joe R." <JRPlugge@west.com> 1/12/2010 8:12 AM >>>
> > Are you able to touch a file in that directory?
> >
> > /data2/crimelab/
> >
> > -----Original Message-----
> > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
> Laurie
> > Gustin
> > Sent: Tuesday, January 12, 2010 8:54 AM
> > To: ids@iiug.org
> > Subject: RE: Archecker Table Level restore [18650]
> >
> > The command file is listed below... I actually only want one row out of

> each
> > of these tables... but I have to go back beyond the last level 0
> > backup to get
> > it, so I didn't know how to do a physical only.
> >
> > also - Here is the archecker command I used... archecker -b -X -f
> > "/home/infrmx/archecker/ac_cl.cmd" -v -s -lphys
> >
> > ******ac_cl.cmd********
> >
> > database crimelab;
> >
> > create table report_attachment (
> >
> > ra_reportid INT not null,
> >
> > ra_attach_seq SERIAL not null,
> >
> > ra_attached_by CHAR(8),
> >
> > ra_attach_date DATETIME YEAR TO MINUTE,
> >
> > ra_filename CHAR(50),
> >
> > ra_filetype CHAR(4),
> >
> > ra_viewable CHAR(1) default 'Y',
> >
> > ra_attachment BYTE
> > ) in crimelab;
> > create external table tlr_report_attachment (
> >
> > ra_reportid INT not null,
> >
> > ra_attach_seq SERIAL not null,
> >
> > ra_attached_by CHAR(8),
> >
> > ra_attach_date DATETIME YEAR TO MINUTE,
> >
> > ra_filename CHAR(50),
> >
> > ra_filetype CHAR(4),
> >
> > ra_viewable CHAR(1) default 'Y',
> >
> > ra_attachment BYTE
> > )using ("/data2/crimelab/report_attachment.unl", delimited);
> >
> > create table 'informix'.reportsubmission (
> >
> > reportid INT not null,
> >
> > subno INT
> > ) in crimelab;
> > create external table 'informix'.tlr_reportsubmission (
> >
> > reportid INT not null,
> >
> > subno INT
> > )using ("/data2/crimelab/reportsubmission.unl", delimited);
> >
> > create table reporttext (
> >
> > caseindex INT not null,
> >
> > categorycd CHAR(3) not null,
> >
> > reportid SERIAL not null,
> >
> > reporttype CHAR(5),
> >
> > creatorid CHAR(8),
> >
> > createdate DATETIME YEAR TO MINUTE,
> >
> > cosignid CHAR(8),
> >
> > cosigndate DATETIME YEAR TO MINUTE,
> >
> > techreviewid CHAR(8),
> >
> > techreviewdate DATETIME YEAR TO MINUTE,
> >
> > reportstatus CHAR(10),
> >
> > reportblob TEXT
> > ) in crimelab;
> > create external table tlr_reporttext (
> >
> > caseindex INT not null,
> >
> > categorycd CHAR(3) not null,
> >
> > reportid SERIAL not null,
> >
> > reporttype CHAR(5),
> >
> > creatorid CHAR(8),
> >
> > createdate DATETIME YEAR TO MINUTE,
> >
> > cosignid CHAR(8),
> >
> > cosigndate DATETIME YEAR TO MINUTE,
> >
> > techreviewid CHAR(8),
> >
> > techreviewdate DATETIME YEAR TO MINUTE,
> >
> > reportstatus CHAR(10),
> >
> > reportblob TEXT
> > )using ("/data2/crimelab/reporttext.unl", delimited);
> >
> > create table reportpdf (
> >
> > reportid INT not null,
> >
> > reportdate DATETIME YEAR TO MINUTE,
> >
> > createdby CHAR(8),
> >
> > reportpdf BYTE
> > ) in crimelab;
> > create external table tlr_reportpdf (
> >
> > reportid INT not null,
> >
> > reportdate DATETIME YEAR TO MINUTE,
> >
> > createdby CHAR(8),
> >
> > reportpdf BYTE
> > ) using ("/data2/crimelab/reportpdf.unl", delimited);
> >
> > Insert into tlr_report_attachment Select * from report_attachment ;
> > Insert into tlr_reportsubmission Select * from reportsubmission ;
> > Insert into tlr_reporttext Select * from reporttext;
> > Insert into tlr_reportpdf Select * from reportpdf;
> >
> > restore to '2010-01-10 10:00:00';
> >
> > *****************
> >
> > Laurie Gustin
> > IT Programmer Analyst
> > Department of Public Safety
> > lgustin@utah.gov
> > 801-965-4410
> >
> > >>> "Plugge, Joe R." <JRPlugge@west.com> 1/12/2010 7:13 AM >>>
> > Laurie, what does your command file look like for the restore?
> >
> > -----Original Message-----
> > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
> Laurie
> > Gustin
> > Sent: Tuesday, January 12, 2010 8:10 AM
> > To: ids@iiug.org
> > Subject: Archecker Table Level restore [18648]
> >
> > Im trying to do a point in time table level restore with archecker..but
I
> get
> > a disk space error. I have checked to see where I may be out of space,
> but
> > can't see anything. Can someone tell me where it is trying to
createthis
> lock
> > table?
> >
> > Thanks
> > Laurie
> >
> > -----------------------------------------
> > STATUS: IBM Informix Dynamic Server Version 10.00.FC8
> > Program Name: archecker
> > Version: 8.0
> > Released: 2008-01-25 23:08:02
> > CSDK: IBM Informix CSDK Version 2.90
> > ESQL: IBM Informix-ESQL Version 2.90.FN431
> > Compiled: 01/25/08 23:09 on HP-UX B.11.11 U
> >
> > STATUS: Arguments [-b -X -f /home/infrmx/archecker/ac_cl.cmd -v -s
> -lphys]
> > STATUS: AC_STORAGE /data2/dbdump/tmp
> > STATUS: AC_MSGPATH /home/infrmx/logs/ac_msg.log
> > STATUS: AC_VERBOSE on
> > STATUS: AC_TAPEBLOCK 62 KB
> > STATUS: AC_IXBAR /home/informix/etc/ixbar.1
> > STATUS: AC_SCHEMA /home/infrmx/archecker/ac_cl.cmd
> > ERROR: "Execute (name lock)" failed
> > ERROR: -261: Cannot create file for table (informix.acu_lock).
> > ERROR: -131: ISAM error: no free disk space
> > ERROR: Unable to commit work
> > ERROR: Lock acquired failed rc=-1 pid=5757
> > ERROR: Failed to acquire lock
> > ERROR: Setup Handles
> > CRITICAL ERROR: Unable to initialize extraction
> > STATUS: archecker completed Physical Restore pid = 5757 exit code: 3
> > You have mail in /var/mail/informix
> >
> > Laurie Gustin
> > IT Programmer Analyst
> > Department of Public Safety
> > lgustin@utah.gov
> > 801-965-4410
> >
> >
> >
>
>
>

*******************************************************************************

>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> >
>
>
>

*******************************************************************************

>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> >
>
>
>

*******************************************************************************

>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> >
>
>
>

*******************************************************************************

>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> >
>
>
>

*******************************************************************************

>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> >
>
>
>

*******************************************************************************

>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> >
>
>
>

*******************************************************************************

>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> >
>
>
>

*******************************************************************************

>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
>
>
>

*******************************************************************************

> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
>

*******************************************************************************

> Forum Note: Use "Reply" to post a response in the discussion forum.
>

*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.

*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.