现在,讲解如何处理大量日志数据。
更改日志数据和复制更改数据更加安全。
编写JDBC应用程序来访问审核日志数据。
然后,本文介绍了日志数据从内核到用户空间的移动过程。
It then looks at movement of log data from the kernel into user space.
但是,通过日志数据库,我们正在记录所执行的每个操作。
But with a logging database, we are going to log every operation we perform.
活动日志的数据集的大小。
日志文件系统:许多文件系统都提供日志以防止数据丢失。
Journaled file system: Many file systems provide journaling to prevent loss of data.
HPEL还提供了更灵活的日志和跟踪数据访问。
HPEL also provides more flexible access to log and trace data.
对于数据、索引和日志,应避免RAID5。
您可以从该日志条目得出以下数据。
清单2:从日志文件中获取数据的范例代码。
为日志文件添加临时数据定义。
次要服务器将每个日志文件中的数据保存在单独的暂存文件中。
The secondary keeps data for each log file in a separate staging file.
分别为数据和日志创建一个文件系统。
Create one file system for data and one file system for logs.
所有新数据首先写入日志,然后再写入它的最终位置。
All new data is written to the journal first, and then to its final location.
将所有数据文件、控制文件和联机重做日志文件复制到备份媒介。
Copy all data files, control files and online redo logs file to backup media.
Capture选项卡显示数据捕获的状态和逻辑日志中的位置。
The capture TAB shows the state of data capture and location in the logical log.
页面视图存储在日志文件中后,数据收集过程至此完成了。
After the pageview is stored in the logfile, the data collection process is complete.
或者,也许这种数据正在写入一个应用程序或者系统日志。
Or perhaps it is already being written to an application or the system logs.
一个关键的优点在于系统崩溃后的数据恢复,当使用日志结构方法时,这种恢复更简单。
One key advantage is recovery from system crashes, which is simpler using the log-structured approach.
在数据模式中,元数据和数据都被记录到日志中。
数据访问服务:这些服务负责数据访问授权、限制和日志记录。
Data access services: These services are responsible for authorization, restrictions and logging access to data.
包含日志的数据中心可能会像原来那样正常运行。
The data center with the logs will probably carry on as usual.
创建数据库并将日志移动到日志文件系统。
Create the database and move the logs to the log file system.
关闭数据库,备份所有数据以及所有日志和控制文件。
Shut the database down and back up all data and all log and control files.
注意我们仅仅着眼于恢复日志而不是数据库文件。
Notice we are only looking at the recovery log — not database files.
一旦写入数据块,元数据将随后写入日志。
Once they are written, the metadata changes are then written to the journal.
当首先创建一个数据库的时候,这是默认的日志记录方法。
This is the default logging method when you first create a database.
当遇到日志写满情况,仍允许对数据库的读访问。
When a log full condition is encountered, read access is still allowed on the database.
应用推荐