Statistics Creation on Tables and Stat Subsets to Enable Faster Join Queries...
Hi, The best way to check the required stats is to use help stats diagnostics. You can use it as follows: DIAGNOSTIC HELPSTATS ON FOR SESSION; Explian Your_QueryThen go to the end of explain plan and...
View ArticleOREPLACE - response (5) by dnoeth
It's 8000: SELECT TYPE(OREPLACE('a', 'b', 'c')); *** Query completed. One row found. One column returned. *** Total elapsed time was 1 second. Type(OREPLACE('a','b','c'))...
View ArticleDate partitioned tables - response (1) by M.Saeed Khurram
Hi Praveen, There is a DBC view available named dbc.indexconstraints. You can use this view to get all the partitioned table names. The partitioned tables have a constrainttype of 'Q'. There is also an...
View ArticleOREPLACE - response (6) by M.Saeed Khurram
Dieter, I am surprized to know that, is there any enhancement in Teradata to define a column with 8000 varchar? AFAIK a varchar can be defined upto 64000, and in case of unicode this limit is reduced...
View ArticlePDCR (Performance Data Collection and Reporting database) - response (1) by...
Hi Praveen, You can have a look at this discussion.http://forums.teradata.com/forum/database/need-alternative-to-dbql-processing. Cheers, Raja
View ArticleMODE and FORMAT - TD Utilities. - response (14) by Fred
RE: Using output of FastExport as input to FastLoad If there is a chance you have NULL values, use INDICATOR mode (the default) on the export and specify INDICATORS (NOT the default) on the BEGIN LOADING.
View ArticleSelect for stored procedures for parameters and return types - forum topic by...
As a beginner to Teradata I am trying to pull down all sorts of metadata for our application. I am not having a problem with getting the proper Select to access all stored procedures of a data base,...
View ArticleSpool Space not being released - forum topic by mikesteeves
We had an issue recently where in an attempt to build fairly small Join Indexes on a fairly large table (2TB), the build would blow out the spool limit. even after increasing the spool limit to 5TB,...
View ArticleSelect for stored procedures for parameters and return types - response (1)...
You need dbc.ColumnsV: SELECT * FROM dbc.columnsv WHERE (DatabaseName, TABLENAME) IN ( SELECT DatabaseName, TABLENAME FROM dbc.TablesV WHERE TableKind = 'P')
View ArticleTeradata Spool issue in Recursive issue - response (10) by dnoeth
Hi abhishek, you got denormalized input and want to create denormalized output? Ouch.
View ArticleInserting multiple values with single quotes in single field - forum topic by...
I have a table 'T' with two columns - Row_ID and Country_Code. The data in table should look like this. Row_ID Country_Code 1 'USA', 'CHN', 'IND', 'GBR' 2 'MEX', 'CAN',...
View ArticleTeradata Spool issue in Recursive issue - response (11) by Raja_KT
I feel that sanitation check should be there at each and every stage of data flow. Also Modeler, should check data matching with end requirements.
View ArticleInserting multiple values with single quotes in single field - response (1)...
I did this way: insert into abc.raja_test1 values('''USA'', ''CHN'', ''IND'', ''GBR'''); I use quote'USA', 'CHN', 'IND', 'GBR' Cheers, Raja
View ArticleTeradata Spool issue in Recursive issue - response (12) by abhishek_abhishek
Thanks a lot Dieter and Raja , Actually this data is coming from source system , that's a real time system < Like IPTV data> , so we cant break split is further . Only the issue i am facing with...
View ArticleTeradata Spool issue in Recursive issue - response (13) by Raja_KT
You have not told about the tool that reads real time data. In SAP DS for example, reading from wsdl, you can reformat the data in anyway you want and can load to target. If you are using Ab Initio,...
View ArticleImproving perfomance in view - forum topic by abin
I have a table A which contains millions of records, this tables is versioned based on two numeric fields Open_From and Open_To. These fields will tell me when record was open from and untill when it...
View ArticleImproving perfomance in view - response (1) by Raja_KT
Just my thought: How about a join index? Also a a row-key based merge join A, B. You can check the explain.
View Article