Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含许多元组的大表,但是我只在其中的一小部分(按日期范围提取)执行一些查询,我想知道如何设置表结构以优化日期范围内的数据库工作。我可以添加 startdate 和 enddate 字段作为索引吗?能帮上忙吗?