sql - Teradata Drop Column returns with "no more room" -
i trying drop varchar(100) column of 150 gb table (4.6 billion records). data in column null. have 30gb more space in database.
when attempt drop column, says "no more room in database xy". why such action needs space?
this happen variety of reasons. it's possible 1 of amp's in database full, cause error minor table alteration.
try running following sql check space
select vproc, currentperm, maxperm dbc.diskspace databasename='xy'; also, should check see column primary index on in large table. if table not skewed properly, run space issues when trying alter table or running query against it.
for additional suggestions found decent article on kind of things may want investigate when "no more room in database" error occurs - teradata sql tutorial. of suggestions include:
- dropping intermediary work or "sandbox" tables
- implementing single value or multi-value compression.
- dropping unwanted/unnecessary secondary indexes
- removing data in dbc tables accesslog or dbql tables
- remove , archive old tables no longer used.
Comments
Post a Comment