[erlang-questions] deleting records from a ram_copies table in mnesia

Rick Pettit rpettit@REDACTED
Wed Jan 30 20:47:26 CET 2008


On Wed, Jan 30, 2008 at 03:05:52AM -0800, ayman abolfadl wrote:
> Hi,
>    
>   I would like to delete some records froma ram_copies table in mnesia, but the mnesia:delete({Tab,Key}) fails as the table doesn't exist on the disc...Is there any workaround to use the ram table in mnesia and delete the table or its records.


Are you sure the table exists on the node you are calling mnesia:delete/1 on?

I suspect it doesn't exist on disc or in ram if you are getting a no_exists
error.

-Rick



More information about the erlang-questions mailing list