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: Question about sysindexes.clust

Posted By: Art Kagel
Date: Wednesday, 19 November 2008, at 10:55 a.m.

In Response To: Re: Question about sysindexes.clust (Eric Rowell)

Eric,

Thinking on this some more in my sleep, I realized that even though there
are some 69MM rows in the qty_det table I can't imagine why this query even
takes 4+ hours to complete at its best. Several items to consider going
forward:

- I remembered that there are 5 index accesses on the same index on the

qty_head and that all five are doing sub-key scans between the OR'd value

pairs of set_no and version. Breaking that OR into a UNION of two queries

will instead allow separate equality searches on those two keys along with

the two higher level keys which lead the index. The engine is doing this

internally to satisfy the IN clause on dept_code - hence the 5 independent

accesses to the index - but it cannot do so to satisfy the OR clause on two

columns. You'll have to resolve that yourself (you might even test

deconstructing this query into 10 UNIONED SELECT statements to resolve the

OR and the IN clauses into ten equality searches. Only testing will tell

which strategy is best. I always say there are at least three ways to

formulate ANY SELECT query. In your case there are at least eleven.

- No data is returned from qty_head so if that index also contained the

serial_key column access to this table would not require reading any data

pages and could be performed key-only rather than key-first. This simple

change would remove at least half and likely >90% of the IOs on this table.

Also, the added column may allow you to mark an otherwise duplicate index as

unique which generates a more efficient structure on disk. So, append

serial_key to this important join index.

- I see SERIAL FRAGMENT ALL for all three tables. Are the tables

fragmented? If not, perhaps they should be, certainly the two larger

tables. If they are, perhaps you should revisit the fragmentation scheme to

permit fragment elimination. Either way this query may benefit, as the

Clown suggested, from running under positive PDQPRIORITY to at least enable

fragment elimination and perhaps parallel searching of multiple fragments.

- What are the underlying disk structures that these IOs are so slow? In

4.5 hours you could read the entire qty_det table at a rate of only 99 IOs

per second! Any decent disk worth its salt should be able to sustain close

to 10 times that rate and that's not even considering the multiplier of any

multi-spindle RAID implementation under the hood. Something is NOT RIGHT

here.

- What are the underlying disk structures (single spindle, RAID5,

RAID1, RAID10, ???)

- Is there perhaps a problem with the writeback cache on the disk

array or SAN? A disabled cache can slow down a fast array by an order of

magnitude.

- Are you using RAW or COOKED chunks?

- Is the engine using KAIO for the chunk IO?

- Platform and OS and IDS versions?

Art

On Wed, Nov 19, 2008 at 9:28 AM, Eric Rowell <erowell@gmail.com> wrote:

> Art,
>
> Thank you for your analysis we came up with the same thing but backed
> into this via watching the page reads on the table during the applications
> run. We happened to find this as a production issue when trying to
> normalize this table in development so that the large highly repeated
> varchar coud be moved to another table.
>
> What was odd to me was that the Buffer Turn Over, Buffer Wait, and Read
> Ahead Utilization all doesn't appear to change for the worse, just the
> runtime and page reads (note we don't report on total page reads until now
> since day to day useage is different).
>
> I was embarrased at first about not monitoring this value but the more
> people tell me that they don't watch this value the more I understand it is
> not do to my own lack of trying. It appears that most people don't look at
> the sysindexes.clust value since like any go DB/SA data is moved around and
> reloaded for other reasons as a course of normal business. We too haven't
> run into this because we normally migration to new hardware every 3 years
> and about every 1 1/2 year find a reason to reload this table. At the end
> of last year we should have looked at reloading some tables since the
> migration to new hardware wasn't required. This would be way we haven't
> seen this before.
>
> It's now time for us to come up with some matrix to monitor this over
> time to see when this value indicates the need to reload or cluster a table
> just incase for the future. But it looks like a table by table a different
> value wouldn't indicate this need.
>
> Thanks again for all that replied,
>
> Eric B. Rowell
>

> <Previous entries SNIPPED>
>

--
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)

Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Oninit, the IIUG, nor any other organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any entity
with which I am affiliated nor those of the entities themselves.

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.