sql - Delete a broken postgreSQL table -


My postgresqual has a table of ~ 20 million and I want to delete it.

But every one of them does not work (it's still running more than 12 hours without success):

  - Delete - Trunket - Vacuum - Analysis   

I can not do anything in this table ...

A few days ago, I tried to reproduce the ID (large number) of each line

  ALTER SEQUENCE "data_ id_seq" 1 Update with data Restart SET ID = Aggravation ('data_id_seq')   

and I think That This operation breaks the table ...

If anyone knows how to help, thanks!

Try it ...

  drop table table_name;   



Comments

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -