[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법Ji-Woong Choi
MySQL 소개
간략한 소개
version history
MySQL 사용처
제품 군 변화
시장 변화
MySQL 구성
MySQL 클라이언트 / 서버 개념
클라이언트 프로그램
MySQL 설치
MySQL 버전
MySQL 설치
MySQL 환경 설정
환경설정, 변수 설정
MySQL 스토리지 엔진 소개
MySQL tuning 소개 및 방법
데이터 백업/복구 방법
백업
복구
MySQL Upgrade
[오픈소스컨설팅]Day #1 MySQL 엔진소개, 튜닝, 백업 및 복구, 업그레이드방법Ji-Woong Choi
MySQL 소개
간략한 소개
version history
MySQL 사용처
제품 군 변화
시장 변화
MySQL 구성
MySQL 클라이언트 / 서버 개념
클라이언트 프로그램
MySQL 설치
MySQL 버전
MySQL 설치
MySQL 환경 설정
환경설정, 변수 설정
MySQL 스토리지 엔진 소개
MySQL tuning 소개 및 방법
데이터 백업/복구 방법
백업
복구
MySQL Upgrade
The document discusses strategic brand management and defines what a brand is, the benefits of branding for consumers and manufacturers, how branding can be done for different types of products and services, challenges in branding, how to build brand equity, and the role of a brand or product manager.
Planning for involvement in international markets requires considering various options like indirect and direct exporting, global strategies using the internet, licensing, joint ventures, and direct investment. Indirect exporting through domestic merchants reduces risk and investment, while direct exporting allows greater control through options like foreign sales teams, agents, or establishing an export department. Licensing production locally and joint ventures with domestic partners can also help companies access international markets with less risk. Direct investment in foreign manufacturing facilities provides the most control but at a higher level of risk and resource commitment. Proper planning is needed to determine the best approach for a company's goals and capabilities.
The document provides instructions for connecting a Mac computer to the Intermountain Healthcare network using Secure Access. There are three prerequisites: access to the Secure Access site, installing Sun Java on the Mac OS, and installing the network connect client. Once logged into Secure Access, the network connect applet will automatically launch and establish the connection. Users are then connected to the network and can access resources and email systems. The document also provides steps for installing printers via IP printing and configuring proxy settings on the Mac for internet access.
La storia negata dei militari internati italiani...slideGiorgio Cingari
Se vi va di leggere qualcosa che non vedrete mai in tv nel giorno della memoria allora cliccate e scaricate questo link. Il file da me e Daniela curato parla della storia per troppo tempo negata dei militari internati italiani che grazie alla loro resistenza ai tedeschi e ai loro no all'arruolamento forzato siamo qui oggi a raccontarlo e moltissimi hanno perso la vita nei campi di lavoro.
The document provides instructions for connecting a Mac computer to the Intermountain Healthcare network using Secure Access. There are three prerequisites: access to the secure access site, installing Sun Java on the Mac OS, and installing the network connect client. Once those are complete, users can log into Secure Access and the network connect applet will automatically establish the connection. The document also provides steps for installing printers via IP printing and configuring proxy settings on the Mac for internet access when connected to the wired network.
Albert bandura teorias de la personalidadMaria Jimenez
Albert Bandura es un psicólogo canadiense conocido por su teoría del aprendizaje social y la autorregulación. Bandura propuso que el aprendizaje ocurre a través de la observación y la imitación de modelos, y que factores como la atención, la retención y la motivación influyen en este proceso. También desarrolló la teoría de la autorregulación, en la que las personas monitorean su propio comportamiento, lo evalúan y se recompensan o castigan a sí mismas. Estas teorías han ten
Branding and marketing promotion strategies were discussed over several key areas:
1. The importance of brands for both consumers and manufacturers was explained, noting how brands reduce risks and costs for consumers while protecting proprietary features and providing competitive advantages for manufacturers.
2. The concept of customer-based brand equity was introduced, with brands seen as providing added value through associations developed via past marketing activities.
3. Strategic brand management was outlined as a process involving identifying brand positioning, implementing marketing programs, and measuring and growing brand equity over time.
This document outlines a course on product management. It is divided into 5 blocks that cover: 1) an introduction to product management and the product management process, 2) managing existing products, 3) branding and packaging decisions, 4) new product development, and 5) implementing new product launches. The first block provides an overview of the evolution of product management and its role in interfacing with other organizational functions such as marketing, sales, and product development.
사례로 알아보는 MariaDB 마이그레이션
현대적인 IT 환경과 애플리케이션을 만들기 위해 우리는 오늘도 고민을 거듭합니다. 최근 들어 오픈소스 DB가 많은 업무에 적용되고 검증이 되면서, 점차 무거운 상용 데이터베이스를 가벼운 오픈소스 DB로 전환하는 움직임이 대기업의 미션 크리티컬 업무까지로 확산하고 있습니다. 이는 클라우드 환경 및 마이크로 서비스 개념 확산과도 일치하는 움직임입니다.
상용 DB를 MariaDB로 이관한 사례를 통해 마이그레이션의 과정과 효과를 살펴 볼 수 있습니다.
MariaDB로 이관하는 것은 어렵다는 생각을 막연히 가지고 계셨다면 본 자료를 통해 이기종 데이터베이스를 MariaDB로 마이그레이션 하는 작업이 어렵지 않게 수행될 수 있다는 점을 실제 사례를 통해 확인하시길 바랍니다.
웨비나 동영상
https://www.youtube.com/watch?v=xRsETZ5cKz8&t=52s
게임 서비스를 위한 AWS상의 고성능 SQL 데이터베이스 구성 (이정훈 솔루션즈 아키텍트, AWS) :: Gaming on AWS 2018Amazon Web Services Korea
게임 서비스를 위한 AWS상의 고성능 SQL 데이터베이스 구성
게임 서비스 아키텍처에서 관계형 데이터베이스는 핵심 컴포넌트이며 또한 전체 서비스의 성능 병목 지점이 되곤 합니다. 이 세션에서는 AWS 상에서 게임 서비스를 구현할 때, 기존 물리환경에서의 DB 성능과 동일하거나 더 높은 성능을 얻을 수 있는 구성을 설명 드리며, MS SQL 구성의 성능 데모를 시연하고자 합니다.
넥슨 글로벌 플랫폼 구축 이야기 : DB Migration case study (임현수 플랫폼인프라실 Technical Manager, 넥...Amazon Web Services Korea
넥슨 글로벌 플랫폼 구축 이야기 : DB Migration case study
이 세션에서는 넥슨의 Case study를 통하여 글로벌플랫폼 구축을 위해 기존 플랫폼을 AWS로 Migration하는 과정 및 발생가능한 이슈를 공유합니다. 넥슨이 DB서버를 이전하는 과정 속에서 마주한 기술적 고민과 이슈를 통하여 AWS 활용 시 고려해야 할 부분들에 대해 소개하고 함께 이야기 나누고자 합니다.
2. RESOURCE GOVERNOR 필요성
모든 DBA는 SQL Server instances 의 Resource 사용을 효율적으로
제어 할 수 있기를 원함.
[ IT ]
[ Other departments ] [ Customer ]
•하드웨어 비용 구축을
최소하여 높은 성능을 •재무, 회계, 마게팅, Sales •나의 Web Report 는
내고 자 함. • 더 낳은 성능을 원함 timed out 발생 불만
•안정적인 Service를 •많은 Data 분석을 원함 •실 시간 조회를 원함
원함
3. RESOURCE GOVERNOR 전에.
RESOURCE GOVERNOR 가 있기 전에 자원을 효율적으로 사용하던
방법
Resource 를 많이 사용하는 세션을 Kill
SET QUERY_GOVERNOR_COST_LIMIT 옵션 사용으로 제한
부하가 많은 업무를 별도의 Server 혹은 Instance 로 분리
Peak load Time 때 부하를 주지 않기 위한 예약된 작업 사용
Peak load Time 때 특정 그룹 유저에 대한 Password 변경으로
차단
새로운 업무 계획 작성을 기획하지 못하게 함
4. What is The RESOURCE GOVERNOR ?
RESOURCE 소비량에 대한 제한을 지정하여, SQL Server 작업과 리소스 관리를 할
수 있는 SQL 2008 기술
[ 리소스 문제의 유형]
Run-away queries on the Server
예기치 않은 작업 실행
작업 우선 순의 결정
모든 작업은 어떤 방식으로 구별이 되어야 함 (HostName, App Name.., User)
[ 리소스 관리자 제약]
Database 엔진으로 제한 ( IS, RS, AS 사용 못함)
SQL Server Instance 간 작업 관리는 없음
CPU 대역폭과 SQL Server에서 관리하는 메모리에만 적용
5. RESOURCE GOVERNOR 구성요소
Resource Pools
서버의 물리적 리소스
Internal Pool – 변경/삭제 X, 다른 Pool 제한을 받지 않고 사용. ( 어떤 Pool 과 붙어도 이김)
Default Pool – 변경 0
사용자 정의 Pool
WorkGroup
각 요청에 적용되는 분류 조건에 따라 유사한 세션 요청의 컨테이너 역할.
internal Group, Default Group
Classification
RESOURCE GOVERNOR은 세션의 분류를 지원.
작업을 분류하기 위해서는 분류 함수가 필요함.
분류자 함수는 새 세션이 생성될 때마다 수행 됩니다.
7. RESOURCE GOVERNOR- Resource Pools 사용율
CPU, 메모리 MIN 또는 MAX 설정
모든 풀의 MIN 값의 합은 서버 리소스 100% 초과 할 수 없음, MAX 값은 MIN과 100% 사이의 임
의 값 설정.
유효한 MAX% = min(x, 100-sum(min%)), 계산된 공유% = 유효한 MAX% - MIN%
Pool MIN % MAX % 유효한 MAX% 계산된 공유 % 설명
Internal 0 100 100 0 내부 Pool에는 적용 못함
Default 0 100 30 30 Min( 100, 100-(20+50)), max-min =30-0
Pool 1 20 100 50 30 Min(100,100-50), 50-20 = 20
Pool 2 50 70 70 20 Min(70, 100-20), 70-50 = 30
8. RESOURCE GOVERNOR- Resource Pools 사용율
퀴즈
Pool MIN % MAX % 유효한 MAX% 계산된 공유 % 설명
Internal 0 100 100 0
Default 0 100
Pool 1 20 100
Pool 2 50 70
Pool 3 5 100
모든 Pool 이 MIN 0 %, MAX 100 % 이 라면?
모든 Pool 이 MIN 100% 정의 한다면 ?
9. 생성 Step
Create resource Pools
Create Workload Groups
Create classifier function
Enable resource Governor
Monitoring
11. 어디에 적용?
OLTP 환경에서는 쿼리의 지속 시간이 매우 짧으므로 대역폭 제어를 적용할 수 있을 정도로 오래
CPU에 상주 하지 않는다. 이로 인해 CPU 사용량 반환되는 통계가 왜곡 될 수 있다.
DBA 는 SQL Server의 상태를 확인하기 윈한 진단 쿼리를 수행합니다. 이러한 쿼리가 서버 메모
리의 특정 리소스를 사용하지 않게 합니다.
SQL 2008에서 압축 백업이 가능합니다. 압축 시 CPU 로드가 추가되는데 전체 CPU에 부하를 주
기 싫을 때..
특정 패키지 & APP 호출 내역이 메모리, CPU를 모두 차지합니다. 이 작업시 다른 서비스에는 영
향을 주기 싫을 때, 메모리, cpu 제한 (GINDEXDB.. )
특정 Report는 기본 리소스 그룹에서 가장 높은 리소스 사용 우선 순위를 갖도록 할 때.
12. 모니터링
-- 리소스관리자category view
-- veiw any definition, 변경시control server
select * from sys.resource_governor_configuration with (nolock)
SELECT
classifier_function_id
,object_schema_name(classifier_function_id) AS 'Classifier UDF schema'
,object_name(classifier_function_id) AS 'Classifier UDF name'
,is_enabled
FROM sys.resource_governor_configuration
GO
-- resource pool info
select * from sys.resource_governor_resource_pools with (nolock)
select * from sys.resource_governor_workload_groups with (nolock)
-- 리소스관리자를변경했을때재구성문필요여부
select * from sys.dm_resource_governor_configuration with (nolock)
select * from sys.dm_resource_governor_workload_groups with (nolock)
select * from sys.dm_resource_governor_resource_pools as with (nolock)
select p.pool_id, p.name, p.statistics_start_time
, p.total_cpu_usage_ms,p.used_memgrant_kb, p.active_memgrant_kb
, p.min_cpu_percent, p.max_cpu_percent, p.min_memory_percent, p.max_memory_percent
, g.name, g.importance,g.total_cpu_usage_ms, g.max_dop
, g.total_query_optimization_count, g.active_parallel_thread_count
from sys.dm_resource_governor_resource_pools as p with (nolock)
join sys.dm_resource_governor_workload_groups as g with (nolock)
on p.pool_id = g.pool_id
order by p.pool_id
13. 참고 자료
BOL, MSDN, BLOGS
http://msdn.microsoft.com/ko-kr/library/bb933866.aspx
http://blogs.technet.com/sqlos/archive/2007/12/14/part-1-anatomy-of-sql-server-2008-
resource-governor-cpu-demo.aspx
http://blogs.msdn.com/psssql/archive/2008/01/10/sql-server-2008-resource-governor-
questions.aspx