sap数据库表在应用服务器级别进行缓冲的目的

sap数据库表在应用服务器级别进行缓冲的目的,第1张

将会清除SAP 的所有BUFFER,例如

表缓存,表空间缓存,屏幕缓存,编号范围缓存等等

重置请慎重,会影响SAP性能

下面有几个常用缓冲区重置的功能

/$SYNC - buffers of the application server

/$CUA - CUA buffer of the application server

/$TAB - the TABLE buffers of the application server

/$NAM - the nametab buffer of the application server

/$DYNP - the screen buffer of the application server

SAP HANA 是市场上首个 translytical 数据平台,也是数据库领域的领导者。SAP HANA提供多用途的内存应用设备,企业可以利用它即时掌握业务运营情况,从而对所有可用的数据进行分析,并对快速变化的业务环境作出迅速响应。

通过SAP HANA,企业可以在业务运作期间基于海量实时详细信息分析业务运营情况。企业可以探索和分析来源于所有数据源的全部交易数据和分析数据。运营数据在产生时由内存获取,并通过灵活的视图迅速将分析信息呈现给用户。外部数据可轻松的被添加至分析模型,与整个企业的数据进行整合。

通过SAP HANA 可直接访问运营数据,而不影响SAP ERP和其他运营系统的性能。企业可以近乎实时地将主要交易表同步到内存中,以便在分析或查找时能够轻松对这些表进行访问。一旦数据可通过内存访问,各个部门就可以从预订单据、销售线索、服务要求等大量列表中查找单个行项目,而不会对运营系统造成任何影响。这种高效的建模流程支持提供明细行项目的直接访问模型,以及支持更为复杂的分析流程的分析模型。

SAP服务器启动顺序:

服务器操作系统启动完成(硬件和linux操作系统), 数据库启动完成, SAP应用程序启动完成

SAP服务器关闭顺序:

SAP应用程序关闭完成, 数据库关闭完成, 服务器操作系统关闭完成 (硬件和linux操作系统)

启动SAP系统:登陆系统 (nbq是系统标识)

启动sap数据库服务器

su – oranbq

lsnrctl starus (检查数据库 ,可以不做)

lsnrctl start

启动sap应用服务器

su – nbqadm

startsap

关闭SAP系统:登陆系统

关闭sap应用服务器

su – nbqadm

stopsap

saposcol –k

sapstartsrv DVEBMGS00

stopsap sapstartsrv SCS01

关闭sap数据库

su – oranbq

lsnrctl stop

一、启动:

1、数据库启动

sapqas:su oraqas切换到数据管理帐号 (QAS应该是系统标识)

sapqas:oraqas 29>lsnrctl start 启动监听服务

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 04-JUL-2013 16:20:30

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Starting /oracle/ECQ/112_64/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.3.0 - Production

System parameter file is /oracle/ECQ/112_64/network/admin/listener.ora Log messages written to /oracle/ECQ/saptrace/diag/tnslsnr/sapqas/listener/alert/log.xml

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ECQ.WORLD))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ECQ))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sapqas.site)(PORT=1521)))

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=ECQ.WORLD)) STATUS of the LISTENER

------------------------

Alias LISTENER

Version TNSLSNR for Linux: Version 11.2.0.3.0 -

Production Start Date04-JUL-2013 16:20:54

Uptime0 days 0 hr. 0 min. 0 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File /oracle/ECQ/112_64/network/admin/listener.ora Listener Log File /oracle/ECQ/saptrace/diag/tnslsnr/sapqas/listener/alert/log.xml Listening Endpoints Summary...

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ECQ.WORLD))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=ECQ)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sapqas.site)(PORT=1521))) Services Summary...

Service "ECQ" has 1 instance(s).

Instance "ECQ", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully

sapqas:oraecq 30>sqlplus /nolog 连接数据库

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 4 16:21:41 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.

SQL>conn /as sysdba 连接数据库实例

Connected to an idle instance.

SQL>startup 启动数据库

ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

ORACLE instance started.

Total System Global Area 4576575488 bytes

Fixed Size 2235848 bytes

Variable Size2298479160 bytes

Database Buffers 2264924160 bytes

Redo Buffers 10936320 bytes

Database mounted.

Database opened.

SQL>exit 数据启动完成,退出数据库连接

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

sapqas:oraecq 31>exit 退出用户

logout

2、应用服务器启动

sapqas: su qasadm 切换到SAP管理帐号 (QAS应该是系统标识)

sapqas:qasadm 51>startsap启动SAP应用程序

Checking ECQ Database Database is running

-------------------------------------------

Starting Startup Agent sapstartsrv

OK

Instance Service on host sapqas started

-------------------------------------------

starting SAP Instance DVEBMGS00

Startup-Log is written to /home/ecqadm/startsap_DVEBMGS00.log

-------------------------------------------

/usr/sap/ECQ/DVEBMGS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function

Start Instance on host sapqas started

sapqas:qasadm 51>exit SAP应用程序启动完成,退出用户

logout

二、关闭:

关闭SAP应用之前,请先登陆SAP,使用SM04查看是否还有在线用户,如有请通知退出。

1、关闭sap应用服务器

sapqas:su qasadm 切换到SAP管理帐号(QAS应该是系统标识)

sapqas:qasadm 50>stopsap停止SAP应用程序

Checking ECQ Database Database is running

-------------------------------------------

stopping the SAP instance DVEBMGS00

Shutdown-Log is written to /home/ecqadm/stopsap_DVEBMGS00.log

-------------------------------------------

/usr/sap/ECQ/DVEBMGS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Stop Instance on host sapqas stopped Waiting for cleanup of resources

..............

Trying to stop ECQ database ...

Log file: /home/ecqadm/stopdb.log ECQ database stopped Checking ECQ Database

Database is not available via R3trans

-------------------------------------------

sapqas:ecqadm 51>exit SAP应用程序和数据库关闭完成,退出用户。

Logout

2、关闭数据库服务器

sapqas:su qasecq切换到数据库管理用户(QAS应该是系统标识)

sapqas:oraqas 41>lsnrctl stop关闭监听

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 04-JUL-2013 16:49:03

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=ECQ.WORLD)) The command completed successfully

sapqas:oraqas 42>exit 退出用户

logout sapqas:~ #

更多Linux知识可参考: https://www.linuxprobe.com/zhidao


欢迎分享,转载请注明来源:夏雨云

原文地址:https://www.xiayuyun.com/zonghe/447191.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-31
下一篇2023-05-31

发表评论

登录后才能评论

评论列表(0条)

    保存