User Tools

Site Tools


visual3d:documentation:definitions:file_formats:sql_database_definition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
visual3d:documentation:definitions:file_formats:sql_database_definition [2024/06/14 17:22] – created sgrangervisual3d:documentation:definitions:file_formats:sql_database_definition [2024/07/17 15:45] (current) – created sgranger
Line 1: Line 1:
-|**Language:**|** English**  • [[index.php?title=SQL_Database_Definition/fr&action=edit&redlink=1|français]] • [[index.php?title=SQL_Database_Definition/it&action=edit&redlink=1|italiano]] • [[SQL_Database_Definition/pt|português]] • [[index.php?title=SQL_Database_Definition/es&action=edit&redlink=1|español]] ****| +====== SQL Database Definition ======
- +
-|===== Contents =====\\ \\ \\ \\ * [[#Table_Structure_Definition|1 Table Structure Definition]]\\ * [[#Parsing_Raw_Data|2 Parsing Raw Data]]\\ * [[#Signal_Example|3 Signal Example]]|+
  
 The exporting of data from Visual3D requires an external database with a predefined data structure. The exporting of data from Visual3D requires an external database with a predefined data structure.
Line 18: Line 16:
  
 \\ \\
-[[File:Exporting_Data_to_a_Relational_Database_doc_27915504.jpg|{{/images/thumb/2/26/Exporting_Data_to_a_Relational_Database_doc_27915504.jpg/400px-Exporting_Data_to_a_Relational_Database_doc_27915504.jpg?400x330}}]]+{{:Exporting_Data_to_a_Relational_Database_doc_27915504.jpg}}
  
 \\ \\
  
  
-==== Table Structure Definition ====+=== Table Structure Definition ===
  
 The actual SQL database tables loosely follow the Visual3D data tree layout, and are defined below: The actual SQL database tables loosely follow the Visual3D data tree layout, and are defined below:
Line 43: Line 41:
  
  
-==== Parsing Raw Data ====+=== Parsing Raw Data ===
  
 The data exported from Visual3D into a database is too complex and dynamic for a rapid database transfer. The overhead associated with SQL Insert commands is quite high, even with optimization. For that reason, the data is formatted into a delimited structure to make intelligent post-process parsing possible. For each signal, a database row is created consisting of the signal identifier (i.e. foreign key) and a big string of raw data. The raw data - whether target data per frame, analog data, or calculated metrics – is retrieved and parsed into the following structure. The data exported from Visual3D into a database is too complex and dynamic for a rapid database transfer. The overhead associated with SQL Insert commands is quite high, even with optimization. For that reason, the data is formatted into a delimited structure to make intelligent post-process parsing possible. For each signal, a database row is created consisting of the signal identifier (i.e. foreign key) and a big string of raw data. The raw data - whether target data per frame, analog data, or calculated metrics – is retrieved and parsed into the following structure.
Line 53: Line 51:
  
  
-==== Signal Example ====+=== Signal Example ===
  
 For a target signal called “LANK” we would see a row in the database for the signal name in L4_name table with a system generated ID called dnameID and a dataname. For example: 849 “LANK” For a target signal called “LANK” we would see a row in the database for the signal name in L4_name table with a system generated ID called dnameID and a dataname. For example: 849 “LANK”
Line 125: Line 123:
 However, pivot tables can be avoided if only certain information, in a consistant format is needed, then new tables can be created to improve the speed of the parsing process. However, pivot tables can be avoided if only certain information, in a consistant format is needed, then new tables can be created to improve the speed of the parsing process.
  
- 
-Retrieved from "" 
  
  
visual3d/documentation/definitions/file_formats/sql_database_definition.1718385762.txt.gz · Last modified: 2024/06/14 17:22 by sgranger