[erlang-questions] Mnesia table type change

Chandru <>
Thu Feb 4 14:58:56 CET 2010


On 4 February 2010 12:23, andrew mmc <> wrote:

> Hello,
>
> What is the easiest way to change a table type with a large number of
> records from ordered set to set?
>
>
Backup db
Delete table
Recreate table with correct type
Traverse backup and reinsert records into table

If the table is very big, create the table as ram_copies first and once
you've populated all your entries, change table type to disc_copies.

cheers
Chandru


More information about the erlang-questions mailing list