If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > SET Command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-03, 09:51
Anu_R Anu_R is offline
Registered User
 
Join Date: Jun 2003
Posts: 38
SET Command

Hi,

Can anyone tell me the syntax of SET TABLE command. I am using IDS 9.3

The SET TABLE command is used to turn on the the resident state of one or more fragments of a table.

Regards,
Anu_R
Reply With Quote
  #2 (permalink)  
Old 11-21-03, 13:02
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
SET TABLE tab1 MEMORY_RESIDENT
SET INDEX index1 (dbspace1, dbspace2) MEMORY_RESIDENT;
SET TABLE tab1 (dbspace1) NON_RESIDENT
__________________
Fred Prose
Reply With Quote
  #3 (permalink)  
Old 11-21-03, 14:08
amit_kaps amit_kaps is offline
Registered User
 
Join Date: Nov 2003
Location: Pune, India
Posts: 22
Hi,
You can set eh residency in the follwoing manner-

SET TABLE abc RESIDENT

Specifies that all pages of the table named abc and its attached
index pages are to be resident.

SET TABLE abc RESIDENT on dbs1,dbs3

Specifies that only pages from the fragments in dbs1 and dbs3 are to be
resident. These pages will include both table and index pages for the
attached index.

SET TABLE abc RESIDENT WITH INDEX ALL

Specifies that the table and its detached indexes will be resident.

SET INDEX abcindex RESIDENT

Specifies that only the pages of the detached index abcindex will be
resident.

SET INDEX abc ON dbs3

Specifies that only the detached index fragment in dbs3 will be resident.

Note multiple SET commands may be used repeatedly on the same table or detached index. Note also that memory residency does not span the life of the server. This means that when IDS is restarted, memory residency must be reestablished for tables and indexes.
__________________
Regards,
Amit.K.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On