cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to delete a store

pmarreddy
Champ in-the-making
Champ in-the-making
I want to delete the content of a full store,Is there any mechanism to do this.
     If it is possible, what are its implicit and explicit conditions
If it is not possible how to delete the store
11 REPLIES 11

sergio
Champ in-the-making
Champ in-the-making
Thanks Christian!

For the moment it is sufficient. However, after deleting the content of a store it could be convenient to delete the store itself in order to avoid an increasing of garbage inside tha alf_data folder.

I took a look at the structure of the alfresco schema inside my MySql database instance, I found some tables containing references to existing stores, for example the alf_store and alf_node tables. In your opinion could it be enough to delete store reference records from these two tables?

Cheers,

Sergio

cludt
Champ in-the-making
Champ in-the-making
Hi Sergio,

I am not sure if this works. The database and the file system are sort of synchronized. You would also have to delete the lucene index. I don't recommend to delete anything manually in the database. And, btw, the files in the alf_data won't be removed.

If you delete something via SOAP, the deleted items are placed in the "recycle bin", too. So, there might be a solution to delete the items finally.

I don't know anything about deleting a store, maybe one of the developers could help us here.

Regards
  Christian