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

Spool Release - response (1) by Qaisar Aftab Kiani

Spool falls into three categories: VOLATILE SPOOL - content is retained until * Transaction completes (unless the table was created with  ON COMMIT PRESERVE ROW) * Table is dropped manually during the...

View Article


Old data access for DBC.ResSpsView - topic by AsadiMehmood

Hi I am using view (i.e DBC.ResSpsView), but the problm is that the view reffers to "DBC.ResUsageSPS" table and this "DBC.ResUsageSPS" contains one day data only, so I can't access data older than one...

View Article


Caculate how many bytes of string - response (2) by ricky_ru

Thanks Carlos. For the second question, I agree with you that the collations control the ordering. But how could i know the setting in current session. For example, If the encoding is ASCII, 'a'(97) is...

View Article

Caculate how many bytes of string - response (3) by harpreet singh

Setting for current session can be displayed with help session Here if you need to do comparision then you can set the collation according to your need and then compare. So if you say requirement is to...

View Article

Spool Release - response (2) by rajeev saravanan

Thanks for the insight - so if i were to estimate the total spool a query might require at each step then will it be appropriate to add up all the spools reported in the explain plan till that...

View Article


Spool Release - response (3) by Qaisar Aftab Kiani

Yes, I think that should give you a fair idea of how much spool the query will require.

View Article

Spool Release - response (4) by Qaisar Aftab Kiani

The capacity planning section should get you started... www.teradataforum.com/teradata_pdf/b035-1093-061a.pdf

View Article

bteq export line width - response (3) by katakoti

Is there any generic optimal way to declare .set width. So that it must not depends up on the report length.. What i mean is that i donot know the length of all columns. How can i declare .set width in...

View Article


SET & Multiset Tables - response (2) by katakoti

Thanks Harpreet...!

View Article


SET & Multiset Tables - response (3) by VandeBergB

Harpreet, Your option four does indeed eliminate the duplicate row and PI checks, but is also most susceptible to duplicate rows.  The duplicate tuple check should be handled by some other mechanism,...

View Article

Caculate how many bytes of string - response (6) by ricky_ru

Thanks Harpreet. And I got another question related. If the collation is ASCII and I want to compare two characters which are not in the scope of ASCII, how the comparation does? The character will be...

View Article

Adding Compression to existing table - response (10) by sanjeevs

And if you want to add more values to the existing Compression List, you can do it as under :     ALTER TABLE DBA_TEST_DB.TEST_COMPRESSION ADD  column_b DECIMAL(15,2) COMPRESS ( 0.00, 0.20 ) ,ADD...

View Article

primary index hash value - response (6) by sm126877

HashRow will not give you the "row uniqueness" portion of the row-id.  The SQL that Qaisar posted merely counts the rows currently in the table for a given row hash value and does not give you a row...

View Article


Spool Release - response (5) by rajeev saravanan

Thanks Aftab

View Article

SET & Multiset Tables - response (4) by harpreet singh

Right VanderbergB, When we can have any column in table as unique then it will help query performance as checking duplicates on column is pretty easy than comparing whole rows for duplicate values....

View Article


What Is DERV? - topic by genesiusj

Hi everyone, New to Teradata (and this forum), though I have some DB background (Paradox for DOS) over 15 years ago. I have adopted code from a former consultant at my new job. I am updating the code...

View Article

TASM General Settings in Ruleset General View - topic by toadrw

I'm trying to figure out what the settings under the Ruleset General View mean in the Viewpoint User Guide.   In particular the Blocker tab wjocj are "settings for responding to throttled blockers"....

View Article


Partitioning in V12, utilising MOD - topic by colink2000au

Sorry for the ancient version, everybody who's moved on! I am trying to check my maths skills and coming up empty. Basically, I have read that there is a way to effectively implement v13 multilevel...

View Article

PPI Columns - topic by TDUser2000

Hello,   I need to extract the tablenames and its corresponding column names(on which PPI has defined) where PPI is used in the table definition. Any inputs on this please.   Regards

View Article

PPI Columns - response (1) by dnoeth

When you're on TD14 it's easy: SEL * FROM dbc.ColumnsV WHERE PartitioningColumn = 'Y' Otherwise you might use my StatsInfo view which provides this type of info: SELECT * FROM StatsInfo WHERE...

View Article
Browsing all 14773 articles
Browse latest View live


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