Professional Documents
Culture Documents
/bin/sh
-- Create Database
\echo -n 'Creating "HISTDB" database...'
create database HISTDB;
\echo 'done.'
EOF
export NZ_ENCODING=utf8
nzsql HISTDB -q <<-EOF
-- Number of Schemas = 1
-- Number of Tables = 22
-- Number of Views = 8
-- Number of Sequences = 1
-- Number of Synonyms = 0
-- Number of UDFs = 0
-- Number of Stored Procedures = 0
-- Number of UDAs = 0
-- Number of libraries = 0
-- Schema Definitions
-- Table Definitions
-- Sequence Definitions
-- Load Statistics.
-- Template of stats output, fields are separated by TABs.
-- relname, relrefs, reltuples, relpages, attnum, attname, datatype, attdispersion,
staop, stanullfrac, stacommonfrac, starecent, stacommonval, staloval, stahival
--
\echo -n 'Updating Statistics'
UPDATE _t_class
SET
reltuples = -701205389,
relrefs = 0,
relpages = 2851465
WHERE
oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0588235 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
DELETE FROM _t_statistic
WHERE
staattnum = 2 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.28108e-07 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.28108e-07 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (9.6965e-05 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.84228e-08 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.015625 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0163934 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00194175 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00377358 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.92021e-07 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.97135e-07 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00340136 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.06868e-05 as float))
WHERE
attnum = 14 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0526316 as float))
WHERE
attnum = 15 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_column_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 11981,
relrefs = 0,
relpages = 53
WHERE
oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_failed_authentication_3 t 0 11981 53 2
NPSINSTANCEID INTEGER 0.111111 97 0 0 1 65
82 0 0 796006 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0.111111 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_failed_authentication_3 t 0 11981 53 3
LOGENTRYID BIGINT 8.34934e-05 412 0 0 1 3953
749554976 0 0 796006 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (8.34934e-05 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_failed_authentication_3 t 0 11981 53 4
CLIENTIP CHARACTER(16) 0.0147059 1058 0 0 0
10.0.139.120
127.0.0.1
0 0 796006 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0147059 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_failed_authentication_3 t 0 11981 53 5
SESSIONUSERNAME NATIONAL CHARACTER VARYING(128) 0.0212766 1022 0
0 0 AAASAP_BW_SERVICE
VESSP
20 188316 796006 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0212766 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (8.49618e-05 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_failed_authentication_3 t 0 11981 53 7
FAILURETYPE INTEGER 1 97 0 0 1 1
1 0 0 796006 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_failed_authentication_3 t 0 11981 53 8
FAILURE CHARACTER VARYING(512) 1 1066 0 0 0
Invalid username or password provided.
Invalid username or password provided.
40 479080 796006 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_failed_authentication_3 t 0 11981 53 9
TZOFFSET INTEGER 0.5 97 0 0 1 0
60 0 0 796006 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_failed_authentication_3'
and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 1306130085,
relrefs = 0,
relpages = 398542
WHERE
oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0555556 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
DELETE FROM _t_statistic
WHERE
staattnum = 2 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.39454e-08 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.83479e-08 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.142857 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.32783e-08 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_log_entry_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 1,
relrefs = 0,
relpages = 1
WHERE
oid = (
select objid from _t_object where objname = '\$hist_nps_3' and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_nps_3' and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_nps_3' and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_nps_3' and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_nps_3 t 0 1 1 4 SERVERIP
CHARACTER(16) 1 1058 0 0 85 10.5.26.133
10.5.26.133
0 0 796001 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_nps_3' and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_nps_3 t 0 1 1 5 NPSINSTANCEID
INTEGER 1 97 0 0 85 51
51 0 0 796001 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_nps_3' and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 150550947,
relrefs = 0,
relpages = 82695
WHERE
oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.53029e-08 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.56397e-08 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.84228e-08 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.62479e-08 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.56204e-08 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0060241 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00016787 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
DELETE FROM _t_statistic
WHERE
staattnum = 9 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.7617e-05 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0769231 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 150550947,
relrefs = 0,
relpages = 157350
WHERE
oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0588235 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.86239e-07 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.85579e-07 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (9.32974e-08 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.88125e-07 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (8.72078e-08 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.84825e-07 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.84687e-07 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.84657e-07 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.84963e-07 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 14 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.9234e-06 as float))
WHERE
attnum = 15 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (8.49618e-06 as float))
WHERE
attnum = 16 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.52883e-05 as float))
WHERE
attnum = 17 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00606061 as float))
WHERE
attnum = 18 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (7.47743e-07 as float))
WHERE
attnum = 19 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 20 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 21 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_plan_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 464990285,
relrefs = 0,
relpages = 198634
WHERE
oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0555556 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.88873e-08 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.80979e-08 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.84228e-08 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.77162e-08 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.11366e-06 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.166667 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 42199,
relrefs = 0,
relpages = 17
WHERE
oid = (
select objid from _t_object where objname = '\$hist_query_overflow_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_overflow_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_query_overflow_3 t 0 42199 17 2
NPSINSTANCEID INTEGER 0.0909091 97 0 0 1 65
82 0 0 796026 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0909091 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_overflow_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.35796e-05 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_overflow_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.35728e-05 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_overflow_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.76364e-05 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_overflow_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.030303 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_overflow_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.030303 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_overflow_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 464991671,
relrefs = 0,
relpages = 723596
WHERE
oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0555556 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.85437e-07 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.85003e-07 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.11886e-07 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0153846 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0153846 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.84889e-07 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (7.8347e-08 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.015625 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0163934 as float))
WHERE
attnum = 14 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00194932 as float))
WHERE
attnum = 15 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00364964 as float))
WHERE
attnum = 16 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 17 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.166667 as float))
WHERE
attnum = 18 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 19 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 20 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_query_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 0,
relrefs = 0,
relpages = 10
WHERE
oid = (
select objid from _t_object where objname = '\$hist_service_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_service_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_service_3 t 0 0 10 2 NPSINSTANCEID
INTEGER 0 97 0 0 16554
0 0 796050 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_service_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_service_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_service_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_service_3 t 0 0 10 5 SERVICETYPE
INTEGER 0 97 0 0 16554
0 0 796050 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_service_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_service_3 t 0 0 10 6 SERVICE
CHARACTER VARYING(512) 0 1066 0 0 16554
0 0 796050 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_service_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 37517041,
relrefs = 0,
relpages = 10302
WHERE
oid = (
select objid from _t_object where objname = '\$hist_session_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0555556 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.83688e-08 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.84228e-08 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.86976e-08 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_epilog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 37517213,
relrefs = 0,
relpages = 129342
WHERE
oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0555556 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.9985e-07 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.01524e-07 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.09167e-05 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.07292e-07 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0147059 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0147059 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0147059 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0147059 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0147059 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0147059 as float))
WHERE
attnum = 14 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.015625 as float))
WHERE
attnum = 15 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0163934 as float))
WHERE
attnum = 16 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00387597 as float))
WHERE
attnum = 17 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00213675 as float))
WHERE
attnum = 18 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.142857 as float))
WHERE
attnum = 19 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (7.60792e-06 as float))
WHERE
attnum = 20 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000476872 as float))
WHERE
attnum = 21 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 22 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 24 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 25 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 26 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.142857 as float))
WHERE
attnum = 27 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.142857 as float))
WHERE
attnum = 28 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.25 as float))
WHERE
attnum = 29 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 30 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
DELETE FROM _t_statistic
WHERE
staattnum = 30 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_session_prolog_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_state_change_3 t 0 0 10 1 NPSID
INTEGER 0 97 0 0 16554
0 0 796046 795996
\echo -n .
UPDATE _t_class
SET
reltuples = 0,
relrefs = 0,
relpages = 10
WHERE
oid = (
select objid from _t_object where objname = '\$hist_state_change_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_state_change_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_state_change_3 t 0 0 10 2
NPSINSTANCEID INTEGER 0 97 0 0 16554
0 0 796046 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_state_change_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_state_change_3 t 0 0 10 3 LOGENTRYID
BIGINT 0 412 0 0 16554
0 0 796046 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_state_change_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_state_change_3 t 0 0 10 4 CHANGETYPE
INTEGER 0 97 0 0 16554
0 0 796046 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_state_change_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.\$hist_state_change_3 t 0 0 10 5 CHANGE
CHARACTER VARYING(512) 0 1066 0 0 16554
0 0 796046 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_state_change_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 174399857,
relrefs = 0,
relpages = 117083
WHERE
oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0588235 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (7.18554e-08 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00735294 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.84228e-08 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.015625 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0163934 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00179533 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00374532 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.93411e-07 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.02388e-07 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0833333 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
DELETE FROM _t_statistic
WHERE
staattnum = 13 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_table_access_3' and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 1,
relrefs = 0,
relpages = 1
WHERE
oid = (
select objid from _t_object where objname = '\$hist_version' and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = '\$hist_version' and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.HC_SYSTEM_TIMEZONE f 0 0 10 1
TIMEZONE_DESCRIPTION CHARACTER VARYING(50) 0 1066 0 0 16554
0 0 799645 795996
\echo -n .
UPDATE _t_class
SET
reltuples = 0,
relrefs = 0,
relpages = 10
WHERE
oid = (
select objid from _t_object where objname = ^HC_SYSTEM_TIMEZONE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^HC_SYSTEM_TIMEZONE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^HC_SYSTEM_TIMEZONE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.HC_SYSTEM_TIMEZONE f 0 0 10 3 SERVERHOST
CHARACTER VARYING(256) 0 1066 0 0 16554
0 0 799645 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^HC_SYSTEM_TIMEZONE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 107327,
relrefs = 0,
relpages = 118
WHERE
oid = (
select objid from _t_object where objname = ^NZ_CATALOG_SIZE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000457247 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_CATALOG_SIZE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00414938 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_CATALOG_SIZE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00943396 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_CATALOG_SIZE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (7.5861e-05 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_CATALOG_SIZE^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 941123,
relrefs = 0,
relpages = 2822
WHERE
oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (3.2956e-06 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.142857 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.43188e-06 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.4307e-06 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0136986 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0263158 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000158253 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000786163 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.333333 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.25 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0666667 as float))
WHERE
attnum = 14 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 15 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 16 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0169492 as float))
WHERE
attnum = 17 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0107527 as float))
WHERE
attnum = 18 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.05 as float))
WHERE
attnum = 19 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.166667 as float))
WHERE
attnum = 20 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00105708 as float))
WHERE
attnum = 21 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.24603e-05 as float))
WHERE
attnum = 22 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 25 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00078125 as float))
WHERE
attnum = 26 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000105396 as float))
WHERE
attnum = 27 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (8.71536e-05 as float))
WHERE
attnum = 28 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000611995 as float))
WHERE
attnum = 29 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00096432 as float))
WHERE
attnum = 30 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.125 as float))
WHERE
attnum = 31 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.29951e-06 as float))
WHERE
attnum = 32 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.29684e-06 as float))
WHERE
attnum = 33 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (8.81446e-05 as float))
WHERE
attnum = 34 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00082713 as float))
WHERE
attnum = 35 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00152439 as float))
WHERE
attnum = 36 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00134048 as float))
WHERE
attnum = 37 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_GRA_HISTORY^ and objschemaoid
= (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.NZ_HARDWARE_FAILURES f 0 0 10 1 HF_TIMESTAMP
TIMESTAMP 0 1322 0 0 16554
0 0 799626 795996
\echo -n .
UPDATE _t_class
SET
reltuples = 0,
relrefs = 0,
relpages = 10
WHERE
oid = (
select objid from _t_object where objname = ^NZ_HARDWARE_FAILURES^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_HARDWARE_FAILURES^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.NZ_HARDWARE_FAILURES f 0 0 10 2 HF_HWTYPE
CHARACTER VARYING(20) 0 1066 0 0 16554
0 0 799626 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_HARDWARE_FAILURES^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.NZ_HARDWARE_FAILURES f 0 0 10 3 HF_HWID
INTEGER 0 97 0 0 16554
0 0 799626 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_HARDWARE_FAILURES^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- QHISTDBUSER.NZ_HARDWARE_FAILURES f 0 0 10 4 HF_SPAID
SMALLINT 0 95 0 0 16554
0 0 799626 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_HARDWARE_FAILURES^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
0 0 799626 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_HARDWARE_FAILURES^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
0 0 799626 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_HARDWARE_FAILURES^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 163321554,
relrefs = 0,
relpages = 81408820
WHERE
oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (3.36373e-07 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.77587e-07 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00182815 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
127.0.0.1
15 1887352083 799628 795996
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00140647 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00900901 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00806452 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.57848e-07 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.57967e-07 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.5629e-07 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.11054e-06 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.5937e-05 as float))
WHERE
attnum = 14 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (7.31582e-05 as float))
WHERE
attnum = 15 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00436681 as float))
WHERE
attnum = 16 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00294985 as float))
WHERE
attnum = 17 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.75648e-05 as float))
WHERE
attnum = 19 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 20 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.142857 as float))
WHERE
attnum = 21 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 22 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 23 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.69613e-05 as float))
WHERE
attnum = 24 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 25 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 26 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000626174 as float))
WHERE
attnum = 27 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000223065 as float))
WHERE
attnum = 28 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000532481 as float))
WHERE
attnum = 29 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000765697 as float))
WHERE
attnum = 30 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00116144 as float))
WHERE
attnum = 31 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000240038 as float))
WHERE
attnum = 32 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000554631 as float))
WHERE
attnum = 33 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000242131 as float))
WHERE
attnum = 34 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0012837 as float))
WHERE
attnum = 35 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 36 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 37 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.34041e-05 as float))
WHERE
attnum = 38 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000650618 as float))
WHERE
attnum = 39 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000486618 as float))
WHERE
attnum = 40 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00212314 as float))
WHERE
attnum = 41 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1.25501e-06 as float))
WHERE
attnum = 42 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.6132e-07 as float))
WHERE
attnum = 43 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 44 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00162866 as float))
WHERE
attnum = 45 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.28074e-06 as float))
WHERE
attnum = 46 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.71067e-07 as float))
WHERE
attnum = 47 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 48 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 49 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00067981 as float))
WHERE
attnum = 50 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000724638 as float))
WHERE
attnum = 51 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00170358 as float))
WHERE
attnum = 52 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0018797 as float))
WHERE
attnum = 53 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000758725 as float))
WHERE
attnum = 54 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000270051 as float))
WHERE
attnum = 55 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00170648 as float))
WHERE
attnum = 56 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00282486 as float))
WHERE
attnum = 57 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000354736 as float))
WHERE
attnum = 58 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (8.93575e-06 as float))
WHERE
attnum = 59 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (3.84128e-05 as float))
WHERE
attnum = 60 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.09424e-07 as float))
WHERE
attnum = 61 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.08561e-07 as float))
WHERE
attnum = 62 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.46492e-07 as float))
WHERE
attnum = 63 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 64 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 65 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000486618 as float))
WHERE
attnum = 66 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0031348 as float))
WHERE
attnum = 67 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000364299 as float))
WHERE
attnum = 70 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000799361 as float))
WHERE
attnum = 71 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0555556 as float))
WHERE
attnum = 72 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.02 as float))
WHERE
attnum = 73 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0019685 as float))
WHERE
attnum = 74 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (6.03616e-07 as float))
WHERE
attnum = 75 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 76 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (2.05618e-07 as float))
WHERE
attnum = 77 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_QUERY_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 3172975,
relrefs = 0,
relpages = 1937
WHERE
oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (4.31653e-07 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (4.31444e-07 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0144928 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.01 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0175439 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.030303 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00735294 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.010989 as float))
WHERE
attnum = 14 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 15 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00990099 as float))
WHERE
attnum = 16 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.015625 as float))
WHERE
attnum = 17 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0125 as float))
WHERE
attnum = 18 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_SYSUTIL_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_class
SET
reltuples = 7921999,
relrefs = 0,
relpages = 18253
WHERE
oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
;
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (9.71817e-05 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.0131579 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000454133 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (5.02993e-05 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000274952 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.000234137 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
UPDATE _t_attribute
SET
attdispersion = (CAST (0.00023359 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^NZ_TABLE_SPACE_HISTORY^ and
objschemaoid = (
select objid from _t_object where objclass = 4941 and objname =
^QHISTDBUSER^ and objdb = (
select _t_database.oid from _t_database where datname = ^HISTDB^
)
)
)
);
-- Environment Settings:
set SPU_COUNT = 120;
set HOST_CPU_SPEED = 20;
set SPU_AVAIL_MEMORY = 262144;
set HOST_AVAIL_MEMORY = 66080696;
set SPU_DISK_READ = 100;
set SPU_DISK_WRITE = 25;
set HOST_DISK_READ = 200;
set HOST_DISK_WRITE = 155;
set SPU_TO_HOST_SEND = 1382.6;
set SPU_TO_SPU_BROADCAST = 92;
set HOST_TO_SPU_BROADCAST = 92;
set SPU_TO_SPU_DISTRIBUTE = 2760;
set HOST_TO_SPU_DISTRIBUTE = 1565.21;
set SPU_FABRIC_JOIN_COST = 30;
set SPU_FABRIC1_JOIN_COST = 20;
set CANONICAL_QUALS_HINT = 0;
set FACTREL_MOVEMENT_COST = 1200;
set ENABLE_ABT = 0;
set ENABLE_SEQSCAN = 1;
set ENABLE_INDEXSCAN = 1;
set ENABLE_MVIEW_SCAN = 1;
set ENABLE_MVIEW_INDEXSCAN = 1;
set ENABLE_ALTBASERELSCAN = 1;
set ENABLE_CHUNKRELSCAN = 1;
set ENABLE_THINTABLE = 0;
set ENABLE_MVIEW = 1;
set ENABLE_TIDSCAN = 1;
set ENABLE_SORT = 1;
set ENABLE_NESTLOOP = 1;
set ENABLE_MERGEJOIN = 1;
set ENABLE_HASHJOIN = 1;
set ENABLE_FPGAJOIN = 0;
set ENABLE_LEFT_EXISTSJOIN = 1;
set ENABLE_RIGHT_EXISTSJOIN = 1;
set ENABLE_LEFT_OUTERJOIN = 1;
set ENABLE_RIGHT_OUTERJOIN = 1;
set ENABLE_PROJECTEXPR = 1;
set ENABLE_NDE_OPTIMIZER = 1;
set ENABLE_PUSHDOWN_RELS = 0;
set ENABLE_STAR_PLANNER = 1;
set NUM_STAR_PLANNER_RELS = 8;
set ENABLE_ADAPTIVE_PLANNER = 0;
set ENABLE_AGGKEY_DISTINCT_AGG = 1;
set ENABLE_GROUP_DISTINCT_AGG = 1;
set NUM_DISTINCTAGG_GROUPS = 1000;
set ENABLE_PRINT_PLAN_TEXT = 0;
set ENABLE_PRINT_PLAN_HTML = 0;
set ENABLE_UNIQUE_DISTINCTION = 0;
set ENABLE_INLIST_JOIN = 1;
set INLIST_THRESHOLD = 5;
set ENABLE_TRANSFORM_JOINEXPR = 1;
set ENABLE_TRANSFORM_OUTERJOIN = 1;
set ENABLE_ONCLAUSE_TRANSITIVITY = 1;
set ENABLE_FACTREL_PLANNER = 1;
set FACTREL_SIZE_THRESHOLD = 1e+08;
set FACTREL_LIST = '';
set ENABLE_AGGKEY2_DISTINCT_PLANNER = 1;
set ENABLE_TRANSFORM_SETOPS = 1;
set ENABLE_TRANSFORM_DISTINCT = 1;
set ENABLE_TRANSFORM_NULL_EQUALITY = 1;
set ENABLE_ORDERBY_OPTIMIZATION = 1;
set ENABLE_SNOWFLAKE_PLANNER = 1;
set ENABLE_EXPRESS_DISPERSION = 1;
set ENABLE_SEQUENCE_CACHESIZE = 0;
set ENABLE_RESTORE_MODE = 0;
set ENABLE_JIT_STATS = 1;
set FORCE_JIT_STATS = 0;
set ENABLE_JITSTATS_ON_MVIEWS = 1;
set JIT_STATS_MIN_ROWS = 5000000;
set STATS_COL_GRP_LIMIT = 10;
set EXPRESS_STATS_COL_GRP_LIMIT = 30;
set CTAS_AUTOSTATS_MIN_ROWS = 10000;
set DISPERSION_SPU_MAX_MEMPCT = 4;
set DISTQUALS_MAX_COST = 100;
set DISTQUALS_MAX_JOINS = 2;
set DISTQUALS_MAX_SUBQUERY_LEVELS = 2;
set ENABLE_2PHASE_PLANNER = 1;
set ENABLE_COMPACT_SUBQ_TLIST = 1;
set ENABLE_DISPERSION_ADJUSTMENT = 1;
set ENABLE_DSID_JOINS = 0;
set ENABLE_EXISTS_SELECTIVITY = 1;
set ENABLE_FILTER_NULLS = 1;
set ENABLE_FULLPARTITION_REWRITE = 1;
set ENABLE_JIT_DISPERSION = 1;
set ENABLE_JIT_JOIN = 1;
set ENABLE_SIMPLE_JIT_AVOIDANCE = 1;
set SIMPLE_JIT_AVOIDANCE_EXTRA_CHECK = 1;
set ENABLE_IGNORE_SUSPECT_JIT = 1;
set SUSPECT_JIT_MIN_PAGES = 160;
set ENABLE_ORDERBY_IN_INSERT = 1;
set ENABLE_ORLIST_MERGE = 1;
set ENABLE_PROJECT_JOINEXPR = 1;
set ENABLE_PUSHDOWN_EXISTS_TO_SUBQUERY = 1;
set ENABLE_PUSHDOWN_EXISTS_TO_SUBQUERY_LOG = 0;
set ENABLE_PUSHDOWN_RELS_GROUPBY = 1;
set ENABLE_RANDOM_TABLE_DISTRIBUTE = 1;
set ENABLE_SMALL_CTAS_AUTOSTATS = 1;
set ENABLE_SPECIALS_IN_GENSTATS = 0;
set JIT_SAMPLE_GROWTH_POWER = 0.4;
set JIT_DISP_MIN_ROWS = 5e+08;
set PREBROADCAST_LIMIT = 10;
set PREBROADCAST_ROWS_PER_UNIQUE_VAL = 3;
set SAMPLED_STATS_COL_GRP_LIMIT = 50;
set MAX_STATS_COL_GRP_LIMIT = 100;
set SAMPLED_STATS_MIN_ROWS = 0;
set SCHEDULE_JIT_IN_LONG_QUEUE = 0;
set SNOWFLAKE_GROUP_SIZE = 120;
set SNOWFLAKE_MIN_FACT_SIZE = 1000000;
set SNOWFLAKE_MIN_RATIO = 10;
set SPU_FABRIC2_JOIN_COST = 0;
set STATS_COLUMN_MEMORY_LIMIT = 2048;
set WINDOWAGG_METHOD = 0;
set FORCE_PG_EVAL = 0;
set ROWSETLIMIT_LEVEL = 1;
set CPU_OPERATOR_COST = 0.0005;
set CPU_TUPLE_COST = 5e-05;
set AVG_HASH_COLLISIONS = 4;
set HASH_COLLISION_SAMEAS_DISTRIBUTE = 1;
set HASH_COLLISION_SAMEAS_DISTRIBUTE_MIN_ROWS = 1e+06;
set TRANSFORM_EXPR_SUBLINK_TO_EXISTS_JOIN = 0;
set DBHJ_MEMORY_THRESHOLD = 1;
set ENABLE_ALT_DBHJ_COSTS = 0;
set ENABLE_2PHASE_COST_ADJ = 1;
set ENABLE_CAP_JOIN_NDV = 0;
set ENABLE_CAP_JOIN_SEL = 1;
set ENABLE_CALC_COMPLEX_COLWIDTH = 1;
set ENABLE_USE_SUBPLAN_AVGWIDTH = 1;
set FACTREL_TAG_METHOD = 0;
set FACTREL_LIST_SUBQUERY_SCOPE = 1;
set SWAP_SMALL_MB_THRESH = 10;
set FORCE_TRANSFORM_WINDOWAGG_LAST_VALUE = 0;
set ENABLE_OPT_DELUPD_RESTRICTS = 1;
set COST_JOIN_AS_MULTICOL_HASH = 0;
set DISABLE_GENC_GCC_OPTIMIZATION = 0;
set PROPAGATE_IMPLIED_ENUMERATED_OR_CLAUSES = 1;
set AVOID_COST_MAGNITUDE = 5;
set ENABLE_SP_ESCAPE_QUOTE_PROCESSING = 1;
set ENABLE_NOTIN_OPTIMIZATION = 1;
set ENABLE_NOTIN_TRANSFORMATION = 0;
set ENABLE_OUTERJOIN_EXISTS_PUSHDOWN = 1;
set ENABLE_UNION_STRING_NONSTRING_TYPES = 0;
set ENABLE_RANGECLAUSE_SEL_OPT = 1;
set ENABLE_PB_HASHJOINABLE_RESTRICT = 1;
set ENABLE_EXTEND_MAX_SEGMENT_SIZE = 1;
set EXTEND_MAX_SEGMENT_SIZE = 20971520;
set ENABLE_SETOP_DISPERSION_ADJ = 1;
set ENABLE_DATASLICE_FILTER = 0;
set VALIDATE_DATASLICE_FILTER = 0;
set ENABLE_USERTYPECAST_FOR_VIEW = 1;
set ENABLE_RANDOM_DIST_CHUNK = 1;
set ENABLE_HOST_CHUNK_DIST = 0;
set ENABLE_RST_PARALLEL_INSERT = 0;
set ENABLE_PULLUP_NOTEXISTS_SUBLINK = 1;
set ENABLE_USERNAME_DOMAIN = 0;
set FIXUP_VAR_INSIDE_VAR_CLAUSE = 1;
set ENABLE_DATETIME_MERIDIAN_DELIM = 0;
set MAX_TRANSFORM_SETOPS = 0;
EOF