<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[小屋]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/spche</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; spche]]></copyright><item><title><![CDATA[使用vs2019编译postgresql 12]]></title><link>https://blog.csdn.net/spche/article/details/104198791</link><guid>https://blog.csdn.net/spche/article/details/104198791</guid><author>spche</author><pubDate>Thu, 06 Feb 2020 17:05:04 +0800</pubDate><description><![CDATA[1.按照PG的帮助下载需要的包，有一些不下到了，如xml的，但编译能通过，也许是12优化编译了，没存在的包能跳过了，具体原因再找

2. git clone，速度慢的话，去网上找找，改hosts后，下载速度飞快。

3.修改postgresql\src\tools\msvc\VSObjectFactory.pm中的DetermineVisualStudioVersion函数，直接返回retu...]]></description><category></category></item><item><title><![CDATA[性能监控]]></title><link>https://blog.csdn.net/spche/article/details/79542047</link><guid>https://blog.csdn.net/spche/article/details/79542047</guid><author>spche</author><pubDate>Tue, 13 Mar 2018 19:56:26 +0800</pubDate><description><![CDATA[vmstat 1 -SmSwap       si: Amount of memory swapped in from disk (/s).       so: Amount of memory swapped to disk (/s).CPU       These are percentages of total CPU time.       us: Time spent running n...]]></description><category></category></item><item><title><![CDATA[BenckMarkSQL5.0 绘图]]></title><link>https://blog.csdn.net/spche/article/details/79537014</link><guid>https://blog.csdn.net/spche/article/details/79537014</guid><author>spche</author><pubDate>Tue, 13 Mar 2018 14:11:18 +0800</pubDate><description><![CDATA[﻿﻿yum install texinfo-texyum install libjpeg-turbo下载新版本的zlib http://www.zlib.net/./configure --prefix=/home/aaa/zlib1.2.6makemake installvi /etc/ld.so.conf.d/zlib.conf加入如下内容后保存退出/home/aaa/zlib1.2.6/li...]]></description><category></category></item><item><title><![CDATA[perf无函数堆栈]]></title><link>https://blog.csdn.net/spche/article/details/73123784</link><guid>https://blog.csdn.net/spche/article/details/73123784</guid><author>spche</author><pubDate>Mon, 12 Jun 2017 16:33:03 +0800</pubDate><description><![CDATA[https://perf.wiki.kernel.org/index.php/Main_Page]]></description><category></category></item><item><title><![CDATA[gperftools-2.5.93]]></title><link>https://blog.csdn.net/spche/article/details/72876101</link><guid>https://blog.csdn.net/spche/article/details/72876101</guid><author>spche</author><pubDate>Tue, 06 Jun 2017 16:48:04 +0800</pubDate><description><![CDATA[gperftools 使用]]></description><category></category></item><item><title><![CDATA[使用oprofile-1.1.0]]></title><link>https://blog.csdn.net/spche/article/details/72831596</link><guid>https://blog.csdn.net/spche/article/details/72831596</guid><author>spche</author><pubDate>Mon, 05 Jun 2017 16:37:02 +0800</pubDate><description><![CDATA[oprofile-1.1.0]]></description><category></category></item><item><title><![CDATA[postgresql9.6中的 Row Security Policies]]></title><link>https://blog.csdn.net/spche/article/details/53035997</link><guid>https://blog.csdn.net/spche/article/details/53035997</guid><author>spche</author><pubDate>Wed, 16 Nov 2016 17:42:56 +0800</pubDate><description><![CDATA[1.。中文VS2008下面编译pg9.6
修改VSObjectFactory.pm 中的 DetermineVisualStudioVersion 直接 return '9.00';]]></description><category></category></item><item><title><![CDATA[mysql内核分析的网址]]></title><link>https://blog.csdn.net/spche/article/details/39525759</link><guid>https://blog.csdn.net/spche/article/details/39525759</guid><author>spche</author><pubDate>Wed, 24 Sep 2014 17:19:41 +0800</pubDate><description><![CDATA[https://blogs.oracle.com/mysqlinnodb/]]></description><category></category></item><item><title><![CDATA[HandlerSocket]]></title><link>https://blog.csdn.net/spche/article/details/7554143</link><guid>https://blog.csdn.net/spche/article/details/7554143</guid><author>spche</author><pubDate>Thu, 10 May 2012 16:09:28 +0800</pubDate><description><![CDATA[HandlerSocket是mysql的一个插件,主要是越过parser,optimizer这一层,直接对数据库进行key/value的存储,对于大内存的数据库,能极大的提高性能.
 
通过阅读代码,发现它主要用到了mysql的下面的结构体
struct tablevec_entry {
  TABLE *table;
  size_t refcount;
  bool modifie]]></description><category></category></item><item><title><![CDATA[replication]]></title><link>https://blog.csdn.net/spche/article/details/6676545</link><guid>https://blog.csdn.net/spche/article/details/6676545</guid><author>spche</author><pubDate>Wed, 02 May 2012 23:41:38 +0800</pubDate><description><![CDATA[这是pg的主从备份,就是有一个主机把修改发给一个或多个副机,pg主从机之间是通过log来实现的,而不是采用简单的SQL,
