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: Performance problem during log backup

Posted By: Fernando Nunes
Date: Thursday, 28 August 2014, at 8:19 a.m.

In Response To: Re: Performance problem during log backup (Art Kagel)

I'd go back to the beginning.... An error inserting data... from what I
understand it caused an AF.
What did IBM have to say about that? You mean the instance was crashing
frequently during INSERTs?
I find it hard to believe that you go through so much trouble to solve a
bug (an AF is almost certainly a bug unless there are hardware errors or
severe administration errors (like messing with storage etc.)

Regards.

On Thu, Aug 28, 2014 at 2:08 PM, Art Kagel <art.kagel@gmail.com> wrote:

> Hmm, using JSON/BSON in Informix MIGHT be a work around. If you put the
> document data into a BSON column in a relational table (so v12.10
> preferably .xC4 or later for ease of use) the engine will shift the BSON
> column to Smartblob space automagically. Because the engine is the only
> one dealing with the smartblob space maybe it will work without getting the
> errors you were getting with BLOB columns. JSON/BSON in Informix can be
> accessed via SQL and the Informix client protocols or via MongoDB's wire
> listener protocol (so any development tool that can access MongoDB). Just
> a thought.
>
> Note that in MongoDB JSON documents are limited to 16MB, JSON columns in
> Informix can be up to 4GB each.
>
> Art
>
> Art S. Kagel, Principal Consultant
> ASK Database Management
>
> Blog: http://informix-myview.blogspot.com/
>
> Disclaimer: Please keep in mind that my own opinions are my own opinions
> and do not reflect on the IIUG, nor any other organization with which I am
> associated either explicitly, implicitly, or by inference. Neither do
> those opinions reflect those of other individuals affiliated with any
> entity with which I am affiliated nor those of the entities themselves.
>
> On Thu, Aug 28, 2014 at 7:46 AM, Marcus Haarmann <
> marcus.haarmann@midoco.de>
> wrote:
>
> > Hi Art,
> >
> > Sounds good, but we run into other problems:
> > 1) Maximum number of pages will be reached too soon depending on page
> size
> > (2k
> > ~ 2mio rows)
> > We want to store > 200mio rows
> > 2) Fragmentation cannot be used since this is growth edition. We would
> > have to
> > buy an Ultimate just
> > for the document stuff.
> >
> > So, SBlob not possible, Blob not possible, Blob in TBLSpace not possible.
> > Other ideas to store such an amount of binary data within the DB ?
> >
> > A more complex solution could be a cluster filesystem and just
> remembering
> > the
> > file path
> > in the db, which would obviously not create any problem ...
> >
> > I think we have to evaluate other products because of the limitations in
> > blob
> > storage.
> > Maybe we will investigate in document oriented databases like Mongo or
> > similar.
> > But the conversion to a non-SQL DB is complex and application will need a
> > significant
> > change.
> >
> > Marcus Haarmann
> >
> > ----- Ursprüngliche Mail -----
> >
> > Von: "Art Kagel" <art.kagel@gmail.com>
> > An: ids@iiug.org
> > Gesendet: Mittwoch, 27. August 2014 23:10:25
> > Betreff: Re: Performance problem during log backup [33606]
> >
> > Marcus:
> >
> > The fix is to move the BYTE and TEXT columns from a blobspace to IN TABLE
> > and place the tables into a dbspace with a pagesize that is appropriate
> to
> > the average blob sizes so little space is wasted. Then the logs will
> > contain the blob pages, you will be able to use hdr, and the logs will
> back
> > up faster because the backup will not have to go find the blob pages. You
> > will have to increase the logical log file sizes and the number of logs
> > because the blobs will now be logged, but that's a small price.
> >
> > Art
> >
> > Art S. Kagel, Principal Consultant
> > ASK Database Management
> >
> > Blog: http://informix-myview.blogspot.com/
> >
> > Disclaimer: Please keep in mind that my own opinions are my own opinions
> > and do not reflect on the IIUG, nor any other organization with which I
> am
> > associated either explicitly, implicitly, or by inference. Neither do
> > those opinions reflect those of other individuals affiliated with any
> > entity with which I am affiliated nor those of the entities themselves.
> >
> > On Wed, Aug 27, 2014 at 4:41 PM, Marcus Haarmann <
> > marcus.haarmann@midoco.de>
> > wrote:
> >
> > > Hi experts,
> > >
> > > we were forced to create a new instance for our document storage
> > > (originally
> > > set up as table with blob column,
> > > using a smart blob storage). The new instance is using byte columns
> (yes
> > I
> > > know we cannot use HDR ...).
> > >
> > > The old instance was stuck because of an undefined error on inserting
> new
> > > data
> > > and nobody was able to solve
> > > the situation.
> > > The error was related to the meta data, looking at the af file.
> > > Now, we converted everything to byte content, cause we do not really
> > need a
> > > smartblob functionality
> > > (other than HDR, we are using mirroring now to cope with hardware
> > errors).
> > > Took a while
> > > to copy the data from blob to byte.
> > > When the instance was copied, we had logging turned off, to copy the
> data
> > > with
> > > higher throughput.
> > > The data was copied with a JAVA program, which inserted the records
> with
> > 10
> > > parallel threads on the
> > > target machine (since no internal cast from blob to byte is available).
> > > Now, the machine has taken over the load and we have switched on
> logging.
> > >
> > > The new situation is that whenever a logfile gets full (like every 15
> > > minutes), the backup (ontape) starts
> > > writing the header of the logfile and then stops. About 20 minutes
> later
> > > the
> > > logfile will be written.
> > > Then the next logfile is already full and backup starts again.
> > > Normally, on our other instances, writing logfiles is a process running
> > for
> > > some seconds, not several minutes.
> > > Inserting new data in this state is veeery slow, can take minutes for
> one
> > > row.
> > >
> > > We have now turned off log files for the moment, and added a separate
> > > instance
> > > to collect the traffic
> > > because the instance is basically unusable in this state.
> > >
> > > Also, the smaller instance with comparable setup (same table, also byte
> > col
> > > for document content),
> > > tends to have the same behaviour (though we can write a logfile there
> in
> > > about
> > > 3-4 minutes at the moment).
> > >
> > > The hardware is not very fast, cause normally the documents (mostly
> > > compressed
> > > pdf) should be written once,
> > > never changed and are retrieved again by primary key on demand (number
> of
> > > written documents 100 compared to 10
> > > read documents).
> > > Initially we had the instance running with smart blobs, and memory
> usage
> > > was 500mb. Storage size with smart blobs was around 2.5TB.
> > > We ran into several problems:
> > > - Backup Level 1 blocked instance for 1.5h at night (fixed bug in
> > FC8W...).
> > > - finally SQL Error on insert of new rows, an unclear situation which
> IBM
> > > was
> > > not able to reproduce by now.
> > > We changed the application to be able to address two instances.
> > > Since there was no hint from IBM how to setup the database to not run
> > into
> > > the
> > > situation again,
> > > we decided to use "old" byte columns instead of blob columns.
> > >
> > > The setup now is as follows:
> > > IDS 11.70FC7GE on Linux, Double processor Opteron, FC 8GBit to SAN, Raw
> > > Devices on lvm partitions
> > > Three tables in the database, biggest one around 200mio rows. In total
> > > around
> > > 350mio records.
> > > Chunk layout: 1x rootdbs 100GB (for table), 6x blobdbs 500GB (for
> bytes).
> > > Allocated memory 5.5GB (SHM 256mb, add 64mb, buffers 80000x2k)
> > >
> > > What we found out so far:
> > > Written logfiles are significantly bigger than logsize (probably
> because
> > > the
> > > byte content is not in the logs
> > > and is read separately).
> > > While logfiles are backed up, we encounter a extreme read activity on
> the
> > > blob
> > > chunks (onstat -g iof).
> > > Ok, this is not a very common setup for a relational database, we are
> > > currently evaluating other databases
> > > which might do a better job on this amount of documents.
> > > I do not like that personally, since our administration is used to do
> > > basically everything with Informix.
> > > But the question is:
> > > What is generally wrong with the setup ?
> > > Why is logfile writing taking that long ?
> > > Why does the big instance block without any error message when
> inserting
> > > new
> > > rows ?
> > > What can we tune to make it work ?
> > >
> > > Maybe somebody can give us a hint. The intended setup for us would be a
> > HDR
> > > instance pair,
> > > using Smart Blobs, Level 0 Backup on sundays, Level 1 backup +
> Logbackup
> > > during the week.
> > > Since there are only a couple of tables involved, maybe an ER setup
> with
> > > bytes
> > > could be a solution,
> > > but we are sort of desperate because each try to store such an amount
> of
> > > documents in an Informix
> > > instance was not very successful so far.
> > >
> > > Thanks in advance for your input.
> > >
> > > Marcus Haarmann
> > >
> > >
> > >
> > >
> >
> >
> >
>
> *******************************************************************************
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> > >
> >
> > --001a11c34b18f4e3870501a2d8d6
> >
> >
> >
> >
>
> *******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> >
> >
>
> *******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --001a11c34b18e6a7de0501af6229
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...

--001a11c2d676c17dc30501af8ca0

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.