Database / Mnesia basics Interview questions
How do you stop Mnesia?
mnesia:stop/0 shuts down the Mnesia application on the current node cleanly, flushing any
pending disk writes and detaching from replication with other nodes, without affecting Mnesia's state on other
nodes in the cluster.
mnesia:stop(). %% stopped
This is a graceful local shutdown, distinct from a node crashing outright: other nodes holding replicated
copies of the same tables notice this node went down and can continue operating on their own copies, while
this node's disk-based tables remain intact on disk for the next mnesia:start/0. It's typically
called as part of an orderly application or node shutdown sequence rather than something you'd invoke
mid-operation on a live production node without reason.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
