Blog Content

  • [Script] Split to Rows

    Category MYSQL on 2017. 2. 9. 07:01

    http://stackoverflow.com/questions/17942508/sql-split-values-to-multiple-rows numbers 라는 테이블에 약 8,000개 정도의 일련번호 값을 넣어 둡니다. (MSSQL 과 비슷한 방식) I have table : id | name 1 | a,b,c 2 | b i want output like this : id | name 1 | a 1 | b 1 | c 2 | If you can create a numbers table, that contains numbers from 1 to the maximum fields to split, you could use a solution like this: select tablename.id, SUBSTR..

    Read more
  • [MongoDB] Overflow sort stage buffered data usage exceeds internal limit

    Category NOSQL on 2017. 2. 1. 13:35

    Overflow sort stage buffered data usage exceeds internal limit 컬렉션 정렬조회 작업 시 Overflow sort stage buffered data usage of.... 에러가 발생하는 경우 대부분의 원인은 해당 컬렉션에 인덱스가 누락되어 발생한 부분이며 (인덱스를 추가하여도 발생 가능성은 존재 합니다) 인덱스 생성을 통해 해결이 가능 합니다. 참고로 MongoDB 정렬조회 작업 시 32MB를 초과하는 작업의 경우 아래 화면과 같은 Overflow sort stage buffered data usage of....에러가 발생하게 됩니다. 이는 MongoDB 에서 의도적으로 설정 한 sort buffer 제한 값으로 발생하는 사항이며 가급적 결과집합을 줄..

    Read more
  • [nGrinder] 설치작업

    Category OpenSource on 2017. 1. 31. 12:39

    ngrinder는 NHN에서 오픈 소스 기반인 The Grinder를 확장하여 만든 부하 테스트툴 로써 WAS 기반으로 동작 하며, jython/groovy/groovy+maven을 지원 Controller : WAS를 통해 UI 기반으로 동작 하며, 성능 테스트를 위한 웹인터페이스/테스트 프로세스 조정/표시 통계 테스트 기능이 제공 됩니다. Agent : Controller로부터 테스트 코드를 받아 실행에 옮기는 Worker 개념 입니다. Target : 테스트 대상으로, Target 서버에 nGrinder-Monitor가 설치 및 실행 되면 테스트 간 상황 정보를 Controller에서 모니터링이 가능 합니다. nGrinder 메뉴얼 https://naver.github.io/ngrinder/ htt..

    Read more