当前位置: 首页 > news >正文

ORA-00800

Table of Contents

  • 1. 现象
  • 2. 原因分析
  • 3. MOS搬迁
    • 3.1. Cause
    • 3.2. Solution
      • 3.2.1. ORADISM Permission:
      • 3.2.2. Check the priority of VKTM or LMS* @RDBMS level:
      • 3.2.3. Cgroup Configuration
      • 3.2.4. Priority and Runtime
      • 3.2.5. "nosuid" option :
      • 3.2.6. Oradism and Oracle binary permission difference:
      • 3.2.7. Apply this patch - Bug 34318125 - ORA-00800: SOFT EXTERNAL ERROR, ARGUMENTS: [SET PRIORITY FAILED] ON BG PROCESSES\\
      • 3.2.8. Apply this merge patch - Bug 34286265 Bug 34318125 Bug 34672698
  • 4. 疑问

1. 现象

手动启动oracle instance时,日志中出现很多[LMS*]进程报错,类似如下:

Errors in file /u01/app/oracle/diag/rdbms/boss/boss1/trace/boss1_vktm_93651.trc  (incident=144083) (PDBNAME=CDB$ROOT):
ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM], [Check traces and OS configuration], [Check Oracle document and MOS notes], []
......
Errors in file /u01/app/oracle/diag/rdbms/boss/boss1/trace/boss1_lmst_93855_93869.trc  (incident=240067):
ORA-00800: soft external error, arguments: [Set Priority Failed], [LMST], [Check traces and OS configuration], [Check Oracle document and MOS notes], []

2. 原因分析

[oracle@xxxx trace]$ oerr ora 800
00800, 00000, "soft external error, arguments: [%s], [%s], [%s], [%s], [%s]"
// *Cause:  An improper system configuration or setting resulted in failure.
//          This failure is not fatal to the instance at the moment, however, this might result
//          in an unexpected behavior during query execution.
// *Action: Check the database trace files and rectify system settings or the configuration.
//          For additional information, refer to Oracle database documentation or refer to
//          My Oracle Support (MOS) notes.

从Oracle官方提供的这个提示来看,原因是系统配置不正确或者配置未生效引起的。这个错误并不是致命的,但是在后期的查询操作中可能会胡异常。

由于信息不明确,也没有提示是哪个错误信息。只能查MOS了。

3. MOS搬迁

 

3.1. Cause

19c configured on OL7/UEK4. UEK4 requires rt_period and rt_runtime set for the cgroup from where the database is started.
Typically the root one unless the customer is setting up their own cgroups or using system user slices.
It requires the proper values such as the 95%. For this problem, ORA-800 will have the following message in the incident.

3.2. Solution

This Note is for ORA-800[VKTM] issues. If you are facing only warning messages like below, Then follow Note 1347586.1 for Solution Time drift detected. Please check VKTM trace file for more details.Warning: VKTM detected a time drift

3.2.1. ORADISM Permission:

Check the oradism permission in $ORACLE_HOME/bin. It should be owned by root and sticky bit set. Oradism should be owned by root:oinstall with permission of 4750.

$ cd $ORACLE_HOME/bin
$ ls -lrt oradism
-rwsr-x--- 1 root oinstall 147848 Apr 17 2019 oradism

You can change the permission as below:

chown root $ORACLE_HOME/bin/oradism
chmod 4750 $ORACLE_HOME/bin/oradism

3.2.2. Check the priority of VKTM or LMS* @RDBMS level:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.28.0.0.0
SQL> set lines 200 pages 20
SQL> col parameter for a30
col "Session Value" for a15
SQL> SQL> col "Instance Value" for a15
SQL> col "Description" for a40
SQL> select a.ksppinm "Parameter", b.ksppstvl "Session Value", c.ksppstvl "Instance Value", a.KSPPDESC "Description" from x$ksppi a, x$ksppcv b, x$ksppsv c where a.indx = b.indx and a.indx = c.indx and a.ksppinm like '_%' and a.ksppinm like '_highest_priority_process%';Parameter                      Session Value   Instance Value  Description
------------------------------ --------------- --------------- ----------------------------------------
_highest_priority_processes    VKTM|CTWR       VKTM|CTWR       Highest Priority Process Name Mask

