Section | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Aggregate Function : FIRST/LAST
SELECT 와 GROUP BY 로 생성한 각 Group 에서, 기준이 되는 컬럼 값이 순서상 가장 작은 (또는 순서상 가장 큰) 레코드의 다른 컬럼 값을 반환하는 집계 함수입니다.
|
Section | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|
Section | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
CLI : Array Binding
SQLBindParameter()
에서 하나의 값이 아닌 배열을 바인딩할 수 있는 기능을 사용할 수 있습니다.
여러 Bind - Execute 를 반복하게 되면 네트워크 비용을 불필요하게 소모하고 그만큼 유휴 시간이 늘어나 비효율적입니다. 반복적으로 값을 바인딩해야 한다면, 배열을 통째로 전달해서 효율적인 쿼리 연산을 할 수 있습니다.
현재는 열 단위 바인딩 (Column-wise binding) 만 지원합니다.
Code Block | ||
---|---|---|
| ||
// Set the SQL_ATTR_PARAM_BIND_TYPE statement attribute to use // column-wise binding. SQLSetStmtAttr(hstmt, SQL_ATTR_PARAM_BIND_TYPE, SQL_PARAM_BIND_BY_COLUMN, 0); // Specify the number of elements in each parameter array. SQLSetStmtAttr(hstmt, SQL_ATTR_PARAMSET_SIZE, ARRAY_SIZE, 0); // Specify an array in which to return the status of each set of // parameters. SQLSetStmtAttr(hstmt, SQL_ATTR_PARAM_STATUS_PTR, ParamStatusArray, 0); // Specify an SQLUINTEGER value in which to return the number of sets of // parameters processed. SQLSetStmtAttr(hstmt, SQL_ATTR_PARAMS_PROCESSED_PTR, &ParamsProcessed, 0); // Bind the parameters in column-wise fashion. SQLBindParameter(hstmt, 1, SQL_PARAM_INPUT, SQL_C_ULONG, SQL_INTEGER, 5, 0, PartIDArray, 0, PartIDIndArray); SQLBindParameter(hstmt, 2, SQL_PARAM_INPUT, SQL_C_CHAR, SQL_CHAR, DESC_LEN - 1, 0, DescArray, DESC_LEN, DescLenOrIndArray); SQLBindParameter(hstmt, 3, SQL_PARAM_INPUT, SQL_C_FLOAT, SQL_REAL, 7, 0, PriceArray, 0, PriceIndArray); |
Cluster : Coordinator Role 변경
이전까진 Coordinator 가 Primary/Secondary 로 고정되어 있어, 안정성보다 발생하는 문제가 더욱 많았습니다. 고정되어 있던 역할을 5.2에서 수정했습니다.
이제는 Primary 가 사라지면 Secondary 가 Primary 로 바뀌며, 사라진 Primary 가 돌아와도 Secondary 로 바뀌면서 클러스터에 합류하게 됩니다.
Picture needed
Cluster : 호스트 자원 모니터링 기능
5.2 부터는 Cluster Edition 에서 각 Node 가 상주한 호스트의 자원을 모니터링할 수 있습니다.
- CPU
- Memory
- Network
- Disk
Coordinator 에 요청할 때, 각 호스트에서 주기적으로 수집한 정보를 제공합니다.
- Command-line 을 통해
machcoordinatoradmin
에서 명령을 입력해 요청하거나 (plaintext 로 제공) - RESTful API 를 통해 요청하거나 (JSON format 으로 제공)
Panel |
---|
# Coordinator host 에서 command-line 을 통해 요청 machcoordinatoradmin --get-host-resource -i # Coordinator 의 HTTP Admin Host:Port 에서 RESTful API 요청 curl http://192.168.0.32:32112/Get-Host-Resource |
Code Block | ||
---|---|---|
| ||
$ machcoordinatoradmin --get-host-resource -i ------------------------------------------------------------------------- Machbase Coordinator Administration Tool Release Version - d35aa87.develop Copyright 2014, MACHBASE Corp. or its subsidiaries All Rights Reserved ------------------------------------------------------------------------- Host Name : 192.168.0.32 CPU Info : Model Name : Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz Number of CPUs : 8 Number of CPU Cores : 4 CPU Utilization : 18.5% CPU IOWait Ratio : 0.0% Memory Info : Physical Memory Utilization : 94.2% Virtual Memory Utilization : 85.1% Network Info : Receive Bytes(per second) : 35827 Receive Packets(per second) : 250 Transmit Bytes(per second) : 35716 Transmit Packets(per second) : 248 Disk Info : /dev/sda1 : 87.0% |-> 192.168.0.32:32110 /home/cumulus/work/nfx/test/nodes/coordinator1 |-> 192.168.0.32:32310 /home/cumulus/work/nfx/test/nodes/broker1 |-> 192.168.0.32:32410 /home/cumulus/work/nfx/test/nodes/active1_1 |-> 192.168.0.32:32520 /home/cumulus/work/nfx/test/nodes/active2_2 |
Warning |
---|
아래부터는 작성 중입니다. |
그 외 변경사항
Table of Content Zone | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
CPU_AFFINITY_COUNT 음수 지원CPU_AFFINITY_COUNT 에서 음수를 지원합니다. 사용 가능한 CPU Core 개수에서 해당 값을 뺀 나머지를 AFFINITY_COUNT 로 적용합니다. 해당 Property 의 기본값은 여전히 0 (모두 사용) 입니다. DELETE 동시 수행 불가DELETE 동시 수행을 요청하더라도, DELETE 는 순차적으로 진행되어 이후 SELECT 를 방해합니다. Tagdata : TAGNAME 에도 UPDATE 가능TAGNAME 은 인덱스가 있었기 때문에 불가능했던 UPDATE 구문이, 이제 가능해졌습니다.
Tagdata : DISK_KEYVALUE_DELETE_LOCKFREE 추가DELETE 수행 시, 최신 데이터에 DELETE 범위의 데이터가 오지 않는다고 확신할 수 있다면 DELETE 성능을 올릴 수 있는 Property 입니다. 기본값은 1 (켜짐) 입니다. 실시간 데이터가 동일 Timestamp 값을 가지고 입력된다면, 해당 Property 의 기본값을 그대로 두시는 것을 추천합니다. DATE_TRUNC() 시간 범위 제한 해제각 시간 단위마다, 시간 범위가 제한되었던 문제가 해결되었습니다.
Cluster Edition : DDL 부분 실패해도, Cluster 서비스를 계속함부분적으로 몇몇 Node 가 DDL 이 실패하게 되면, Cluster 전체가 서비스를 못 하는 상황이 발생했었습니다. 실패한 Node 는 |
개선된 이슈
Ui text box | ||
---|---|---|
| ||
반영된 순으로 기재합니다. |
Table of Content Zone | ||||||
---|---|---|---|---|---|---|
| ||||||
Common모든 서버 제품 적용되는 이슈 사항입니다.
Cluster EditionCluster Edition 에 적용되는 이슈 사항입니다.
MWA / Tag Analyzer마크베이스 웹 관리자에 적용되는 이슈 사항입니다.
Client Library클라이언트 라이브러리에 적용되는 이슈 사항입니다.
|