RE: Measuring fragmentation / performance
Posted in 1999
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------ =_NextPart_001_01BEA5EA.B9C35F50
Content-Type: text/plain
I bet it is NOT freeware. Check out www.informix.com.
Uday
-----Original Message-----
From: RVASUDEV [mailto:RVASUDEV@inf.com]
Sent: Saturday, May 22, 1999 3:34 AM
To: 'Obnoxio The Clown'; informix-list@iiug.org
Subject: RE: Measuring fragmentation / performance
Hi,
Is Informix-Spy (mentioned below) freeware / payware ?
A URL for it ?
TIA
Vasudev
> -----Original Message-----
> From: Obnoxio The Clown [SMTP:obnoxio@hotmail.com]
> Sent: Thursday, May 20, 1999 3:01 PM
> To: Teemu.Nieminen@notieto.com; informix-list@iiug.org
> Subject: Re: Measuring fragmentation / performance
>
> From: "Teemu Nieminen" <Teemu.Nieminen@notieto.com>
> >
> >Is there any other easy way to measure Informix db (7.22 or newer)
> >fragmentation than the following sql-statement:
> >
> >SELECT DBSNAME, TABNAME, COUNT(*) EXTENTS,> >SUM(SIZE) PAGES FROM SYSEXTENTS
> >WHERE TABNAME NOT LIKE 'sys%'
> >AND DBSNAME NOT LIKE 'sys%'
> >AND TABNAME <> 'TBLSpace'
> >GROUP BY 1,2
> >ORDER BY 3,1,2; (If this gives more than 8 extents per table, then the db
>
> >is
> >fragmented, this is what I have been told.)
>
> You may have been told wrong. It's not such a problem any more. Although
> you
> should try to minimise extents, you can get away with a lot more than 8
> easily.
>
> >Another thing: Is there any way to measure the times that application
> >spends
> >fetching information from Informix db, or is there a possibility to make
> >some kind of reports about the throughoutput of the db?
>
> Hm. I hesitate to suggest this, because in an OLTP environment, it *will*
> cause a performance hit, but: try Informix-Spy. It will measure and log
> query performance (costs and times), which can be very handy.
>
> But don't run it for too long, your users will kill you. We run it in a DW
>
> environment where having a second or two added to elapsed query time is
> nothing.
>
> HTH.
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
------ =_NextPart_001_01BEA5EA.B9C35F50
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.0.1460.9">
<TITLE>RE: Measuring fragmentation / performance</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>I bet it is NOT freeware. Check out =
www.informix.com.</FONT>
</P>
<P><FONT SIZE=3D2>Uday</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: RVASUDEV [<A HREF=3D"mailto:RVASUDEV@inf.com" =
TARGET=3D"_blank">mailto:RVASUDEV@inf.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Saturday, May 22, 1999 3:34 AM</FONT>
<BR><FONT SIZE=3D2>To: 'Obnoxio The Clown'; =
informix-list@iiug.org</FONT>
<BR><FONT SIZE=3D2>Subject: RE: Measuring fragmentation / =
performance</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hi,</FONT>
</P>
<P><FONT SIZE=3D2>Is Informix-Spy (mentioned below) freeware / payware =
?</FONT>
<BR><FONT SIZE=3D2>A URL for it ?</FONT>
</P>
<P><FONT SIZE=3D2>TIA</FONT>
<BR><FONT SIZE=3D2>Vasudev</FONT>
</P>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From:Obnoxio The Clown =
[SMTP:obnoxio@hotmail.com]</FONT>
<BR><FONT SIZE=3D2>> Sent:Thursday, May 20, 1999 3:01 PM</FONT>
<BR><FONT SIZE=3D2>> To: Teemu.Nieminen@notieto.com; =
informix-list@iiug.org</FONT>
<BR><FONT SIZE=3D2>> Subject: Re: =
Measuring fragmentation / performance</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> From: "Teemu Nieminen" =
<Teemu.Nieminen@notieto.com></FONT>
<BR><FONT SIZE=3D2>> ></FONT>
<BR><FONT SIZE=3D2>> >Is there any other easy way to measure =
Informix db (7.22 or newer)</FONT>
<BR><FONT SIZE=3D2>> >fragmentation than the following =
sql-statement:</FONT>
<BR><FONT SIZE=3D2>> ></FONT>
<BR><FONT SIZE=3D2>> >SELECT DBSNAME, TABNAME, COUNT(*) =
EXTENTS,</FONT>
<BR><FONT SIZE=3D2>> >SUM(SIZE) PAGES FROM SYSEXTENTS</FONT>
<BR><FONT SIZE=3D2>> >WHERE TABNAME NOT LIKE 'sys%'</FONT>
<BR><FONT SIZE=3D2>> >AND DBSNAME NOT LIKE 'sys%'</FONT>
<BR><FONT SIZE=3D2>> >AND TABNAME <> 'TBLSpace'</FONT>
<BR><FONT SIZE=3D2>> >GROUP BY 1,2</FONT>
<BR><FONT SIZE=3D2>> >ORDER BY 3,1,2; (If this gives more than 8 =
extents per table, then the db</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> >is</FONT>
<BR><FONT SIZE=3D2>> >fragmented, this is what I have been =
told.)</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> You may have been told wrong. It's not such a =
problem any more. Although</FONT>
<BR><FONT SIZE=3D2>> you </FONT>
<BR><FONT SIZE=3D2>> should try to minimise extents, you can get =
away with a lot more than 8 </FONT>
<BR><FONT SIZE=3D2>> easily.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> >Another thing: Is there any way to measure =
the times that application </FONT>
<BR><FONT SIZE=3D2>> >spends</FONT>
<BR><FONT SIZE=3D2>> >fetching information from Informix db, or =
is there a possibility to make</FONT>
<BR><FONT SIZE=3D2>> >some kind of reports about the =
throughoutput of the db?</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Hm. I hesitate to suggest this, because in an =
OLTP environment, it *will* </FONT>
<BR><FONT SIZE=3D2>> cause a performance hit, but: try Informix-Spy. =
It will measure and log </FONT>
<BR><FONT SIZE=3D2>> query performance (costs and times), which can =
be very handy.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> But don't run it for too long, your users will =
kill you. We run it in a DW</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> environment where having a second or two added =
to elapsed query time is </FONT>
<BR><FONT SIZE=3D2>> nothing.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> HTH.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> =
______________________________________________________</FONT>
<BR><FONT SIZE=3D2>> Get Your Private, Free Email at <A =
HREF=3D"http://www.hotmail.com" TARGET=3D"_blank">http://www.hotmail.com=
</A></FONT>
</P>
</BODY>
</HTML>
------ =_NextPart_001_01BEA5EA.B9C35F50--