View previous topic :: View next topic
|
Author |
Message |
yacov
New User
Joined: 27 Jul 2007 Posts: 6 Location: Israel
|
|
|
|
Hi,
My question is DBA oriented
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
yacov
New User
Joined: 27 Jul 2007 Posts: 6 Location: Israel
|
|
|
|
murmohk1,
So, do I have some way (on DB2 level) that can speed up record retrivals? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Yacov,
Quote: |
do I have some way (on DB2 level) that can speed up record retrivals? |
Speak with your local DBA. |
|
Back to top |
|
|
|