Session Persistence To Database Tuning
To enable Session Persistence to Database, a data source with
Table 27: WebSphere Session Persistence Tuning |
| |||
| Parameter | Setting |
| Additional Details |
|
|
|
|
|
| Session in | 2000 |
| The default value of Session in memory count is 1000. |
| memory count |
|
| For Session database persistence enabled load, we set |
|
|
|
| session in memory count to 2000. |
|
|
|
|
|
|
|
|
| In the WebSphere Administrative Console: Servers |
|
|
|
| Application Servers WebSphere Portal Container |
|
|
|
| Settings: Session Management Max in memory |
|
|
|
| - Set Max in memory |
|
|
|
|
|
| Allow overflow | disable |
| The default value of session allow overflow is checked. |
|
|
|
| For Session database persistence enabled load, we |
|
|
|
| unchecked it. |
|
|
|
| |
|
|
|
| In the WebSphere Administrative Console: Servers |
|
|
|
| Application Servers WebSphere Portal Container |
|
|
|
| Settings: Session Management |
|
|
|
| uncheck it. |
| Session | Enable with |
| |
| Distributed | database 32K page |
| In the WebSphere Administrative Console: Servers |
| Environment | tablespace |
| Application Servers WebSphere Portal Container |
|
|
|
| Settings: Session Management |
|
|
|
| DistributedEnvironment Settings |
|
|
|
| Jndi name: jdbc/sessions (set it according to your |
|
|
|
| Session datasource) |
|
|
|
| Userid/password: set it according to your session db |
|
|
|
| DB2 Row size: ROW_SIZE_32KB |
|
|
|
| Tablespace name=sess_user32k (set it according to |
|
|
|
| your db tablespace) |
|
|
|
| Multiple row schema: uncheck it |
| ConnectionPool | Min=10 |
| Refer to Datasource Tuning For DB2 on |
| size for Session | Max=33 |
| parameter. |
| Data Source |
|
| |
|
|
|
|
|
| Prepared | 15 |
| Refer to Datasource Tuning For DB2 on |
| Statement Cache |
|
| parameter. |
| size for Session |
|
|
|
| Data Source |
|
|
|
|
|
|
|
|
|
| 4 9 |
| |
|
| W E BS P HE R E P O R T AL V 6 . 1 T U N I N G G U I D E |