postgresql deadlock detected error

postgresql 14 编译安装

内核参数 cat <<'EOF' | sudo tee /etc/sysctl.d/postgresql.conf >> /dev/null # 表示内核所允许的最大共享内存段的大小。推荐设置物理内存的一半 kernel.shmmax = 4294967296 # 共享内存的个数。推荐值:物理内存 ......
postgresql 14

Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; 问题的解决

问题描述 Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version ......

error: failed to push some refs to 'http://192.168.1.37:1080/nongzi/nongzi-applet.git'

当你直接在github上在线修改了代码,或者是直接向某个库中添加文件,但是没有对本地库同步,接着你想push上传到远程库,就会失败, 这个问题是因为远程库与本地库不一致造成的,那么我们把远程库同步到本地库就可以了 先把自己代码暂存,然后再拉取更新 ,然后 提交代码 也可参考 https://blog ......
nongzi nongzi-applet applet failed error

ZIMP - statik error: no zip data registered

zzh@ZZHPC:/zdata/Github/zimplebank$ make server go run main.go 2023/12/24 20:57:39 failed to create statik fs:statik/fs: no zip data registered exit s ......
registered statik error ZIMP data

ZIMP - import error

Only copying the annotations.proto file is not enough. Copying all .proto files under grpc-gateway/protoc-gen-openapiv2/options will fix this issue: ......
import error ZIMP

centos7安装postgresql15、postgis3.3

直接使用yum安装的时候,都会提示缺少某些包无法安装。我这里把缺少的包的安装方式列一下。 yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest ......
postgresql postgis3 centos7 postgis centos

postgresql存储时序、轨迹数据

需求 轨迹查询 查询车辆一天的指标(轨迹、速度) 业务: 1、一天有1800万条指标数据 pg分区功能、最好每个设备数据存在一个分区 pg array类型、或者中间表,来解决行数太多的问题。 表太大时,btree会有性能瓶颈。块级索引就适合这个场景https://zhmin.github.io/po ......
时序 postgresql 轨迹 数据

Linux:vscode扩展无法下载,报错:Error while fetching extensions : XHR failed

在Linux系统上下载安装好vscode以后,发现扩展里面无法下载安装,报错:Error while fetching extensions : XHR failed 解决办法:修改 hosts 文件 1.sudo cp /etc/hosts /etc/hosts.bak 2.sudo vi /et ......
extensions fetching vscode failed Linux

postgresql实例结构

postgresql实例结构 postgresql实例简介 用来访问postgresql数据库 一个实例对应一个数据库集簇 由内存和后台进程组成 postgresql初始化参数文件 文件中有两种类型的参数 1. 显式:在文件中对参数进行设置 2. 隐式:文件中没有设置,使用postgres默认值 可 ......
postgresql 实例 结构

PostgreSQL. 异常“more than one owned sequence found”的解决方案

一、异常信息描述 执行数据库操作时,主键id没有自增,且报“more than one owned sequence found”的异常,造成数据没有insert进去,下面是详细的异常信息: java.lang.reflect.InvocationTargetException at sun.ref ......

zabbix5.0监控postgresql13.6

环境描述 zabbix版本:5.0.12 PG版本:13.6 监控需求 监控postgresql运行情况(非核心业务,主要监控挂没挂) 监控流复制运行情况 如有异常,则告警 具体步骤 在postgresql上创建监控用户, 授权, 并配置pg_hba.conf 文件允许通过该用户去访问 到zabbi ......
postgresql zabbix5 zabbix 13.6 13

PostgreSQL的安装和卸载

一、PostgreSQL的卸载 查看版本号和系统类别: cat /etc/redhat-release 如果是redhat/centos:(yum install) yum 删除软件包: yum remove postgresql* 删除相关目录文件: rm -rf /var/lib/pgsql r ......
PostgreSQL

postgresql13.6流复制主从同步

