|
Archives of the TeradataForumMessage Posted: Fri, 07 Apr 2006 @ 20:13:44 GMT
Experts, Is it a good practice to define and Id Column GENERATED ALWAYS .. NO CYCLE and UPI(ID Column) on a table ? Will there be any performance issues for Id with UPI vs Id with NUPI for huge volume of data ? I believe there is performance impact but I want to listen from you too. Eg: CREATE SET TABLE REFERRER_PAGE_DIM ,NO FALLBACK , NO BEFORE JOURNAL, NO AFTER JOURNAL, CHECKSUM = DEFAULT ( REFERRER_ID INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1 INCREMENT BY 1 MINVALUE -2147483647 MAXVALUE 2147483647 NO CYCLE), REF_DOMAIN VARCHAR(65) CHARACTER SET LATIN NOT CASESPECIFIC, FULL_REF_PAGE_NAME VARCHAR(90) CHARACTER SET LATIN NOT CASESPECIFIC, REF_URL VARCHAR(3000) CHARACTER SET LATIN NOT CASESPECIFIC) UNIQUE PRIMARY INDEX ( REFERRER_ID ); Thanks! Naveen.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||