목록이것저것 (20)
forest_moon
섹션 1: 데이터 필터링(feat. 시험 성적) 섹션 2: 집계함수(feat. 거래내역) 섹션 3: 시간값 필터링(feat. 거래내역) 데이터 필터링(feat. 시험 성적) AND 필터링 장학생, 모두 90점 이상인 학생을 알려주세요. SELECT -- 3: 모든 컬럼을 조회 * FROM -- 1: 학생 테이블에서 students WHERE -- 2: 다음 조건을 가지고 필터링 한 뒤 math_score > 90 AND english_score > 90 AND programming_score > 90 ; OR 필터링 과락 학생, 적어도 한 과목이 75점 미만인 학생은? SELECT -- 3: 모든 컬럼을 조회 * FROM -- 1: 학생 테이블에서 students WHERE -- 2: 다음 조건을 가지고..
MyBatis란? 자바 퍼시스턴스 프레임워크의 하나로 XML 서술자나 애너테이션(annotation)을 사용하여 저장 프로시저나 SQL 문으로 객체들을 연결시켜주고, 관계형 데이터베이스에서 조회한 데이터를 Java 객체로 변환하여 리턴해 주고, Java 객체를 관계형 데이터베이스에 저장해 주는 라이브러리 혹은 기술을 말한다. 혹은 객체 지향 언어인 자바의 관계형 데이터베이스 프로그래밍을 좀 더 쉽게 할 수 있게 도와 주는 개발 프레임 워크로서 JDBC를 통해 데이터베이스에 엑세스하는 작업을 캡슐화하고 일반 SQL 쿼리, 저장 프로 시저 및 고급 매핑을 지원하며 모든 JDBC 코드 및 매개 변수의 중복작업을 제거 합니다. Mybatis에서는 프로그램에 있는 SQL쿼리들을 한 구성파일에 구성하여 프로그램 코..
PostgreSQL 이란? PostgreSQL은 확장 가능성 및 표준 준수를 강조하는 객체-관계형 데이터베이스 관리 시스템(ORDBMS)의 하나이다. 20년 이상의 오랜 역사를 가지고, 전세계의 오픈소스 개발자들과 관련 회사들이 참여하고 있습니다 . 다른 관계형 데이터베이스 시스템과 달리 연산자,복합 자료형, 집계 함수, 자료형 변환자, 확장기능 등등.. 다양한 데이터베이스 객체를 사용자가 임의로 만들 수 있는 기능을 제공하여 마치 새로운 프로그래밍 언어처럼 다양한 기능들을 손쉽게 구현이 가능합니다. PostgreSQL은 무료이며 오픈 소스 소프트웨어 입니다. 소스코드는 자유 오픈 소스 라이센스인 PostgreSQL 라이센스에 따라 제공되고 있고, 어떠한 형태로든 사용하고 수정,배포할 수 있습니다 Pos..
스프링이란? 스프링 프레임워크는 자바 진영의 웹 프레임워크이다. 스프링 프레임워크가 등장하기 전에는 EJB라는 기술을 통해 웹 애플리케이션을 개발 하였고, 개발자들에게 있어서 이 기술은 여러 가지 복잡성으로 인해 사용하기 꽤나 까다로웠습니다. 당연히 이러한 단점을 보완하기 위한 기술을 개발자들이 만들어내기 시작했고, 그 과정에서 가장 호평을 받은 기술이 바로 스프링입니다. 스프링 프레임워크(Spring Framework)란? 자바 엔터프라이즈 개발을 편하게 해주는 오픈 소스 경량급 애플리케이션 프레임워크 (1) 애플리케이션 프레임워크 일반적으로 라이브러리나 프레임워크는 특정 업무 분야나 한 가지 기술에 특화된 목표를 가지고 만들어집니다. 예를 들면 웹 계층을 MVC 구조로 손쉽게 만들 수 있게 한다거나,..
프로젝트에서 속도측정을 하기 위해서 Jmeter를 사용 하였습니다. 마케팅 하면서 한번 공부 했었는데 이번에 프로젝트 발표 준비 하면서 한번 더 사용하면서 미뤄뒀던 정리를 하기로 했다. 서버가 제공하는 서비스에 대한 성능을 측정하고 사용자에게 보여주는 테스트 도구라고 할 수 있습니다. 설치법 brew install jmeter brew install jmeter —-with-plugins mac 에는 brew 라는 좋은 친구가 있어서 편하게 설치를 할수 있어서 좋다 위에 꺼로 설치가 되지 않는다면 아래 껄로설치하면 됩니다 실행법 jmeter 터미널에 그냥 입력하면 켜진다! * 터미널을 끄게 되면 jmeter 꺼집니다! open /usr/local/bin/jmeter 혹시나 켜지지 않는다면 요롷게 사용도 ..
휴 .. AWS EC2를 ubuntu 18.02로 프리티어를 사용 하는 중에 서버가 갑자기 다운되거나,, 꺼지는 현상이 발생 찾아보니 기본적으로 프로젝트 Os만 해도 0.5GB 를 먹는다고,, 동영상도 있고,,채팅도 있어서 1GB로는 아주그냥 혹사를 시킨거였다. 문제를 해결 하기위해서는 부족한 RAM 메모리가 부족한 경우를 대비해서 SWAP을 통해서 메모리를 지정해 주는 방법이다. SWAP은 RAM이 부족할 경우를 HDD의 일정한 공간을 RAM처럼 사용 하는 것 SWAP에 대한 방법은 AWS공식 홈페이지에서도 제공하니 들어가보면 확인 가능 https://aws.amazon.com/ko/premiumsupport/knowledge-center/ec2-memory-swap-file/ 스왑 공간 크기 계산 일..
git actions 이란 소프트웨어 workflow를 자동화할 수 있도록 도와주는 도구 github에서 공식적으로 제공하는 CI/CD 툴 workflow ?? test code 실행 배포 자동화 하고자 하는 스크립트 버전 실행 여부 CICD란 ?? CI는 Continuous Integration(지속적 통합), CD는 Continuous Delivery(지속적 전달)의 줄임말 CI : 테스트, 빌드, Dockerizing, 저장소에 전달하는 것까지 프로덕션 환경으로 서비스를 배포할 수 있도록 준비하는 프로세스 CD : 저장소로 전달된 프로덕션 서비스를 실제 사용자들에게 배포하는 프로세스 작업한 소스 코드를 빌드하고, 저장소에 전달 후 배포까지 하는 과정을 통상적으로 CI/CD라고 부른다. Github ..
Querydsl 사용을 위한 초기 설정 하기. 우선 build.gradle dependencies안에 초기 세팅을이렇게 추가 해준다 ( 찾아보면 초기 설정을 이렇게 안하고 여러가지 방법들도 많음) implementation "com.querydsl:querydsl-jpa:5.0.0" implementation "com.querydsl:querydsl-apt:5.0.0" annotationProcessor( "jakarta.persistence:jakarta.persistence-api", "jakarta.annotation:jakarta.annotation-api", "com.querydsl:querydsl-apt:5.0.0:jpa") 그 후에 Gradle >> Tasks >> other >> compi..