Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
To define the table in DB2 cache or memory

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
yacov

New User


Joined: 27 Jul 2007
Posts: 6
Location: Israel

PostPosted: Fri Nov 09, 2007 11:16 am    Post subject: To define the table in DB2 cache or memory
Reply with quote

Hi,

My question is DBA oriented icon_smile.gif

I have a small table ~ 500 rows, each row 100 bytes.

All the accesses to this table in on-line operations are for read and not for update or insert.

But we have really many accesses to this table, about million every day.

Is it possible for DBA to define the table in DB2 cache or memory, in order to cause selects not going to the disk, but to go to the memory?

Thanks
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Nov 09, 2007 12:54 pm    Post subject:
Reply with quote

Yacov,

Quote:
DBA to define the table in DB2 cache or memory, in order to cause selects not going to the disk, but to go to the memory?

Its not possible.

PS: Assuming Im wrong (i.e., define table in memory is allowed), during IPL this table should be re-created everytime.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Nov 09, 2007 3:30 pm    Post subject:
Reply with quote

Yacov,

Addition to my prev post -

If I remember correctly, upon successfull record retervial ..... PAGE (where record is present) will be loaded into memory along with record. Depending on the memory/buffer size, this page remain there for sometime.

Since you have less number of rows and more hits..... there is a possibility that your table remains in buffer.
Back to top
View user's profile Send private message
yacov

New User


Joined: 27 Jul 2007
Posts: 6
Location: Israel

PostPosted: Fri Nov 09, 2007 4:01 pm    Post subject:
Reply with quote

murmohk1,

So, do I have some way (on DB2 level) that can speed up record retrivals?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Nov 09, 2007 4:04 pm    Post subject:
Reply with quote

Yacov,

Quote:
do I have some way (on DB2 level) that can speed up record retrivals?

Speak with your local DBA.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 2 Mon Sep 25, 2017 7:18 am
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am
No new posts Adding a userid to SMTP Security table Yolanda Harvey JCL & VSAM 1 Sun Aug 13, 2017 6:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us