gpt4 book ai didi

erlang - Mnesia、选择索引和二级索引

转载 作者:行者123 更新时间:2023-12-02 01:45:22 24 4
gpt4 key购买 nike

我为表创建了索引,但有一个问题。 mnesia:select 是否使用二级索引?

最佳答案

来自 http://www.erlang.org/doc/efficiency_guide/tablesDatabases.html

There are exceptions when the complete table is not scanned, for instance if part of the key is bound when searching an ordered_set table, or if it is a Mnesia table and there is a secondary index on the field that is selected/matched.

关于erlang - Mnesia、选择索引和二级索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15477114/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com