Skip to content

Commit 1f13811

Browse files
mariadb-stefan-hinzgitbook-bot
authored andcommitted
GITBOOK-1718: Clarify why you need two or more DB host instances. Clarify installation with YUM and APT.
1 parent efce87b commit 1f13811

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

server/server-usage/storage-engines/spider/spider-installation.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ description: >-
66

77
# Spider Installation
88

9-
The Spider storage engine supports partitioning and XA transactions, and allows tables of different MariaDB instances to be handled as if they were on the same instance.
9+
The Spider storage engine supports partitioning and XA transactions, and allows tables of different database host instances to be handled as if they were on the same instance.
1010

11-
To use Spider, you need two or more instances of MariaDB, typically running on separate hosts. The Spider node is the MariaDB server that receives queries from your application. It then processes these queries, connecting to one or more data nodes. The data nodes are the MariaDB servers that actually store the table data.
11+
To make sensible use of Spider, you need two or more database host instances, typically running on separate hosts. Those database instances can be two or more MariaDB Server hosts, or a MariaDB Server host and an Oracle Database, etc. The Spider node is the MariaDB server that receives queries from your application. It then processes these queries, connecting to one or more data nodes. The data nodes are the MariaDB servers that actually store the table data.
1212

1313
In order for this to work, you need to configure the data nodes to accept queries from the Spider node and you need to configure the Spider node to use the data nodes as remote storage.
1414

@@ -58,15 +58,33 @@ The Spider storage engine must be installed on the Spider node. The Spider node
5858

5959
To install the Spider storage engine, complete the installation process shown below.
6060

61-
### Step 1: Install Spider Package (Debian/Ubuntu)
61+
### Step 1: Install Spider Package
6262

63-
On Debian and Ubuntu, the Spider storage engine is installed via a separate `mariadb-plugin-spider` package. To install the package via APT, execute the following command:
63+
{% tabs %}
64+
{% tab title="APT" %}
65+
#### APT (Debian, Ubuntu, etc.)
66+
67+
To install the Spider storage engine, execute the following command:
6468

6569
```bash
6670
$ sudo apt install mariadb-plugin-spider
6771
```
72+
{% endtab %}
73+
74+
{% tab title="YUM" %}
75+
#### YUM (CentOS etc.)
76+
77+
To install the Spider storage engine, execute the following command:
78+
79+
```bash
80+
sudo yum install MariaDB-spider-engine
81+
```
82+
{% endtab %}
6883

84+
{% tab title="Other Linux distributions" %}
6985
On other Linux distributions, the Spider storage engine is installed with MariaDB Server.
86+
{% endtab %}
87+
{% endtabs %}
7088

7189
### Step 2: Load the Spider Plugin
7290

0 commit comments

Comments
 (0)