<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 - 金仓数据库</title>
    <link>http://bbs.cqsztech.com/forum.php?mod=forumdisplay&amp;fid=76</link>
    <description>Latest 20 threads of 金仓数据库</description>
    <copyright>Copyright(C) 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 07 Jun 2026 10:59:47 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://bbs.cqsztech.com/static/image/common/logo_88_31.gif</url>
      <title>重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛</title>
      <link>http://bbs.cqsztech.com/</link>
    </image>
    <item>
      <title>统信uos20 普通用户执行crontab -l报权限错</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33508</link>
      <description><![CDATA[现象：
[kingbase@node1 ~]$ crontab -l
-bash: /usr/bin/crontab: 权限不够


检查

[kingbase@node1 ~]$ ls -ltr /usr/bin/crontab
-rwxr--r-- 1 root root 55960  3月 13  2023 /usr/bin/crontab


加权限
  [root@node1 ~]# chmod u+s,a+x /usr/bin ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sun, 07 Jun 2026 10:39:24 +0000</pubDate>
    </item>
    <item>
      <title>kingbasev9下执行sys_rman备份报错 ERROR: [041]</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33507</link>
      <description><![CDATA[sys_rman --config /backup/rman/sys_rman.conf --stanza=kingbase --archive-copy  --type=full backup

之后报错

检查日志：
  cat /KingbaseES/V9/Server/log/sys_rman_backup.log

发现下面错误：
。。。
ERROR: [041]: raised from local-4 protocol ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sun, 07 Jun 2026 10:32:47 +0000</pubDate>
    </item>
    <item>
      <title>archive_command=\'空格\' 导致sys_rman初始化失败</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33506</link>
      <description><![CDATA[1.开启归档
  alter system set archive_mode=\'on\';
  alter system set archive_command=\'空格\';

2.重启
  sys_ctl restart

3.初始化sys_rman
  $KINGBASE_HOME/bin/sys_backup.sh init

直接就报错了
  [kingbase@node1 ~]$ more /KingbaseES/V9/Server/ ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sun, 07 Jun 2026 10:12:52 +0000</pubDate>
    </item>
    <item>
      <title>sys_rman 备份初始化sys_backup.sh init 挂起hang</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33505</link>
      <description><![CDATA[我们执行 

/KingbaseES/V9/Server/bin/sys_backup.sh init 
就挂起了，一直不动
通过 iostat 查看，没有任何IO

看日志 tail -f /KingbaseES/V9/Server/log/sys_rman_check.log

[kingbase@node1 ~]$ tail -f /KingbaseES/V9/Server/log/sys_rman_check.log
2 ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sun, 07 Jun 2026 10:05:23 +0000</pubDate>
    </item>
    <item>
      <title>kingbase闪回表到指定时间点</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33235</link>
      <description><![CDATA[创建测试表及数据
test=# create table tss(a int,b varchar(30));
CREATE TABLE
test=# insert into tss values(1,\'a\');
INSERT 0 1
test=# \\set \'tp2\' `date \&quot;+%Y-%m-%d %H:%M:%S.%N\&quot;`
test=# select * from tss;
 a | b 
---+---
 1 | a
(1 行记录)
 ...]]></description>
      <category>金仓数据库</category>
      <author>jiawang</author>
      <pubDate>Thu, 19 Mar 2026 01:42:07 +0000</pubDate>
    </item>
    <item>
      <title>KingbaseES闪回技术</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33232</link>
      <description><![CDATA[KingbaseEs支持的闪回类型
闪回删除表
闪回删除表功能为用户提供一种误删表后，还原表的一种手段，无需从备份中进行完整的恢复操作，将表闪回到删除之前的状态

闪回查询
闪回查询能返回用户指定历史时刻的快照数据，用以查看历史时刻的数据状态

闪回版本查询
 ...]]></description>
      <category>金仓数据库</category>
      <author>jiawang</author>
      <pubDate>Mon, 16 Mar 2026 07:11:39 +0000</pubDate>
    </item>
    <item>
      <title>金仓数据库与其他数据库三权分立的区别</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33214</link>
      <description><![CDATA[主要是对Oracle、mysql用户进行比较：]]></description>
      <category>金仓数据库</category>
      <author>jiawang</author>
      <pubDate>Sun, 08 Mar 2026 13:48:57 +0000</pubDate>
    </item>
    <item>
      <title>金仓数据库三权分立</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33213</link>
      <description><![CDATA[传统数据库多采用自主访问控制（DAC）模型，存在数据库管理员（DBA）权限过大、可能越权访问业务数据的风险。为此，金仓数据库引入强制访问控制模型（MAC），并结合“三权分立”机制，将系统管理职责划分为三个相互独立的角色：

查看当前数据库中的用户信息：
selec ...]]></description>
      <category>金仓数据库</category>
      <author>jiawang</author>
      <pubDate>Sun, 08 Mar 2026 13:46:39 +0000</pubDate>
    </item>
    <item>
      <title>Kingbase sso_update_user 扩展插件</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33199</link>
      <description><![CDATA[1. 插件sso_update_user简介
sso_update_user是KingbaseES的一个扩展插件，可以满足某些特殊场景的三权分立需求，对管理员和安全员的权限做出进一步的划分。

2. 插件sso_update_user加载方式
KingbaseES数据库默认将他添加到 kingbase.conf 文件的 shared_preload_ ...]]></description>
      <category>金仓数据库</category>
      <author>jiawang</author>
      <pubDate>Fri, 06 Mar 2026 14:02:32 +0000</pubDate>
    </item>
    <item>
      <title>金仓数据库如何更换授权文件</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33030</link>
      <description><![CDATA[开始安装数据库时，可能是一个试用版，后面拿到正式授权文件后，如何更换呢？

这是一个比较正常的问题，
步骤大概是以下几步：
1.准备正式授权文件

2.找到当前授权文件
  find / -name license.dat

3.更名

4.拷贝正式授权文件，替换所有存在的LICENSE.DA ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Mon, 15 Dec 2025 09:52:59 +0000</pubDate>
    </item>
    <item>
      <title>KingbaseES 空闲断开连接client_idle_timeout参数</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=33011</link>
      <description><![CDATA[可以通过参数设置，启用空闲时间自动断开功能。
test=# show client_idle_timeout;                                  
 client_idle_timeout 
---------------------
 0
(1 行记录)


会话级修改


在当前会话窗口修改全局连接，显示依旧是100S



退出 ...]]></description>
      <category>金仓数据库</category>
      <author>jiawang</author>
      <pubDate>Tue, 09 Dec 2025 08:41:59 +0000</pubDate>
    </item>
    <item>
      <title>金仓提供独立的SQL开发工具</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32802</link>
      <description><![CDATA[如题，金仓提供独立的SQL开发管理工具了，具体可以到 https://www.kingbase.com.cn/download.html#tool 去下载：



这个工具，目前支持KINGBASE,ORACLE,MYSQL,SQLSERVER.



没有看到PG，但可以使用KINGBASE的连接类型连接PG]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sun, 21 Sep 2025 04:11:49 +0000</pubDate>
    </item>
    <item>
      <title>could not connect to server: SSL 错误: tlsv1 alert unknown ca</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32760</link>
      <description><![CDATA[kingbase v9 使用传输加密openssl时，客户端访问，报标题中的错：
$ ksql -h 127.0.0.1 -p 54321 -U system -d test

could not connect to server: SSL 错误: tlsv1 alert unknown ca

看看是什么原因呢？]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Fri, 05 Sep 2025 06:56:15 +0000</pubDate>
    </item>
    <item>
      <title>金仓数据库如何手工删除归档日志</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32743</link>
      <description><![CDATA[ORACLE有 rman &gt;delete archivelog until sequence# xx

那么金仓数据库有类似的功能没有？

答案是肯定的，使用sys_archivecleanup 

[kingbase@node2 ~]$ sys_archivecleanup --help
sys_archivecleanup 从Kingbase存档中删除旧的WAL文件.

使用方法:
  sys ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sat, 30 Aug 2025 04:15:05 +0000</pubDate>
    </item>
    <item>
      <title>kingbase数据库超时参数和区别</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32682</link>
      <description><![CDATA[kingbase 提供了几个与连接和查询超时相关的参数，以下是 client_idle_timeout、idle_in_transaction_session_timeout 和 statement_timeout 三个参数的主要区别：

1. statement_timeout
作用：控制单个 SQL 语句执行的最长时间
触发条件：任何正在执行的 SQL 语句 ...]]></description>
      <category>金仓数据库</category>
      <author>jiawang</author>
      <pubDate>Wed, 06 Aug 2025 05:47:30 +0000</pubDate>
    </item>
    <item>
      <title>金仓KINGBASE数据库如何实现某个用户免密码登录</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32606</link>
      <description><![CDATA[如题所示，想让某个用户不输入密码登录，而且还不让他人知道密码的明文，可以使用 金仓自带的工具 sys_encpwd来实现。
1.使用 sys_encpwd 工具产生登录用户的密文
  比如想让SYSTEM用户不输入密码登录，如下：




[kingbase@kesdb:/home/kingbase]$ sys_encpwd  ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sat, 12 Jul 2025 11:39:37 +0000</pubDate>
    </item>
    <item>
      <title>使用服务名的方式访问kingbase数据库</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32605</link>
      <description><![CDATA[使用过ORACLE的，都知道，访问ORACLE，可以使用 user/pass@网络服务别名 方式访问ORACLE，那么，KINGBASE能否使用这个方式来访问数据库呢？

KINGBASE 是支持这个的，在v8r6之前，通过定义KINGBASE_CONNECT_INFO 环境变量实现， 从 v8r6开始，通过定义KINGBASE_SERVIC ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sat, 12 Jul 2025 10:34:59 +0000</pubDate>
    </item>
    <item>
      <title>金仓和ORACLE的对比</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32604</link>
      <description><![CDATA[1.数据库
  ORACLE 数据库，金仓对应的KES 全称：kingbase ES]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sat, 12 Jul 2025 04:34:39 +0000</pubDate>
    </item>
    <item>
      <title>金仓启停数据库的两种常用方式</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32603</link>
      <description><![CDATA[一种root用户使用systemctl stop/start/restart kingbased
[root@kesdb ~]# systemctl status kingbased
● kingbased.service - LSB: Start and stop the kingbase server
   Loaded: loaded (/etc/rc.d/init.d/kingbased; generated)
   Active: active (exited)  ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sat, 12 Jul 2025 04:28:59 +0000</pubDate>
    </item>
    <item>
      <title>金仓数据库的三种关机模式解读</title>
      <link>http://bbs.cqsztech.com/forum.php?mod=viewthread&amp;tid=32602</link>
      <description><![CDATA[smart  :                   类似 oracle 的 normal，需等待已连接会话全部断开，进行一致性关机，不允许新用户连接；
fast  :                        类似 oracle 的 immediate，强制断开所有会话，关闭服务，做检查点保证日志和数据同步，是金仓默认方式；

immed ...]]></description>
      <category>金仓数据库</category>
      <author>郑全</author>
      <pubDate>Sat, 12 Jul 2025 04:05:40 +0000</pubDate>
    </item>
  </channel>
</rss>