WebOct 31, 2024 · SELECT tbl.DatabaseName, tbl.TableName, SUM (spc.CurrentPerm)/ 1024.00 as TableSize FROM DBC.TablesV tbl JOIN DBC.TableSize spc ON … WebTeradata is a Massively Parallel Processing database. It is not just a bunch of files you can grep. The only way to access data is to write SQL statements or utility scripts. Therefore, you have to begin with the prior suggestion of reading dbc.tables and dbc.columns to identify all the tables and their columns. Then I can imagine two options.
TeraData Training Online Course & Certification Enroll Now
WebLoading Application... Tracking Consent PDFs Site Feedback Help WebSELECT tablename,SUM(currentperm)/1024*1024 Bytes_usage FROM dbc.allspace WHERE databasename='ForgetCode' GROUP BY 1 ORDER BY 2 DESC; Output: TableName Bytes_usage; All: 5120.00: ... how to calculate size of header in teradata table; HOW MUCH SPACE IN TERADATA TABLE; find the space occuiped by the teradata … ibhelp
Data migration, ETL, and load for Teradata migrations
WebJul 17, 2024 · Here's an example query on DBC.Tables that provides the date of last access and last modification ... rows—to an uncompressed delimited flat ASCII data file. Then, … WebMay 13, 2024 · Change column datatype or length in Teradata To Modify the a column type, length or format, we use ADD function in Teradata Syntax: ALTER TABLE Table_Name ADD Existing_Column_Name New_Data_Type(New_Length) Example: Alter table tbl_employee Add Last_Name varchar(1000); WebMay 30, 2024 · Lets write the query to find unused tables in Teradata 1 2 3 Select DatabaseName,TableName from dbc.tablesv where DatabaseName = 'Banking_prod_db' and LastAccessTimeStamp <= CURRENT_DATE -90; Here dbc.tablesv is the view name of the dbc.tables. If we want to find unused tables for specific databases, we can mention … ibhelp bankofthesierra.com