原创 MySQL Connection Handling and Scaling

In this post we describe MySQL connections, user threads, and scaling. We hope that an increased understanding of how My

原创 Inside the 11g SQL Performance Analyzer (SPA)

SQL Performance Analyzer in Oracle Database 11g Release 1 The concept of SQL tuning sets, along with the DBMS_SQLTUNE p

原创 CentOS 7中Nginx1.9.5編譯安裝教程systemctl啓動

先安裝gcc 等 yum -y install gcc gcc-c++ wget 然後裝一些庫 yum -y install gcc wget automake autoconf libtool libxml2-devel libxslt-

原创 oracle LOCAL=YES/NO on TNS Connections

Description OF LOCAL=YES on TNS Connections (Doc ID 158281.1) Problem Description ------------------- You see a number

原创 ORA-38856 之 Rac 庫恢復具體時間點至單實例

恢復步驟略 查看恢復的日誌日誌點 RMAN> list backup of archivelog time between "to_date('2018-11-10 00:00:01','yyyy-mm-dd hh24:mi:ss')" a

原创 rocksdb, raft and tidb

  rocksDB https://www.percona.com/live/data-performance-conference-2016/sites/default/files/slides/RocksDB_Siying_Dong.p

原创 shell utility

Understanding Linux Shell Shell: A Command-Line Interpretor that connects a user to Operating System and allows to exe

原创 linux systemd 使用

  Systemd 使用手冊 https://www.freedesktop.org/software/systemd/man/systemctl.html How to write startup script for systemd h

原创 BASH SHELL SCRIPTING UTILITIES

A collection of handy utilities and functions to make bash scripting easier and more fun. I do a lot of bash shell scrip

原创 Linux Performance Observabilty Tools

  linux 性能查看工具 Linux下的系統性能調優工具 perf linux perf

原创 TiDB Executive Summary

一、重要文檔 ● 【TiDB 中文文檔】 https://pingcap.com/docs-cn ● 【FAQ】 https://pingcap.com/doc-FAQ-zh ●  【OPS】https://www.tidb.cc 二、T

原创 Linux sar性能分析

  Linux使用sar進行性能分析 sar簡介 sar命令常用格式 sar常用性能數據分析 整體CPU使用統計-u 各個CPU使用統計-P 內存使用情況統計-r 整體IO情況-b 各個IO設備情況-d 網絡統計-n sar日誌保存

原创 高效使用mysql

本文主要總結了工作中一些常用的操作及不合理的操作,在對慢查詢進行優化時收集的一些有用的資料和信息,本文適合有MySQL基礎的開發人員。 一、索引相關 1、索引基數 基數是數據列所包含的不同值的數量,例如,某個數據列包含值1、3、7、4、7、

原创 oracle查看物理IO前十的表

SELECT TABLE_NAME,TOTAL_PHYS_IO   FROM ( SELECT OWNER||'.'||OBJECT_NAME AS TABLE_NAME,   SUM(VALUE) AS TOTAL_PHYS_IO   F

原创 oracle_DBA 管理之歸檔日誌管理sql

查當天每小時的歸檔日誌生成量 select logtime, count(*), round(sum(blocks * block_size) / 1024 / 1024) mbsize from