Spool space and Temp space allocations - response (2) by spidermonk
Thanks Qaisar. Does the following mean anything to you? I work out of the Work_environ. sel databasename ,sum(currentspool) from DBC.DiskSpace where databasename NOT IN (sel username from...
View ArticleSpool space and Temp space allocations - response (3) by dnoeth
This is a query to find "phantom spool", i.e. a user who is not logged on to the system, but reported as having some spool in use. It's a problem in Teradata's internal housekeeping. It will be fixed...
View ArticleAccount Strings - AG - response (1) by dnoeth
The strings you showed should map correctly to L/M/H. Unless there's a second $ within the accountstring only the first character will be used for matching. If you're using TASM the...
View ArticleAccount Strings - AG - response (2) by TeraLab
Thanks Dieter. As we are on Appliance box we dont have full blown TASM (just filters and throttles; no workloads). In the QryLogExceptions, I just see the exceptions for the filters that we set....
View ArticleSpool space and Temp space allocations - response (4) by spidermonk
thanks Dieter. That's a great query to check the spool usage. I'll post the query again with the explain if I don't find a work around. We are collecting stats prior. Thanks again.
View ArticleERRLIMIT exceeded - response (1) by dnoeth
You don't say where the error is, too. At least the exact error message/number would be helpful. ERRLIMIT is used in MultiLoad/FastLoad/TPump, they all got error tables to track the bad records. Might...
View ArticleHow to limit rows to only those where there are duplicates of a specific...
Try HAVING COUNT(*) > 1 Dieter
View ArticleQuery from view optimizations - response (1) by dnoeth
The optmizer might do a join elimination when it's not changing the result set. There are two issues with your approach: #1: It must be a join to a UNIQUE/PK column. In your case this is not known by...
View ArticleTeradata 12 and Subqueries - response (7) by dnoeth
Please add some more details. HAVING sum(source.amount) = sum(target.amount)? Dieter
View ArticleSpool space and Temp space allocations - response (5) by Qaisar Aftab Kiani
Can't disagree with Dieter :)
View ArticleHandling the EMPTY/NULL value in the select query - response (8) by Qaisar...
Read your post couple of time but couldn't understand what exactly you are looking for. I think you need to explain your query with bit more clarity!
View ArticleHow to get the activity count in a stored Procedure - response (1) by msuman07
Here is a sample procedure(script) of what i need. The below inset statement will insert 10 rows into the temp table. But i need that count 10 in the variable "ACT_CNT". Could someone please modify the...
View ArticleHow to get the activity count in a stored Procedure - response (2) by dnoeth
SET act_cnt = ACTIVITY_COUNT; Dieter
View ArticleQuery from view optimizations - response (2) by michalk
Thx for suggestions, I do some modifications but TD still tries to make joins. Any ideas? I created SRC table using: create table SRC ( PART varchar(2) not null, ID varchar(3) not null, DATA...
View ArticleQuery from view optimizations - response (3) by michalk
Generally in real life tables called SRC have hundreds columns and millions of rows per months (part column). It must be prepared (transposed, same way as WIDE view does) to be processed using another...
View ArticleQuery from view optimizations - response (4) by dnoeth
You only applied 50% of my suggestion :-) UNIQUE primary index (PART, ID) Dieter
View Articlehow to logon to bteq - topic by cheeli
Hi Experts, Just now installed the Teradata 13.0, and just clicked on Teradata BTEQ, I am unable to login into it. Is there any default username/pwd to login to it (like scott/tiger in oracle)....
View Articlehow to logon to bteq - response (1) by cheeli
Also, I am unable to use the Teradata Adminstrator, it's throwing an error message as ODBC HY00: WSA E HostUnreach: The Teradata server can't currently be reached over.
View Articlehow to logon to bteq - response (2) by Qaisar Aftab Kiani
No there is no default user/password in Teradata. You need to get one from your DBA There are two ways to logon; 1. Interactive mode where you can login using command prompt using .LOGON tdpid/userid...
View Articlehow to logon to bteq - response (3) by Qaisar Aftab Kiani
Do you have the Teradata node entries / IP address in your host file?
View Article