Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Reasons for applying the card

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

27 September 2016

Reasons for using cards:

1. View CPU load of application server---top, memory usage---free -m.

2. Check the CPU load and memory usage of the database.

3, there is a redis server, check whether the redis cache is started.

CRM system testers today have been reacting to cards that were not cards before. Check the server resources, database memory only 48M. Originally wanted to add memory, but later saw the error connection can not redis, started redis, unexpectedly not card. The redis function of this system is still very large.

Check if there is a deadlock. That kind of permanent deadlock.

select sess.sid,

p.SPID,

sess.serial#,

lo.oracle_username,

lo.os_user_name, ao.object_name,

lo.locked_mode

from v$locked_object lo, dba_objects ao, v$session sess, v$process p

where ao.object_id = lo.object_id

and lo.session_id = sess.sid

and sess.PADDR = p.ADDR;

5. Finally, check out the poor performance sql. Let development optimize it.

SELECT * FROM (select PARSING_USER_ID,EXECUTIONS,SORTS,COMMAND_TYPE,DISK_READS,sql_text,sql_fulltext FROM v$sqlarea

order BY disk_reads DESC )where ROWNUM

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report