Data is organized to meet a schema. Think tables which organize data into rows and columns.
Data is unorganized and lacks a schema. Imagine collections of html documents including text and images not organized in any consistent way.
Data is organized to meet a schema. Think tables which organize data into rows and columns.
Data is unorganized and lacks a schema. Imagine collections of html documents including text and images not organized in any consistent way.
A seguir, teremos uma série de dicas divididas em tópicos para configurar uma instância Linux de alta performance para executar o MongoDB.
O MongoDB precisa criar vários descritores de arquivos quando vários clientes se conectam, sendo necessário ter vários processos simultâneos para operar com eficácia. Os padrões normais do OS acabam por limitar essa quantidade de processos.
Vamos alterar os limites de processos no OS.
#!/bin/sh | |
# Make sure to: | |
# 1) Name this file `backup.sh` and place it in /home/ubuntu | |
# 2) Run sudo apt-get install awscli to install the AWSCLI | |
# 3) Run aws configure (enter s3-authorized IAM user and specify region) | |
# 4) Fill in DB host + name | |
# 5) Create S3 bucket for the backups and fill it in below (set a lifecycle rule to expire files older than X days in the bucket) | |
# 6) Run sudo mkdir /data/tmp | |
# 7) Run sudo chmod 777 /data/tmp/ |
#!/bin/sh | |
# Adds an IP to Cloudflare IP block list | |
# Path: /var/ossec/active-response/bin/cloudflare-ban.sh | |
# | |
ACTION=$1 | |
USER=$2 | |
IP=$3 | |
PWD=`pwd` | |
TKN='CF API KEY' |