清单4:创建会话表的sql。
清单4给出了创建会话表的SQL代码。
Listing 4 shows the SQL code that created the sessions table.
我们测试过这种方法,在大会话表中显示了10- 15%的性能提升。
We've benchmarked this approach and it shows 10-15% performance gain on large sessions tables.
这个选项会使会话变慢所以我建议只要在升级到新会话表的时候才使用。
This options make sessions slower so I'd recommend to use it during transition to new sessions table only.
这样当某些session _ id在新的会话表中找不到的时候,就会回去访问旧的会话表。
And then all session reads will fall back to old sessions table if some session_id was not found in default fast sessions table.
在应用程序会话定义已创建的临时表之后,并发运行的会话不需要重新定义它。
After an application session defines a created temporary table, concurrently running sessions do not have to redefine it.
对于这个报告,你需要显示每个用户当前的内存使用情况图,然后在一个表中按照每个会话将内存使用划分。
For this report, you want to display a graph of total memory usage per user and then, in a table, break that memory usage down on a per-session basis.
当表非常大或者大量会话发出这种类型的查询时,性能将会有所下降。
Performance is negatively impacted when the table is large or when many sessions issue this type of query.
从本质上说,CGTT将表设置流程移到了会话外部。
CGTT essentially moves the table setup process outside the session.
您可以使用PASSTHRU会话直接将CREATEtable语句发送到数据源,并为这个新表创建一个昵称。
You can use the PASSTHRU session to directly send the create table statement to the data source and create a nickname for this new table.
您还可以根据系统需求在不同的级别灵活配置,包括实例、会话和表。
You also have the flexibility to configure Settings at all levels, including instance, session and table, based on the needs of your system.
它还可用于长时间的会话锁,但需要进行清理以避免表过度增长。
It can also be used for longer-lived session locks, but cleanup needs to be addressed to prevent table growth.
创建cgtt表cgttbase1之后,它将持久化到后续所有的会话中。
Once CGTT table cgttbase1 is created, it is persistent to all sessions that follow.
另一方面,如果凭证正确,则像之前一样填充会话、logintokens表、返回的实例。
If, on the other hand, the credentials are correct, populate the session, the logintokens table, and the return as before.
如果这些字符串相匹配,通过logger函数把这个事件记录在另一个mysql表中作为日志,并且生成一个新的会话id。
If these strings match, this event is logged to another MySQL table via the logger function and a new session ID is generated.
在后面,Geronimo会查询这些表得到认证登录会话需要的用户名和口令并得到用户所属的组。
Later, Geronimo queries these tables to obtain the username and passwords to authenticate your login session and the groups you are a part of.
表1总结了三类Web服务api定义,包括会话、变更历史和查找操作。
Table 1 summarizes the three types of Web service API definitions, including session, change history and find operations.
为更新subscribedfeeds表,我们需要知道登录用户的username,所以我们要从会话中获取该信息。
To update the subscribedfeeds table, you need to know the username for the logged-in user, so you grab that from the session.
表2标出了4个类,分别对应于4种会话作用域。
Table 2 identifies the four class types that correspond to the four session scopes.
您需要将ActionURL存储到会话的例子是Ajax驱动的分页数据表,它包含ActionURL链接作为数据集的一部分。
An example of when you would want to store Action URLs into the session is an Ajax-driven paging data table that contains Action URL links as part of the data set.
我们临时准备了会议姿势、问题以及分配给每个实践会话中的每个区域的时间表。
We improvised the use of gestures, questions, and timing allocated for each section in each practice session.
如果您的网站上的用户有每个会话的多个页视图,您的页面的许多重复使用相同的脚本和样式表,有缓存的外部文件一更大的潜在好处。
If users on your site have multiple page views per session and many of your pages re-use the same scripts and stylesheets, there is a greater potential benefit from cached external files.
糟糕的数据库性能,因为数据库对数据库表中的该(超)大会话对象执行了数百次更新。
Poor database performance, as the database performed hundreds of updates to the (very) large session objects in database tables.
相反地,应该使用内存中的哈希表来缓存数据,并且在会话中保存一个对此数据进行引用的键。
Instead, use an in memory hash table to cache the data and just keep a key to the data in the session.
这个API提供的功能包括创建和结束事务捕捉会话,以及启动和停止给定的捕捉会话对给定的表的捕捉。
The API provides functions to create and end a transaction capture session and to initiate and end capture on a given table for a given capture session.
会话锁还可保存在被锁定的表中(或表集合的根表中)。
Session locks can also be kept on the table that is being locked (or the root table of a set of tables).
会话外观e JB业务方法调用了一个以上的DAO来将其保存在一张以上的表中。
A session facade EJB business methods call more than one DAO to save on more than one table.
特殊注册表可以设置为一个希望的值,以便为会话启用特定的维护表对象。
The special register can be set to a desired value to enable certain maintained table objects for a session.
清单1给出这个交互式会话,表2详细解释此会话。
Listing 1 shows this interactive session, and Table 2 explains the session in detail.
清单1给出这个交互式会话,表2详细解释此会话。
Listing 1 shows this interactive session, and Table 2 explains the session in detail.
应用推荐