- 论坛徽章:
- 0
|
如何将小表放入keep池中
KEEP Procedure
This procedure keeps an object in the shared pool. Once an object has been kept in
the shared pool, it is not subject to aging out of the pool. This may be useful for
frequently used large objects. When large objects are brought into the shared pool,
several objects may need to be aged out to create a contiguous area large enough.
Syntax
DBMS_SHARED_POOL.KEEP (
name VARCHAR2,
flag CHAR DEFAULT ’P’);
这段话,我倒是看过,可是有问题
我用DBMS_SHARED_POOL.KEEP(...),SQL*plus说找不到,不知道是什么原因
大哥,能给我一段测试代码吗?将一个指定的表,插入一些数据,放入keep池中,读取数据
- create table testKeep(OID number);
- begin
- insert into testKeep(OID) values(1);
- insert into testKeep(OID) values(2);
- insert into testKeep(OID) values(3);
- insert into testKeep(OID) values(4);
- insert into testKeep(OID) values(5);
- end;
复制代码
如何放入keep池中了?? |
|