Update Stats not updating for all the Tables

Ask a Question related to Informix, Design and Development.

  1. #1

    Default Update Stats not updating for all the Tables

    Hi All

    We are running Update statistics high for the whole database every
    night as a cron job, as our database is small of 1.5 GB. When i run
    the following query
    next day

    Select distinct tabname,b.constructed,b.mode
    from systables a,sysdistrib b
    where a.tabid = b.tabid
    order by 1

    for the database, i found few tables especially the tables which has
    more inserts everyday , one tables has 50000 rows and another had
    10000 records, have been updated 3 months ago , but for rest of the
    tables it shows the current date.

    Why only few tables not updating on the production box but the same
    cron runs and updates the test box????????
    Any suggestions would be highly appreciated.

    Thanks in Advance
    Kalpana Pai
    KalpanaPai Guest

  2. Similar Questions and Discussions

    1. Update the Shockwave Stats page!!
      Here is the deal; the Shockwave player stats page has not been updated since August of 2003. I have sent numerous emails and even told a Macromedia...
    2. App Sessions table - update stats, -244, etc
      Hi, I have a table on an informix database (IDS 2000 Version 9.21.HC2) that stores login sessions info for a website. The users session...
    3. Updating via Form to linked tables
      I have a set of linked tables (To Oracle DB) that I need to update via a form. Up to now, I have had pretty straightforward forms that basically...
    4. How to update table stats via JDBC?
      Most people would write a UDF in C, and that UDF would call the sqlustat() API. -- Larry Menard IBM Workstation Database (DB2) Performance Team...
    5. Much needed help with updating tables
      I have two tables. One is a static table where I have one field that is used as a combo box field in a form. I am trying to update the second...
  3. #2

    Default RE: Update Stats not updating for all the Tables


    If you run "update statistics high" and the constructed date for statistics
    is not current, thus suggests that the table(s) concerned were open and
    update statistics could not be run on them. Under some circumstances, the
    statistics for some tables being updated do not get their statistics
    updated.

    If this is the case for many weeks then I would change the time of the
    update stats - unless some process has this table (almost) permanently
    locked.

    MW
    > -----Original Message-----
    > From: [email]owner-informix-list@iiug.org[/email]
    > [mailto:owner-informix-list@iiug.org]On Behalf Of KalpanaPai
    > Sent: Monday, 8 September 2003 11:06 a.m.
    > To: [email]informix-list@iiug.org[/email]
    > Subject: Update Stats not updating for all the Tables
    >
    >
    > Hi All
    >
    > We are running Update statistics high for the whole database every
    > night as a cron job, as our database is small of 1.5 GB. When i run
    > the following query
    > next day
    >
    > Select distinct tabname,b.constructed,b.mode
    > from systables a,sysdistrib b
    > where a.tabid = b.tabid
    > order by 1
    >
    > for the database, i found few tables especially the tables which has
    > more inserts everyday , one tables has 50000 rows and another had
    > 10000 records, have been updated 3 months ago , but for rest of the
    > tables it shows the current date.
    >
    > Why only few tables not updating on the production box but the same
    > cron runs and updates the test box????????
    > Any suggestions would be highly appreciated.
    >
    > Thanks in Advance
    > Kalpana Pai
    sending to informix-list
    Murray Wood \(IList\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139