I was looking through my lecture notes, and came across this slide. I am confused what a data entry vs a data record. I know the data record is the entire tuple, but I am unsure about the data entry.
我正在翻看我的课堂笔记,看到了这张幻灯片。我搞不懂什么是数据入口,什么是数据记录。我知道数据记录是整个元组,但是我不确定数据条目。
2 个解决方案
#1
4
The data entry in this case is the record contained in the index: typically, it is a pair (value of the key, reference to the tuple), where the reference to a tuple can be either a TID, Tuple Identifier, or some other way of referring to a tuple.
本例中的数据条目是索引中包含的记录:通常,它是一对(关键的值,对tuple的引用),其中对tuple的引用可以是TID、tuple标识符,或者其他引用元组的方法。
#2
7
Data records is a complete row of your database stored somewhere in the filesystem.
数据记录是存储在文件系统中某个位置的数据库的完整行。
Data entries only stores the columns that you specified in the index. Data entries usually keep a pointer to the data record in the filesystem where the record resides
数据项只存储在索引中指定的列。数据条目通常在记录所在的文件系统中保存指向数据记录的指针
#1
4
The data entry in this case is the record contained in the index: typically, it is a pair (value of the key, reference to the tuple), where the reference to a tuple can be either a TID, Tuple Identifier, or some other way of referring to a tuple.
本例中的数据条目是索引中包含的记录:通常,它是一对(关键的值,对tuple的引用),其中对tuple的引用可以是TID、tuple标识符,或者其他引用元组的方法。
#2
7
Data records is a complete row of your database stored somewhere in the filesystem.
数据记录是存储在文件系统中某个位置的数据库的完整行。
Data entries only stores the columns that you specified in the index. Data entries usually keep a pointer to the data record in the filesystem where the record resides
数据项只存储在索引中指定的列。数据条目通常在记录所在的文件系统中保存指向数据记录的指针