×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Pinning Objects in the memory.

Pinning Objects in the memory.

Pinning Objects in the memory.

(OP)
Hello All,

I will like to pin table and its indexes to memory as recommended by Software vendor.

Could you advice on the best method as I am getting errors as follows.
exec DBMS_SHARED_POOL.KEEP('EMPIADMIN.MPI_AHEAD') --this is for a table.
ERROR at line 1:
ORA-04047: object specified is incompatible with the flag specified
ORA-06512: at "SYS.DBMS_UTILITY", line 155
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 55
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 67
ORA-06512: at line 1

So I inseted a flag:
SQL> exec DBMS_SHARED_POOL.KEEP('EMPIADMIN.MPI_AHEAD', 'T');
BEGIN DBMS_SHARED_POOL.KEEP('EMPIADMIN.MPI_AHEAD', 'T'); END;

*
ERROR at line 1:
ORA-04047: object specified is incompatible with the flag specified
ORA-06512: at "SYS.DBMS_UTILITY", line 155
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 55
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 67
ORA-06512: at line 1

Pleas let me know of a command that I can use for pinning tables and indexes.

Thank You.

RE: Pinning Objects in the memory.

The shared pool is for Library cache items. You want to alter the table's storage parameters. Look up ALTER TABLE. I believe it is in the storage clause.

RE: Pinning Objects in the memory.

(OP)
Thanks,
I finally used:
alter table MPI_AHEAD storage (buffer_pool default);
before seeing your reply.
Thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close