Re: Re: Update Statistics - Questions
Posted in 2003
Topics: Performance & Tuning, Migration, Import/Export & Data Conversion, Versions, Editions & End-of-Life
Hi! I actually do a lot of work with Informix migration to IDS9.30 and analyses with performance. When I have to run "update statistics low drop distributions"? When I have to run "update statistics low" or " medium/high"? When run "update statistics" every night on our databases. When I run "update statistics low drop distributions" it tooks a very long time. Are there any possibilities to speed up this job ( I have read something with PDQ???? )? IDS 9.30FC3X3 Unix Tru64 5.1B Regards Wolfgang
You have to run update stats against the tables where indexes, or data has changed. Using PDQPRIORITY could be a good idea. Document http://www.iiug.org/iuc2002_pdf/d13.pdf discuss update stats and handles also PDQPRIORITY for stats. But don't use it for update stats for procedure because PDQPRIORITY will be stored in the procedure, so later when executing the procedures everyone has this PDQPRIORITY and everyone try to catch enough resources. And this can cause very much problems. I've the experience. (See also performance guide) On the other hand you could find on the IIUG site a program 'dostats' that do very well the work for you and there exists a script that allow to start multiple 'dostats' program in parallel. Very efficient on multi-processors. Yves -----Original Message----- From: nobody@ace.iiug.org [mailto:nobody@ace.iiug.org] Sent: donderdag 8 mei 2003 10:55 To: ids@iiug.org Subject: Re: Re: Update Statistics - Questions [1094] Hi! I actually do a lot of work with Informix migration to IDS9.30 and analyses with performance. When I have to run "update statistics low drop distributions"? When I have to run "update statistics low" or " medium/high"? When run "update statistics" every night on our databases. When I run "update statistics low drop distributions" it tooks a very long time. Are there any possibilities to speed up this job ( I have read something with PDQ???? )? IDS 9.30FC3X3 Unix Tru64 5.1B Regards Wolfgang ------_=_NextPart_001_01C315F8.030F1A60 Content-Type: text/html; charset="iso-8859-1" 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=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>RE: Re: Update Statistics - Questions [1094] </TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>You have to run update stats against the tables where = indexes, or data has changed.</FONT> </P> <P><FONT SIZE=3D2>Using PDQPRIORITY could be a good idea. </FONT> <BR><FONT SIZE=3D2>Document <A = HREF=3D"http://www.iiug.org/iuc2002_pdf/d13.pdf" = TARGET=3D"_blank">http://www.iiug.org/iuc2002_pdf/d13.pdf</A> discuss = update stats and handles also PDQPRIORITY for stats.</FONT> <BR><FONT SIZE=3D2>But don't use it for update stats for procedure = because PDQPRIORITY will be stored in the procedure, so later when = executing the procedures everyone has this PDQPRIORITY and everyone try = to catch enough resources. And this can cause very much problems. I've = the experience. (See also performance guide)</FONT></P> <P><FONT SIZE=3D2>On the other hand you could find on the IIUG site a = program 'dostats' that do very well the work for you and there exists a = script that allow to start multiple 'dostats' program in parallel. Very = efficient on multi-processors.</FONT></P> <P><FONT SIZE=3D2>Yves</FONT> </P> <P><FONT SIZE=3D2>-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: nobody@ace.iiug.org [<A = HREF=3D"mailto:nobody@ace.iiug.org">mailto:nobody@ace.iiug.org</A>]</FON= T> <BR><FONT SIZE=3D2>Sent: donderdag 8 mei 2003 10:55</FONT> <BR><FONT SIZE=3D2>To: ids@iiug.org</FONT> <BR><FONT SIZE=3D2>Subject: Re: Re: Update Statistics - Questions = [1094] </FONT> </P> <BR> <P><FONT SIZE=3D2>Hi!</FONT> </P> <P><FONT SIZE=3D2>I actually do a lot of work with Informix migration = to IDS9.30 and analyses with performance.</FONT> <BR><FONT SIZE=3D2>When I have to run "update statistics low drop = distributions"?</FONT> <BR><FONT SIZE=3D2>When I have to run "update statistics low" = or " medium/high"?</FONT> <BR><FONT SIZE=3D2>When run "update statistics" every night = on our databases.</FONT> </P> <P><FONT SIZE=3D2>When I run "update statistics low drop = distributions" it tooks a very long time.</FONT> <BR><FONT SIZE=3D2>Are there any possibilities to speed up this job ( I = have read something with PDQ???? )?</FONT> </P> <P><FONT SIZE=3D2>IDS 9.30FC3X3</FONT> <BR><FONT SIZE=3D2>Unix Tru64 5.1B</FONT> </P> <P><FONT SIZE=3D2>Regards</FONT> <BR><FONT SIZE=3D2>Wolfgang</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C315F8.030F1A60--
Related threads
- Conversion to differeent characters sets
- Problem in changing locale via dbexport/dbimport
- RE: openlink error "Unable to load locale categories"