In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Analysis and suggestion of China Merchants Bank
In view of the recent problems in my work, I selected some typical cases and added my own analysis.
1. Ftpdbn1-deadlock question:
By opening the data fetched by event monitor, it is found that the deadlock is caused by a large number of delete statements of the same table executed by a stored procedure. The stored procedure is defined as follows:
CREATEPROCEDURE CIFDBO.SP_FRM_E_FMEVRFCA_LOG_ADD_V1 (
IN pMDL_INS_COD CIFDBO.MDL_INS_COD_ARRAY
.
IN pREC_CNT CIFDBO.INT_ARRAY
OUT pRtCode INTEGER
)
SPECIFIC SP_FRM_E_FMEVRFCA_LOG_ADD_V1
P1: BEGIN
DECLARE vEVT_ID CHAR (20)
DECLARE i, n INTEGER
DECLARE vTimestamp TIMESTAMP
DECLARE vDateDelete TIMESTAMP
DECLARE SQLCODE INTEGER
DECLAREEXIT HANDLER FOR SQLEXCEPTION
BEGIN
SET pRtCode = SQLCODE
END
SET pRtCode =-1
SET vTimestamp = CURRENT TIMESTAMP
SET vDateDelete = vTimestamp-3 MONTHS
DELETEFROM FRM.FMEVRFCA_LOG WHERE CRT_TIM
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.