일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- ㅒ
- d
- 이터레이터
- baeldung
- resttemplate
- 스프링 시큐리티
- 리눅스
- 처음 만나는 AI수학 with Python
- 알파회계
- GIT
- 네트워크 설정
- 처음 만나는 AI 수학 with Python
- iterator
- 코드로배우는스프링웹프로젝트
- Kernighan의 C언어 프로그래밍
- network configuration
- 친절한SQL튜닝
- 코드로배우는스프링부트웹프로젝트
- 페이징
- 자료구조와 함께 배우는 알고리즘 입문
- 자바편
- 티스토리 쿠키 삭제
- 데비안
- 목록처리
- 구멍가게코딩단
- 스프링부트핵심가이드
- 선형대수
- 자료구조와함께배우는알고리즘입문
- 서버설정
- /etc/network/interfaces
- Today
- Total
목록전체 글 (406)
bright jazz music
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dBuOgU/btrTiWJGJuI/AUkeQRBjUdkRds3koXgcF1/img.png)
이제 메모리를 라즈베리파이에 끼우고 전원을 연결해 부팅한다. 부팅하기 전에 모니터와 키보드를 연결해 놓는 것이 좋다. 첫 부팅이라면 Id: ubuntu / pw: ubuntu를 사용하여 로그인 할 수 있다. IP 설정. cd /etc/netplan 디렉토리에 접근한다.50~.yaml을 백업한다. 그리고 yaml 파일을 수정한다.
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cyiKtZ/btrS0f5vuD3/h36V7A3kkRekMuj3TG2f11/img.png)
2.1 인덱스 구조 및 탐색 주안점: 수직적 탐색과 수평적 탐색 2.1.1 미리 보는 인덱스 튜닝 데이터를 찾는 두 가지 방법 Table Full Scan : 찾는 데이터가 많다면 테이블 전체를 스캔한다. Index Range Scan : 큰 테이블에서 소량의 데이터를 검색할 때 사용 인덱스의 예 이름 학년-반-번호 강수지 4학년 3반 37번 김철수 3학년 2반 13번 ... ... 홍길동 1학년 5반 15번 홍길동 2학년 6반 24번 홍길동 5학년 1반 16번 Table Full Scan과 관련해서는 튜닝 요소가 적다. 그러나 인덱스와 관련해서는 튜닝 요소가 많고 기법도 다양하다. 인덱스 튜닝의 두 가지 핵심 요소 인덱스 튜닝은 큰 테이블에서 소량의 데이터를 검색할 때 사용. OLTP(online tr..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/rzGmf/btrSIPsZk2z/6wJ0tdK11auDtZC41xMogK/img.png)
1.1 SQL 파싱과 최적화 1.1.1 SQL구조적, 집합적, 선언적 질의 언어 SQL(structured query language) SQL은 기본적으로 구조적(structural)이고 집합적(set-based)이고 선언적(declarative)인 질의 언어다. 그러나 원하는 결과집합을 만드는 과정은 절차적일 수밖에 없다. 즉, 프로시저가 필요하다. 그러한 프로시저를 만드는 DBMS 내부엔진이 바로 SQL 옵티마이저다. DBMS 내부에서 프로시저를 작성하고 컴파일해서 실행가능한 상태로 만드는 전 과정을 SQL최적화라고 한다. *프로시저: 일종의 함수. 일련의 쿼리를 하나의 함수처럼 실행하기 위한 쿼리의 집합. 1.1.2 SQL최적화 과정 1) SQL 파싱 사용자로부터 SQL을 전달받으면 가장 먼저 SQ..
연습문제 1. 네 값의 최댓값을 구하는 max4 메서드 작성 (static int max4(int a, int b, int c, int d)) //1. 네 값의 최댓값을 구하는 max4 메서드 작성 (static int max4(int a, int b, int c, int d)) public class TestMain{ public static int max4(int a, int b, int c, int d){ int max=a; if(max = b){ min = b; } else if (min >= c) { min = c; } else if (min >= d) { min = d; } return min; } public static void main(String [] args){ Scanner scan..
정수 n까지의 합 구하기 //내가 짠 코드 import java.util.Scanner; public class TestMain { public static void main(String[] args){ Scanner stdin = new Scanner(System.in); System.out.println("숫자 입력: "); int n = stdin.nextInt(); int sum = 0; for(int i=1; i
JDK가 제공하는 제네릭 타입과 메서드를 사용하기는 쉽다. 그러나 제네릭 타입을 새로 만들기는 어렵다. 그러나 배워둘 가치가 있다. 아래의 스택 코드를 보자. import java.util.Arrays; import java.util.EmptyStackException; public class Stack { private Object[] elements; private int size = 0; private static final int DEFAULT_INITIAL_CAPACITY = 16; public Stack() { //생성시 크기가 16인 Object타입의 배열 생성 => elements에 할당 elements = new Object[DEFAULT_INITIAL_CAPACITY]; } public..
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. Example 1: Input: nums = [2,7,11,15], target = 9 Output: [0,1] Explanation: Because nums[0] + nums[1] == 9, we return [0, 1]. Ex..
SQL Schema Table: Customers +-------------+---------+ | Column Name | Type | +-------------+---------+ | id | int | | name | varchar | +-------------+---------+ id is the primary key column for this table. Each row of this table indicates the ID and name of a customer. Table: Orders +-------------+------+ | Column Name | Type | +-------------+------+ | id | int | | customerId | int | +----------..
SQL Schema Table: Customer +-------------+---------+ | Column Name | Type | +-------------+---------+ | id | int | | name | varchar | | referee_id | int | +-------------+---------+ id is the primary key column for this table. Each row of this table indicates the id of a customer, their name, and the id of the customer who referred them. Write an SQL query to report the names of the customer that..
SQL Schema Table: Products +-------------+---------+ | Column Name | Type | +-------------+---------+ | product_id | int | | low_fats | enum | | recyclable | enum | +-------------+---------+ product_id is the primary key for this table. low_fats is an ENUM of type ('Y', 'N') where 'Y' means this product is low fat and 'N' means it is not. recyclable is an ENUM of types ('Y', 'N') where 'Y' means..