본문 바로가기

SQL

(21)
SQL Performance Study SQL 실험장 // Experiment Scenarios of Workloads Point SelectPoint Select + Range Scan + Random I/O Point Select + Range Scan + Aggregation First of all Start,====================== 100. Basic Check with your machine and H/W spec (cpus / disks / networks) by simple sysbench saturation test.200. Configuration (Size of Buffer Pool or Number of connections) and Settings300. Real-like data and SQL query..
부하 테스트 부하 테스트 JmeternGrinder http://knight76.tistory.com/entry/DB-%EC%84%B1%EB%8A%A5-%ED%85%8C%EC%8A%A4%ED%8A%B8-%EB%B0%A9%EB%B2%95%EB%A1%A0 http://jmeter.apache.org/usermanual/component_reference.html#JDBC_Request http://www.sten.or.kr/club/club_main.php?cmd=board&cb_id=cb_Jmeter&wr_id=302
Clustrix, one of the NewSQL 1. Google Cloud Spanner Joins Ranks of ClustrixDB as a Scale-Out ACID RDBMShttp://www.wvalways.com/story/34582944/google-cloud-spanner-joins-ranks-of-clustrixdb-as-a-scale-out-acid-rdbms 2. Clustrix benchmarks under tpcc-mysql workloadhttps://dzone.com/articles/clustrix-benchmarks-under-tpcc 3. Clustrix Brings Real-Time Analytics and Scale-Out SQL to Cloud Applicationshttps://www.joyent.com/blog..
oracle hint 정리 단순참고용 oracle hint 정리 한글 번역 오류 사용 못함. /*+ ALL_ROWS */ explicitly chooses the cost-based approach to optimize a statement block with a goal of best throughput (that is, minimum total resource consumption) 전체 RESOURCE 소비를 최소화 시키기 위한 힌트. Cost-Based 접근방식. /*+ CHOOSE */ causes the optimizer to choose between the rule-based approach and the cost-based approach for a SQL statement based on the presence of sta..
SQLP 2회 후기 (작성중) SQLP 2회 후기 2회 시험보고 얼마 있다가 A4 에 끄적거리면서 생각나는 문제들을 키워드만 끄적거려 놨었는데 아직 찾을 수가 없다. 방 어느 한 구석에 숨어 있을 텐데 찾을 수가 없다. 너! 좋은 말로 할 때 나와 . 안 나오면 어쩔 건데 몰라 마 오늘은 여기까지만이다. 꿉꿉한 여름 계속되는 비에 습기를 날려보려고 보일러를 돌렸더니 이 밤에 무지 덮다. 더워. 이렇게 끄적 거려두면 언젠가 작성하겠지 생각나겠지 하는 맘에 오늘 여기까지만 .... Tag : SQLP, sqlp, SQL, sql, SQLD, sqld
2011. 03 월 2회 SQLP 도전 --- 결과 ^^ (작성중) 쓰려고 맘만 먹고 역시 하세월이다. 여튼 생각 날 때 써두고 끄적거려야지 안 그럼 또 안쓰고 스르르 지나쳐 가겠지 지난해 11월 1회차 때의 쓴 경험을 맛보고서 그냥 그럭저럭 적당히 준비해서는 안되겠다는 생각이 들었다. 어쩌면 당연한 결과이고 다른 한편으로는 다음 2회차 시험때까지의 기간동안 다시 한번 제대로 공부할 의욕과 끈기를 주는 기회라고 맘을 어여 고쳐 먹어야징 이 쪽 분야의 몇 알려진 저자분들의 책을 서점과 도서관에서 훓기 시작했다. 확인 후 몇몇 서적이 도움이 될 거라는 것을 어느정도 짐작할 수 있었다. 그리고 우선 책값 아까운 것을 잠시 잊고 여러 두꺼운 책들을 사버렸다. 되게 두껍네 ... 여튼 아까워서라도 보겠지 우선은 엔코아와 비투엔에서 나온 책들을 위주로 차근차근 다시 읽었다. 읽다 ..
Full Outer Join Select C.PaymentID, C.Source, C.PaymentAmount, C.Originauthcode, K.PaymentAmount, K.OriginAuthCode, K.PaymentID From CTPayment As C Full Outer Join KFTCAlldetails K ON C.PaymentID = K.PaymentID and C.EJOriginAuthCode = K.OriginAuthCode Full outer join 은 Join 하고자 하는 대상이 양측에 존재하지 않을 경우 양측 모두를 기준으로 상대측에 JOIN 되는 값이 없더라도 NULL 처리 하여 보여준다. A Left Outer Join B -- A 를 기준으로 B 가 존재하면 B 의 항목을 연결하고 ( A 는 모두 ..
Query Hints in MSSQL A. Using MERGE JOIN The following example specifies that the JOIN operation in the query is performed by MERGE JOIN. Copy USE AdventureWorks2008R2; GO SELECT * FROM Sales.Customer AS c INNER JOIN Sales.vStoreWithAddresses AS sa ON c.CustomerID = sa.BusinessEntityID WHERE TerritoryID = 5 OPTION (MERGE JOIN); GO B. Using OPTIMIZE FOR The following example instructs the query optimizer to use the v..