会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wangjiang1
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2025年9月10日
linux安装vnc远程桌面
摘要: 一、安装必要组件 首先需要安装图形化桌面环境和 VNC 服务程序: 1. 安装 GNOME 桌面环境(若已安装可跳过) yum groupinstall "GNOME Desktop" "Graphical Administration Tools" -y 2. 安装 VNC 服务器(tigervn
阅读全文
posted @ 2025-09-10 09:58 白日梦不要钱
阅读(142)
评论(0)
推荐(0)
2025年9月4日
postgresql修改参数
摘要: 存在多个初始化参数文件 • 静态参数文件:postgresql.conf • 动态参数文件:postgresql.auto.conf • 可选参数文件:postgresql.conf.user 读取顺序 postgresql.conf -> postgresql.auto.conf -> postg
阅读全文
posted @ 2025-09-04 11:21 白日梦不要钱
阅读(28)
评论(0)
推荐(0)
2025年9月1日
源码安装postgresql
摘要: • 创建用户 groupadd postgres useradd -g postgres postgres passwd postgres 创建目录 mkdir -p /usr/local/pg17.0 mkdir -p /usr/local/pg17.0/data chown -R postgre
阅读全文
posted @ 2025-09-01 13:44 白日梦不要钱
阅读(16)
评论(0)
推荐(0)
2025年8月29日
OracleRAC启动停止
摘要: Oracle 10g/11gR1 RAC集群启动方法 任意一节点: su - root # crs_start -all 如果两个节点: su - root # crsctl start crs Oracle 10g/11gR1 RAC集群停止方法 任意一节点: su - root # crs_st
阅读全文
posted @ 2025-08-29 09:09 白日梦不要钱
阅读(45)
评论(0)
推荐(0)
2025年8月19日
OracleRAC异机恢复到单机
摘要: 1.源端备份 #!/bin/sh # set porfile_env exeBackup1() { ORACLE_SID=$1 su - oracle <<EOF echo $ORACLE_SID EOF } exeBackup() { echo -e "$1--begin>>\n" su - or
阅读全文
posted @ 2025-08-19 15:18 白日梦不要钱
阅读(48)
评论(0)
推荐(0)
2025年7月30日
oracle备份恢复 expdb/impdb
摘要: 1.创建实验数据 create tablespace test datafile '/data/u01/app/oracle/oradata/orcl/test01.dbf' size 10M autoextend off; create user wj identified by test def
阅读全文
posted @ 2025-07-30 11:23 白日梦不要钱
阅读(43)
评论(0)
推荐(0)
2025年7月24日
表数据删掉一半,表文件大小不变
摘要: 针对 MySQL 中应用最广泛的 InnoDB 。一个 InnoDB 表包含两部分,即:表结构定义和数据。 在 MySQL 8.0 版本以前,表结构是存在以.frm 为后缀的文件里。而 MySQL 8.0 版本,则已经允许把表结构定义放在系统数据表中了。因为表结构定义占用的空间很小,所以我们今天主要
阅读全文
posted @ 2025-07-24 16:32 白日梦不要钱
阅读(8)
评论(0)
推荐(0)
2025年7月5日
oracle的awr报告怎么生成
摘要: 先查看有那些快照 select SNAP_ID from dba_hist_snapshot; @?/rdbms/admin/awrrpt.sql 选择awr的格式是html还是text 默认是html 我这里选择 是近一天的快照 可以看到最大的Snap id是75 选择begin_snap 和en
阅读全文
posted @ 2025-07-05 15:52 白日梦不要钱
阅读(16)
评论(0)
推荐(0)
2025年7月4日
mysql慢查询分析思路
摘要: 准备实验环境 CREATE TABLE t1 (f1 INT NOT NULL,f2 INT NOT NULL,PRIMARY KEY(f1,f2)); INSERT INTO t1 VALUES (1,1), (1,2), (1,3), (1,4), (1,5), (2,1), (2,2), (2
阅读全文
posted @ 2025-07-04 17:27 白日梦不要钱
阅读(7)
评论(0)
推荐(0)
postgresql备份脚本
摘要: #!bin/bash export PATH=$PATH:/app/db/pg/bin PGDATA=/pgdata/data PGUSER=postgres DATABASE=postgres PGPORT=19200 DATE=`date +%F` backupDir=/pgdata/backu
阅读全文
posted @ 2025-07-04 10:54 白日梦不要钱
阅读(5)
评论(0)
推荐(0)
1
2
3
下一页
公告