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: Loading blobs

Posted By: Andrew Grantham
Date: Thursday, 21 February 2013, at 9:53 a.m.

In Response To: Re: Loading blobs (Art Kagel)

Art,

Okay thanks for your help.

Regards

Andy G

> To: ids@iiug.org
> From: art.kagel@gmail.com
> Subject: Re: Loading blobs [29555]
> Date: Thu, 21 Feb 2013 09:46:52 -0500
>
> Yes, the direct answer is yes, you can certainly use external tables for
> the export and import (best to use the same tool on both ends because of
> differences in how the blobs are handled). I've never used HPLoader for
> blobs though, but it should be doable. Again, you may only be able to load
> the data with blobs using HPL if they were exported using HPL.
>
> For external tables, you have to give a BLOBDIR to hold the blobs
> themselves which are exported separately from the non-blob columns:
>
> create external table table_with_blobs_ext sameas table_with_blobs
> using (datafiles("disk:/file/path/for/non_blob/data.unl,
> blobdir:/path/to/directory/for/blobs"), format delimited, delimiter "|" );
>
> Then you would:
>
> insert into table_with_blobs_ext
> select * from table_with_blobs;
>
> insert into fragmented_table_with_blobs
> select * from table_with_blobs_ext;
>
> I would create the fragmented table in RAW mode, load it, then convert it
> to STANDARD mode and take an archive. That will make a big difference in
> load speed.
>
> Art
>
> Art S. Kagel
> Advanced DataTools (www.advancedatatools.com)
> Blog: http://informix-myview.blogspot.com/
>
> Disclaimer: Please keep in mind that my own opinions are my own opinions
> and do not reflect on my employer, Advanced DataTools, 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, Feb 21, 2013 at 9:36 AM, Andrew Grantham <agrantha@hotmail.com>wrote:
>
> > Art,
> >
> > I appreciate the dbcopy command is good but I really would like to know if
> > the
> > HPL or even external tables could be used to unload and load BLOBs in a
> > timely
> > fashion. For example by using one of the Informix internal formats,
> > altering
> > the plconfig file etc etc.
> >
> > Thanks
> >
> > > To: ids@iiug.org
> > > From: art.kagel@gmail.com
> > > Subject: Re: Loading blobs [29553]
> > > Date: Thu, 21 Feb 2013 09:05:31 -0500
> > >
> > > OK, two suggestions:
> > >
> > > 1. If you can take the downtime, use ALTER FRAGMENT .... INIT FRAGENT BY
> > >
> > > .... to move the table to a fragmented storage scheme. This is pretty
> > fast.
> > >
> > > 2. If you cannot take the downtime for #1, then use multiple copies of
> > >
> > > dbcopy. You can use different SELECT statements in each filtering on the
> > >
> > > columns used in the fragmentation expression (assuming you are not
> > >
> > > fragmenting BY ROUND ROBIN) so that each one is copying the data for one
> > >
> > > fragment. Or if you have lots of CPU resources available, you can use an
> > >
> > > additional indexed key to have multiple dbcopy's loading to each
> > fragment.
> > >
> > > The easiest way to determine what ranges to use for the secondary key is
> > to
> > >
> > > run dbschema ... -hd <table> and look at the distribution of that key.
> > You
> > >
> > > will avoid all of the time needed to write out the flat files and to read
> > >
> > > them back in. Nothing will be faster than this! Did this at a client
> > >
> > > recently and a table that took over 23 hours in testing using unload/load
> > >
> > > was copied in under 4 hours with 20 copies of dbcopy running. This was
> > >
> > > between two servers on different systems, so the readers weren't
> > competing
> > >
> > > with writers for resources. Your results in a single server won't be
> > quite
> > >
> > > so dramatic unless you have 32 cores or so ;-). Also, copying BLOBs
> > dbcopy
> > >
> > > ends up moving blob data one row at a time while for tables without blobs
> > >
> > > it uses array fetching to read hundreds of rows in a single fetch and
> > >
> > > INSERT CURSORS to insert blocks of hundreds of rows at once. So, not so
> > >
> > > dramatic as my example, but as I said, faster than anything else out
> > there.
> > >
> > > Art
> > > Art S. Kagel
> > > Advanced DataTools (www.advancedatatools.com)
> > > Blog: http://informix-myview.blogspot.com/
> > >
> > > Disclaimer: Please keep in mind that my own opinions are my own opinions
> > > and do not reflect on my employer, Advanced DataTools, 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, Feb 21, 2013 at 8:48 AM, Andrew Grantham
> > <agrantha@hotmail.com>wrote:
> > >
> > > > Art,
> > > >
> > > > Thanks for your email. I have a table which has reached 27Gb in one
> > dbspace
> > > > and I would like to introduce fragmentation to it. At the moment I am
> > > > simplying unloading the data using the HPL and then reloading it into a
> > > > shadow
> > > > copy of the original table using HPL or external tables. Once the work
> > is
> > > > done
> > > > the objects are created and the tables switched around. Nice and
> > simple. I
> > > > am
> > > > trying to determine the fastest way of doing the work. Using the
> > > > no-conversion
> > > > utility in HPL is very quick to unload but I cannot use it to load
> > back up
> > > > as
> > > > the table contains blobs unless you can tell me differently?
> > > >
> > > > > To: ids@iiug.org
> > > > > From: art.kagel@gmail.com
> > > > > Subject: Re: Loading blobs [29550]
> > > > > Date: Thu, 21 Feb 2013 08:38:00 -0500
> > > > >
> > > > > Question: What's the full mission you need to accomplish? For
> > example,
> > > > are
> > > > > you reloading blobs because these were exported then deleted and now
> > you
> > > > > need them back? Or is it that you exported the records to move them
> > from
> > > > > one database or server to another database or server and the reload
> > is
> > > > too
> > > > > slow? How were they exported (using what tools)?
> > > > >
> > > > > If what you REALLY need to do is to move the blobs from one server to
> > > > > another, consider copying the data directly using my dbcopy utility.
> > It
> > > > is
> > > > > very fast (almost as fast as the HPLoader or external files in
> > general)
> > > > and
> > > > > you save the time and overhead of writing the data to disk as flat
> > files
> > > > > and reading it back. You can also divide the data in the table using
> > > > > filters into multiple subsets and run many copies of dbcopy copying
> > all
> > > > of
> > > > > those subsets in parallel which will make the copy MUCH faster than
> > > > either
> > > > > HPLoader or external tables.
> > > > >
> > > > > Dbcopy is included in the package utils2_ak which you can download
> > from
> > > > the
> > > > > IIUG Software Repository (www.iiug.org/software).
> > > > >
> > > > > Art S. Kagel
> > > > > Advanced DataTools (www.advancedatatools.com)
> > > > > Blog: http://informix-myview.blogspot.com/
> > > > >
> > > > > Disclaimer: Please keep in mind that my own opinions are my own
> > opinions
> > > > > and do not reflect on my employer, Advanced DataTools, 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, Feb 21, 2013 at 5:06 AM, Andrew Grantham
> > > > <agrantha@hotmail.com>wrote:
> > > > >
> > > > > > All,
> > > > > >
> > > > > > Informix 11.70.FC2 on Sun Solaris.
> > > > > >
> > > > > > I would like to reload a table that contains BLOBs using something
> > like
> > > > the
> > > > > > High Performance Loader or EXTERNAL tables but nothing I have
> > managed
> > > > to
> > > > > > configure so far works with any amount of speed. I believe I cannot
> > use
> > > > > > no-conversion format because loading BLOBs has restrictions.
> > Anyway I
> > > > am
> > > > > > seeking your experiences on loading BLOBs and how to make it as
> > quick
> > > > as
> > > > > > possible. All thoughts and advice welcome.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
> *******************************************************************************
> > > > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > > > >
> > > > > >
> > > > >
> > > > > --e89a8f22beb990a30b04d63c2e1f
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
> *******************************************************************************
> > > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> *******************************************************************************
> > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > >
> > > >
> > >
> > > --485b390f7b200a530204d63c91af
> > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> >
> >
> >
> >
> *******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --e89a8f22beb9b824c804d63d242a
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>

Messages In This Thread

  • Loading blobs
    Andrew Grantham -- Thursday, 21 February 2013, at 5:06 a.m.
    • Re: Loading blobs
      Art Kagel -- Thursday, 21 February 2013, at 8:38 a.m.
      • RE: Loading blobs
        Andrew Grantham -- Thursday, 21 February 2013, at 8:48 a.m.
        • Re: Loading blobs
          Art Kagel -- Thursday, 21 February 2013, at 9:05 a.m.
          • RE: Loading blobs
            Andrew Grantham -- Thursday, 21 February 2013, at 9:36 a.m.
            • Re: Loading blobs
              Art Kagel -- Thursday, 21 February 2013, at 9:46 a.m.
              • RE: Loading blobs
                Andrew Grantham -- Thursday, 21 February 2013, at 9:53 a.m.

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

IDS Forum is maintained by Administrator with WebBBS 5.12.