系统环境 CPU info: Number of CPUs = 4 Clock speed = 1595 MHz Bus speed = 532 MT/s CPUID registers vendor
系统环境
CPU info:
Number of CPUs = 4
Clock speed = 1595 MHz
Bus speed = 532 MT/s
CPUID registers
vendor information = "GenuineIntel"
processor serial number = 0x0000000000000000
processor version info = 0x0000000020000704
architecture revision: 0
processor family: 32 Intel(R) Itanium 2 9000 series
processor model: 0 Intel(R) Itanium 2 9000 series
processor revision: 7 Stepping C2
largest CPUID reg: 4
processor capabilities = 0x0000000000000005
implements long branch: 1
implements 16-byte atomic operations: 1
Bus features
implemented = 0xbdf0000020000000
selected = 0x0000000000000000
Cache info (per core):
L1 Instruction: size = 16 KB, associativity = 4
L1 Data: size = 16 KB, associativity = 4
L2 Instruction: size = 1024 KB, associativity = 8
L2 Data: size = 256 KB, associativity = 8
L3 Unified: size = 9216 KB, associativity = 9
Memory = 16364 MB (15.980469 GB)
Platform info:
model string = "ia64 hp server rx2660"
machine id number = d3a7307e-6c0c-11dc-9a43-073f36ab3df2
machine serial number = SGH4735167
OS info:
sysname = HP-UX
nodename = xxx
release = B.11.23
version = U (unlimited-user license)
machine = ia64
idnumber = 3550949502
vmunix _release_version:
数据库系统:Oracle 10g r2
安装的时候把系统80%的内存都分配给oracle数据库(大概是10G左右)
问题:
在/data目录建表空间
1G需要时间为2分多钟
2G需要时间为5分多钟
在/oradata目录建表空间
1G需要时间为5分多钟
2G需要时间为10分多钟
在本机的window系统下安装oracle 11g,,
创建表空间1G大概15到20秒,2G大概30到40秒左右。
为什么在hp-ux上创建表空间会那么慢呢?
具体在hp-ux上简表过程如下:
$ vi create_tablespace.sh
"create_tablespace.sh" 10 lines, 395 characters
#!/bin/sh
echo "===========start date:`date` ============"
sqlplus / as sysdba create tablespace test1 datafile '/data/test1.dbf' size 1024M;
quit;
EOF
echo "===========end date:`date`==============="
$ ./create_tablespace.sh
===========start date:Mon Dec 5 10:55:48 EAT 2011 ============
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 5 10:55:48 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> SQL> SQL>
Tablespace created.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
===========end date:Mon Dec 5 10:57:53 EAT 2011===============
$ vi create_tablespace.sh
"create_tablespace.sh" 10 lines, 394 characters
#!/bin/sh
echo "===========start date:`date` ============"
sqlplus / as sysdba create tablespace test2 datafile '/oradata/test2.dbf' size 1024M;
quit;
EOF
echo "===========end date:`date`==============="
"create_tablespace.sh" 10 lines, 397 characters
$ ./create_tablespace.sh
===========start date:Mon Dec 5 10:59:13 EAT 2011 ============
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 5 10:59:13 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> SQL> SQL>
Tablespace created.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
===========end date:Mon Dec 5 11:04:01 EAT 2011===============
$ vi create_tablespace.sh
"create_tablespace.sh" 10 lines, 397 characters
#!/bin/sh
echo "===========start date:`date` ============"
sqlplus / as sysdba create tablespace test4 datafile '/oradata/test4.dbf' size 2048M;
quit;
EOF
echo "===========end date:`date`==============="
"create_tablespace.sh" 10 lines, 397 characters
$ ./create_tablespace.sh
===========start date:Mon Dec 5 11:05:32 EAT 2011 ============
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 5 11:05:32 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> SQL> SQL>
Tablespace created.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
===========end date:Mon Dec 5 11:16:03 EAT 2011===============
$ vi create_tablespace.sh
"create_tablespace.sh" 10 lines, 397 characters
#!/bin/sh
echo "===========start date:`date` ============"
sqlplus / as sysdba create tablespace test3 datafile '/data/test3.dbf' size 2048M;
quit;
EOF
echo "===========end date:`date`==============="
$ vi create_tablespace.sh
"create_tablespace.sh" 10 lines, 397 characters
#!/bin/sh
echo "===========start date:`date` ============"
sqlplus / as sysdba create tablespace test3 datafile '/data/test3.dbf' size 2048M;
quit;
EOF
echo "===========end date:`date`==============="
$ ./create_tablespace.sh
===========start date:Mon Dec 5 12:43:34 EAT 2011 ============
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 5 12:43:34 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> SQL> SQL>
Tablespace created.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
===========end date:Mon Dec 5 12:47:39 EAT 2011===============

本文探討了Docker中的優化MySQL內存使用量。 它討論了監視技術(Docker統計,性能架構,外部工具)和配置策略。 其中包括Docker內存限制,交換和cgroups

本文介紹了MySQL的“無法打開共享庫”錯誤。 該問題源於MySQL無法找到必要的共享庫(.SO/.DLL文件)。解決方案涉及通過系統軟件包M驗證庫安裝

本文討論了使用MySQL的Alter Table語句修改表,包括添加/刪除列,重命名表/列以及更改列數據類型。

本文比較使用/不使用PhpMyAdmin的Podman容器直接在Linux上安裝MySQL。 它詳細介紹了每種方法的安裝步驟,強調了Podman在孤立,可移植性和可重複性方面的優勢,還

本文提供了SQLite的全面概述,SQLite是一個獨立的,無服務器的關係數據庫。 它詳細介紹了SQLite的優勢(簡單,可移植性,易用性)和缺點(並發限制,可伸縮性挑戰)。 c

本指南展示了使用自製在MacOS上安裝和管理多個MySQL版本。 它強調使用自製裝置隔離安裝,以防止衝突。 本文詳細詳細介紹了安裝,起始/停止服務和最佳PRA

文章討論了為MySQL配置SSL/TLS加密,包括證書生成和驗證。主要問題是使用自簽名證書的安全含義。[角色計數:159]

文章討論了流行的MySQL GUI工具,例如MySQL Workbench和PhpMyAdmin,比較了它們對初學者和高級用戶的功能和適合性。[159個字符]


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

AI Hentai Generator
免費產生 AI 無盡。

熱門文章

熱工具

SublimeText3 Linux新版
SublimeText3 Linux最新版

EditPlus 中文破解版
體積小,語法高亮,不支援程式碼提示功能

SublimeText3漢化版
中文版,非常好用

記事本++7.3.1
好用且免費的程式碼編輯器

Dreamweaver Mac版
視覺化網頁開發工具