主机是sender,从机是receiver,就是进程,有多少个receiver,主机就有多少个进程,
默认是异步的,就是主机不停的从硬盘上log中读取,之后发给副机,副机把收到的log应用到数据库中,主机中正在执行的事务是与发送没关系的,目前还没有实现从内存的log buf]]></description><category></category></item><item><title><![CDATA[postgresql 中的 large object]]></title><link>https://blog.csdn.net/spche/article/details/6676544</link><guid>https://blog.csdn.net/spche/article/details/6676544</guid><author>spche</author><pubDate>Wed, 02 May 2012 23:41:08 +0800</pubDate><description><![CDATA[//主要有下面两个系统表,pg_largeobject_metadata主要记录权限的,有用的只有pg_largeobject



CATALOG(pg_largeobject_metadata,2995)
{
	Oid			lomowner;		/* OID of the largeobject owner */
#ifdef CATALOG_VARLEN			/* variab]]></description><category></category></item><item><title><![CDATA[dictionary]]></title><link>https://blog.csdn.net/spche/article/details/6561401</link><guid>https://blog.csdn.net/spche/article/details/6561401</guid><author>spche</author><pubDate>Sat, 21 Apr 2012 00:02:52 +0800</pubDate><description><![CDATA[table 对应 column； index 对应 field
 
 
 
 
 
/** Data structure for a column in a table */struct dict_col_struct{/*----------------------*//** The following are copied from dtype_t,so that all bit-]]></description><category></category></item><item><title><![CDATA[index]]></title><link>https://blog.csdn.net/spche/article/details/6561399</link><guid>https://blog.csdn.net/spche/article/details/6561399</guid><author>spche</author><pubDate>Sat, 21 Apr 2012 00:02:38 +0800</pubDate><description><![CDATA[/** Data structure for a field in an index */
struct dict_field_struct{
	dict_col_t*	col;		/*!< pointer to the table column */
	const char*	name;		/*!< name of the column */
	unsigned	prefix_len:1]]></description><category></category></item><item><title><![CDATA[buffer pool]]></title><link>https://blog.csdn.net/spche/article/details/6325736</link><guid>https://blog.csdn.net/spche/article/details/6325736</guid><author>spche</author><pubDate>Sat, 21 Apr 2012 00:02:22 +0800</pubDate><description><![CDATA[/*
		IMPLEMENTATION OF THE BUFFER POOL
		=================================

Performance improvement:
------------------------
Thread scheduling in NT may be so slow that the OS wait mechanism sh]]></description><category></category></item><item><title><![CDATA[innodb system table]]></title><link>https://blog.csdn.net/spche/article/details/6329112</link><guid>https://blog.csdn.net/spche/article/details/6329112</guid><author>spche</author><pubDate>Sat, 21 Apr 2012 00:01:02 +0800</pubDate><description><![CDATA[//基本不下面几个系统表
table = dict_mem_table_create("SYS_TABLES", DICT_HDR_SPACE, 8, 0);

	dict_mem_table_add_col(table, heap, "NAME", DATA_BINARY, 0, 0);
	dict_mem_table_add_col(table, heap, "ID", DATA_BI]]></description><category></category></item><item><title><![CDATA[TABLESPACE MEMORY CACHE]]></title><link>https://blog.csdn.net/spche/article/details/6329116</link><guid>https://blog.csdn.net/spche/article/details/6329116</guid><author>spche</author><pubDate>Sat, 21 Apr 2012 00:00:54 +0800</pubDate><description><![CDATA[/*
		IMPLEMENTATION OF THE TABLESPACE MEMORY CACHE
		=============================================

The tablespace cache is responsible for providing fast read/write access to
tablespaces and log]]></description><category></category></item><item><title><![CDATA[lock]]></title><link>https://blog.csdn.net/spche/article/details/6329115</link><guid>https://blog.csdn.net/spche/article/details/6329115</guid><author>spche</author><pubDate>Sat, 21 Apr 2012 00:00:46 +0800</pubDate><description><![CDATA[/* An explicit record lock affects both the record and the gap before it.
An implicit x-lock does not affect the gap, it only locks the index
record from read or update.

If a transaction has modi]]></description><category></category></item><item><title><![CDATA[asyn io]]></title><link>https://blog.csdn.net/spche/article/details/6329121</link><guid>https://blog.csdn.net/spche/article/details/6329121</guid><author>spche</author><pubDate>Sat, 21 Apr 2012 00:00:36 +0800</pubDate><description><![CDATA[/** The asynchronous i/o array slot structure */
typedef struct os_aio_slot_struct	os_aio_slot_t;

/** The asynchronous i/o array slot structure */
struct os_aio_slot_struct{
	ibool		is_read;	/*!]]></description><category></category></item><item><title><![CDATA[memory pool]]></title><link>https://blog.csdn.net/spche/article/details/6329119</link><guid>https://blog.csdn.net/spche/article/details/6329119</guid><author>spche</author><pubDate>Fri, 20 Apr 2012 23:59:56 +0800</pubDate><description><![CDATA[/*
The main components of the memory consumption are:

1. buffer pool,
2. parsed and optimized SQL statements,
3. data dictionary cache,
4. log buffer,
5. locks for each transaction,
6. hash t]]></description><category></category></item><item><title><![CDATA[Binary Log]]></title><link>https://blog.csdn.net/spche/article/details/6336714</link><guid>https://blog.csdn.net/spche/article/details/6336714</guid><author>spche</author><pubDate>Fri, 20 Apr 2012 23:59:49 +0800</pubDate><description><![CDATA[/*****************************************************************************

  MySQL Binary Log   log_event.h

  This log consists of events.  Each event has a fixed-length header,
  possibly]]></description><category></category></item></channel></rss>