Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Informix > Re: Regarding I...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 20 of 23 Topic 14242 of 15119
Post > Topic >>

Re: Regarding INFORMIX Basic Details

by "Obnoxio The Clown" <obnoxio@[EMAIL PROTECTED] > Jul 2, 2008 at 08:24 AM

Sunil Raja said:
> Hi,
>
> Got some input from your previous mail.
>
> Please provide me a clarification regarding UPDATE STATISTICS
>
> The database contains only 3 tables, each table having less than 4
columns
> and no indexes.
>
> I ran the following command at my INFORMIX 9.4 using HP-UX 5.3 ( is the
> below command right ? ) :
>
> $ echo "update statistics" | dbaccess <database_name>
> Database selected.
>
> 1. What will the above command do ( what kind of update statistics will
it
> perform - low or high or medium ... Please explain ) ?

Low. Given you don't have indexes, that's all you need.

> 2. why this command is taking more time ( its more than 30 minutes, the
> process is not over ), for just a database with 3 tables and no indexes
?

How many rows in the tables? Bigger tables take more time.

> 3. If this command takes this much time, how can i check whether the
> statistics is working and how can i check whether the statistics of the
> table or index or database have been updated ?

Well, I really, REALLY think you need to read the manual. You've been sent
the links.

However, I can't see the point in doing update stats often unless the
table is very dynamic (i.e., grows or shrinks quickly).

> 4. will running update statistics several times, will affect the
database
> performance ?

Only run it when you need it.

> 5. will running update statistics several times, in different modes (
low,
> hhigh, medium ) for a table or index, will affec the database
performance
> ?

Not if you don't have indexes. If you don't have indexes, medium and high
are pointless.

> Please Guide me to proceed further.
>
> If you have time, please give me explanation, to update statistics, for
a
> database and table and index, each separately,
> and tell me why and where should we use low, high and medium.

Use low weekly as a guideline. Only use high and medium if you have
indexes, and then weekly is probably also a guideline. Medium and high
build data distributions, but they only get built if there are indexes.

> hy there are these types of confusing types and not a single command ( i
> like to know the purpose ) ?
> ( I saw the do***ents, but still couldnt understand ).
> How or where can i find whether the database or table or index has the
> statistics updated already or not ?

If you had indexes, then you could check dates in sysdistrib after doing
an update stats medium or high. But since you don't, you can't.

-- 
Bye now,
Obnoxio

"There were a myriad of problems which conspired to corrupt your reason
and rob you of your common sense. Fear got the best of you, and in your
panic you turned to the Labour Party. They promised you order, they
promised you peace, and all they demanded in return was your silent,
obedient consent."
 




 23 Posts in Topic:
Regarding INFORMIX Basic Details
raja <tssr2001@[EMAIL   2008-06-27 05:50:49 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-06-27 13:59:38 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-06-27 14:21:24 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-06-27 14:59:22 
Re: Regarding INFORMIX Basic Details
"Art Kagel" <  2008-06-27 10:49:09 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-06-27 16:03:59 
Re: Regarding INFORMIX Basic Details
"Kevin Cherkauer&quo  2008-06-27 11:12:05 
RE: Regarding INFORMIX Basic Details
"Campbell, John (GE   2008-06-27 14:58:34 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-06-30 22:26:30 
Re: Regarding INFORMIX Basic Details
Fernando Nunes <domuso  2008-06-30 22:53:14 
Re: Regarding INFORMIX Basic Details
DA Morgan <damorgan@[E  2008-06-30 16:54:27 
Re: Regarding INFORMIX Basic Details
Fernando Nunes <domuso  2008-07-01 01:16:45 
Re: Regarding INFORMIX Basic Details
DA Morgan <damorgan@[E  2008-07-01 13:02:16 
Re: Regarding INFORMIX Basic Details
Fernando Nunes <domuso  2008-07-01 22:02:19 
Re: Regarding INFORMIX Basic Details
DA Morgan <damorgan@[E  2008-06-30 16:51:01 
Re: Regarding INFORMIX Basic Details
Fernando Nunes <domuso  2008-07-01 01:31:38 
Re: Regarding INFORMIX Basic Details
DA Morgan <damorgan@[E  2008-07-01 13:04:26 
Re: Regarding INFORMIX Basic Details
Fernando Nunes <domuso  2008-07-01 22:20:35 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-07-01 21:48:43 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-07-02 08:24:29 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-07-02 18:25:01 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-07-03 08:01:50 
Re: Regarding INFORMIX Basic Details
"Obnoxio The Clown&q  2008-07-03 11:07:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:35:28 CST 2008.