Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. 1> mnesia:start().
  2. ok
  3. 2> mnesia:create_table(foo, [{frag_properties, [{node_pool, [node()]}, {n_fragments, 4}]}]).
  4. {atomic,ok}
  5.  
  6. 3> mnesia:info().
  7. ---> Processes holding locks <---
  8. ---> Processes waiting for locks <---
  9. ---> Participant transactions <---
  10. ---> Coordinator transactions <---
  11. ---> Uncertain transactions <---
  12. ---> Active tables <---
  13. foo : with 0 records occupying 304 words of mem
  14. foo_frag2 : with 0 records occupying 304 words of mem
  15. foo_frag3 : with 0 records occupying 304 words of mem
  16. foo_frag4 : with 0 records occupying 304 words of mem
  17. schema : with 5 records occupying 950 words of mem
  18. ===> System info in version "4.14", debug level = none <===
  19. opt_disc. Directory "/Users/legoscia/Mnesia.nonode@nohost" is NOT used.
  20. use fallback at restart = false
  21. running db nodes = [nonode@nohost]
  22. stopped db nodes = []
  23. master node tables = []
  24. remote = []
  25. ram_copies = [foo,foo_frag2,foo_frag3,foo_frag4,schema]
  26. disc_copies = []
  27. disc_only_copies = []
  28. [{nonode@nohost,ram_copies}] = [schema,foo_frag4,foo_frag3,foo_frag2,foo]
  29. 3 transactions committed, 0 aborted, 0 restarted, 0 logged to disc
  30. 0 held locks, 0 in queue; 0 local transactions, 0 remote
  31. 0 transactions waits for other nodes: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement