분류 전체보기49 CouchBase > Primary Index 와 Secondary Index Couchbase 공식 가이드 참조 카우치 베이스에는 Index에 두가지 타입이 존재한다. 하나는 Primary Index, 다른 하나는 Secondary Index. Primary Index primary Index라고 하면 RDB 에서의 primary index라고 생각 될 수 있는데, 그것과는 성격이 다르다. No Sql 특성상 JSON 도큐먼트의 ID (document id) 라고 봐야 한다. Document 키스페이스만 Primary Index가 될 수 있다. 예를 들어 아래 같이 쿼리한 결과, SELECT meta().id, travel FROM `travel-sample`.inventory.airline travel LIMIT 1; 데이터가 다음과 같았다면, [ { "id": "airline.. 2022. 12. 27. 카우치베이스에서 쓰이는 port 참조 : https://docs.couchbase.com/server/current/install/install-ports.html Couchbase Server Ports | Couchbase Docs This page describes the TCP ports that are used by Couchbase Server for network communication. Some ports, such as those used for cluster management, are required to be open on every node because they are essential to how Couchbase Server communicates with docs.couchbase.com Ports Li.. 2022. 10. 3. aws(리눅스) telnet 설치 먼저 telnet이 설치 되어 있는지 확인 telnet localhost 80 command not found 설치 yum install telnet -y 2022. 9. 26. ec2 생성 후 root 활성화 처음 ec2를 만들고 바로 ssh 에 접근이 가능하지만 root 계정은 비활성화 되어 있습니다. root 계정을 활성화 시켜 봅시다. root 비밀번호 생성 $passwd root $새 암호: $새 암호 재입력: /etc/ssh/sshd_config 파일 편집 $sudo vi /etc/ssh/sshd_config #PermitRootLogin yes PermitRootLogin yes ssh 접근 권한 key copy $sudo mkdir /root/.ssh mkdir: `/root/.ssh' 디렉토리를 만들 수 없습니다: File exists $sudo cp /home/ec2-user/.ssh/authorized_keys /root/.ssh $sudo systemctl restart sshd su - .. 2022. 9. 26. 이전 1 2 3 4 5 6 7 ··· 13 다음