Regions (database table)
From OpenSimulator
JeffKelley (Talk | contribs) m (Wikified table structure) |
m (Minor formatting changes to match other database documentation pages) |
||
Line 2: | Line 2: | ||
{{Quicklinks}} | {{Quicklinks}} | ||
<br /> | <br /> | ||
− | |||
− | The | + | The '''regions''' table contains information concerning all the regions currently connected to the grid. (back to [[Database Documentation]]) |
+ | |||
+ | == regions Table Structure == | ||
+ | |||
+ | The structure of the regions table is as follows: | ||
<br /> | <br /> | ||
+ | |||
{| style="border:1px solid #ccc;" | {| style="border:1px solid #ccc;" | ||
− | |- style="background:# | + | |- style="background:#cce;" |
! Field | ! Field | ||
! Type | ! Type | ||
Line 73: | Line 77: | ||
|} | |} | ||
<br /> | <br /> | ||
− | + | ||
(back to [[Database Documentation]]) | (back to [[Database Documentation]]) | ||
− | ---- | + | <br /> |
+ | |||
+ | ---- | ||
+ | <br /> | ||
+ | |||
+ | == regions Fields == | ||
+ | |||
'''uuid'''<br /> | '''uuid'''<br /> | ||
The region's unique identifier | The region's unique identifier | ||
<br /> | <br /> | ||
− | + | ||
'''regionHandle'''<br /> | '''regionHandle'''<br /> | ||
The absolute address of the origin coordinates, specified in metres, of the region calculated from LocX and LocY as<br /> | The absolute address of the origin coordinates, specified in metres, of the region calculated from LocX and LocY as<br /> | ||
(LocX*256*65536)+(LocY*256). | (LocX*256*65536)+(LocY*256). | ||
<br /> | <br /> | ||
− | + | ||
'''regionName'''<br /> | '''regionName'''<br /> | ||
the region's name as it appears on maps - not necesarily unique | the region's name as it appears on maps - not necesarily unique | ||
<br /> | <br /> | ||
− | + | ||
'''regionRecvKey'''<br /> | '''regionRecvKey'''<br /> | ||
the key used by the region server to verify authenticity of communications from other regions | the key used by the region server to verify authenticity of communications from other regions | ||
<br /> | <br /> | ||
− | + | ||
'''regionSendKey'''<br /> | '''regionSendKey'''<br /> | ||
the key used by the region server when verifying its identity in communications with other regions | the key used by the region server when verifying its identity in communications with other regions | ||
<br /> | <br /> | ||
− | + | ||
'''regionSecret'''<br /> | '''regionSecret'''<br /> | ||
more detail req'd | more detail req'd | ||
<br /> | <br /> | ||
− | + | ||
'''regionDataURI'''<br /> | '''regionDataURI'''<br /> | ||
more detail req'd | more detail req'd | ||
<br /> | <br /> | ||
− | + | ||
'''serverIP'''<br /> | '''serverIP'''<br /> | ||
IP address of region server | IP address of region server | ||
<br /> | <br /> | ||
− | + | ||
'''serverPort'''<br /> | '''serverPort'''<br /> | ||
connection port for region server | connection port for region server | ||
<br /> | <br /> | ||
− | + | ||
'''serverURI'''<br /> | '''serverURI'''<br /> | ||
more detail req'd | more detail req'd | ||
<br /> | <br /> | ||
− | + | ||
'''locX'''<br /> | '''locX'''<br /> | ||
X coordinate of region on the grid | X coordinate of region on the grid | ||
<br /> | <br /> | ||
− | + | ||
'''locY'''<br /> | '''locY'''<br /> | ||
Y coordinate of region on the grid | Y coordinate of region on the grid | ||
<br /> | <br /> | ||
− | + | ||
'''locZ'''<br /> | '''locZ'''<br /> | ||
Z coordinate of region on the grid *grinz* | Z coordinate of region on the grid *grinz* | ||
<br /> | <br /> | ||
− | + | ||
'''eastOverrideHandle'''<br /> | '''eastOverrideHandle'''<br /> | ||
more detail req'd | more detail req'd | ||
<br /> | <br /> | ||
− | + | ||
'''westOverrideHandle'''<br /> | '''westOverrideHandle'''<br /> | ||
more detail req'd | more detail req'd | ||
<br /> | <br /> | ||
− | + | ||
'''southOverrideHandle'''<br /> | '''southOverrideHandle'''<br /> | ||
more detail req'd | more detail req'd | ||
<br /> | <br /> | ||
− | + | ||
'''northOverrideHandle'''<br /> | '''northOverrideHandle'''<br /> | ||
more detail req'd | more detail req'd | ||
<br /> | <br /> | ||
− | + | ||
'''regionAssetURI'''<br /> | '''regionAssetURI'''<br /> | ||
The URL and port number of the Asset Server for the grid | The URL and port number of the Asset Server for the grid | ||
<br /> | <br /> | ||
− | + | ||
'''regionAssetRecvKey'''<br /> | '''regionAssetRecvKey'''<br /> | ||
key used to verify the authenticity of communications received from the asset server | key used to verify the authenticity of communications received from the asset server | ||
<br /> | <br /> | ||
− | + | ||
'''regionAssetSendKey'''<br /> | '''regionAssetSendKey'''<br /> | ||
key used to verify the authenticity of communications sent to the asset server | key used to verify the authenticity of communications sent to the asset server | ||
<br /> | <br /> | ||
− | + | ||
'''regionUserURI'''<br /> | '''regionUserURI'''<br /> | ||
The URL and port number of the User Server for the grid | The URL and port number of the User Server for the grid | ||
<br /> | <br /> | ||
− | + | ||
'''regionUserRecvKey'''<br /> | '''regionUserRecvKey'''<br /> | ||
key used to verify the authenticity of communications received from the user server | key used to verify the authenticity of communications received from the user server | ||
<br /> | <br /> | ||
− | + | ||
'''regionUserSendKey'''<br /> | '''regionUserSendKey'''<br /> | ||
key used to verify the authenticity of communications sent to the user server | key used to verify the authenticity of communications sent to the user server | ||
<br /> | <br /> | ||
− | + | ||
'''regionMapTexture'''<br /> | '''regionMapTexture'''<br /> | ||
texture for the map as displayed in the client minimap | texture for the map as displayed in the client minimap | ||
<br /> | <br /> | ||
− | + | ||
'''serverHttpPort'''<br /> | '''serverHttpPort'''<br /> | ||
port the region will answer on for HTTP requests | port the region will answer on for HTTP requests | ||
<br /> | <br /> | ||
− | + | ||
'''serverRemotingPort'''<br /> | '''serverRemotingPort'''<br /> | ||
more detail req'd | more detail req'd | ||
<br /> | <br /> | ||
− | + | ||
'''owner_uuid'''<br /> | '''owner_uuid'''<br /> | ||
UUID of the avatar/account which owns the region | UUID of the avatar/account which owns the region | ||
<br /> | <br /> | ||
− | + | ||
'''originUUID'''<br /> | '''originUUID'''<br /> | ||
more detail req'd, currently seems to contain the current UUID of the region. | more detail req'd, currently seems to contain the current UUID of the region. | ||
<br /> | <br /> | ||
− | + | ||
---- | ---- | ||
+ | |||
(back to [[Database Documentation]]) | (back to [[Database Documentation]]) | ||
<br /> | <br /> | ||
[[Category:Database]] | [[Category:Database]] |
Revision as of 17:33, 11 April 2016
The regions table contains information concerning all the regions currently connected to the grid. (back to Database Documentation)
regions Table Structure
The structure of the regions table is as follows:
Field | Type | Null | Key | Default | Extra |
---|---|---|---|---|---|
uuid | varchar(36) | NO | PRI | NULL | |
regionHandle | bigint(20) unsigned | NO | MUL | NULL | |
regionName | varchar(32) | YES | MUL | NULL | |
regionRecvKey | varchar(128) | YES | NULL | ||
regionSendKey | varchar(128) | YES | NULL | ||
regionSecret | varchar(128) | YES | NULL | ||
regionDataURI | varchar(255) | YES | NULL | ||
serverIP | varchar(64) | YES | NULL | ||
serverPort | int(10) unsigned | YES | NULL | ||
serverURI | varchar(255) | YES | NULL | ||
locX | int(10) unsigned | YES | NULL | ||
locY | int(10) unsigned | YES | NULL | ||
locZ | int(10) unsigned | YES | NULL | ||
eastOverrideHandle | bigint(20) unsigned | YES | MUL | NULL | |
westOverrideHandle | bigint(20) unsigned | YES | NULL | ||
southOverrideHandle | bigint(20) unsigned | YES | NULL | ||
northOverrideHandle | bigint(20) unsigned | YES | NULL | ||
regionAssetURI | varchar(255) | YES | NULL | ||
regionAssetRecvKey | varchar(128) | YES | PRI | NULL | |
regionAssetSendKey | varchar(128) | YES | PRI | NULL | |
regionUserURI | varchar(255) | YES | NULL | ||
regionUserRecvKey | varchar(128) | YES | NULL | ||
regionUserSendKey | varchar(128) | YES | NULL | ||
regionMapTexture | varchar(36) | YES | NULL | ||
serverHttpPort | int(10) | YES | NULL | ||
serverRemotingPort | int(10) | YES | NULL | ||
owner_uuid | varchar(36) | NO | 00000000-0000-0000-0000-000000000000 | ||
originUUID | varchar(36) | YES | NULL |
(back to Database Documentation)
regions Fields
uuid
The region's unique identifier
regionHandle
The absolute address of the origin coordinates, specified in metres, of the region calculated from LocX and LocY as
(LocX*256*65536)+(LocY*256).
regionName
the region's name as it appears on maps - not necesarily unique
regionRecvKey
the key used by the region server to verify authenticity of communications from other regions
regionSendKey
the key used by the region server when verifying its identity in communications with other regions
regionSecret
more detail req'd
regionDataURI
more detail req'd
serverIP
IP address of region server
serverPort
connection port for region server
serverURI
more detail req'd
locX
X coordinate of region on the grid
locY
Y coordinate of region on the grid
locZ
Z coordinate of region on the grid *grinz*
eastOverrideHandle
more detail req'd
westOverrideHandle
more detail req'd
southOverrideHandle
more detail req'd
northOverrideHandle
more detail req'd
regionAssetURI
The URL and port number of the Asset Server for the grid
regionAssetRecvKey
key used to verify the authenticity of communications received from the asset server
regionAssetSendKey
key used to verify the authenticity of communications sent to the asset server
regionUserURI
The URL and port number of the User Server for the grid
regionUserRecvKey
key used to verify the authenticity of communications received from the user server
regionUserSendKey
key used to verify the authenticity of communications sent to the user server
regionMapTexture
texture for the map as displayed in the client minimap
serverHttpPort
port the region will answer on for HTTP requests
serverRemotingPort
more detail req'd
owner_uuid
UUID of the avatar/account which owns the region
originUUID
more detail req'd, currently seems to contain the current UUID of the region.
(back to Database Documentation)