没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
21:57:46 1
Indexing
Indexing
Goals:
–
Store large files
–
Support multiple search keys
–
Support efficient insert, delete, and range
queries
21:57:46 2
Terms(1)
Terms(1)
Entry sequenced file: Order records by time
of insertion.
–
Search with sequential search
Index file: Organized, stores pointers to
actual records.
–
Could be organized with a tree or other data
structure.
21:57:46 3
Terms(2)
Terms(2)
Primary Key: A unique identifier for records.
May be inconvenient for search.
Secondary Key: An alternate search key,
often not unique for each record. Often
used for search key.
21:57:46 4
Linear Indexing (1)
Linear Indexing (1)
Linear index: Index file organized as a
simple sequence of key/record pointer
pairs with key values are in sorted order.
Linear indexing is good for searching
variable-length records.
21:57:46 5
Linear Indexing (2)
Linear Indexing (2)
If the index is too large to fit in main
memory, a second-level index might be
used.
剩余37页未读,继续阅读
wxg520cxl
- 粉丝: 23
- 资源: 3万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0