If not "VKTM" is not prioritized, please elevate the priority using below SQL

SQL> alter system set "_high_priority_processes"'VKTM' scope=spfile;=

Restart the Database and verify VKTM is elevated or not.

3.2.3. Cgroup Configuration

After setting the above, still you have error for vktm then we need to verify the cgroup configuration.

Note: The above looks good or configured proper and it still fails. In which case, the instance might be running in some other cgroup.

You can find PID of VKTM of database which has problem :

The instance might be running in some other cgroup. Check the VKTMs cpu cgroups.

cat /proc/<vktm pid>/cgroup | grep cpu

If it shows some other path ( other than root such as 7:cpu,cpuacct:/ ), then make sure that the required cgroup is having the correct settings.

Try for VKTM :

-bash-4.1$ ps -eaf|grep -i vktm |grep -v grep
oracle 15722 1 29 Sep05 ? 06:49:05 ora_vktm_orcl12102
oracle 18110 1 0 13:33 ? 00:00:01 ora_vktm_orcl12201

If it shows some other path ( other than root such as 7:cpu,cpuacct:/ ), then make sure that the required cgroup is having the correct settings

If customer has below settings, For the vtkm process

SID= > cat /proc/60698/cgroup | grep cpu

6:cpuset:/
2:cpuacct,cpu:/user.slice

Kindly do the following settings

1. echo 0 > /sys/fs/cgroup/cpu,cpuacct/system.slice/cpu.rt_runtime_us
2. echo 950000 > /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_us

Execute the below commands and then retry alter system set "_high_priority_processes"'VKTM' scope=spfile;=

Restart the database and check ORA-800 resolved or not.

3.2.4. Priority and Runtime

Still ORA-800 occurs then you can use following commands to check priority and runtime[RR]

#ps -eLo 'pid tid cls pri cmd comm cgroup' | egrep 'TID|vktm' |grep -v grep [ from oracle user]

For example :

-bash-4.2$ ps -eLo 'pid tid cls pri cmd comm cgroup' | egrep 'TID|vktm' |grep -v grepPID TID CLS PRI CMD COMMAND CGROUP
8902 8902 TS 19 ora_vktm_db193cdb ora_vktm_db193c 6:devices:/system.slice/oracle-database.service,5:cpu,cpuacct:/system.slice,1:name=systemd:/system.slice/oracle-database.service
9332 9332 TS 19 ora_vktm_orcl19c ora_vktm_orcl19 6:devices:/system.slice/oracle-database.service,5:cpu,cpuacct:/system.slice,1:name=systemd:/system.slice/oracle-database.service

Here CLS and PRI is having incorrect value (TS and 19) but the correct value is RR and 41.

To the know the value please use

cgget system.slice or cgget user.slice [ based on customer environment cpu,cpuacct:/system.slic OR cpu,cpuacct:/user.slice]

Run the below command to set the correct value

A)  If it is user.slice:
echo 0 > /sys/fs/cgroup/cpu,cpuacct/system.slice/cpu.rt_runtime_us
echo 950000 > /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_usOrcgset -r cpu.rt_runtime_us=950000 user.slice  >> root user command
B) if it is system.slice :
echo 0 > /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_us
echo 950000 > /sys/fs/cgroup/cpu,cpuacct/system.slice/cpu.rt_runtime_usorcgset -r cpu.rt_runtime_us=950000 system.slice
  • stop and start the database to pick the changes by vktm

check the CLS and PRI, [ CLS is RR (realtime) and priority is 41 ]

-bash-4.2$ ps -eLo 'pid tid cls pri cmd comm cgroup' | egrep 'TID|vktm' |grep -v grepPID TID CLS PRI CMD COMMAND CGROUP
18876 18876 RR 41 ora_vktm_db193cdb ora_vktm_db193c 6:devices:/system.slice/oracle-database.service,5:cpu,cpuacct:/system.slice,1:name=systemd:/system.slice/oracle-database.service
19287 19287 RR 41 ora_vktm_orcl19c ora_vktm_orcl19 6:devices:/system.slice/oracle-database.service,5:cpu,cpuacct:/system.slice,1:name=systemd:/system.slice/oracle-database.service

