12
返回列表 发新帖
楼主: 〇〇

[转载] 初次体验崖山数据库

[复制链接]
论坛徽章:
407
紫蛋头
日期:2012-05-21 10:19:41迷宫蛋
日期:2012-06-06 16:02:49奥运会纪念徽章:足球
日期:2012-06-29 15:30:06奥运会纪念徽章:排球
日期:2012-07-10 21:24:24鲜花蛋
日期:2012-07-16 15:24:59奥运会纪念徽章:拳击
日期:2012-08-07 10:54:50奥运会纪念徽章:羽毛球
日期:2012-08-21 15:55:33奥运会纪念徽章:蹦床
日期:2012-08-21 21:09:51奥运会纪念徽章:篮球
日期:2012-08-24 10:29:11奥运会纪念徽章:体操
日期:2012-09-07 16:40:00
11#
 楼主| 发表于 2023-11-13 22:44 来自手机 | 只看该作者
最简安装过程

root@localhost:~# useradd yashan
root@localhost:~# passwd yashan
New password:
Retype new password:
passwd: password updated successfully
root@localhost:~# su yashan
$ mkdir /home/yashan
$ exit
root@localhost:~# su yashan
$ pwd
/root
$ exit
root@localhost:~# su - yashan
$ pwd
/home/yashan
$ mkdir install
$ cd install
$ tar -zxf /storage/emulated/0/Download/Browser/yashandb-personal-23.1.1.100-linux-aarch64.tar.gz
$ cd scripts
$ ./install.sh
sed: can't read /home/yashan/.bashrc: No such file or directory
$ cat /home/yashan/.bashrc
[ -f /home/yashan/yashandb/yasdb_home/conf/yasdb.bashrc ] && source /home/yashan/yashandb/yasdb_home/conf/yasdb.bashrc
$ cat /home/yashan/yashandb/yasdb_home/conf/yasdb.bashrc > /home/yashan/.bashrc
$ . /home/yashan/.bashrc
$ ./initDB.sh
process started!
Database open succeed !
$ cd /home/yashan/yashandb/yasdb_data/instance
$ mv yasdb.pwd yasdb1.pwd
$ yaspwd file=yasdb.pwd
Enter password for SYS:Yashan-1
$ yasql sys/Yashan-1
YashanDB SQL Personal Edition Release 23.1.1.100 aarch64

Connected to:
YashanDB Server Personal Edition Release 23.1.1.100 aarch64 - X86 64bit Linux

SQL> select * from dual;

DUMMY
-----
X

1 row fetched.

SQL> set timi on
SQL> select sum(level)from dual connect by level<1000000;

SUM(LEVEL)
-----------
5.0000E+11

1 row fetched.

Elapsed: 00:00:00.265

使用道具 举报

回复
论坛徽章:
407
紫蛋头
日期:2012-05-21 10:19:41迷宫蛋
日期:2012-06-06 16:02:49奥运会纪念徽章:足球
日期:2012-06-29 15:30:06奥运会纪念徽章:排球
日期:2012-07-10 21:24:24鲜花蛋
日期:2012-07-16 15:24:59奥运会纪念徽章:拳击
日期:2012-08-07 10:54:50奥运会纪念徽章:羽毛球
日期:2012-08-21 15:55:33奥运会纪念徽章:蹦床
日期:2012-08-21 21:09:51奥运会纪念徽章:篮球
日期:2012-08-24 10:29:11奥运会纪念徽章:体操
日期:2012-09-07 16:40:00
12#
 楼主| 发表于 2023-11-14 11:20 来自手机 | 只看该作者
关闭数据库实例可以shutdown,但是启动数据库要
$ nohup yasdb open &
$ nohup: ignoring input and appending output to 'nohup.out'
而不能
$ yasql sys/Yashan-1再startup
http://doc.yashandb.com/yashandb/22.2/zh/%E8%BF%90%E7%BB%B4%E6%89%8B%E5%86%8C/%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E5%BA%93%E7%AE%A1%E7%90%86/%E5%AE%9E%E4%BE%8B%E5%90%AF%E5%81%9C.html

使用道具 举报

回复
论坛徽章:
520
奥运会纪念徽章:垒球
日期:2008-09-15 01:28:12生肖徽章2007版:鸡
日期:2008-11-17 23:40:58生肖徽章2007版:马
日期:2008-11-18 05:09:48数据库板块每日发贴之星
日期:2008-11-29 01:01:02数据库板块每日发贴之星
日期:2008-12-05 01:01:03生肖徽章2007版:虎
日期:2008-12-10 07:47:462009新春纪念徽章
日期:2009-01-04 14:52:28数据库板块每日发贴之星
日期:2009-02-08 01:01:03生肖徽章2007版:蛇
日期:2009-03-09 22:18:532009日食纪念
日期:2009-07-22 09:30:00
13#
发表于 2023-11-16 23:31 | 只看该作者
很多数据库在单项指标上都可以打败ORACLE,但是放到现实世界中走两步,就会发现差距了。

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表