Skip to content

Commit ed802c1

Browse files
committed
first pass
1 parent adf2a5e commit ed802c1

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
title: Ignition 8.3
3+
description:
4+
Guide for using Ignition 8.3 with QuestDB
5+
---
6+
7+
import Screenshot from "@theme/Screenshot"
8+
9+
[Inductive Automation Ignition](https://inductiveautomation.com/ignition/) is a software suite for industrial automation,
10+
deployed by hundreds of companies worldwide. The platform includes a variety of tools, including a SCADA system, IIoT integrations,
11+
and monitoring and reporting capabilities.
12+
13+
The release of [Ignition 8.3](https://inductiveautomation.com/ignition/whatsnew) integrates QuestDB in the new [Core Historian](https://inductiveautomation.com/ignition/modules/historian) module,
14+
replacing the legacy `SQLite` based historian. This module raises the performance ceiling, making the `Core Historian` a viable turnkey
15+
solution for industrial time-series data, without the need to invest in (and configure) an external traditional RBDMS.
16+
17+
## Prerequisites
18+
19+
- [Ignition 8.3](https://inductiveautomation.com/ignition/whatsnew)
20+
- [Core Historian module](https://inductiveautomation.com/ignition/modules/historian)
21+
22+
## Getting started
23+
24+
For initial configuration of the Core Historian, please follow the Inductive University introductory video.
25+
26+
<a href="https://inductiveuniversity.com/videos/core-historian/8.3" rel="noopener nofollow">
27+
<Screenshot
28+
alt="Core Historian Introduction"
29+
src="/images/guides/ignition/core-historian-tutorial.png"
30+
/>
31+
</a>
32+
33+
QuestDB is fully-integrated behind the scenes, and all tag historian actions can be performed via the UI.
34+
35+
## UI properties
36+
37+
Additional configuration settings can be found in the [Core Historian documentation](https://docs.inductiveautomation.com/docs/8.3/ignition-modules/tag-historian/tag-history-providers/internal-historian-questdb).
38+
39+
Some of the properties correspond to specific QuestDB features:
40+
41+
- `Partition Interval`
42+
- This corresponds to the `PARTITION BY` clause of a [`CREATE TABLE`](/docs/reference/sql/create-table/) statement.
43+
- Data will be vertically partitioned according to the provided unit.
44+
- See [partition concepts](/concept/partitions) for more information.
45+
- `Data Deduplication`
46+
- This corresponds to the `DEDUP` clause of a [`CREATE TABLE`](/docs/reference/sql/create-table/#deduplication) statement.
47+
- New rows which match the deduplication keys will be replaced instead of inserted as new rows.
48+
- See [dedup concepts](/concept/deduplication/) for more information.
49+
50+
## Gateway configuration
51+
52+
Additional settings can be configured in the gateway to control the backing QuestDB instance's behaviour. These are specified
53+
in the [Gateway and Gateway and Gateway Network Parameters](https://www.docs.inductiveautomation.com/docs/8.3/appendix/reference-pages/gateway-configuration-file-reference/gateway-and-gateway-network-parameters#core-historian)
54+
documentation.
55+
56+
### Direct queries
57+
58+
Ignition can be configured to expose QuestDB's Postgres wire server, allowing for read queries to be run directly against the underlying database.
59+
60+
- `historian.questdb.pgwireServerEnabled`
61+
- Corresponds to `pg.enabled` in QuestDB's `server.conf`
62+
- Enables the PG Wire server on the default port (8812).
63+
- `historian.questdb.pgwireServerPort`
64+
- Corresponds to the port half of `pg.net.bind.to` in QuestDB's `server.conf`.
65+
- Changes the server port from the default (8812) to the specified integer.
66+
67+
### Resource usage
68+
69+
Ignition also exposes settings to control the amount of memory allocated to the underlying database.
70+
71+
- `historian.questdb.ramUsageLimitBytes`
72+
- Corresponds to `ram.usage.limit.bytes` in QuestDB's `server.conf`.
73+
- Controls the amount of RAM allocated to the database in bytes.
74+
- `historian.questdb.ramUsageLimitPercent`
75+
- Corresponds to `ram.usage.limit.percent` in QuestDB's `server.conf`.
76+
- Control the amount of RAM allocated to the database as a percentage of system memory.
262 KB
Loading

0 commit comments

Comments
 (0)