====== pears.AWRWeekFind ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Description ===== Temporary table. Used during calculation of AWR qualifying periods. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | AWRJobMasterID | char(20) | NOT NULL | | | | DataGenerated | timestamp | NOT NULL | | | | ThisPeriod | integer | NOT NULL | | | | Qual | smallint | NULL | | | ===== Primary Key ===== * No primary key found in generated SQL. ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | AWRWeekFind_JobMasterGeneratedAllPer | Index | AWRJobMasterID, DataGenerated, ThisPeriod | | | AWRWeekFindbyDataGenerated | Index | DataGenerated | | ===== Triggers ===== * No triggers found. ===== Original SQL ===== -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."AWRWeekFind" -- Table comment: Temporary table. Used during calculation of AWR qualifying periods. -- Statement count: 4 CREATE GLOBAL TEMPORARY TABLE "pears"."AWRWeekFind" ( "AWRJobMasterID" char(20) NOT NULL ,"DataGenerated" timestamp NOT NULL ,"ThisPeriod" integer NOT NULL ,"Qual" smallint NULL ) ON COMMIT PRESERVE ROWS go COMMENT ON TABLE "pears"."AWRWeekFind" IS 'Temporary table. Used during calculation of AWR qualifying periods.' go CREATE INDEX "AWRWeekFind_JobMasterGeneratedAllPer" ON "pears"."AWRWeekFind" ( "AWRJobMasterID","DataGenerated","ThisPeriod" ) go CREATE INDEX "AWRWeekFindbyDataGenerated" ON "pears"."AWRWeekFind" ( "DataGenerated" ) go