목록기타/자격증 (5)
우당탕탕 개발일지
1. 고가용성 장애가 생기면 빠른 시간안에 장애를 고치고 서비스 지속 => 다중 AZ 2. 탄력성 확장 및 축소가 자동으로 동작 = 자동 확장 3. 최소한의 운영 오버헤드 = 키워드와 관련된 AWS 서비스 문제) 스트리밍 데이터 최소한 운영으로 스트리밍 데이터 변환 → Firehose + Lambda 문제) 데이터 분석 Glue → 데이터 분석 Glue Databrew → S3, Redshift, RDS 탐색 AppFlow → SaaS 데이터 활용 데이터 필터 → Lake Formation 민감한 정보 액세스 방지 열 수준 권한 부여 → Lake Formation + QuickSight = 최소한의 관리 노력 문제) ..
네트워크 주소 네트워크 주소 하나의 네트워크를 통칭하기 위한 주소 해당 네트워크의 첫 번째 IP 주소 계산방법 : IP주소와 서브넷마스크의 AND연산 브로드캐스트 주소 특정 네트워크에 속하는 모든 호스트들이 갖게 되는 주소 → 네트워크에 있는 모든 클라이언트들에게 데이터를 보내기 위함 해당 네트워크에 속하는 모든 IP 주소 가운데 맨 마지막 IP주소 계산방법 : 서브넷 마스크의 '0'인 부분을 모두 1로 바꾼다 C클래스 하나로 특정 IP를 할당했고 그 ip의 네트워크 주소가 192.168.2.0이라 한다면 브로드캐스트 주소는 192.168.2.255(맨 뒤 모든0->1)가 된다. 서브넷마스크 서브넷마스크는 1과 0으로 이뤄져있고, 1이 연속으로 나와야한다. IP 뒤에 /24 라는 표현이 1이 24개가 있..
권한 관리 umask 파일이나 디렉터리 생성 시 부여되는 기본 허가권 값을 지정하는 명령 기본값으로 설정한 umask 값의 보수와 AND 연산을 통해 지정 파일 : 666 (rw-rw-rw-) 디렉터리 : 777 (rwxrwxrwx) 파일이기 때문에 666-022 = 644 => -rw- r-- r-- 의 형식으로 6 4 4 를 표현 su (switch user) 다른 사용자로 전환하는 명령어 참조 파일 - /bin/su passwd 사용자 비밀번호 변경 명령어 * 참조 파일 - /etc/passwd(명령어 실행 파일 위치) - 시스템에 등록된 사용자의 정보들이 담겨있는 파일 - /etc/shadow - 암호화된 패스워드와 패스워드 설정 정책이 기재되어 있는 파일 - 비밀번호를 설정하면 /etc/pass..
계층형 질의란? 테이블에 계층형 데이터가 존재하는 경우 데이터를 조회하기 위해서 사용 * 계층형 데이터 동일 테이블에 계층적으로 상위와 하위 데이터가 포함된 데이터 START WITH 계층 구조 전개의 시작 위치를 지정하는 구문 CONNECT BY 전개될 자식 데이터를 지적하는 구문 PRIOR CONNECT BY 절에 사용 PRIOR 자식 = 부모 부모 데이터에서 자식 데이터(부모 → 자식) 방향으로 전개하는 순방향 전개 PROR 부모 = 자식 자식 데이터에서 부모 데이터(자식 → 부모) 방향으로 전개하는 역방향 전개 NOCYCLE 사이클(Cycle)이 발생한 데이터는 런타임 오류가 발생하지만, NOCYCLE을 추가하면 사이클이 발생한 이후의 데이터는 전개하지 않는다 * 사이클(Cycle) 데이터를 전개..
JOIN 두 개 이상의 테이블을 연결 또는 결합하여 데이터를 출력하는 것을 의미한다. 일반적으로 PK나 FK 값의 연관에 의해 성립되지만, 논리적인 값들의 연관만으로도 JOIN이 성립 가능하다. SELECT 테이블.컬럼, 테이블.컬럼 FROM 테이블1, 테이블2 WHERE 조건 EQUI JOIN (등가 조인) 두 개의 테이블 간에 칼럼 값들이 서로 정확하게 일치하는 경우에 사용되는 방법 Non EQUI JOIN (비등가 조인) 두 개의 테이블 간에 칼럼 값들이 서로 정확하게 일치하지 않는 경우에 사용된다. Join 종류 1) INNER JOIN JOIN 조건에서 동일한 값이 있는 행만 반환한다. INNER JOIN 표시는 JOIN 조건을 FROM 절에서 정의하겠다는 표시이므로 USING 조건절이나 ON ..