Unix Technical Forum

RE: An Update Statistics funny

This is a discussion on RE: An Update Statistics funny within the Informix forums, part of the Database Server Software category; --> This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C43F67.14129500 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit No Dirk, Most of the ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 10:28 PM
malcolm weallans
 
Posts: n/a
Default RE: An Update Statistics funny


This is a multi-part message in MIME format.

------=_NextPart_000_0010_01C43F67.14129500
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

No Dirk,
Most of the tables had no rows when update statistics was run. It makes
for a fast update statistics. And anyway, it seems that with UPDATE
STATISTICS MEDIUM we are getting one distribution for every column in
every table that has more than 1 row in it. It seems very fast compared
with the UPDATE STATISTICS scripts produced by ISA.

regards

Malcolm

-----Original Message-----
From: owner-informix-list@iiug.org [mailtowner-informix-list@iiug.org]
On Behalf Of Dirk Moolman
Sent: 21 May 2004 08:46
To: malcolm weallans; informix-list@iiug.org
Subject: RE: An Update Statistics funny



I would assume that only most of your tables do not have indexes on
them, which sounds a bit strange .







-----Original Message-----
From: owner-informix-list@iiug.org [mailtowner-informix-list@iiug.org]
On Behalf Of malcolm weallans
Sent: Thursday, May 20, 2004 5:42 PM
To: informix-list@iiug.org
Subject: An Update Statistics funny



Every day this company runs UPDATE STATISTICS MEDIUM on the whole
database. There are about 1700 tables in the database. But when I
check in sysdistrib I can only find records for about 230 tables.



IDS 9.30

SUSE Linux SLES 8



Oh, and you've guessed it - they are cmplaining about performance.



regards



Malcolm


_____

<< ella for Spam Control >> has removed 997 Spam messages and set aside
519 Newsletters for me
You can use it too - and it's FREE! www.ellaforspam.com


------=_NextPart_000_0010_01C43F67.14129500
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE>@font-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV><SPAN class=3D603080518-21052004><FONT face=3DArial color=3D#0000ff =
size=3D2>No=20
Dirk,</FONT></SPAN></DIV>
<DIV><SPAN class=3D603080518-21052004><FONT face=3DArial color=3D#0000ff =
size=3D2>Most=20
of the tables had no rows when update statistics was run.&nbsp; It makes =
for a=20
fast update statistics.&nbsp; And anyway, it seems that with UPDATE =
STATISTICS=20
MEDIUM we are getting one distribution for every column in every table =
that has=20
more than 1 row in it.&nbsp; It seems very fast compared with the UPDATE =

STATISTICS scripts produced by ISA.</FONT></SPAN></DIV>
<DIV><SPAN class=3D603080518-21052004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D603080518-21052004><FONT face=3DArial color=3D#0000ff =

size=3D2>regards</FONT></SPAN></DIV>
<DIV><SPAN class=3D603080518-21052004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D603080518-21052004><FONT face=3DArial color=3D#0000ff =

size=3D2>Malcolm</FONT></SPAN></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
owner-informix-list@iiug.org [mailtowner-informix-list@iiug.org] =
<B>On=20
Behalf Of </B>Dirk Moolman<BR><B>Sent:</B> 21 May 2004 =
08:46<BR><B>To:</B>=20
malcolm weallans; informix-list@iiug.org<BR><B>Subject:</B> RE: An =
Update=20
Statistics funny<BR><BR></FONT></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I would =
assume that=20
only most of your tables do not have indexes on them, which sounds a =
bit=20
strange …</SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DTahoma =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original=20
Message-----<BR><B><SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B>=20
owner-informix-list@iiug.org [mailtowner-informix-list@iiug.org] =
<B><SPAN=20
style=3D"FONT-WEIGHT: bold">On Behalf Of </SPAN></B>malcolm =
weallans<BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, May 20, 2004 =
5:42=20
PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B>=20
informix-list@iiug.org<BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> An Update Statistics=20
funny</SPAN></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: 12pt">Every day this company runs =
UPDATE=20
STATISTICS MEDIUM on the whole database.&nbsp; There are about 1700 =
tables in=20
the database.&nbsp; But when I check in sysdistrib I can only find =
records for=20
about 230 tables.</SPAN></FONT></P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: 12pt">IDS =
9.30</SPAN></FONT></P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: 12pt">SUSE Linux SLES =
8</SPAN></FONT></P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: 12pt">Oh, and you've guessed it - =
they are=20
cmplaining about performance.</SPAN></FONT></P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt">regards</SPAN></FONT></P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt">Malcolm</SPAN></FONT></P></DIV></DIV><BR><!--Ella123-->
<HR>

<TABLE borderColor=3D#999999 cellSpacing=3D0 cellPadding=3D8 =
bgColor=3D#ffff99=20
border=3D1>
<TBODY>
<TR>
<TD align=3Dmiddle><FONT face=3DTahoma,Arial,San-Serif =
color=3D#999999=20
size=3D2>&lt;&lt;</FONT><FONT face=3DTrebuchet,Arial,San-Serif =
color=3D#006600=20
size=3D2><B> ella for Spam Control </FONT></B><FONT=20
face=3DTahoma,Arial,San-Serif color=3D#999999 size=3D2>&gt;&gt; =
</FONT><FONT=20
face=3DTrebuchet,Arial,San-Serif color=3D#333333 size=3D2>has =
removed=20
<B>997</B> Spam messages and set aside <B>519</B> Newsletters =
for=20
me<BR>You can use it too - and it's =
FREE!</FONT>&nbsp;&nbsp;<FONT=20
face=3DTahoma,Arial,San-Serif color=3D#333333 size=3D2><A=20
=
href=3D"http://www.ellaforspam.com">www.ellaforspam.com</A></FONT></TD></=
TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0010_01C43F67.14129500--

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:06 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com