安装好PG之后,如果给线上业务使用,至少得弄个主从,否则主库挂了,就可能导致业务长时间受影响。下面来看看怎么配置PG主从。 环境描述: PG版本:13.6 主库IP:172.16.103.225 从库IP:172.16.103.226 数据目录:/postgresql/pgdata 搭建主从(流复制 ......
主从 postgresql 13.6 13

SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled SP2-0611: Error enabling STATISTICS report

报错信息: SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabledSP2-0611: Error enabling STATISTICS report 说明: Oracle下普通用户缺少set aut ......
Identifier STATISTICS SP2 PLUSTRACE enabling

NUXT - Error: Failed to download template from registry: fetch failed

HOST 路径 C:\Windows\System32\drivers\etc\hosts 前往 HOST 加入 185.199.108.133 raw.githubusercontent.com 测试是否成功 (若无任何信息返回即成功): node -e "require('https').get ......
download template registry Failed failed

PostgreSQL从入门到精通教程 - 第39讲:数据库完全恢复

PostgreSQL从小白到专家,是从入门逐渐能力提升的一个系列教程,内容包括对PG基础的认知、包括安装使用、包括角色权限、包括维护管理、、等内容,希望对热爱PG、学习PG的同学们有帮助,欢迎持续关注CUUG PG技术大讲堂。 第39讲:数据库完全恢复 PostgreSQL第39讲:12月23日(周 ......
PostgreSQL 数据库 教程 数据

centos7上源码安装postgresql 13.6

1 环境描述 操作系统:Centos7.6 postgresql:13.6 安装方式:源码安装 2 创建用户 # groupadd -g 2000 pgsql # useradd -u 2000 -g pgsql pgsql 3 目录规划 # mkdir -p /postgresql/{pgdata ......
postgresql 源码 centos7 centos 13.6

postgresql常用创建用户和授权

需求 (1)给用户a创建一个数据库,并且给a用户对这个库有所有权限 (2)给read_a用户对这个数据库有只读权限 步骤 1.创建用户a 2.创建数据库db_a, 并设置owner为a 3.回收默认的public schema create权限 4.设置db_a的public schema 默认的o ......
postgresql 常用 用户

React项目中报错:Parsing error: The keyword 'import' is reservedeslint

记得更改完配置后,要重启编辑器(如:VSCode)!!! 记得更改完配置后,要重启编辑器(如:VSCode)!!! 记得更改完配置后,要重启编辑器(如:VSCode)!!! 这个错误通常发生在你尝试在一个不支持 ES6 模块语法的环境中使用 import 关键字。 ESLint 默认使用的是 ES5 ......
中报 reservedeslint Parsing keyword 项目

Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached

一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......

Github Actions - Error: The connection to the server localhost:8080 was refused - did you specify the right host or port?

Run kubectl apply -f eks/aws-auth.yaml kubectl apply -f eks/aws-auth.yaml kubectl apply -f eks/deployment.yaml kubectl apply -f eks/service.yaml shell ......
connection the localhost Actions refused

Github Action - Error: Kubectl '1.29.0' for 'amd64' arch not found

Error: Kubectl '1.29.0' for 'amd64' arch not found Changing - name: Install kubectl uses: azure/setup-kubectl@v3 with: version: '1.28.2' # version of ......
39 Kubectl Github Action Error

如何解决MySQL Workbench中的错误Error Code: 1175

错误描述: 在MySQL Workbench8.0中练习SQL语句时,执行一条update语句,总是提示如下错误: Error Code: 1175. You are using safe update mode and you tried to update a table without a W ......
Workbench 错误 MySQL Error Code

postgresql学习

快捷键:\l:查看系统中现存的数据库\c:切换库,如\c mydb切换到mydb库\d <数据表名/视图名/序列名>\dt:列出所有表和sequence\du:查看所有用户名\db:查看所有表空间\dv 查看当前数据库的全部视图(View)\dn 查看当前数据库的全部模式(Schema)\ds 查看 ......
postgresql

error: Your local changes to the following files would be overwritten by merge 解决方案

团队其他成员修改了某文件并已提交入库,你在pull之前修改了本地该文件,等你修改完代码再pull时,这时会报错如下错误 根据是否要保存本地修改,有以下两种解决方案 2.1 保留修改执行以下三条命令 git stash #封存修改 git pull origin master git stash po ......

Postgresql中PL/pgSQL的游标、自定义函数、存储过程的使用

场景 Postgresql中PL/pgSQL代码块的语法与使用-声明与赋值、IF语句、CASE语句、循环语句: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/135090263 上面讲了基本语法,下面记录游标、自定义函数、存储过程 ......
游标 Postgresql 函数 过程 pgSQL

pyinstaller 打包 win32ctypes.pywin32.pywintypes.error: (225, '', '无法成功完成操作,因为文件包含病毒或潜在的垃圾软件。')

背景: 使用python 写了一个程序,使用pyinstaller打包, 不使用-w --noconsole的命令打包隐藏命令行窗口时,是正常的, 但是使用-w或者--noconsole就会报错win32ctypes.pywin32.pywintypes.error: (225, '', '无法成功 ......
39 pyinstaller pywintypes 潜在 垃圾

Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached

一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......

Nacos启动:[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached

一、表象 二、分析 源码: public HttpRestResult<String> httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, String encode, long re ......

PostgreSQL中的事务隔离级别

PostgreSQL中的事务隔离级别在确保多用户数据库环境中的数据一致性、完整性和并发控制方面起着至关重要的作用。当多个事务并发执行时,隔离级别定义了它们之间的相互隔离的程度。PostgreSQL提供了一系列的隔离级别,每个级别都有自己的一套保证和权衡,允许开发人员根据特定的需求定制应用程序的行为。 ......
PostgreSQL 级别 事务
共1910篇  :5/64页 首页上一页5下一页尾页