Hello All, Could anyone please help me to know how...
# ingestion
c
Hello All, Could anyone please help me to know how could I remove all the business glossary terms at one shot from Datahub?
m
https://datahubproject.io/docs/how/delete-metadata Hi ,Examples of deleting business data are available on the website
c
Thank you but how can i delete all using a single command? The document has command to soft or hard purge urn specific or all datasets but not mentioning about removing all business glossary terms at one shot?
m
@clever-australia-61035: are you okay with potentially orphaned links to glossaryTerms that you have deleted?
if so, you can do:
Copy code
datahub delete --entity_type glossaryTerm --query "*" -f --hard
followed by
Copy code
datahub delete --entity_type glossaryNode --query "*" -f --hard
c
Thanks a lot. Will it take hours to delete even a few entries? The execution goes very slow..Is it the case?
b
@clever-australia-61035 Do you have a large deployment? It should not take very long
c
There are 400+ glossary terms. The command took almost 15-20 mins approx. to delete one term. I cancelled the operation. Are there any alternatives or am i missing something here?
b
Mmmm is the rest of your instance large? Do you have many other datasets, charts, etc? We've not seen it take this long ever