# Overview of Oracle Database Performance Problems 表没有正确的创建索引 -> 错误的执行计划 表没有及时的分析 -> 错误的执行计划 热快 -> 数据库的争用(反向索引?) 锁的阻塞 -> 业务设计缺陷 SQL 解析消耗大量的 CPU -> 变量绑定 低效的 SQL -> SQL 自身的问题 数据库整体负载过程 -> 架构设计的问题 # 性能问题定位 SQL 层 如果能定位到 SQL,就不需要从会话层面分析。 execution plan,...

# Memory Allocation on Linux Linux 内存分配过程: free -> buff/cache -> swap ~]# free -g total used free shared buff/cache availableMem: 7 1 5 0 0 5Swap: 5 0 5Top swap usage of processes. for file in /proc/*/status; do awk '/VmSwap|Name|^Pid/{printf $2 " "...

# HPE P2000 G3 Service Manual # Replacing a Failed Disk Remove the failed drive, and replace with the new one. Connect to the web cosole of the storage array. Select the MSA > Provisioning > Manage Global Spares. Also you can Managing dedicated spares | for a vdisk. Tick the...

# Recommended Partitioning Scheme For Linux System Partition: /boot/efi: 200 MiB /boot: 1024 MiB /: 10 GiB /usr: 10 GiB /var: 10 GiB /home: 10 GiB /opt: 10 GiB swap: 4-8 GiB Data Partition: /data: 500 GiB 标准分区扩容: 磁盘上还有剩余空间,且待扩容分区与剩余空间是连续的。扩展标准分区,需要先删除分区,再创建分区,提示删除标签时,选...

# File Sharing # SMB/CIFS Linux 客户端上挂载 Windows SMB 共享。 mount -t cifs -o username=smb,password=Welcome@123,vers=3.0 //192.168.3.180/ad-share /tmp/mnt 拷贝 CIFS 共享目录里的文件时,提示文件句柄过期。 cp: cannot open'test/test,txt,bak' for reading: stale file handle将挂载选项 vers=3.0 调整为 vers=1.0 后,正常访问。 # FTP # NFS

# DellEMC VNX2 Service Manual VNX5200, VNX5400, VNX5600, VNX5800 Port IP Username/Password Management 1.1.1.1-2/255.255.255.0 admin/password, sysadmin/sysadmin Maintenance 128.221.1.250-251/255.255.255.248 admin/password, sysadmin/sysadmin # Battery Replacement ・ VNX5400 Replacing a BBU in a...

# Overview of Disk Management # Types of Dynamic Volumes A dynamic volume is a volume that is created on a dynamic disk. Dynamic volume types include simple, spanned, and striped volumes. Windows Server 2003 also supports mirrored and RAID-5 volumes, which are fault tolerant. Fault tolerance is the...

# Expanding an Array on HPE Proliant Server You can increase the storage space on an array by adding physical drives. Any drive that you want to add must meet the following criteria: • It must be an unassigned drive. • It must be of the same type as existing drives in the array (for example, SATA or...

# Query Optimizer Oracle 的优化器有两种优化方式: 基于规则的优化方式:Rule-Based Optimization (RBO) 基于成本或者统计信息的优化方式:Cost-Based Optimization (CBO) # RBO(Rule-Based Optimization) RBO: Rule-Based Optimization 也即 “基于规则的优化器”,该优化器按照硬编码在数据库中的一系列规则来决定 SQL 的执行计划。 以 Oracle 数据库为例,RBO 根据 Oracle...