3.2.5. "nosuid" option :

Please check the mount having the oradism binary is having "nosuid" option set. If having "nosuid" option, please unset this option.
Even if the permissions are proper and kernel configurations are fine, the oradism execution as root user will not be honored by root.
Check the mount option for this case.

3.2.6. Oradism and Oracle binary permission difference:

Sometimes oradism and oracle binary will have different permissions (see bug31909951).
For example, the oracle and oradism will have permissions as below
e5pod-2vzxt1: -rwsr-s–x 1 oracle asmadmin 450717448 Sep 20 22:16 oracle
e5pod-2vzxt1: -rwsr-x— 1 root oinstall 147752 Aug 26 17:13 oradism
Since oracle binary group does not match oradism it fails with error [dism:16]
As a solution, you need to fix oradism to be in the same group as oracle binary.

After setting the above changes, still you are getting ORA-800 then you may be hitting the following bugs.

3.2.7. Apply this patch - Bug 34318125 - ORA-00800: SOFT EXTERNAL ERROR, ARGUMENTS: [SET PRIORITY FAILED] ON BG PROCESSES

ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM], [Check traces and OS configuration], [Check Oracle document and MOS notes], []

======= Dump for incident 763248 (ORA 800) ====== [TOC00003] –— Beginning of Customized Incident Dump(s) –— ksesethighpri: (ksb.c:9896) Failed to elevate VKTM's priority from 0 to 1, policy 3 >>>>>>>>>>>>>>>>>>>>>> Error Info: Category(-2), Opname(skgdism_send), Loc(sp.c:setpr:0), ErrMsg(Operation not permitted) Dism(128) –— End of Customized Incident Dump(s) –—

3.2.8. Apply this merge patch - Bug 34286265 Bug 34318125 Bug 34672698

ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM],[Check traces and OS configuration], [Check Oracle document and MOS notes],

======= Dump for incident 1041281 (ORA 800) ====== –— Beginning of Customized Incident Dump(s) –— ksesethighpri: (ksb.c:9893) Failed to elevate VKTM's priority from 0 to 1, policy 3

Error Info: Category(-2), Opname(skgdism_create), Loc(sp.c:setpr:1), ErrMsg(Error 0) Dism(16)

4. 疑问

  1. 为啥通过 srvctl start database 不会报错呢?
  2. 既然cgroup 配置有问题,为啥安装文档里没有要求安装 libcgroup-tools ?

 

Validate

相关文章:

ORA-00800

Table of Contents1. 现象 2. 原因分析 3. MOS搬迁3.1. Cause 3.2. Solution3.2.1. ORADISM Permission: 3.2.2. Check the priority of VKTM or LMS* @RDBMS level: 3.2.3. Cgroup Configuration 3.2.4. Priority and Runtime 3.2.5. "nosuid" option : 3.2.6. Orad…...

50期权日内交易技巧 - 指南

50期权日内交易技巧 - 指南pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", monospace !important; font-siz…...

使用overleaf编写中文

第一步:在Menu中修改编译器为 “XeLateX”添加代码 \usepackage{ctex}...

9.13 CSP-S模拟21 改题记录

HZOI 写在前面 挂如分挂如分天天挂如分。T1秒切,T2看似有思路实则推半天推不出来,T4跑去库里苦找函数,然后经过探索规律终于找到正确用法了狂砍40pts。然后就打T2T3特殊性质,本以为都挺合理但是就是写挂了,而且还是挂一片,甚至暴力也挂挂挂。大概就是100+40+(>32)+40 …...

Vulkan API 创建并渲染一个辐照度立方体贴图,用于 PBR 光照计算

