为新的会话表创建数据库迁移。
清单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.
然后检查fast_sessions会话表(如果你没有改名字的话)有没有这条记录。
Then check your fast_sessions table (if you did not renamed it) for a records.
这样当某些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.
旧会话表的名字可以使用CGI: Session: ActiveRecordStore: FastSessions. old _ table_name变量进行设置。
在应用程序会话定义已创建的临时表之后,并发运行的会话不需要重新定义它。
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.
您还可以根据系统需求在不同的级别灵活配置,包括实例、会话和表。
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.
在执行删除表空间的操作时,从另一会话执行下列脚本。
While the drop table space operations are running, execute the following script from another session.
在执行创建表空间的操作时,从另一会话执行下列脚本。
While the create table space operations are running, execute the following script from another session.
创建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.
在后面,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.
表变量、会话与临时表。
表2标出了4个类,分别对应于4种会话作用域。
Table 2 identifies the four class types that correspond to the four session scopes.
我们临时准备了会议姿势、问题以及分配给每个实践会话中的每个区域的时间表。
We improvised the use of gestures, questions, and timing allocated for each section in each practice session.
糟糕的数据库性能,因为数据库对数据库表中的该(超)大会话对象执行了数百次更新。
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).
该表属性可用于覆盖系统(ONCONFIG和/或会话)设置。
Table property can be used to override the system (ONCONFIG and/or session) setting.
该表属性可用于覆盖系统(ONCONFIG和/或会话)设置。
Table property can be used to override the system (ONCONFIG and/or session) setting.
应用推荐