读取操作从队列获取消息,但是不从队列中删除消息。
The read operation gets the message from the queue without deleting the message from the queue.
它使用传统的同步API对流执行写入和读取操作。
The approach uses the traditional synchronous API for writing and reading from streams.
因此每次读取操作的结果在x轴上间隔20像素进行绘制。
Hence each reading is plotted at 20-pixel intervals along the X-axis.
说明:XML文件读取操作,简单例子,方便使用。
打开文件、调用读取操作、将整个文件读入内存,都是可以的。
You'd open a file; you could call read, and it could read an entire file for you into memory if you like.
所有可以通过读取操作获得的元素都可以立即标记为问题。
Any elements that are obtained with the fetch action are immediately flagged as problems.
例如,消息队列将读取操作解释为从队列接收或查看消息。
For example, message Queuing interprets the reading operation as receiving or peeking messages from a queue.
这并不是强制性的;g cc会尝试通过读取操作数来提供相应的后缀。
This is not mandatory; GCC tries provide the appropriate suffix by reading the operands.
要理解对代码的读取操作要远比写入操作多,因此简化代码很重要。
Understand that code is read far more than it is written, so simplifying code is important.
当读取操作的结果信息不是来自首选源时,您可能需要将该信息添加到首选源。
When information resulting from a read operation doesn't come from the preferred source, you may need to add the information to the preferred source.
在采用此事务策略之前,确保您在事务作用域外部执行读取操作时是相对安全的。
Before embarking on this transaction strategy, make sure you are relatively safe in terms of performing read operations outside of the transaction scope.
每次发生数据读取操作时,8个状态位便会附加到16位转换结果上。
Each time a data read occurs, 8 status bits are appended to the 16-bit conversion.
这意味着该数据必须可以从用户输入派生,并以自顶向下的方式驱动服务上的读取操作。
The implication is that this data must be derivable from user inputs and drives the read operations on the services in a top down fashion.
“延迟读取操作总数”是指自上次计数器复位后,所执行的延迟读取操作的总数。
Total late Reads is the total number of late read operations since the last time the counter was reset.
读取操作需要等待另外一个读取操作完成,仅当这两个操作尝试同时更新相同行。
Writers only wait for other writers if they attempt to update the same rows at the same time.
但是应该清楚,添加到事务作用域中的读取操作和处理越多,吞吐量和用户负载功能的下降就越大。
However, be aware that the more read operations and processing you add to the transaction scope, the more you will reduce throughput and user-load capabilities.
根据您的应用程序的设计,您可能需要在事务作用域外部执行读取操作,即使读取操作用于更新目的。
Depending on how your application is designed, you may be forced to execute read operations outside the transaction's scope, even when the read operations are used for update intent.
通过此技巧,您通常会遇到与先读取技巧相同的折衷问题:读取操作通常是在事务作用域的外部完成的。
With this technique, you'll typically encounter the same trade-off as with the read-first technique: read operations are typically done outside of the context of the transaction scope.
它还在处理期间锁定消息,确保一条消息仅由一个读取器处理,即使多个进程在从单一队列进行读取操作。
It also locks messages during processing, which ensures that a message will only be processed by one reader, even if multiple processes are reading from a single queue.
在读取操作期间,该读取晶体管被激活以产生指示储存在该浮置栅极节点中的电荷的输出信号。
During a read operation, the read transistor is activated to produce an output signal indicative of the charge stored in the floating gate node.
与消耗时间不同,对于声明游标的语句,CPU时间是打开游标、所有读取操作和关闭游标的时间总和。
Unlike elapsed time, in case of a declare cursor statement the CPU time is the sum of open, all fetched and close.
我执行读取操作的顺序是从web层获取请求(需要执行一次数据库查询)并检查之前在缓存中存储的查询结果。
The sequence I follow when performing reads is to take a request (that requires a database query) from the Web tier and check the cache for previously stored results of that query.
先读取技巧涉及重构(或编写)应用程序逻辑和工作流,以便所有的处理和读取操作在事务作用域的外部首先发生。
The read-first technique involves refactoring (or writing) the application logic and workflow so that all processing and read operations occur first, outside of a transaction's scope.
通过这种方法,所有读取操作和相应的处理将在事务的上下文之外执行,因此不会在事务持续时间内在数据库中保持锁。
This way, all of the read operations and corresponding processing execute outside of a transaction's context, and consequently do not hold locks in the database for the duration of the transaction.
这种方案是出于以下考虑而布置的:在TPC-H工作负载中,相当大一部分I/O操作都是连续的读取操作。
This arrangement is made with the following concern: in the TPC-H workload, a significant amount of I/O operations are sequential reads.
我们关注的是磁盘读取,而不是磁盘写,因为大部分磁盘访问都是为了进行读取操作,且大部分磁盘带宽也用于读取操作。
We focus on disk reads rather than disk writes, because the majority of disk accesses are for read operations, and the majority of disk bandwidth is used for read operations.
了解这个新api的优势的最基本方法是使用SDO 2.0来创建符合XML模式(XSD)的XML文档并对其进行读取操作。
The most basic way to see the advantages of the new API is to use SDO 2.0 to create and then read an XML document compliant to XML Schema (XSD).
先读取(read - first)技巧涉及在尽可能高的应用层(通常为api层)对事务作用域范围外的读取操作进行分组。
The read-first technique involves grouping read operations outside of the transaction scope at the highest application layer possible (usually the API layer).
另外,如果不存在这样的操作,那么您可以在首选源上执行创建操作,然后使用原始的标准在首选源上执行另一个读取操作。
Alternatively, if no such operation exists, you can perform the create operations on the preferred source, then perform another read on the preferred source using the original criteria.
每个进程从同一文件描述符(它只是一个包含数字1至7的文本文件)执行读取操作,并连同PID一起打印所读取的内容。
Each process reads from the same file descriptor (which is just a text file with the Numbers 1 through 7), printing what was read along with the PID.
应用推荐