提供Sybase ASE及Sybase SQL Anywhere数据库修复服务,电话:13811580958(微信),QQ:289965371!We have many years of experience in recovering data from damanged Sybase devices. Contact us by Phone: +86 13811580958 Wechat: 13811580958 Email: 289965371@qq.com
2011-12-01 oracle11g报TNS-12537和ORA-609问题的解决 (0) 在CentOS5.5 x86_64上安装了Oracle11g,版本号为:11.2.0.1.0
但是,在其它客户端上使用sqlplus连接的时候需要等待很长时间才能连接上,有时候报超时的错误。
错误信息为:
***********************************************************************
Fatal NI connect error 12537, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - […]
2011-12-01 linux使用date计算某个月份的天数 (0) 本博客中aix系统可以用改变时区的方法获取前后N天的日期
Linux下使用date计算某个月份的天数:
Month=2
Year=2008
nextmonth=`date -d "1 month $Year-$Month-"01"" +%Y-%m-%d`
date -d "-1 day $nextmonth" +%d
#或者将-d "1 month $Year-$Month-"01"" 和 date -d "-1 day $nextmonth" 写在一行命令中
Month=2
Year=2008
date -d "1 month $Year-$Month-"01"" -d "-1 day" +%d
使用cal 计算某个月份的天数:
Month=2
Year=2008
cal $Month $Year | sed -n '3,$p' | […]
2010-12-15 Linux 5下安装oracle开始遇见的错误 缺少包libXp-1.0.0-8.i386.rpm (0)
在运行./runInstaller时出现的错误
错误一:
/tmp/OraInstall2007-12-30_02-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred.
原因是:缺少支持打印的图形化动态链接库libXp.so.6
这个错误是由于缺少系统安装包,在RHEL5以前的版本,可以安装xorg-x11-deprecated-libs包即可,这个安装包可以在系统光盘第三张盘中找到(对于redhat as4.2以前,redhat as4.4是在第四张安装光盘)
我下载的文件如下:
xorg-x11-deprecated-libs-6.8.2-31.i386.rpm
我用的是redhat 5,在5中 被libXp-1.0.0-8.i386.rpm替代了,所以从安装盘中找到这个文件,
rpm […]
2010-11-25 平台数据库迁移linux >windows (0) 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文件是通用的。 […]
2009-12-18 在linux5.4enterprise下安装sybase成功 (0) 昨天下午到现在已成功实现在linux 5.4 Enterprise下安装两个版本sybase数据库。ase12.5.4和ase15.0.3
两个版本的数据库使用不同的账户创建,并且已经配置了开机自动启动和关机自动结束服务。
ln -s /etc/init.d/autostartsyblinux /etc/rc5.d/S98autostartsyblinux
vi /etc/init.d/autostartsyblinux
su - sybase -c /etc/init.d/startsyblinux
vi /etc/init.d/startsyblinux
cd /sybase/ASE-12_5/install
startserver -f RUN_syblinux -f RUN_syblinux_bs
-------------------------------------------------------------------------------------
ln -s […]
2013-09-05 查找没有授予给其它用户权限的表以及权限 (0) 以将dbo创建的所有表授予相应权限给普通用户userA为例。
将dbo拥有的表的相应权限(select/insert/update/delete)授予给普通用户userA,使用以下SQL生成授权语句:
select 'grant select on ' + user_name(uid) + '.' + name + ' to userA' from sysobjects where type='U' and uid=user_id('dbo')
union all
select 'grant insert on ' + user_name(uid) + '.' + name + ' to userA' from sysobjects where type='U' and […]
2014-11-28 SAP ASE 16静默方式安装并创建服务器 (0) 之前写过一篇博文介绍 使用响应文件进行ASE 15.0.3的静默安装 。
当时用的是ASE 15.0.3 32bit,用响应文件安装完ASE程序文件后没有自动创建ASE服务器。windows上可以使用sybatch调用资源文件以无交互方式创建ASE服务器。
下面介绍SAP ASE 16使用静默方式自动安装程序文件并自动创建ASE服务器的过程。
一、操作系统及补丁要求:
SAP ASE 16 SP02 要求至少 RHEL6 或以上版本。
RHEL8 和 SLES15 认证的最低版本为:ASE 16.0 SP03 PL07 + 1-off EBF29109。
SAP ASE 16 要求windows版本至少为: windows 2008 R2 或 windows 2012。ASE 16.0在windows平台上只有64位的。
安装之前先安装Microsoft Visual C++ 2005/2008/2010可再发行补丁。
Microsoft Visual C++ 2005 Redistributable
Microsoft Visual […]
2010-09-10 Row-Level Locking for System Tables (0) Adaptive Server version 15.0.2 uses row-level locking on system tables to enhance performance.
Versions of Adaptive Server earlier than 15.0.2 used exclusive table locks on system tables while executing data definition language (DDL) and utility commands. The set of system tables Adaptive Server locked depended on the type of DDL operation you executed. If another DDL running concurrently tried to take a conflicting exclusive table lock on the same system table, this DDL had to […]
2010-08-09 sql server 2008中的备份压缩特性 (0) sql server 2005不支持备份压缩。很奇怪怎么不支持呢? sybase在ASE12.x都支持备份压缩了。
自sql server 2008才开始支持备份压缩。虽然只有 SQL Server 2008 Enterprise 及更高版本支持创建压缩的备份,但从 SQL Server 2008 开始,每个版本都可以还原压缩的备份。
限制
压缩的备份具有以下限制条件:
压缩的备份和未压缩的备份不能共存于一个媒体集中。
早期版本的 SQL Server 无法读取压缩的备份。
NTbackup 无法共享包含压缩的 SQL Server 备份的磁带。
压缩备份的性能影响
因为相同数据的压缩的备份比未压缩备份小,所以压缩备份所需的设备 I/O 通常较少,因此通常可大大提高备份速度。
默 认情况下,压缩会显著增加 CPU 的使用,并且压缩进程所消耗的额外 CPU 可能会对并发操作产生不利影响。因此,您可能需要在会话中创建低优先级的压缩备份,其 CPU […]
提供Sybase数据库远程及现场技术支持
提供Sybase ASE和ASA数据库修复服务
QQ :289965371
Email:
电话:(微信)
We supply technical support for Sybase ASE and Sybase SQL Anywhere, also have many years of experience in recovering data from damanged Sybase devices.
Please contact us:
Phone:
Wechat: 13811580958
QQ: 289965371
Email: 289965371@qq.com
提供7*24专业Sybase数据恢复、性能优化、迁移升级、紧急救援等服务,
Sybase ASE及Sybase SQL Anywhere数据库修复服务,
电话:(微信),
QQ :289965371
Email:
We supply technical support for Sybase ASE and Sybase SQL Anywhere, also have many years of experience in recovering data from damanged Sybase devices.
Please contact us:
Phone:
Wechat: 13811580958
QQ: 289965371
Email: 289965371@qq.com