본문 바로가기
728x90

전체 글364

MariaDB Galera Cluster 제약사항 PK가 없는 table은 update 시 cluster sync 시점에 무한 lock 상태에 빠질 수 있어 주의가 필요하다. 제한 사항과 알려진 이슈 InnoDB 만 정상적으로 지원한다. MyISAM 은 실험적으로만 지원중이다. ROW 데이터 기반으로 복제가 이루어지기 때문에 반드시 Primary Key가 있어야 한다. 최대 가능한 트랜잭션 사이즈는 wsrep_max_ws_rows와 wsrep_max_ws_size에 정의된 설정 값에 제약을 받으며, 데이터 파일 로드 처리 시 매 1만 건 커밋이 자동으로 이루어진다. 트랜젝션 유효성이 커밋되는 시점에서 이루어지며, 동일한 행에 두 개의 노드에서 데이터 변경을 시도한다면 오직 하나의 노드에서만 데이터 변경이 가능하다. 원거리 리플리케이션의 경우 커밋에 대한.. 2022. 6. 10.
M103 mongod mongos Options chmod 400 chmod 400 /var/mongodb/pki/m103-keyfile chown [new owner]:[group] sudo chown myuser:myuser /var/mongodb_directory mkdir [modifiers] mkdir -p /db/mongodb_data/ sudo mkdir -p /var/data rm [options] [directory|file] rm -rf ls ls -la cd cat rm ps -ef | grep mongo ps -ef | grep mongod ps -ef | grep mongos kill kill 13029 killall mongod https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Stan.. 2022. 6. 4.
TLS 1.2 와 TLS 1.3 의 차이 ICANN 에서 RDAP 서비스에 대해 TLS 1.3 으로 올리라는 안내 메일을 받아 내용을 기록해 둔다. https://www.a10networks.com/glossary/key-differences-between-tls-1-2-and-tls-1-3/ Key differences Between TLS 1.2 and TLS 1.3 | Glossary | A10 Networks The differences between TLS 1.2 and TLS 1.3 are extensive and significant, offering improvements in both performance and security. www.a10networks.com Handshake 과정 먼저 Handshake에서 TLS 1.2.. 2022. 6. 2.
free data explore mongodb with vscode and php ReplicaSet 구성 및 노드 샤딩 MongoRouter config 서버 Arbiter ShardKey 설정 Shard Node 추가 및 제거 커넥션관리를 위한 WriteConcern의 w, jounal, ReadPreference 의 RP_PRIMARY, RP_SECONDARY, RP_PRIMARY_PREFERRE, RP_SECONDARY_PREFERRE, RP_NEAREST 옵션 aggregate 로 데이터 집계 explain 을 통한 Query Plan, Index 걸기 https://www.mongodb.com/docs/manual/ What is MongoDB? — MongoDB Manual www.mongodb.com 1. https://www.mongodb.com/cloud -> Try.. 2022. 5. 30.
온라인 일방향 침해사고 대응 훈련(중급, 스피어 피싱 대응 - 기본과정) HWP 파일을 이용하여 악성 행위를 하는데 사용되는 기술 및 기법 - 포스트 스크립트 - 익스플로잇 - 자바스크립트 CFBF(Compund File Binary Format) - 파일내에 작은 파일 시스템이 존재, 파일 = 스트림, 폴더 = 스토리지 - FAT File Allocation Table - https://github.com/decalage2/oletools - DDE(Dynamic Data Exchange) OOXML(Office Open XML) https://lab.sds.co.kr/issues/27410#change-85319 -> crontab HWP - 컴파운드 파일(compundfile)구조 형태 - 스트림과 스토리지가 묶여 압축된 형태 - 작은 파일 시스템과 유사한 구조 - 동일.. 2022. 5. 29.
Error: ENOSPC: System limit for number of file watchers reached Error: ENOSPC: System limit for number of file watchers reached -> echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p 출처 https://velog.io/@crazy4u2/Error-ENOSPC-System-limit-for-number-of-file-watchers-reached Error: ENOSPC: System limit for number of file watchers reached, 가끔 react 를 가지고 열심히 일을 하다보면 라는 에러를 내뱉는 경우를 볼 수 있다. 이럴 경우 라고 터미널에 입력해주면 아주 깔끔하게 처리된다.원인.. 2022. 5. 25.
AI를 위한 파이썬 핵심문법-2 #dic01.py dict1={"name": "kim", "age":30} print(f"type(dict1): {type(dict1)}") print(f"dict1: { dict1 }") print(dict1["name"]) dict2=dict(name="lee", age=20) print(f"type(dict2): {type(dict2)}") print(f"dict1: { dict2 }") print(dict2["name"]) print() dictionary = { "name": "7D 건조 망고", "type": "당절임", "ingredient": ["망고", "설탕", "메타중아황산나트륨", "치자황색소"], "origin": "필리핀" } print(f"type(dictionary): {ty.. 2022. 5. 24.
AI를 위한 파이썬 핵심문법-1 Python -> 1991년 Guido van Rossum 이 개발 -> Script Language -> 컴파일 과정 없이 인터프리터에 의해 실행 결과를 바로 확인 https://www.python.org/downloads/ python keyword - 특별한 의미가 부여된 단어 - 숫자로 시작 불가 - False - break - else - if - not - while - None - class - except - import - or - with - True - continue - finally - in - pass - yield - and - def - for - is - raise - as - del - from - lambda - return - assert - elif - global .. 2022. 5. 24.
windows11 edge 브라우저에서 IE activex 사용하기 1. edge 브라우저의 설정 클릭 2. 기본 브라우저 클릭 3. Internet explorer를 사용하여 Microsoft Edge에서 사이트를 열어보세요 -> 항상(권장) 4. 사이트를 Internet Explorer 모드로 다시 로드할 수 있습니다. -> 허용 5. Internet Explorer 모드 페이지 -> activex 를 사용하고자 하는 사이트 주소 추가 2022. 5. 23.
728x90