오라클 성능 분석과 인스턴스 튜닝 핵심 가이드
안녕하세요 선생님. 문의드리고 싶은 내용이 있는데 글을 올릴 곳이 마땅치 않아 여기에 문의드립니다. 저는 현재 DBA 로 근무 중인데 SQL 작성 능력을 키우고 싶은데 혹시 선생님의 '데이터 분석 SQL Fundamentals' 강의가 DBA 업무 쿼리 작성에 도움이 될 수 있는 강의일까요? 일을 해보니 join, grouping 이 쉬운것 같으면서도 다양한 쿼리 작성 시에 자유자재로 안써지는 편이라 아직 공부가 덜 된것 같아서요. 일/주/월 사이즈 구하는 쿼리나 기타 여러 조건이 결합된 오브젝트 조회 쿼리를 주로 작성할 필요가 있고, 앞으로 튜닝 업무를 위한 튜닝 공부를 할 때도 기본 이상의 SQL 작성 능력이 필요하다고 판단되서 문의드립니다. 그리고 선생님의 ORACLE 아키텍쳐 강의는 출퇴근 간에 잘 듣고 있는데 혹시 SQL 튜닝 강의는 하실 예정이 있으실까요? 감사합니다.
radh jigsawfit
2023-03-18T07:12:50.825Z
댓글 1
좋아요 0
조회수 483
데이터 분석 SQL Fundamentals
datagrip에서 복구 하려고 하면 postgre 관련 cli 가 필요합니다. 아래와 같이 우선 실행 $ brew install libpq $ echo 'export PATH="/opt/homebrew/opt/libpq/bin:$PATH"' >> ~/.zshrc $ source ~/.zshrc $ psql --version psql (PostgreSQL) 15.2 Path to pg_restore 에서 CMD+SHIFT+G 눌러서 brew로 설치한 디렉토리로 이동 이후 복구 하면 됩니다
무리브
2023-02-26T04:20:08.028Z
댓글 1
좋아요 2
조회수 2338
자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
완전 탐색 문제는 어렵네요 강의 보기 전에 하나씩 풀어보는데 졸업선물 문제는 기억에 남아서 올려봅니다. 그리고 강의도 재밌고 효율적으로 생각하는 방식을 잘 알려주시는 거 같습니다. < script > function solution ( m , product ){ class Product { constructor ( product = []){ this . _product = product ; } get price (){ return this . _product [ 0 ]; } get fare (){ return this . _product [ 1 ]; } disCountCost (){ return this . price / 2 + this . fare ; } cost (){ return this . price + this . fare ; } } class Products { constructor ( products = []) { this . _products = products ; } get commodities (){ return this . _products ; } get numOfProducts (){ return this . commodities . length ; } map ( transform ){ return new Products ( transform ( this . commodities )); } totalCost (){ return this . commodities . map ( product => product . cost ()). reduce (( sum , v ) => sum + v , 0 ); } } function possibleCost ( products ){ return products . commodities . map (( v , i ) => [ v , products . map ( makeDrop ( i ))]) . map (([ v , products ]) => v . disCountCost () + products . totalCost ()) . reduce (( minCost , current ) => Math . min ( minCost , current )); } function makeChildren ( products ){ const total = products . numOfProducts ; return total > 1 ? products . commodities . map (( _ , idx ) => products . map ( makeDrop ( idx ))) : [ products ]; } function makeGeneration ( depth , products ){ if ( depth === 0 ) return [ products ]; return makeChildren ( products ) . map ( sub => makeGeneration ( depth - 1 , sub )) . flat (); } const makeDrop = i => arr => arr . slice ( 0 , i ). concat ( arr . slice ( i + 1 )); const commos = new Products ( product . map ( commo => new Product ( commo ))); let limit = commos . numOfProducts ; for ( let i = 0 ; i < limit ; i ++){ if ( makeGeneration ( i , commos ) . filter ( prod => possibleCost ( prod ) <= m ) . length > 0 ) { return limit - i ; } } } let arr =[[ 10 , 3 ], [ 6 , 6 ], [ 2 , 2 ], [ 4 , 3 ], [ 4 , 5 ]]; console . log ( solution ( 28 , arr )); </ script >
이준호
2021-08-12T11:56:47.237Z
댓글 0
좋아요 0
조회수 325