Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live
↧

Estimate and Actual are different and causing PJ. - response (4) by BPP

So just you all know we were able to address this.  One of our DBA had identified bad stats (Parition + highly non unique column) were causing the plan to wayward!!  Thanks  Bhanu P

View Article


tuning the Skewed joins - forum topic by sureshv

Hi, A query has a join condition and one of the columns in the join is highly skewed with a single value . Can anybody suggest how can we tune this type of joins.  Thanks in Advance Suresh.Forums:...

View Article


Creating a new secondary index on table - response (6) by teradatauser2

this summarizes the data from dbc.DBQLObjTbl

View Article

Hybrid columnar automatic format - forum topic by sharmaax

Hi, I'm interested in using the columnar feature, and after doing some intinial research, I found that Teradata automatically determines if a column should be row or column format. I was hoping to get...

View Article

Case Statement on an Inline View - forum topic by Haarish

Hi All, I have a problem that looks weird to me and don't understand why that happens. I have a query which has 2 sets of computations from a table. The first set of computations is an inline view that...

View Article


Creating a new secondary index on table - response (7) by abhijitvyas

another option that you have is enable DBS parameter ObjectUsecountCollectrate and analyze values of access count and last access timestamp. You will see both access count and lastaccesstimestamp value...

View Article

Trying to round result of a computation to 2 digits of precision - forum...

Hi,  I read through the forum on such topics as CAST and ROUND, but somehow I am not having any luck.  I have this expression in my select: Select cast (PROJ_INV_CS as float) / case when...

View Article

Algorithmic compression in DBQL History tables - response (1) by TSchmolzi

ALC seems to work just fine. It didn't do a whole lot on the DBQLog table but I saw a significant compression rate of 80% with LZCOMP. NTA3239 just surfaced. It concerns possible corruption when using...

View Article


TPT load in informatica giving CLI Error - forum topic by Prabhakar Thangapandi

Hello, Greetings.... I am loading Teradata (V13.10.03.08) database using informaticav9.1.0 (with Hotfix1). In Infa, i am using TPT connection. I have the follwing property on the TPT Connection string...

View Article


Algorithmic compression in DBQL History tables - response (2) by TSchmolzi

Just reread my post.   I meant to say that I got an 80% compression with LZCOMPon the DBQLSQL table. 

View Article

Query using the Sys_Calendar to return quarterly results - forum topic by...

Good Afternoon, Could someone help me create a query that will return quarterly results?  I have one for EOM and Previous Week, now I'm looking for a quarterly view.. Is that possible?Forums: Database

View Article

Unique gapless ID:s from system - how to? - forum topic by bladerunning_Finn

After googling around as well as browsing this forum, I failed to find the solution to get gapless sequential ID:s from a TeraData system - is there one? Conflicting information on usefulness of e.g....

View Article

Please explain the different behavious of substr - forum topic by barani_sachin

Please explain how this wotks. SEL SUBSTR(CAST(12345 AS VARCHAR(5)),1,3) This gives "123" as OP whereas SEL SUBSTR(12345,1,3) gives only "12", why does when passing integer/number it always reduces one...

View Article


Creating a new secondary index on table - response (8) by pawan0608

Is it a custom table or a system defined DBQL table in DBC ?

View Article

Arcmain - response (3) by pawan0608

I have used ARCMAIN and TARA and usually they run smoothly. I am not sure what type of objects you are trying to restore. If possible, try copy instead of restore to see if it is successful or not

View Article


Please explain the different behavious of substr - response (1) by shilpa1

For integer first byte is a Signed Byte, which is used for storing sign "+/-". Thats why for positive value, you are getting " 12" as output.

View Article

Please explain the different behavious of substr - response (2) by dnoeth

SUBSTR(CAST(12345 AS VARCHAR(5)),1,3) This is an explicit cast to a VARCHAR using ANSI style syntax, which results in a left-aligned string, the result is the same as a SUBSTR('12345', 1, 3)....

View Article


Drop Temporary Tables - response (1) by dnoeth

Hi Tony, DROP TEMPORARY TABLE db1.table1 ALL; This drops bith the template and all materiaklized versions. If there's an open transaction using that table the drop will be blocked until the transaction...

View Article

Please explain the different behavious of substr - response (3) by barani_sachin

Thanks for the explanation :)

View Article

Drop Temporary Tables - response (2) by pawan0608

I guess, we can't use TEMPORARY keyword with ALL

View Article
Browsing all 14773 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>