存档
SAP ERP系统能够跑在ASE系统上了,对Sybase DBA来说或许是个好消息。
ORLANDO, FLA. — MAY 17, 2011 — SAP AG (NYSE: SAP) and Sybase, Inc., an SAP company and industry leader in enterprise and mobile software, today announced plans to make the enterprise resource planning (ERP) application SAP® ERP the first SAP® Business Suite application running on Sybase Adaptive Server Enterprise (ASE) — the same high-performance relational database management system (DBMS) that powers Wall Street. In combining SAP applications with Sybase technology, along with harmonized customer services and support, the companies aim to offer organizations worldwide a new database option for running SAP applications and accessing critical information, powering significant efficiency gains and cost reductions. The announcement was made at SAPPHIRE® NOW, being held in Orlando, Florida, May 15-18, 2011, where pilot customers will be showcasing how they are using SAP ERP on Sybase ASE.
see more:http://www.sybase.com/detail?id=1093155&contentOnly=true
Sybase ASE Editions Limits
|
EXPRESS |
DEVELOPER |
SMALL BUSINESS |
ENTERPRISE |
Number of CPUs |
1 |
1 |
4 |
No limit |
Max. Memory Size |
2GB |
No limit |
No limit |
No limit |
Max. Database Size |
5GB |
No limit |
No limit |
No limit |
Max. number concurrent connections |
No limit |
25 |
256 |
No limit |
System Management Suite |
Available |
Available |
Available |
Available |
Options & Option Packages |
Not Available |
Included |
Available |
Available |
* ASE Express Edition can be installed/deployed on machines of any size (multi-processor machines); ASE will only take advantage of one of those processors, 2GB memory and 5GB disk space. |
ASE Express Edition: 阅读全文...
在公司测试环境上执行sp_spaceused时报error:1151的错误。虽然这不是一个严重的错误,记得好像以前也出现过一次,故记录一下。
1> sp_spaceused
2> go
database_name
database_size
----------------------------------------------------
----------------------------------------------------
ultranms
600.0 MB(1 row affected)
Msg 1151, Level 11, State 1:
Server 'ASE', Procedure 'sp_spaceused', Line 308:
Object 460577698 passed to OAM builtin function no longer exists in database 5.
Msg 1151, Level 11, State 1:
Server 'ASE', Procedure 'sp_spaceused', Line 308:
Object 460577698 passed to OAM builtin function no longer exists in database 5.
Msg 1151, Level 11, State 1:
Server 'ASE', Procedure 'sp_spaceused', Line 308:
Object 460577698 passed to OAM builtin function no longer exists in database 5.
Msg 1151, Level 11, State 1:
Server 'ASE', Procedure 'sp_spaceused', Line 308:
Object 460577698 passed to OAM builtin function no longer exists in database 5.
reserved data
index_size unused
-------------------------------- ----------------------------
---------------------------------------- ----------------------------
9020 KB 1396 KB
1064 KB 6560 KB
(return status = 0)
出现错误1151的原因是:执行sp_spaceused统计数据库的空间使用情况的时候,其它会话正在执行删除表的操作。 阅读全文...
生成响应记录文件:
setupConsole.exe -options-record c:\ase1503responsefile-record.txt
根据响应记录文件的内容进行ASE 15.0.3的静默安装:
setupConsole.exe -silent -options c:\ase1503responsefile-record.txt -W SybaseLicense.agreeToLicense=true -G replaceExistingResponse="yesToALL"
响应记录文件c:\ase1503responsefile-record.txt内容在此下载
响应记录文件中对ASE 15.0.3默认安装过程进行的改动有:
1.安装目录:d:\sybase
2.定制安装
3.追加了3个组件选项:Job Scheduler、Chinese Language Module、Shared
4.安装开发版
5.启用remember password选项
6.不配置新服务器
初始化数据设备1
disk init
name='pmdb_dat1',
physname='/export/home/sybdata/HUAWEIU2000/pmdb_dat1.dat',
size='8000m'
go
初始化日志设备1
disk init
name='pmdb_log1',
physname='/export/home/sybdata/HUAWEIU2000/pmdb_log1.dat',
size='8000m'
go
初始化数据设备2
disk init
name='pmdb_dat2',
physname='/export/home/sybdata/HUAWEIU2000/pmdb_dat2.dat',
size='16000m'
go
创建数据库pmdb
create database pmdb on pmdb_dat1='8000m',pmdb_dat2='16000m' log on pmdb_log1='8000m'
go 阅读全文...
例:有表
--sybase
create table t_test(
mydate datetime)
go
--oracle
create t_test(mydate date)
方法1:在sybase侧建立视图,然后从导出视图(此方法舍弃了毫秒部分)
create view v_test as
select
convert(varchar(10),pst_exec_stime,111)+' '+convert(varchar(9),pst_exec_stime,8) mydate
from t_test
go 阅读全文...
linux x86 平台上的 ASE15.5 的 dat文件,拷贝到windows x86 平台上的ASE15.5中,是可以使用的。
只需要简单的修改master.dat中的device路径即可。 通过更改sysdevices的phyname来实现。
将sysdatabases系统表中status - 64
之后, 利用dbcc checkdb,dbcc checkalloc,dbcc checkcatalog 检查各个数据库。 没有错误。
说明: linux平台和windows平台的dat文件是通用的。 迁移时只拷贝数据库设备文件就能完成。
因为linux x86/x64以及windows都是小字节序(little endian)的,理论上linux x86及windows平台上的设备文件是可以通用的。
上面说的方法建议通过Sybase官方的做法:
quiesce database
mount database
目前在ASE 15中支持简体中文字符的字符集有四种:CP936,EUCGB,UTF-8和GB18030。
其中EUCGB字符集是基于GB2312-80编码规范的,它的EUC (Extended Unix Code)编码范围是第一字节0xA1~0xFE(实际只用到0xF7),第二字节0xA1~0xFE。
CP936字符集是基于GBK编码规范(实际上的国家标准是GB13000-90),是对GB2312进行的扩展,第一字节为0x81~0xFE,第二字节分两部分,一是0x40~0x7E,二是0x80~0xFE。其中和GB2312相 同的区域,字完全相同。
GB18030字符集(国家标准号是GB18030-2000)是2000年3月17日发布的新的中文编码标准。它是GB2312的扩充,采用单/双 /四字节编码体系结构,收录了27000多个汉字以及臧文、蒙文、维吾尔文等主要的少数民族文字。Sybase 从ASE 12.5.0.3之后开始支持 GB18030字符集。
UTF-8字符集是现有ASCII系统向Unicode转换的一个过渡方案。它使用1-3字节表示一个字符。简体中文的每个字符在utf8中的长度基本上都是3个字节。它的最主要的优点是可以同时支持超过650种语言的字符。缺点是针对中文字符来说,需要增加50%的空间用来存储。还有一个问题是执行sp_helptext显示存储过程体的时候,有可能出现半个汉字。
一般来说,由于 EUCGB不支持国标一、二级字库以外的汉字,所以我们推荐用户在服务器端和客户端都使用CP936字符集,或者在ASE 12.5.0.3之后还可以使用GB18030字符集,它可以支持一些比较生僻的汉字。它的不足是只有一种排序方式,即区分大小写的Binary方式。所以,如果需要使用支持中文字符集且不区分大小写的数据库时,就只能使用UTF-8作为服务器端字符集,而客户端使用CP936或GB18030字符集。
eucgb、cp836、gb18030仅支持区分大小写的排序顺序,utf-8支持不区分大小写的排序。