WebAug 26, 2015 · If a Index_type is defined ‘P’ that will be Primary partition index , If Table is Partition under these AMP this value will be Q And for each Q defined you can use further query to get partition table details from this table. SEL * FROM dbc.indexconstraints WHERE databasename = database AND tablename = 'store_sales' AND constrainttype = 'Q' ; WebJan 19, 2024 · The following code snippet checks all roles with access on certain Teradata table or view. select * from dbc.allrolerights where databasename='TestDb' and tablename = 'test_table'; Sample output: To check certain role's access on database object in Teradata, use the following query ...
- How to find base tables/views for views - Community - Teradata
WebMay 19, 2024 · Check table size. Use view DBC.TableSizeV to query size information for the tables: SELECT * FROM DBC.TableSizeV WHERE DatabaseName='DBC' AND TableName='RoleGrants'; This view display permanent space by AMP (Vproc): Check disk space size. View DBC.DiskSpaceV can be used to query disk space usage of databases … WebSkip to page content. Skip to page content new townhomes in yorktown va
How to check the table size using query in Teradata - REVISIT …
WebApr 8, 2024 · I need to select data when a page is viewed and update the 'views' column is there a way to do this in one query, or do I have to use to distinct queries? Solution 1: If you do not want/need to use a transaction, you could create a stored procedure that first updates the view count and then selects the values and return them to the user. WebApr 1, 2024 · The following query can be used to calculate space utilization rate: SELECT DatabaseName,SUM (CurrentPerm) AS CurrentPermTotal, SUM (MaxPerm) AS MaxPermTotal, ( (SUM (CurrentPerm))/ NULLIFZERO (SUM (MaxPerm)*1.0000) * 100) (FORMAT 'zz9.99%', TITLE 'Percent Used') FROM DBC.DiskSpaceV WHERE … WebSkip to page content. Skip to page content mifflin county sportsmen\u0027s club