Database |
Previous Next |
This topic includes: ▪Storage Space And Memory Requirements
Database options include settings regarding database usage and recorded RDM data. ▪Go to the menu Preferences > Options... > Database ▪Set up the options as explained below. ▪Restore the default settings via Defaults. ▪Confirm any changes with OK or Apply. Discard any changes via Cancel.
Database Management System You can choose from 3 different Types: ▪SQLite In Main Memory
Please note: Choosing a database management system is subject to availability here in the software. A different database system that is not provided as an option as listed above cannot be selected or chosen.
Comparison
Switching Databases When switching to a different option, you will be asked if you would like to scan for devices in the network again.
Overview SQLite can be used to record only temporary data within the computer's memory.
Options It is not necessary to set up any options for this type of database management system [other than selecting it as the chosen Type].
Overview SQLite can be used to create a separate database file. Data is then stored beyond any restart of the software.
Options The following options are available and can be changed. ▪Type - Choose SQLite File ▪Data File - Defines the location of the database file on your computer.
Overview PostgreSQL Server is required when using the Big Data/History feature. MADRIX RADAR supports PSQL version 11 and higher.
Note: This type of database is not automatically installed together with MADRIX RADAR!
▪You need to install this server-based database management system separately if you wish to use it. ▪It can be installed on the same computer system or you can choose a different server/computer.
Local Usage Overview Install and configure PSQL on your local computer that also runs the MADRIX RADAR Software and set up the following options in MADRIX RADAR to enable it.
1] PSQL Installation & Database Configuration You need to set up PSQL before launching MADRIX RADAR or close the MADRIX RADAR Software should it already be running.
▪Download PSQL. ▪Run the PSQL installer and install the database management system on the computer that also runs the MADRIX RADAR Software. ▪Create a new database that MADRIX RADAR should use [via pgAdmin]. ▪See »https://www.postgresql.org/ for the download and detailed documentation.
2] Options In MADRIX RADAR Set up the following options in the MADRIX RADAR Software to enable usage of PSQL. ▪Type - Choose PostgreSQL Server ▪Driver Directory - Defines the location of the required library files [*.dll] on your computer. ▪Server - Defines the network address of the PSQL server, that is the computer that hosts the PSQL database management system. ▪Port - Defines the port that is used to establish the connection to the database. This option is available here since the port can be changed in the configuration of PSQL. ▪Database Name - Defines the name of the database. This can be especially useful when managing several projects/databases and the need to distinguish between them. ▪User Name - Enter the name that is used to establish the connection to the database; as set up during the configuration of PSQL. ▪Password - Enter the password that corresponds with the user name; as set up during the configuration of PSQL. Any input will be hidden.
Remote Server Overview MADRIX RADAR also provides the option to connect to a remote PSQL server.
1] Ethernet Connection Establishing a remote connection requires the involved systems to be [physically] connected.
▪Connect the MADRIX RADAR computer and the PSQL server over Ethernet network.
2] PSQL Installation & Database Configuration On The Remote Server ▪Download PSQL. ▪Run the PSQL installer and fully install the database management system on the remote server. ▪Create a new database that MADRIX RADAR should use [via pgAdmin]. ▪See »https://www.postgresql.org/ for the download and detailed documentation.
3] PSQL Configuration: Allow Remote Server This configuration is required before setting up options in MADRIX RADAR under step 5]. Otherwise, you need to restart MADRIX RADAR.
▪Connecting to a remote server is not enabled by default in PSQL. You need to allow a remote connection by editing a configuration file. ▪Navigate to the installation directory of PSQL and open the data folder [such as: C:\Program Files\PostgreSQL\11\data]. ▪Search or look for the file pg_hba.conf ▪Open the file with a text editor [such as Notepad]. ▪Scroll to the end of the file and enter the MADRIX RADAR computer that should connect to this PSQL server. ▪You have different options on what and how to allow remote connections. ▪Restart the PSQL server application after making these changes! ▪See »https://www.postgresql.org/ for detailed documentation about the pg_hba.conf file and how to enter the computer.
4] Windows Firewall Configuration A separate rule needs to be set in the integrated firewall of the Windows operating system. If this rule is not set, MADRIX RADAR cannot access the database of the remote server. ▪1] In the Windows operating system, go to Start > Settings > Update & Security > Windows Security > Firewall & network protection > Advanced settings ▪2] Click on Inbound Rules ▪3] Click on New Rule... ▪4] Rule Type: Select Port. ▪5] Protocol and Ports: Choose TCP. Enter 5432 at Specific local ports: or the specific port you have set in pgAdmin. ▪6] Action: Choose Allow the connection. ▪7] Profile: Choose the network profiles to which the rule should apply [Domain, Private, Public]. ▪8] Enter a Name: and optionally a Description for the rule you just created.
5] PSQL Installation On The Local Computer Please install PSQL before launching MADRIX RADAR or close the MADRIX RADAR Software should it already be running.
▪Download PSQL. ▪Run the PSQL installer and partly install the database management system on the computer that also runs the MADRIX RADAR Software. The only required components are Command Line Tools ▪Make sure that a fully functioning network connection has been established between the local computer and the remote server! ▪See »https://www.postgresql.org/ for the download and detailed documentation.
6] Options In MADRIX RADAR Set up the following options in the MADRIX RADAR Software to enable usage of PSQL on a remote server. ▪Type - Choose PostgreSQL Server ▪Driver Directory - Defines the location of the required library files [*.dll] on your computer. ▪Server - Defines the network address of the PSQL server, that is the computer that hosts the PSQL database management system. ▪Port - Defines the port that is used to establish the connection to the database. This option is available here since the port can be changed in the configuration of PSQL. ▪Database Name - Defines the name of the database. This can be especially useful when managing several projects/databases and the need to distinguish between them. ▪User Name - Enter the name that is used to establish the connection to the database; as set up during the configuration of PSQL on the remote server. ▪Password - Enter the password that corresponds with the user name; as set up during the configuration of PSQL on the remote server. Any input will be hidden.
▪All RDM database options set up here will be saved locally on your computer.
Storage Space And Memory Requirements Overview Since MADRIX RADAR uses database management systems to manage the data that is accumulated when working with RDM devices, a lot of data might ultimately be handled.
Influencing Factors Please note: A definite answer cannot be provided, since the needed storage or memory depends on a lot factors. ▪Which database management system is used, ▪How many RDM devices should be managed, ▪How many RDM nodes are used, ▪How many parameters and sensors a device provides/reports, ▪How often data and status updates are queried from devices, ▪How many status messages or events may occur during the monitored period of time, ▪If the data should be recorded or not [Big Data/data history], ▪And more.
Examples ▪As you will see, using the Big Data features and a PSQL database can result in substantial amounts of data over time. ▪Example 01: ▪Example 02:
▪Example 03: ▪Example 04: ▪Example 05:
|
MADRIX RADAR 1.3. |
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100% |
Previous
Next
|
Enable automatic translation | Activer la traduction automatique | |