dets improvements?

Yariv Sadan <>
Fri Jun 16 15:47:17 CEST 2006


>
> If you use Mnesia and 'disc_only_copies', then directly (or
> indirectly, by changing the schema) calling mnesia:add_table_copy()
> would create a defragmented copy of the Dets table on some other node.
> While the table is being copied, the table can be updated as usual, at
> some extra cost.
>

Thanks, Hans. This option did occur to me, but I think it will be
prohibitively expensive in my case, as I am probably going to run my
whole app on a single server, and I don't want massive table copies to
thrash the disc.

I understand that there is no current plan to improve dets, but if the
OTP group ever decides to integrate the changes discussed in this
thread that would make dets more "worry-free" like InnoDB or Postgres
disc storage into its roadmap, please let me know and I will dump
MySQL in a second :)

Best,
Yariv



More information about the erlang-questions mailing list