Database:Documentation
From OpenSimulator
m (→Pre 0.6.9: Add missing spaces) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Quicklinks|Database_Documentation}} | |
− | {{ | + | |
− | + | ||
− | }} | + | |
{{Portal_Part|Introduction| | {{Portal_Part|Introduction| | ||
Line 38: | Line 35: | ||
* [[auth]] - User authentication information | * [[auth]] - User authentication information | ||
* [[inventoryfolders]] - Inventory folder-related details except for the contents | * [[inventoryfolders]] - Inventory folder-related details except for the contents | ||
− | + | * [[inventoryitems]] - All inventory item details (including folder associations to [[inventoryfolders]]) except contents - contents are referenced in the [[assets]] table | |
− | * [[inventoryitems]] - All inventory item details (including folder associations) except contents - contents are referenced in the [[assets]] table | + | |
* [[Regions_(database_table)|regions]] - Regions known to the grid | * [[Regions_(database_table)|regions]] - Regions known to the grid | ||
* [[tokens]] - unused | * [[tokens]] - unused | ||
Line 68: | Line 64: | ||
* [[estate settings]] - Settings for Estates | * [[estate settings]] - Settings for Estates | ||
* [[estate users]] - Users allowed on the Estate | * [[estate users]] - Users allowed on the Estate | ||
− | * [[estateban]] - Users banned from the Estate{{Div col end}} | + | * [[estateban]] - Users banned from the Estate |
+ | {{Div col end}} | ||
}} | }} | ||
Line 94: | Line 91: | ||
* [[inventoryfolders]] Inventory folder-related details *except contents* | * [[inventoryfolders]] Inventory folder-related details *except contents* | ||
* [[inventoryitems]] holds actual content and points back to * [[inventoryfolders]] | * [[inventoryitems]] holds actual content and points back to * [[inventoryfolders]] | ||
− | * [[inventoryitems]] All inventory item details (including folder associations) except contents - contents are referenced in the * [[assets]] table* | + | * [[inventoryitems]] All inventory item details (including folder associations) except contents - contents are referenced in the * [[assets]] table* |
+ | * [[Regions_(database_table)|regions]] Regions known to the grid | ||
* tokens table is unused | * tokens table is unused | ||
{{Div col end}} | {{Div col end}} | ||
Line 110: | Line 108: | ||
* regionban Per-Region ban list | * regionban Per-Region ban list | ||
* [[Database:regionsettings|regionsettings]] Per-Region settings | * [[Database:regionsettings|regionsettings]] Per-Region settings | ||
− | * | + | * regionwindlight - Windlight region settings |
* [[Terrain_(database_table)|terrain]] Terrain mesh revision history | * [[Terrain_(database_table)|terrain]] Terrain mesh revision history | ||
Latest revision as of 04:20, 4 December 2023
This page documents the databases tables used in OpenSimulator.
Tables are split up into Common, Services and Simulator.
On a grid, the grid services will contain the Services and Common tables, whilst each simulator instance will access the Simulator tables.
A standalone will contain Common, Services and Simulator tables, with the exception of the regions table, which is not currently persisted for standalones.
SQLite is generally not considered appropriate for this use case and will not be covered here; however the table structures are very similar and most of what is here will be useful in that context as well.
Note that some of these tables may be relics, some may be planned for future use, and some may see heavy use but have columns which are relics, not yet properly updated or not yet used at all.
There is a common package for database code, OpenSim.Data and each database has its own package (e.g. OpenSim.Data.MySQL).
Each database package has to supply implementations for the interfaces in OpenSim.Data. For instance, IAssetData is the asset interface, used by OpenSimulator to store and retrieve asset data.
Contents |
[edit] Organization
[edit] OpenSimulator 0.9.x onwards
Robust
|
Simulator
Estates
|
[edit] OpenSimulator 0.7.2 onwards
Migrations supports automatic upgrade to new database formats.
Robust
|
Simulator
Estates
|
[edit] Pre 0.6.9
Robust
|
Simulator
Estates
|