Azure etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
Azure etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

11 Ekim 2024 Cuma

Azure Cosmos Veri Tabanı

Giriş
Açıklaması şöyle
Azure Cosmos DB is a multi-model database service that supports various data models, including key-value, column-family, document, and graph.
Graph model
Açıklaması şöyle
Its graph model is based on the Gremlin API, which allows Cosmos DB to store and query graph data. While Cosmos DB can handle graph data, it is not a native graph database like Neo4j.
Graph Query Language
Açıklaması şöyle
Cosmos DB uses the Gremlin query language for graph operations. While Gremlin is also a graph traversal language, it is more general and less expressive compared to Cypher, especially for complex graph queries. Neo4j’s Cypher language often allows for simpler, more readable graph queries.
ACID Transactions
Açıklaması şöyle
Cosmos DB offers multi-model ACID transactions at the partition level but may not provide the same level of fine-grained ACID transaction support for graph-specific operations as Neo4j does, especially when transactions span multiple partitions.


6 Şubat 2023 Pazartesi

az komutu

account seçeneği
Örnek
Şöyle yaparız
az login 
az account set --subscription <YOUR_SUBSCRIPTION_ID>
acr seçeneği - Azure Container Registry
Örnek  - create
Şöyle yaparız
az acr build --resource-group <AZURE_RESOURCE_GROUP> --registry <ACR_INSTANCE_NAME> \
  --image <IMAGE_NAME:TAG>

az acr build --resource-group aks-my-rg --registry orclacregistry \
  --image odsa-spring:v1 .
Örnek  - create
Şöyle yaparız
az acr create --resource-group <AZURE_RESOURCE_GROUP> --name <ACR_INSTANCE_NAME> \
  --sku <ACR_SERVICE_TIER>

# Example 
az acr create --resource-group aks-my-rg --name orclacregistry --sku basic
Örnek - login
Şöyle yaparızaz group create ile bir resource group yaratılmış olmalıdır
az acr login --name <ACR_INSTANCE_NAME> --resource-group <AZURE_RESOURCE_GROUP>

# Example
az acr login --name orclacregistry --resource-group aks-my-rg
Örnek - repository list
Şöyle yaparız.
az acr repository list --name <ACR_INSTANCE_NAME> --output table

# Example 
az acr repository list --name orclacregistry --output table
aks seçeneği -  Azure Kubernetes Service (AKS)
Örnek - create
Şöyle yaparız.
az aks create --resource-group aks-my-rg --name aks-my-cluster \
  --attach-acr orclacregistry \
  --dns-name-prefix aks-my-dns-kubernetes \
  --generate-ssh-keys
Örnek  install cli
Şöyle yaparız. kubectl komutunu kurar
az aks install-cli
group  seçeneği
Örnek
Şöyle yaparız
az group create --name <AZURE_RESOURCE_GROUP> --location <AZURE_REGION>

#Example 
az group create --name aks-my-rg --location eastus
provider seçeneği
Örnek
Şöyle yaparız
az provider register --namespace Microsoft.ContainerRegistry