If run on the coordinator node, displays file status for coordinator and for every shared dbspace file on every included secondary node. If executed on a secondary node, displays file status for only the current node.
sp_iqmpxfilestatus
Multiplex only.
Must have You must have EXECUTE privilege on the system procedure, as well as the MANAGE MULTIPLEX system privilege.
sp_iqmpxfilestatus returns:
Column Name |
Data Type |
Description |
---|---|---|
ServerID |
unsigned int |
Identifier for the multiplex server, from SYSIQMPXINFO |
DBSpaceName |
char(128) |
Dbspace from which the space is reserved |
FileName |
char(128) |
Logical file name of the dbspace file |
FileStatus |
char(2) |
Dbspace file status:
|
Shows sample output of sp_iqmpxfilestatus:
server_id,server_name,DBSpace_name,FileName,FileStatus 1,'mpx2422_m','IQ_SYSTEM_MAIN','IQ_SYSTEM_MAIN','VALID' 1,'mpx2422_m','mpx_main1','mpx_main1','VALID' 1,'mpx2422_m','IQ_SHARED_TEMP','sharedfile_dba','VALID' 1,'mpx2422_m','IQ_SHARED_TEMP','sharedfile_dba1','VALID' 2,'mpx2422_w1','IQ_SYSTEM_MAIN','IQ_SYSTEM_MAIN','VALID' 2,'mpx2422_w1','mpx_main1','mpx_main1','VALID' 2,'mpx2422_w1','IQ_SHARED_TEMP','sharedfile_dba','VALID' 2,'mpx2422_w1','IQ_SHARED_TEMP','sharedfile_dba1','VALID' 3,'mpx2422_r1','IQ_SYSTEM_MAIN','IQ_SYSTEM_MAIN','VALID' 3,'mpx2422_r1','mpx_main1','mpx_main1','VALID' 3,'mpx2422_r1','IQ_SHARED_TEMP','sharedfile_dba','VALID' 3,'mpx2422_r1','IQ_SHARED_TEMP','sharedfile_dba1','VALID'