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 ArticleOld 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 ArticleCaculate 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 ArticleCaculate 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 ArticleSpool 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 ArticleSpool 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 ArticleSpool 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 Articlebteq 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 ArticleSET & 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 ArticleCaculate 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 ArticleAdding 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 Articleprimary 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 ArticleSET & 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 ArticleWhat 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 ArticleTASM 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 ArticlePartitioning 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 ArticlePPI 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 ArticlePPI 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