我将为 generateIrradianceCube 函数提供逐行中文注释和分析。这个函数是用 C++ 编写的,使用 Vulkan API 生成用于物理基础渲染 (PBR) 的辐照度立方体贴图 (irradiance cube map)。该函数创建一个立方体贴图,设置离屏渲染管线,并将环境贴图渲染为具有多级渐进纹理 (mip leve…...

使用Putty远程连接树莓派5提示No supported authentication methods available

下面中提示的错误只能使用显示器进入系统修改sudo nano /etc/ssh/sshd_config把下面文件中PasswordAuthentication设定成yes# To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes #PermitEmptyPasswords no...

[USACO24FEB] Maximizing Productivity

ci​ 表示关闭第 i 个农场的时间,ti​ 表示到第 i 个农场的初始时间,用 latei​ 要想在关闭前到达第 i 个农场的最晚时间,此时我们只需要把 late 数组从大到小排序即可,只要看第 v 个是否能按时到达即可。因为数组有序,如果能到达,说明所有比他小的农场都可以到达。#incl…...

记录一个纯CSS实现滚动驱动动画的效果

使用sticky与animation-timeline实现元素固定的滚动驱动动画文章在个人网站中发布,原文链接:记录一个纯CSS实现滚动驱动动画的效果先看一下这个简单的案例 代码: 你也可以直接划到下边看效果。 <div class="out-cont"><!-- 最外层元素,用于框定元素需要…...

第一周个人作业——我

第一周个人作业——我一、自我介绍 作为一名大三的学生,我的兴趣相对杂乱,涉及从小说、影视到动画、文学,再到网络论坛等多个领域,每一个都让我感受到了不同的灵感与启发。我更享受独处的时光,喜欢通过阅读和思考充实自己。偶尔我也会玩一些联机游戏,逛逛GitHub,或者与朋…...

Apache IoTDB V1.3.5 发布|优化加密算法,优化内核稳定性,修复社区反馈问题 - 详解

Apache IoTDB V1.3.5 发布|优化加密算法,优化内核稳定性,修复社区反馈问题 - 详解pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", &…...

Acrobat Pro DC 2025破解版安装下载教程,附永久免费免中文破解版(稳定版安装包)

一、Acrobat Pro DC 2025软件下载 [软件名称]: Acrobat Pro DC 2025(稳定版) [软件大小]: 1.63GB [安装环境]:Win 10及以上系统 [下载链接]: (建议手机保存后到电脑端打开,下载解压无需任何密码) 夸克下载链接:https://pan.quark.cn/s/c4f8d5fb593f 二、Acrobat Pro DC 20…...

20250914

1.使用缩进 2.单行字符120个以内 3.命名清晰 4.注释简洁易懂 数学之美第8章 bool代数在搜索引擎中起到了重要作用,没有他,搜索引擎的效率无法达到快速响应。 他主要通过为每个关键字建立二进制串,然后通过and,or,not进行二进制的运算, 1为符合,0为不符合,从而进行查找。…...

25秋周总结2

总结 这周基本都在考试,总的来说相比之前有一定提升,但事实上离自己的水平上限都还差了一段距离,更别说突破上限了。在我看来,现在的我不出意外每场得把最简单的两道题做出来,但是现在的情况就是还是会存在一些时候面对很简单的题却没能做出来。虽然次数不多,但是没有做出…...

华擎、微星、华硕BIOS阵脚线序及杜邦现自制刷机线

华擎、微星、华硕BIOS阵脚线序及杜邦现自制刷机线 起因及背景 博主注意到最近的一段时间八九代志强CPU进入了主流的垃圾佬视线内,且H310、Z270、B365等主板来到了100~180元的价位,配合上E2124g这种35元的核显U可以做到400元内高性能的办公和轻度游戏主机。 缺陷:但是这套玩法…...

Ubuntu 安装 VLC

sudo apt install vlc -y...

AT_abc422_f [ABC422F] Eat and Ride 题解

AT_abc422_f [ABC422F] Eat and Ride 题解 前言 好消息:场切了。 坏消息:没开 rated。 思路 注意到数据范围非常小,考虑暴力bfs。 设 $dis_i$ 为到达第 $i$ 个点的最小燃料,$w_i$ 为到达第 $i$ 个点时耗燃料最少时的体重。 如果有一条路径到达第 $i$ 个点时已经用了 $d$ 燃…...

模拟赛 R14

R14 - T1 序列 难度:黄 / 绿 题意 给定一个长为 \(n\) 的非负整数序列 \(a\),你可以进行任意次以下的操作: 选择一个区间 \([l,r]\),然后将 \(a_l,a_{l+1},\cdots,a_r\) 都减去 \(1\)。 你希望用最小的操作次数将 \(a\) 中的所有数变成 \(0\)。在此基础上,定义一次操作 \(…...

Java并发编程(2)

ThreadLocal 1、ThreadLocal是什么ThreadLocal就是线程本地变量,若创建了一个ThreadLocal变量,那访问这个变量的每个线程都会有这个变量的本地拷贝,但多个线程操作这个变量时,实际是操作自己本地内存里的变量,可以起到线程隔离的作用,避免了线程安全问题。//创建一个Thre…...

完整教程:WebApp 的价值与实现:从浏览器架构到用户体验优化

完整教程:WebApp 的价值与实现:从浏览器架构到用户体验优化pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New"…...

Ubuntu 安装百度网盘

下载:https://pan.baidu.com/download#linux百度网盘就安装好了:...

八字喜用神起名大师 API 接口

八字喜用神起名大师 API 接口 AI/模型 基于八字命理和五行相生相克理论 十年模型积累 / 三才五格数理 姓名 / 八字命理 1. 产品功能基于传统八字命理学理论; 结合三才五格数理分析; 考虑五行相生相克关系; 提供多个候选姓名供选择; 包含详细的命理分析报告; 支持方言谐音检…...

在CentOS 7上集成cJSON库的方法

安装开发工具:使用yum包管理器安装开发工具组,以确保您拥有编译cJSON所需的所有工具,例如gcc、make、autoconf等。sudo yum groupinstall "Development Tools"获取cJSON源代码:从官方仓库克隆或下载cJSON的最新源代码。git clone https://github.com/DaveGamble/cJ…...

作业1

任务一:编码规范命名规范 变量、函数、类和文件名应该简明易懂,使用英文单词或单词缩写,并使用下划线或驼峰命名法。 变量名应该使用名词,函数名应该使用动词,类名应该使用名词或名词短语,文件名应该使用有意义的名称。 格式化规范 代码行长度应该不超过80个字符。 使用一…...

网站截图与 HTML 快照 API 接口

网站截图与 HTML 快照 API 接口 网站工具 通过网页 URL 获取站点截图与内容 网页截图 / 网页快照 网站工具 / 截图 1. 产品功能支持任意网页 URL 高质量截图,包括动态内容和 JavaScript 渲染页面; 支持全页面截图和可视区域截图两种模式; 可自定义截图尺寸、设备像素比等参数…...

深入解析:精确位置定位,AR交互助力高效作业流程​

深入解析:精确位置定位,AR交互助力高效作业流程​pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", monospa…...

sdjaivkdshwqeofhsoejbc dfb vnhgtbv

几餐这一块...

开篇自我介绍随笔

一、自我介绍 生活里的我,有很多让自己沉浸其中的小爱好。我喜欢练书法,看着墨汁在宣纸上晕开,一笔一划勾勒出汉字的风骨,烦躁的心总能瞬间平静;也爱绘画,无论是用水彩记录生活里的小美好,还是用素描刻画细节,都是我表达想法的方式。除此之外,追综艺、追星也是我放松的…...

第八周

Hadoop 集群的稳定运行离不开完善的监控体系,搭建涵盖集群负载监控与日志收集的监控系统,可实时掌握集群运行状态,及时发现潜在问题。在集群负载监控方面,Ganglia 是常用的分布式监控工具,能够收集并展示集群中各节点的 CPU 使用率、内存占用量、磁盘 IO 速率、网络流量等…...

Tita 项目一体化管理:驱动项目全周期高效运营的引擎

一、企业项目管理的常见痛点 (一)项目启动规划阶段 目标模糊不清:项目启动时缺乏明确可量化的目标,团队成员对项目核心价值和预期成果理解不一致,导致后续工作方向偏离。例如,某研发项目因 “提升产品竞争力” 这一模糊目标,在功能开发中反复调整方向,浪费大量资源。计…...

飞行 NED坐标系(北东地坐标系):

在NED坐标系(北东地坐标系)中,飞机的‌天向速度‌、‌东向速度‌、‌北向速度‌的关系如下: 速度定义‌北向速度‌(N):飞行器在北方向上的移动速度。 ‌东向速度‌(E):飞行器在东方向上的移动速度。 ‌天向速度‌(D):飞行器在垂直地面向上的移动速度(通常为正)。…...

windows与linux环境下网络编程

windows与linux环境进行网络编程,使用的库是不一样的, 下面主要说一下windows环境下的网络编程; 网络编程从大的方面说就是对信息的发送到接收,中间传输为物理线路的作用。网络编程最主要的工作就是在发送端把信息通过规定好的协议进行组装包,在接收端按照规定好的协议把包…...

在飞牛系统中通过docker形式部署Nginx proxy manager

在飞牛系统中通过docker形式部署Nginx proxy manager本文仅用用于记录。 目标: 分别通过以飞牛的图形化界面和docker compose实现以docker的方式部署Nginx proxy manager。 首先,管理员应当新建2个文件夹用于持久化数据存储(就是你想要留着的数据找个地方放好) 1.data 存放…...

Es索引同步异步Canal解耦方案

Es索引同步异步Canal解耦方案 首先传统的Es索引同步耦合性太高需要使用业务逻辑来同步,一旦在同步的时候服务器出现异常就用可能同步失败导致影响到其他业务,这里使用的是Canal中间件来实现异步同步索引。 简述: ​ 这里以电商项目为例,当需要添加,修改或删除商品时为了电…...

在Ubuntu上配置phpMyAdmin和WordPress环境

在Ubuntu中配置phpMyAdmin和WordPress环境需要执行一系列的步骤,包含安装LAMP(Linux, Apache, MySQL, PHP)栈,配置数据库,然后安装phpMyAdmin和WordPress。 下面是具体的配置步骤分解: 安装LAMP环境更新系统首先更新你的Ubuntu系统: sudo apt update sudo apt upgrade安装…...

“四人过河”经典问题

一、什么是“四人过河”经典问题 最早版本见于 MBA/奥数/信息学趣题: N 个人(通常 N=4)要从左岸到右岸,只有一条小船,容量至多 2 人;船划行时间 = 船上所有人中最大的那一项; 船不能空驶,每次必须有人把船划回来; 问:让所有人到达对岸的最短总时间是多少?二、通用数…...

完整教程:C#语言入门详解(18)传值、输出、引用、数组、具名、可选参数、扩展方法

完整教程:C#语言入门详解(18)传值、输出、引用、数组、具名、可选参数、扩展方法pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", &q…...

DevOps On Kubernetes

OSChina在深圳举办的”源创会年终盛典”上,华为云容器服务技术总监发表了名为《DevOps On Kubernetes》的主题演讲,演讲就如何将DevOps理念与容器技术相结合,实现容器化场景下的快速交付进行介绍,并重点介绍了华为云容器服务提供的持续交付工具——容器交付流水线(Contain…...

深耕Linux系统的道与术

- [著名系统内核专家张银奎老师Boolan直播间开讲:《深耕Linux系统的道与器》\_哔哩哔哩\_bilibili](https://www.bilibili.com/video/BV1pK42187EY/?vd_source=589169a942bb977a9dbcdd5f0ea6318b) - [张银奎 | 2024全球C++及系统软件技术大会](https://www.cpp-summit.org/sp…...

Debugging via Intel DCI 小蓝盒

- [PowerPoint 演示文稿](http://advdbg.org/gdk/download/20200722-DCI_DBG_FullStack.pdf)- [使用DCI单步调试Intel CPU,调试运行在其上的UEFI代码 - 程序员大本营](https://www.pianshen.com/article/4402459283/)- [[讨论]使用Intel DCI调试12代笔记本CPU来解决安装黑苹果…...

我做了个 AI 文档阅读神器,免费开源!

为了帮助大家免受文档的折磨,我用 AI 开发了个 AI 文档助手网站,可以帮你快速读懂各种复杂的文档、还帮你管理文档。大家好,我是程序员鱼皮。开学季到了,想必很多朋友要开始收集和阅读论文,像我自己学习新技术知识也会去阅读文档,我深知阅读文档的痛苦。明明每个词拆开都…...

20250913 P11503 [NordicOI 2018] Nordic Camping

P11503 [NordicOI 2018] Nordic Camping 二分 + DS 妙题 思路 首先我们可以发现。若有一个点 \((x, y)\),则我们可以通过二分求出以 \((x, y)\) 为左上角的最大空正方形的边长(记为 \(b[i][j]\)),check 就是判断以 \((x, y)\) 为左上角的边长为 \(mid\) 的正方形是否为空,…...

Dify实战训练营(基础班)(全免费值得收藏)

Dify实战训练营(基础班)(全免费值得收藏) Dify全链路实战【图文】 【01】【2025年最新版】Dify1.5.0升级部署实战指南 【02】Dify 代码执行节点实战:手把手解锁自定义业务开发能力 【03】Dify全链路实战 :TTS 实操,三步搭建语音化工作流 【04】【2025 年最新版】Dify 实…...

C 语言的历史和版本

C 语言的历史 1972年,贝尔实验室的 Dennis Ritchie 在开发 UNIX 操作系统时设计了 C 语言。C 语言是在 B 语言的基础上设计的。 C 语言的版本 K&R C K&R C 也叫 经典 C,以《The C Programming Language》【Brain Kernighan,Dennis Ritchie】(1987)(第 1 版)作为…...

PostgreSQL 上的向量搜索实践

本文整理自 IvorySQL 2025 生态大会暨 PostgreSQL 高峰论坛的演讲分享,演讲嘉宾:高策,TensorChord CEO。引言 本文主要分享如何在 PostgreSQL 上进行向量的搜索。 PostgreSQL 有非常多的 Extension,我们可以通过 Extension 的方式去扩展 PostgreSQL 能够支持的数据类型。这…...

【数据结构——图与邻接矩阵】 - 实践

【数据结构——图与邻接矩阵】 - 实践pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", monospace !important…...

(读书笔记)平衡掌控者

这本书比较短,主要是国内某数值设计师的MMORpg的设计经验。 虽然大部分是mmo制作的细节,可以不用太深挖,但还是有不少“游戏共性”可以参考和学习的。 主要是第2章和第4章的内容。 下面记录一些关键点并做了一些拓展。 ---------------------------------------------------…...

带头结点的单链表删除指定位置结点

1. 功能概述 bool ListDelete(LinkList &L, int i, ElemType &e) 函数的功能是:在带头结点的单链表 L 中,删除第 i 个位置的结点,并将被删除结点的数据通过引用参数 e 带回给调用者。函数名: ListDelete,清晰表达了其功能。 返回值: bool 类型。true 表示删除成功,…...

《文字、语言与数字的奇妙联结》读后感,大公司内部编码规范,本学期编码遵守规范

《文字、语言与数字的奇妙联结》读后感 读到 “文字和语言与数学,从产生起原本就有相通性,虽一度分道扬镳,最终仍能走到一起” 时,我被这种跨领域的深层联结深深触动。 最初,文字、语言与数学或许本是 “同根生”—— 它们都发源于人类认知世界、传递经验的需求。远古时期…...

[HTTP/Spring] RestTemplate : Spring的HTTP网络请求框架

0 序java应用开发中,使用http连接,访问第三方HTTP接口,通常使用的HTTP连接请求工具为HttpClient和OKHttp。这两种HTTP连接请求工具,使用起来比较复杂,新手容易出问题。如果使用spring框架,可以使用restTemplate来进行http连接请求。restTemplate默认的连接方式是java中的…...

深入解析:Linux使用-MySQL的使用

深入解析:Linux使用-MySQL的使用pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", monospace !important; fo…...