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

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -