NRAO Home > CASA > CASA Toolkit Reference Manual
table.setmaxcachesize - Function

3.2.1 set maximum cache size for column in the table


Description

It can sometimes be useful to limit the size of the cache used by a column stored with the tiled storage manager. This function requires some more knowledge about the table system and is not meant for the casual user.

Arguments





Inputs

columnname

Name of column

allowed:

string

Default:

nbytes

Maximum cache size in bytes

allowed:

int

Default:

Returns
bool

Example

 
 
  tb.open("3C273XC1.MS")  
  tb.nrows()  
# 7669L  
  tb.setmaxcachesize ("DATA", 4*1024*1024);  
# True  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright © 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search