parent
dd2b31bbf9
commit
9e6918943e
@ -0,0 +1,77 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
||||
<!-- |
||||
Licensed to the Apache Software Foundation (ASF) under one or more |
||||
contributor license agreements. See the NOTICE file distributed with |
||||
this work for additional information regarding copyright ownership. |
||||
The ASF licenses this file to You under the Apache License, Version 2.0 |
||||
(the "License"); you may not use this file except in compliance with |
||||
the License. You may obtain a copy of the License at |
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
||||
Unless required by applicable law or agreed to in writing, software |
||||
distributed under the License is distributed on an "AS IS" BASIS, |
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
See the License for the specific language governing permissions and |
||||
limitations under the License. |
||||
--> |
||||
|
||||
<beans xmlns="http://www.springframework.org/schema/beans" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation=" |
||||
http://www.springframework.org/schema/beans |
||||
http://www.springframework.org/schema/beans/spring-beans.xsd"> |
||||
<!-- |
||||
Alter configuration below as needed. |
||||
--> |
||||
<bean class="org.apache.ignite.configuration.IgniteConfiguration"> |
||||
<!-- |
||||
<property name="clientMode" value="true"/> |
||||
<property name="igniteInstanceName" value="sales"/> |
||||
|
||||
<property name="communicationSpi"> |
||||
<bean class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi"> |
||||
<property name="localPort" value="31100"/> |
||||
</bean> |
||||
</property> |
||||
|
||||
<property name="connectorConfiguration"> |
||||
<bean class="org.apache.ignite.configuration.ConnectorConfiguration"> |
||||
<property name="port" value="11231"/> |
||||
</bean> |
||||
</property> |
||||
|
||||
<property name="clientConnectorConfiguration"> |
||||
<bean class="org.apache.ignite.configuration.ClientConnectorConfiguration"> |
||||
<property name="port" value="10831"/> |
||||
</bean> |
||||
</property> |
||||
--> |
||||
<!-- alter stand --> |
||||
<property name="sqlConfiguration"> |
||||
<bean class="org.apache.ignite.configuration.SqlConfiguration"> |
||||
<property name="sqlSchemas"> |
||||
<list> |
||||
<value>tpch</value> |
||||
</list> |
||||
</property> |
||||
</bean> |
||||
</property> |
||||
|
||||
<!-- Enabling Apache Ignite Persistent Store. --> |
||||
<property name="dataStorageConfiguration"> |
||||
<bean class="org.apache.ignite.configuration.DataStorageConfiguration"> |
||||
<property name="defaultDataRegionConfiguration"> |
||||
<bean class="org.apache.ignite.configuration.DataRegionConfiguration"> |
||||
<property name="persistenceEnabled" value="true"/> |
||||
</bean> |
||||
</property> |
||||
</bean> |
||||
</property> |
||||
|
||||
<!-- Enabling authentication. --> |
||||
<property name="authenticationEnabled" value="true"/> |
||||
|
||||
</bean> |
||||
</beans> |
@ -0,0 +1,34 @@ |
||||
version: '3.7' |
||||
services: |
||||
ignite: |
||||
container_name: benchmark-ignite |
||||
ports: |
||||
- '8080:8080' |
||||
- '10800:10800' |
||||
- '11211:11211' |
||||
- '31500-31510:31500-31510' |
||||
- '31100:31100' |
||||
- '11231:11231' |
||||
- '10831:10831' |
||||
# - '47500:47500' |
||||
image: apacheignite/ignite |
||||
networks: |
||||
bench-net: |
||||
ipv4_address: 172.40.0.10 |
||||
volumes: |
||||
- 'ignite-volume:/storage' |
||||
- './benchmark-config.xml:/benchmark-config.xml' |
||||
environment: |
||||
- CONFIG_URI=/benchmark-config.xml |
||||
- IGNITE_WORK_DIR=/storage |
||||
- OPTION_LIBS=ignite-rest-http |
||||
- _JAVA_OPTIONS= -Xms10g -Xmx10g -XX:+AlwaysPreTouch -XX:+UseG1GC -XX:+ScavengeBeforeFullGC |
||||
volumes: |
||||
ignite-volume: |
||||
name: ignite-persistence |
||||
networks: |
||||
bench-net: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.40.0.0/24 |
@ -0,0 +1,109 @@ |
||||
version: '3.8' |
||||
services: |
||||
cratedb01: |
||||
container_name: crate1 |
||||
image: crate:latest |
||||
ports: |
||||
- "4201:4200" |
||||
# volumes: |
||||
# - /tmp/crate/01:/data |
||||
command: ["crate", |
||||
"-Ccluster.name=crate-docker-cluster", |
||||
"-Cnode.name=cratedb01", |
||||
"-Cnode.data=true", |
||||
"-Cnetwork.host=_eth0_", |
||||
"-Cdiscovery.seed_hosts=cratedb02,cratedb03", |
||||
"-Ccluster.initial_master_nodes=cratedb01,cratedb02,cratedb03", |
||||
"-Cgateway.expected_nodes=3", |
||||
"-Cgateway.recover_after_nodes=2", |
||||
"-Ccluster.routing.allocation.disk.threshold_enabled=false"] |
||||
deploy: |
||||
replicas: 1 |
||||
restart_policy: |
||||
condition: on-failure |
||||
resources: |
||||
limits: |
||||
cpus: '1' |
||||
memory: 3g |
||||
environment: |
||||
- CRATE_HEAP_SIZE=2g |
||||
networks: |
||||
crate: |
||||
ipv4_address: 172.70.0.71 |
||||
|
||||
cratedb02: |
||||
container_name: crate2 |
||||
image: crate:latest |
||||
ports: |
||||
- "4202:4200" |
||||
# volumes: |
||||
# - /tmp/crate/02:/data |
||||
command: ["crate", |
||||
"-Ccluster.name=crate-docker-cluster", |
||||
"-Cnode.name=cratedb02", |
||||
"-Cnode.data=true", |
||||
"-Cnetwork.host=_eth0_", |
||||
"-Cdiscovery.seed_hosts=cratedb01,cratedb03", |
||||
"-Ccluster.initial_master_nodes=cratedb01,cratedb02,cratedb03", |
||||
"-Cgateway.expected_nodes=3", |
||||
"-Cgateway.recover_after_nodes=2", |
||||
"-Ccluster.routing.allocation.disk.threshold_enabled=false"] |
||||
deploy: |
||||
replicas: 1 |
||||
restart_policy: |
||||
condition: on-failure |
||||
resources: |
||||
limits: |
||||
cpus: '1' |
||||
memory: 3g |
||||
environment: |
||||
- CRATE_HEAP_SIZE=2g |
||||
networks: |
||||
crate: |
||||
ipv4_address: 172.70.0.72 |
||||
|
||||
cratedb03: |
||||
container_name: crate3 |
||||
image: crate:latest |
||||
ports: |
||||
- "4203:4200" |
||||
# volumes: |
||||
# - /tmp/crate/03:/data |
||||
command: ["crate", |
||||
"-Ccluster.name=crate-docker-cluster", |
||||
"-Cnode.name=cratedb03", |
||||
"-Cnode.data=true", |
||||
"-Cnetwork.host=_eth0_", |
||||
"-Cdiscovery.seed_hosts=cratedb01,cratedb02", |
||||
"-Ccluster.initial_master_nodes=cratedb01,cratedb02,cratedb03", |
||||
"-Cgateway.expected_nodes=3", |
||||
"-Cgateway.recover_after_nodes=2", |
||||
"-Ccluster.routing.allocation.disk.threshold_enabled=false"] |
||||
deploy: |
||||
replicas: 1 |
||||
restart_policy: |
||||
condition: on-failure |
||||
resources: |
||||
limits: |
||||
cpus: '1' |
||||
memory: 3g |
||||
environment: |
||||
- CRATE_HEAP_SIZE=2g |
||||
networks: |
||||
crate: |
||||
ipv4_address: 172.70.0.73 |
||||
|
||||
# crash: |
||||
# image: crash aptosretail/cratedb-crash |
||||
# ports: |
||||
# - "4204" |
||||
# networks: |
||||
# crate: |
||||
# ipv4_address: 172.70.0.74 |
||||
|
||||
networks: |
||||
crate: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.70.0.0/24 |
@ -0,0 +1 @@ |
||||
if error 78, do: sudo sysctl -w vm.max_map_count=524288 |
@ -0,0 +1,115 @@ |
||||
version: '3.8' |
||||
services: |
||||
cratedb01: |
||||
container_name: crate1 |
||||
image: crate:latest |
||||
ports: |
||||
- "4201:4200" |
||||
volumes: |
||||
- 'crate01-volume:/data' |
||||
command: ["crate", |
||||
"-Ccluster.name=crate-docker-cluster", |
||||
"-Cnode.name=cratedb01", |
||||
"-Cnode.data=true", |
||||
"-Cnetwork.host=_eth0_", |
||||
"-Cdiscovery.seed_hosts=cratedb02,cratedb03", |
||||
"-Ccluster.initial_master_nodes=cratedb01,cratedb02,cratedb03", |
||||
"-Cgateway.expected_nodes=3", |
||||
"-Cgateway.recover_after_nodes=2", |
||||
"-Ccluster.routing.allocation.disk.threshold_enabled=false"] |
||||
deploy: |
||||
replicas: 1 |
||||
restart_policy: |
||||
condition: on-failure |
||||
resources: |
||||
limits: |
||||
cpus: '6' |
||||
memory: 20g |
||||
environment: |
||||
- CRATE_HEAP_SIZE=10g |
||||
networks: |
||||
crate: |
||||
ipv4_address: 172.70.0.71 |
||||
|
||||
cratedb02: |
||||
container_name: crate2 |
||||
image: crate:latest |
||||
ports: |
||||
- "4202:4200" |
||||
volumes: |
||||
- 'crate02-volume:/data' |
||||
command: ["crate", |
||||
"-Ccluster.name=crate-docker-cluster", |
||||
"-Cnode.name=cratedb02", |
||||
"-Cnode.data=true", |
||||
"-Cnetwork.host=_eth0_", |
||||
"-Cdiscovery.seed_hosts=cratedb01,cratedb03", |
||||
"-Ccluster.initial_master_nodes=cratedb01,cratedb02,cratedb03", |
||||
"-Cgateway.expected_nodes=3", |
||||
"-Cgateway.recover_after_nodes=2", |
||||
"-Ccluster.routing.allocation.disk.threshold_enabled=false"] |
||||
deploy: |
||||
replicas: 1 |
||||
restart_policy: |
||||
condition: on-failure |
||||
resources: |
||||
limits: |
||||
cpus: '6' |
||||
memory: 20g |
||||
environment: |
||||
- CRATE_HEAP_SIZE=10g |
||||
networks: |
||||
crate: |
||||
ipv4_address: 172.70.0.72 |
||||
|
||||
cratedb03: |
||||
container_name: crate3 |
||||
image: crate:latest |
||||
ports: |
||||
- "4203:4200" |
||||
volumes: |
||||
- 'crate03-volume:/data' |
||||
command: ["crate", |
||||
"-Ccluster.name=crate-docker-cluster", |
||||
"-Cnode.name=cratedb03", |
||||
"-Cnode.data=true", |
||||
"-Cnetwork.host=_eth0_", |
||||
"-Cdiscovery.seed_hosts=cratedb01,cratedb02", |
||||
"-Ccluster.initial_master_nodes=cratedb01,cratedb02,cratedb03", |
||||
"-Cgateway.expected_nodes=3", |
||||
"-Cgateway.recover_after_nodes=2", |
||||
"-Ccluster.routing.allocation.disk.threshold_enabled=false"] |
||||
deploy: |
||||
replicas: 1 |
||||
restart_policy: |
||||
condition: on-failure |
||||
resources: |
||||
limits: |
||||
cpus: '6' |
||||
memory: 20g |
||||
environment: |
||||
- CRATE_HEAP_SIZE=10g |
||||
networks: |
||||
crate: |
||||
ipv4_address: 172.70.0.73 |
||||
|
||||
# crash: |
||||
# image: crash aptosretail/cratedb-crash |
||||
# ports: |
||||
# - "4204" |
||||
# networks: |
||||
# crate: |
||||
# ipv4_address: 172.70.0.74 |
||||
volumes: |
||||
crate01-volume: |
||||
name: crate01-data |
||||
crate02-volume: |
||||
name: crate02-data |
||||
crate03-volume: |
||||
name: crate03-data |
||||
networks: |
||||
crate: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.70.0.0/24 |
@ -0,0 +1,42 @@ |
||||
version: '3.8' |
||||
services: |
||||
cratedb01: |
||||
container_name: crate1 |
||||
image: crate:latest |
||||
ports: |
||||
- "4201:4200" |
||||
volumes: |
||||
- 'crate01-volume:/data' |
||||
# volumes: |
||||
# - /tmp/crate/01:/data |
||||
command: ["crate", |
||||
"-Ccluster.name=crate-docker-cluster", |
||||
"-Cnode.name=cratedb01", |
||||
"-Cnode.data=true", |
||||
"-Cnetwork.host=_eth0_", |
||||
"-Ccluster.initial_master_nodes=cratedb01", |
||||
"-Cgateway.expected_nodes=1", |
||||
"-Ccluster.routing.allocation.disk.threshold_enabled=false"] |
||||
deploy: |
||||
replicas: 1 |
||||
restart_policy: |
||||
condition: on-failure |
||||
resources: |
||||
limits: |
||||
cpus: '1' |
||||
memory: 60g |
||||
environment: |
||||
- CRATE_HEAP_SIZE=15g |
||||
networks: |
||||
crate: |
||||
ipv4_address: 172.70.0.71 |
||||
|
||||
volumes: |
||||
crate01-volume: |
||||
name: crate01-data |
||||
networks: |
||||
crate: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.70.0.0/24 |
@ -0,0 +1,24 @@ |
||||
version: '3.7' |
||||
services: |
||||
benchmark-exasol: |
||||
container_name: benchmark-dev-exa |
||||
ports: |
||||
- '8563:8563' |
||||
privileged: true |
||||
# volumes: |
||||
# - 'benchmark-exa-volume:/exa' |
||||
image: exasol/docker-db:latest-7.0 |
||||
# Falls docker volume und docker image ein Versions-Mismatch haben, feste Version verwenden (siehe nächste Zeile) |
||||
# image: exasol/docker-db:7.0.3 |
||||
networks: |
||||
benchmark-dev-net: |
||||
ipv4_address: 172.30.0.20 |
||||
#volumes: |
||||
# benchmark-exa-volume: |
||||
# name: benchmark-exa-data |
||||
networks: |
||||
benchmark-dev-net: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.30.0.0/24 |
@ -0,0 +1,29 @@ |
||||
version: '2.4' |
||||
services: |
||||
benchmark-exasol: |
||||
container_name: benchmark-dev-exa |
||||
ports: |
||||
- '8563:8563' |
||||
privileged: true |
||||
# volumes: |
||||
# - 'benchmark-exa-volume:/exa' |
||||
image: exasol/docker-db:latest-7.0 |
||||
# Falls docker volume und docker image ein Versions-Mismatch haben, feste Version verwenden (siehe nächste Zeile) |
||||
# image: exasol/docker-db:7.0.3 |
||||
networks: |
||||
benchmark-dev-net: |
||||
ipv4_address: 172.30.0.20 |
||||
#deploy: |
||||
#resources: |
||||
#limits: |
||||
# cpus: '10' |
||||
#memory: 20g |
||||
#volumes: |
||||
# benchmark-exa-volume: |
||||
# name: benchmark-exa-data |
||||
networks: |
||||
benchmark-dev-net: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.30.0.0/24 |
@ -0,0 +1,28 @@ |
||||
version: '3.7' |
||||
services: |
||||
benchmark-exasol: |
||||
container_name: benchmark-dev-exa |
||||
ports: |
||||
- '8563:8563' |
||||
privileged: true |
||||
# volumes: |
||||
# - 'benchmark-exa-volume:/exa' |
||||
image: exasol/docker-db:latest-7.0 |
||||
# Falls docker volume und docker image ein Versions-Mismatch haben, feste Version verwenden (siehe nächste Zeile) |
||||
# image: exasol/docker-db:7.0.3 |
||||
networks: |
||||
benchmark-dev-net: |
||||
ipv4_address: 172.30.0.20 |
||||
deploy: |
||||
resources: |
||||
cpus: '5' |
||||
memory: 20g |
||||
#volumes: |
||||
# benchmark-exa-volume: |
||||
# name: benchmark-exa-data |
||||
networks: |
||||
benchmark-dev-net: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.30.0.0/24 |
@ -0,0 +1,9 @@ |
||||
version: '3.3' |
||||
services: |
||||
columnstore: |
||||
ports: |
||||
- '3306:3306' |
||||
environment: |
||||
- ANALYTICS_ONLY=1 |
||||
container_name: benchmark-mariadbsc |
||||
image: mariadb/columnstore |
@ -0,0 +1,13 @@ |
||||
version: '3.3' |
||||
services: |
||||
columnstore: |
||||
ports: |
||||
- '3306:3306' |
||||
environment: |
||||
- ANALYTICS_ONLY=1 |
||||
container_name: benchmark-mariadbsc |
||||
image: mariadb/columnstore |
||||
deploy: |
||||
resources: |
||||
limits: |
||||
cpus: '5' |
@ -0,0 +1 @@ |
||||
docker exec benchmark-mariadbsc mariadb -e "GRANT ALL PRIVILEGES ON *.* TO 'nsc'@'%' IDENTIFIED BY 'mariadbcs';" |
@ -0,0 +1,28 @@ |
||||
version: '3.7' |
||||
services: |
||||
mb-psql: |
||||
container_name: benchmark-postgres |
||||
ports: |
||||
- '5439:5432' |
||||
environment: |
||||
- POSTGRESQL_USERNAME=p |
||||
- POSTGRESQL_PASSWORD=postgres |
||||
- POSTGRESQL_DATABASE=benchmark |
||||
- PGPASSWORD=postgres |
||||
- POSTGRESQL_POSTGRES_PASSWORD=postgres |
||||
image: bitnami/postgresql |
||||
shm_size: 16g |
||||
# volumes: |
||||
# - 'mb-psql-volume:/bitnami/postgresql' |
||||
networks: |
||||
benchmark-postgres-net: |
||||
ipv4_address: 172.40.113.10 |
||||
#volumes: |
||||
# mb-psql-volume: |
||||
# name: mb-psql-data |
||||
networks: |
||||
benchmark-postgres-net: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.40.113.0/24 |
@ -0,0 +1,32 @@ |
||||
version: '3.7' |
||||
services: |
||||
mb-psql: |
||||
container_name: benchmark-postgres |
||||
ports: |
||||
- '5439:5432' |
||||
environment: |
||||
- POSTGRESQL_USERNAME=p |
||||
- POSTGRESQL_PASSWORD=postgres |
||||
- POSTGRESQL_DATABASE=benchmark |
||||
- PGPASSWORD=postgres |
||||
- POSTGRESQL_POSTGRES_PASSWORD=postgres |
||||
image: bitnami/postgresql |
||||
shm_size: 16g |
||||
# volumes: |
||||
# - 'mb-psql-volume:/bitnami/postgresql' |
||||
networks: |
||||
benchmark-postgres-net: |
||||
ipv4_address: 172.40.113.10 |
||||
deploy: |
||||
resources: |
||||
limits: |
||||
cpus: '5' |
||||
#volumes: |
||||
# mb-psql-volume: |
||||
# name: mb-psql-data |
||||
networks: |
||||
benchmark-postgres-net: |
||||
ipam: |
||||
driver: default |
||||
config: |
||||
- subnet: 172.40.113.0/24 |
Loading…
Reference in new issue