01 2021 档案
摘要:CREATE TABLE if not exists "o"."A" ( --编号 "Number" bigint NOT NULL, --…… --创建时间 "CreateTime" timestamp without time zone NOT NULL DEFAULT now(), --更新时
阅读全文
摘要:原文: https://cloud.tencent.com/developer/article/1462140 MYSQL 在分区表上的缺失不同,POSTGRESQL 的分区表那算是“硬可”。PG11 已经推出了HASH 分区。具体操作是怎样 首先分区表的大致用途有那些 1 在符合业务的基础上,能对
阅读全文
摘要:原文: https://developer.aliyun.com/article/66946 简介: 标签 PostgreSQL , 10.0 , 分区表 , partitiion table , range , list 背景 PostgreSQL 和它的LOGO大象一样,给人非常强大的安全感。
阅读全文
摘要:原文: https://www.php.cn/manual/view/20303.html 5.9. 分区 PostgreSQL支持基本的表分区功能。本节描述为什么需要表分区以及如何在数据库设计中使用表分区。 5.9.1. 概述 分区的意思是把逻辑上的一个大表分割成物理上的几块。分区可以提供若干好处
阅读全文
摘要:官方手册——中文 https://www.php.cn/manual/view/20924.html
阅读全文
摘要:原文: https://rsbeoriginal.medium.com/partitioning-with-postgresql-v11-6fe5388c6e98 What — Partitioning is splitting one table into multiple smaller tab
阅读全文
摘要:原文: https://rsbeoriginal.medium.com/partitioning-with-postgresql-v11-6fe5388c6e98 What — Partitioning is splitting one table into multiple smaller tab
阅读全文
摘要:原文: https://severalnines.com/database-blog/guide-partitioning-data-postgresql For databases with extremely large tables, partitioning is a wonderful a
阅读全文
摘要:原文: https://www.enterprisedb.com/postgres-tutorials/how-use-table-partitioning-scale-postgresql#:~:text=1%20PostgreSQL%20declarative%20partitioning%20
阅读全文
摘要:原文: https://blog.csdn.net/u010251897/article/details/80136995 典型使用场景 随着使用时间的增加,数据库中的数据量也不断增加,因此数据库查询越来越慢。 加速数据库的方法很多,如添加特定的索引,将日志目录换到单独的磁盘分区,调整数据库引擎的参
阅读全文
摘要:原文: https://cloud.tencent.com/developer/article/1496579 JSON 与 JSONB 也是一对冤家。现在很多开源系统和开源软件都支持 JSON 与 JSONB,比如:Postgresql 和 MongoDB 等。 这也导致了面试中被问到 JSON
阅读全文
摘要:原文: https://docs.microsoft.com/zh-cn/previous-versions/visualstudio/visual-studio-2012/ee329530(v=vs.110)?redirectedfrom=MSDN 锁争用和顺序执行 工作负荷分配不均 过度订阅 I
阅读全文
摘要:原文: https://blog.csdn.net/kntao/article/details/7077804 CLR Profile能够看到应用程序的内存堆栈情况并且能够查询垃圾回收机制的行为。利用CLR Profile可以确定你的代码哪儿分配了太多内存,从而导致垃圾回收机制的执行,哪些代码长时间
阅读全文
摘要:原文: https://blog.csdn.net/hualusiyu/article/details/8166450 大家都知道.net有一套自己的内存(垃圾)回收机制,除非有一些数据(方法)长期占有内存不随着垃圾回收功能而释放内存,这样就造成了我们经常说的内存泄露、内存持续增长得不到释放等问题导
阅读全文
摘要:原文: 在dockers中调试dump的dotnet程序 其他调试参考文章 centos7使用lldb调试netcore应用转储dump文件centos7 lldb 调试netcore应用的内存泄漏和死循环示例(dump文件调试) 生成dump文件 如何在docker容器里面创建dump文件请参考:
阅读全文
摘要:原文: centos7 lldb 调试netcore应用的内存泄漏和死循环示例(dump文件调试) 写个demo来玩一玩linux平台下使用lldb加载sos来调试netcore应用。当然,在真实的产线环境中需要分析的数据和难度远远高于demo所示,所以demo的作用也仅仅只能起到介绍工具的作用。通
阅读全文
摘要:原文: centos7使用lldb调试netcore应用转储dump文件 centos7下安装lldb,dotnet netcore 进程生成转储文件,并使用lldb进行分析 随着netcore应用在linux上部署的应用越来越多,碰到cpu 100%,内存暴涨的情况也一直偶有发生,在windows
阅读全文
摘要:原文: https://blog.csdn.net/a184251289/article/details/98670441 文章目录 一、LLDB命令结构 二、命令选项 三、基础 执行命令(Execution Commands) 流程控制 process thread 断点命令(Breakpoint
阅读全文
摘要:原文: 记一次内存泄漏DUMP分析 自从进入一家创业公司以后,逐渐忙成狗,却无所收获,感觉自身的技术能力用武之地很少,工作生活都在业务逻辑中颠倒。 前些天线上服务内存吃紧,让运维把DUMP拿下来,分析一下聊以自慰。 先来统计一下大对象信息 1 2 3 4 5 6 7 8 9 10 11 12 13
阅读全文
摘要:前言: 对于需要长时间运行的.net程序,有时需要我们查看内存的使用有没有内存泄露问题。 我们可以从dump文件中找到答案。 Dump的看点 用dump文件来分析内存,到底我们需要关心哪些点呢? 内存的使用情况 HeapSize/object的数量 也就是托管堆使用大小以及托管堆内有多少数量的对象
阅读全文
摘要:原文: dump解析入门-用VS解析dump文件进行排障 突然有一天部署在服务器的一个应用挂掉了,没办法只能进入服务器打开 【事件查看器】查看下,好不容易找到了打开后一脸懵逼 事件查看器查到的内容根本对我们排障没有任何作用。 在这个时候如果有对应的dump文件就能派上用场了, 只要有dump文件就能
阅读全文
摘要:原文: https://blog.csdn.net/cc93691810/article/details/85108148 最近在进一步学习support技能的时候,了解到分析Dump的重要性,经过学习,做一些笔记。 一、什么是Dump文件。Dump文件时进程的内存镜像。可以把程序的执行状态保存到D
阅读全文
摘要:原文: Dump文件分析 本文主要介绍Dump文件结构,理解Dump文件对于分析线程高占用、死锁、内存溢出等高级问题有非常重要的指导意义。 什么是Dump文件 Dump文件是进程的内存镜像。可以把程序的执行状态通过调试器保存到dump文件中。Dump文件是用来给程序编写人员调试程序用的,这种文件必须
阅读全文
摘要:原文: https://www.toptal.com/dot-net/hunting-high-cpu-usage-in-dot-net Software development can be a very complicated process. We as developers need to
阅读全文
摘要:原文: https://www.cnblogs.com/blurhkh/p/14225222.html 目录 说明 准备一个方便的学习环境 2.x 配置内容 3.x 配置内容 工具介绍 lldb sos plugin 1. attach 到进程上进行调试 2. 分析core dump文件 SOS 案
阅读全文
摘要:官网地址: https://channel9.msdn.com/ Channel 9 is a community. We bring forward the people behind our products and connect them with those who use them. W
阅读全文
摘要:官网地址: https://www.bookstack.cn/read/asp/0f968f62ba5a6357.md 性能诊断工具: https://www.bookstack.cn/read/asp/0f968f62ba5a6357.md 负载测试和压力测试: https://www.books
阅读全文
摘要:教学视频:good: https://channel9.msdn.com/Series/PerfView-Tutorial/PerfView-Tutorial-2-A-Simple-CPU-Performance-Investigation https://channel9.msdn.com/Ser
阅读全文
摘要:官网地址: https://github.com/dotnet/diagnostics/blob/master/documentation/dotnet-dump-instructions.md …… Here's a table showing how dotnet-dump fits into
阅读全文
摘要:官网地址: https://github.com/dotnet/diagnostics/blob/master/documentation/dotnet-trace-instructions.md …… Viewing the trace captured from dotnet-trace On
阅读全文
摘要:原文: https://devblogs.microsoft.com/dotnet/introducing-diagnostics-improvements-in-net-core-3-0/ In .NET Core 3.0, we are introducing a suite of tools
阅读全文
摘要:原文: https://michaelscodingspot.com/dotnet-trace/ Performance issues never seem to disappear from the world, no matter how fast new computers become. T
阅读全文
摘要:原文: https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md#resolving-framework-symbols Performance Trac
阅读全文
摘要:原文: https://devblogs.microsoft.com/dotnet/collecting-net-core-linux-container-cpu-traces-from-a-sidecar-container/ Introduction In recent years, conta
阅读全文
摘要:原文: https://docs.microsoft.com/zh-cn/archive/blogs/vancem/perfview-hard-core-cpu-investigations-using-cpu-counters-on-windows-10 One of the bread-and-
阅读全文
摘要:原文: https://docs.microsoft.com/en-us/archive/blogs/vancem/diagnosing-net-core-threadpool-starvation-with-perfview-why-my-service-is-not-saturating-all
阅读全文
摘要:原文: https://docs.microsoft.com/en-us/archive/blogs/vancem/analyzing-cpu-traces-from-linux-with-perfview Executive Summary If you want to use PerfView
阅读全文
摘要:原文: 使用PerfView监测.NET程序性能(一):Event Trace for Windows 前言: 在日常项目开发中,我们时不时会遇到程序【占用了很高CPU的】情况,可能是程序里某些未经优化的代码或者Bug,或者是程序运行压力太大。无论是什么原因,我们总希望能看到到底是【哪个方法占用了如
阅读全文
摘要:原文: https://docs.microsoft.com/zh-cn/dotnet/core/diagnostics/ 软件并非始终按预计方式运行,但 .NET Core 具有可帮助用户快速有效地诊断这些问题的工具和 API。 本文可帮助用户查找各种所需的工具。 托管调试器 借助托管调试器,用户
阅读全文
摘要:原文: https://docs.microsoft.com/zh-cn/dotnet/core/diagnostics/dotnet-counters 摘要 控制台复制 dotnet-counters [-h|--help] [--version] <command> 描述 dotnet-coun
阅读全文
摘要:原文:https://docs.microsoft.com/zh-cn/dotnet/core/diagnostics/trace-perfcollect-lttng 在 Linux 上遇到性能问题时,可使用 perfcollect 收集跟踪,以便收集有关出现性能问题时计算机上发生的状况的详细信息。
阅读全文
摘要:原文地址: https://developpaper.com/using-dotnet-dump-to-find-the-reason-why-net-core-3-0-takes-up-100-of-cpu/ • dotnet counters: real time statistics of r
阅读全文
摘要:Debug high CPU usage in .NET Core In this tutorial, you'll learn how to debug an excessive CPU usage scenario. Using the provided example ASP.NET Core
阅读全文
摘要:原文: 使用 SOS 对 Linux 中运行的 .NET Core 进行问题诊断 目录 说明 准备一个方便的学习环境 2.x 配置内容 3.x 配置内容 工具介绍 lldb sos plugin 1. attach 到进程上进行调试 2. 分析core dump文件 SOS 案例分析 CPU 占用过
阅读全文
摘要:原文: https://github.com/dotnet/diagnostics/blob/master/documentation/dotnet-dump-instructions.md Intro The dotnet-dump CLI global tool is way to collec
阅读全文
摘要:原文地址: https://docs.microsoft.com/zh-cn/dotnet/core/diagnostics/dotnet-dump 本文适用于: ✔️ .NET Core 3.0 SDK 及更高版本 备注 macOS 的 dotnet-dump 仅在 .NET 5.0 及更高版本中
阅读全文
摘要:原文: https://devblogs.microsoft.com/dotnet/introducing-diagnostics-improvements-in-net-core-3-0/ In .NET Core 3.0, we are introducing a suite of tools
阅读全文
摘要:原文: 抓取Dump文件的方法和工具介绍 认识Dump文件 Dump文件数据存储格式(一) Dump文件的校验查看工具 分析一个dump的一般步骤 又又一款抓dmp工具 ProcDump 一、什么是Dump文件 又叫内存转储文件或者叫内存快照文件。是一个进程或系统在某一给定的时间的快照。比如在进程崩
阅读全文
摘要:原文:LLDB详解 LLDB的Xcode默认的调试器,它与LLVM编译器一起,带给我们更丰富的流程控制和数据检测的调试功能。平时用Xcode运行程序,实际走的都是LLDB。熟练使用LLDB,可以让你debug事半功倍 LLDB基础知识 LLDB控制台 Xcode中内嵌了LLDB控制台,在Xcode中
阅读全文
摘要:官网地址: https://lldb.llvm.org/index.html LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly
阅读全文
该文被密码保护。
该文被密码保护。
摘要:原文:http://cn.linux.vbird.org/linux_basic/0340bashshell-scripts_1.php
阅读全文
摘要:原文:http://cn.linux.vbird.org/linux_basic/0430cron_1.php
阅读全文
该文被密码保护。
该文被密码保护。
摘要:CMMN: 案例分析?BPMN: 基于事件BMN: 知识系统=》专家决策DMN: 微软 Powerautomate 无法与自己的代码融合CoreWF(git) .net core WFFrameworkAWS: AWS SWF AWS Flow Framework 有限状态机:state +even
阅读全文
摘要:Parallel.ForEach 代替 foreach:多线程执行 问题: 1.migrateList会增加null数据:即使ForEach内的代码块中,同时3个list同时增加,会出现2个299,第三个300(其中有一个为null) 2.migrateList生成的数据,会存在部分数据缺失的情况
阅读全文