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

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -