这个网格文件系统不仅需要存储区块,还要存储元数据信息,像目录、文件名、文件大小、最后修改时间等。
The grid file system needs to not only store chunks, but also metadata information, such as directories, files, file sizes, last modification times and so on.
在这个示例中,您将看到该文件的具体信息(一般是在列出目录期间),并且您可以看到文件的类型、权限以及修改时间信息。
In this case, you are looking at the examination of a file (during a directory listing, most likely), and you can see the file's type, permissions, and modification time information as well.
最后,在列出目录内容时,可以按照文件的最后修改时间进行排序,这样做有时很有帮助。
Finally, it's sometimes helpful when listing the contents of a directory to view the files sorted by their time of last modification.
例如,当写入一个文件的时候,这个文件的长度和最后修改时间都要在元数据缓存器里面更新。
For example, when we write to a file, the new length and the last modification timestamp are updated in the metadata cache.
显示某一个文件的最后修改时间。
您可以选择性地为每个URL列出额外的信息,包括URL的最后修改时间、更改频率、终止日期和优先值。
Optionally, you can list additional information for each URL, including its last modification date, its change frequency, an expiration date, and a priority value.
在真实世界里,对一个联系人来说“最近修改时间”可能没有什么真正的意义,而只是一个模型在系统中怎样被使用、跟踪、持久化的功能而已。
The modified date has no real meaning for a contact in the real world, but is a function of how the model is used, tracked, and persisted in the system.
比如,一个联系人记录可能包含一个“最近修改时间”和一个“修改用户的标识”,和一个“唯一标识”(数据库或持久化信息)。
For example, a contact record may contain a last modified date and the identity of the modifying user (auditing information), and a unique identifier (database or persistence information).
如果向EMPLOYEE表添加行修改时间戳列,则漏判场景中的UPDATE不会发生失败。
This false negative scenario would not have the UPDATE cause a fail if a row change timestamp column was added to the EMPLOYEE table.
times选项保持每个文件的访问权限、创建和最后修改时间。
The -times option preserves the access, creation, and last modified time of each file.
请注意,如果目标中的文件具有相同的、或更新的修改时间,那么cpio不会覆盖这些文件。
Note that cpio will not overwrite files on the destination if they have the same, or newer, modification time.
times保留文件的创建和修改时间。
文件和目录管理” 中,您学习例如如何使用find命令根据名称、修改时间、大小或其他特征查找文件。
In the article " Learn Linux, 101: File and directory management," you learn how to use the find command to find files by name, modification time, size, or other characteristics.
read _ file函数使用stat函数调用检查文件的修改时间,只有在上一次装载之后修改了文件的情况下,它才重新读取文件的内容。
The read_file function USES the stat function call to check the modification time of the file, only re-reading the contents of the file if it changed since the last time the file was loaded.
st_mtime——最后的修改时间。
例如,ls- t将按照修改时间排序(从最新到最旧),而ls - ls将生成一个按大小排序的长列表(从最大到最小)。
For example, ls -t will sort by modification time (newest to oldest) while ls -ls will produce a long listing sorted by size (largest to smallest).
例如,我们可以不断地更新文件的最后修改时间。
For example, we could move the last-modified time for our file a minute further into the future.
times——同步每个文件和目录的修改时间和创建时间。
Times — Synchronize the modification and creation times for each file and directory.
元数据缓存器将目录和文件的路径名称保存为键,将元数据保存为值(如文件长度、最后修改时间、标记该条目是文件还是目录等)。
The metadata cache contains the full path names of directories and files as keys and metadata (e.g. file length, last modification date, and whether the key is a file or a directory) as values.
这个任务可以通过保存JSP(无需编辑;只需改变修改时间戳)完成。
This task is accomplished by saving the JSP (without editing; you need to change the modification timestamp).
{3} [0-9 ]{2} [0-9 ][0-9]:[0-9][0-9]—修改时间(您可以对这个模式进行一些简化,因为所有的文件都在6月份进行的修改,所以您可以确切地指定月份的名称。)
[0-9]:[0-9][0-9] -- modification time (You could simplify this a bit, since all of the files were all modified in June, and you could make it more exact by specifying the month names.)
{3}[0 - 9]{2}[0 - 9][0 - 9]:[0 - 9][0 - 9]—修改时间(您可以对这个模式进行一些简化,因为所有的文件都在6月份进行的修改,所以您可以确切地指定月份的名称。)
[0-9] [0-9] : [0-9] [0-9] — modification time (you could simplify this a bit, since all of the files were all modified in June, and you could make it more exact by specifying the month names.)
该策略定义了文件在池间迁移的规则,可根据访问时间、修改时间、文件名、路径、所有者等文件属性将文件从某个池迁移另一个池。
This policy defines the rule to migrate files from one pool to another depending on various file attributes like access time, modified time, file name, path, owner, and so on.
对于行修改时间戳列(只针对这种列),如果该列使用IMPLICITLYhidden属性定义,那么当对表列进行隐式引用时,不会对该列执行外部化。
For row change timestamp columns only, if the column is defined with the IMPLICITLY HIDDEN attribute, then it is not externalized when there is an implicit reference to the columns of the table.
该策略定义了从系统中删除文件的规则,可根据访问时间、修改时间、文件名、路径、所有者等文件属性对系统中的文件进行删除。
This policy defines the rule to delete the files from the system depending on various file attributes like access time, modified time, file name, path, owner, and so on.
隐式隐藏列:从兼容性方面来说,这个特性有助于将行修改时间戳列应用到现有表和应用程序。
Implicitly hidden columns: For compatibility, this feature eases the adoption of the row change timestamp columns to existing tables and applications.
如果以前面相同的方式再次检查基本属性,您会发现最后修改时间已被修改,但是创建时间和最后访问时间还保持原样。
If you check the basic attributes again, in the same way we did earlier, you should see that the last modified time has been altered but the creation time and last access time have remained the same.
要支持这一特性,表需要定义一个新生成的行修改时间戳列来保存时间戳值。
To support this feature, the table needs to have a new generated row change timestamp column defined to store the timestamp values.
这可以通过包含行修改时间戳列的表实现,通过定义行修改时间戳列来保存ROWCHANGETIMESTAMP表达式生成的时间戳值。
This is implemented by a table containing a row change timestamp column defined to store the timestamp values generated by a ROW CHANGE TIMESTAMP expression.
表具有一个行修改时间戳列:ROWCHANGETOKEN表达式返回一个从列的时间戳值获得的bigint值。
The table has a row change timestamp column: a row change TOKEN expression returns a BIGINT value derived from the timestamp value in the column.
应用推荐