Order of partition columns in MLPPI - response (1) by Santanu84
Hi Anyone, any help or any response, please share. Santanu
View ArticlePerm Space and Spool space - forum topic by prabha.m17@gmail.com
Hi, In my server, we are getting spool space issue, If we delete few inactive old USERS, Will it resolve the spool space issue? 1. As per my Understanding, Database and users also provided with PERM...
View ArticlePerm Space and Spool space - response (1) by M.Saeed Khurram
Hi, When you assign spool space to a user it defines the maximum spool limit that a user can use, but allocated only at run time according to the requirement. So deleting users does not mean that...
View ArticleComparison between DBQL AMPCPUTime and ResUsage CPU times - response (1) by...
Hi Mark, I am not strong in this area. However, I can see this link which provides directions and suggestions.http://forums.teradata.com/forum/database/thoughts-on-cpubusy-caclulations Cheers, Raja
View ArticleStrange behavior while moving data from Integer columns to Varchar columns -...
Recently I came to know about strange behavior of the Teradata The case is that when we are moving data FROM Integer field of one table to varchar field of second table then a blank is inserted into...
View ArticleJoin two tables using like statement - forum topic by cakabey
Hello, I have two tables. I need to join them on a field which is not same but similar. e.g Table1.ColA = '12345', '67890',... and Table2.ColA = '12345/1', '12345/2', '12345/3', '67890/xxx',...
View ArticlePerm Space and Spool space - response (2) by hammad_586
Hello, I think deleting old users is not a permanent solution for this issue, as mentioned earlier you should identify the problematic queries and you should start tuning those queries, moreover as...
View ArticlePerm Space and Spool space - response (3) by VandeBergB
Greetings, I sincerely hope that you are not managing spool space on a user by user basis. This makes the DBA's job much more complex than it needs to be. You should be developing a profile for each...
View ArticleOrder of partition columns in MLPPI - response (2) by M.Saeed Khurram
Hi San, The base of decisions in defining MLPPI is to improve access, so you need to consider access and then decide about which col should be at the top and which at the lowest level. The most...
View ArticleStrange behavior while moving data from Integer columns to Varchar columns -...
Hi, It is not the strange behaviour rather it is default behaviour. An when an intger is converted to varchar, it requires 11 characters for representation. So when you try to insert the integer into...
View ArticleJoin two tables using like statement - response (1) by M.Saeed Khurram
Hi caka, While looking at your data, 12345 in T1 has three 12345/1,12345 /2,12345/123, So in either left or inner you will get three values against a single value in table1, which one to use? I assume...
View ArticleJoin two tables using like statement - response (2) by cakabey
Hi Khurram, ColA is varchar, ColB and ColC are integer.
View ArticleStrange behavior while moving data from Integer columns to Varchar columns -...
Thanks Khurram for the input Still I am curious about why teradata is not supporting this implicitly
View ArticleJoin two tables using like statement - response (3) by Raja_KT
Hi , From the sample data you provide and join , I can see that you need to extract the string to match, like substr. This is going to be expensive. Just as a starting point you can think this just as...
View ArticleStrange behavior while moving data from Integer columns to Varchar columns -...
I dont know why I am unable to paste the code, but In fact Teradata is implicitly converting the integer to Varchar, it happens as follows: Integer 1 is convertes as ----------1, so while...
View ArticleJoin two tables using like statement - response (4) by khatriprad
Hi Caka, In order to join,you can use POSITION function to match the partial Strings in the two column select * from Table1 T1 left join Table2 T2 on (T1.ColB = T2.ColB AND POSITION(TRIM(T1.ColA) IN...
View ArticlePerm Space and Spool space - response (4) by prabha.m17@gmail.com
Thanks Khurram, Hammad, Blaine... Its really informative reply. Thank you. In this Project DBA where planning to delete these unused users by stating that to avoide spool issue. So I got above doubt....
View ArticleJoin two tables using like statement - response (5) by VandeBergB
most of these solutions will "work", but they all have one fatal flaw, they force a full table scan of T1, the column that you are using a function to evaluate. depending upon the size of the table,...
View ArticleJoin two tables using like statement - response (6) by Raja_KT
They could have used a profiling tool. I am curious if any ETL tool is being used.
View ArticleOrder of partition columns in MLPPI - response (3) by Raja_KT
Page 301 of "SQL Request and Transaction Processing" describes with examples with MLPPI very nicely.They have taken a case of 65,535 partitions.
View Article