<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Administration on Vchord</title>
    <link>https://vchord.pgsty.com/pgvecto-rs/admin/</link>
    <description>Recent content in Administration on Vchord</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    
    
    
      <lastBuildDate>Mon, 02 Nov 2026 19:35:19 +0800</lastBuildDate>
    
    
      <atom:link href="https://vchord.pgsty.com/pgvecto-rs/admin/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>Configuration</title>
        <link>https://vchord.pgsty.com/pgvecto-rs/admin/configuration/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/pgvecto-rs/admin/configuration/</guid>
        <description>&lt;p&gt;&lt;a id=&#34;Logging&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;logging&#34;&gt;Logging&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;By default, you cannot capture all &lt;code&gt;pgvecto.rs&lt;/code&gt; logs. &lt;code&gt;pgvecto.rs&lt;/code&gt; starts a background worker process for indexing, and it prints logs to standard error. To capture them, you need to set &lt;code&gt;logging_collector&lt;/code&gt; to &lt;code&gt;on&lt;/code&gt;. You can get more information from &lt;a href=&#34;https://www.postgresql.org/docs/current/runtime-config-logging.html#GUC-LOGGING-COLLECTOR&#34;&gt;PostgreSQL document about logging collector&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You can set &lt;code&gt;logging_collector&lt;/code&gt; to &lt;code&gt;on&lt;/code&gt; with the following command:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-bacc4404-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;sh&#34; data-td-line-count=&#34;4&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-bacc4404-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;psql -U postgres -c &lt;span class=&#34;s1&#34;&gt;&amp;#39;ALTER SYSTEM SET logging_collector = on;&amp;#39;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# You need restart the PostgreSQL cluster to take effects.&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo systemctl restart postgresql.service   &lt;span class=&#34;c1&#34;&gt;# for pgvecto.rs running with systemd&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;docker restart pgvecto-rs-demo  &lt;span class=&#34;c1&#34;&gt;# for pgvecto.rs running in docker&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;index-configuration&#34;&gt;Index configuration&#xA;&lt;/h2&gt;&#xA;&lt;span class=&#34;td-badge td-badge--info&#34;&gt;since v0.3.0&lt;/span&gt;&#xA;&lt;p&gt;For each index, there are a number of configuration items that are variable. Unlike options, they support real-time modification after the index has been created. These items can be configured by function &lt;code&gt;alter_vector_index&lt;/code&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Upgrading</title>
        <link>https://vchord.pgsty.com/pgvecto-rs/admin/upgrading/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/pgvecto-rs/admin/upgrading/</guid>
        <description>&lt;h2 id=&#34;general-steps&#34;&gt;General Steps&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;If you update the extension to a new version, let&amp;rsquo;s say it&amp;rsquo;s &lt;code&gt;a.b.c&lt;/code&gt;. This command helps you to update the schema of extension:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-0258b931-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;sql&#34; data-td-line-count=&#34;3&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-0258b931-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;EXTENSION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;vectors&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;UPDATE&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;-- or&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;EXTENSION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;vectors&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;UPDATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;a.b.c&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;If you&amp;rsquo;re upgrading from &lt;code&gt;0.1.x&lt;/code&gt;, please read &lt;a href=&#34;https://vchord.pgsty.com/pgvecto-rs/admin/upgrading/#upgrade-from-0-1-x&#34;&gt;Upgrading from 0.1.x&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;If you&amp;rsquo;re upgrading to &lt;code&gt;0.4.0&lt;/code&gt;, please read &lt;a href=&#34;https://vchord.pgsty.com/pgvecto-rs/admin/upgrading/#upgrade-to-0-4-0&#34;&gt;Upgrading to 0.4.0&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Execute the following SQL. It helps you do some maintenance work.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Logical replication</title>
        <link>https://vchord.pgsty.com/pgvecto-rs/admin/logical_replication/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/pgvecto-rs/admin/logical_replication/</guid>
        <description>&lt;p&gt;Logical replication is a feature in PostgreSQL that enables the replication of individual database objects or a subset of data from one PostgreSQL database to another.&lt;/p&gt;&#xA;&lt;p&gt;With logical replication, you can selectively replicate specific tables, databases, or even specific rows based on predefined replication rules. This provides more flexibility compared to physical replication, where the entire database cluster is replicated. It allows you to design custom replication topologies and replicate only the data that is necessary for your use case.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Foreign data wrapper (FDW)</title>
        <link>https://vchord.pgsty.com/pgvecto-rs/admin/fdw/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/pgvecto-rs/admin/fdw/</guid>
        <description>&lt;p&gt;&lt;a href=&#34;https://wiki.postgresql.org/wiki/Foreign_data_wrappers&#34;&gt;Foreign data wrapper(FDW)&lt;/a&gt; is an extension in PostgreSQL that allows you to access and query data stored in remote databases as if they were local tables. FDW provides a way to integrate and interact with different data sources.&lt;/p&gt;&#xA;&lt;p&gt;With the FDW extension, you can define foreign tables in your local PostgreSQL database that mirror the structure of tables in remote databases. These foreign tables act as proxies or wrappers for the remote data, enabling you to perform SELECT, INSERT, UPDATE, and DELETE operations on them, just like regular tables in PostgreSQL.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Kubernetes</title>
        <link>https://vchord.pgsty.com/pgvecto-rs/admin/kubernetes/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/pgvecto-rs/admin/kubernetes/</guid>
        <description>&lt;p&gt;If you want to use &lt;code&gt;pgvecto.rs&lt;/code&gt; in PostgreSQL which is running in Kubernetes, we provide a tutorial to help you. In this tutorial, we will use &lt;a href=&#34;https://cloudnative-pg.io/&#34;&gt;CloudNative-PG&lt;/a&gt; to deploy PostgreSQL cluster in Kubernetes.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a id=&#34;Requirements&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;requirements&#34;&gt;Requirements&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Name&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Version&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;a href=&#34;https://helm.sh/&#34;&gt;helm&lt;/a&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&amp;gt;= 2.4.1&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;a href=&#34;https://kubernetes.io/docs/tasks/tools/&#34;&gt;kubectl&lt;/a&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&amp;gt;= 1.14&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;a href=&#34;https://kubernetes.io/&#34;&gt;Kubernetes&lt;/a&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&amp;gt;= 1.24.0&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;install-cloudnative-pg&#34;&gt;Install CloudNative-PG&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;We use &lt;a href=&#34;https://cloudnative-pg.io/&#34;&gt;CloudNative-PG (cnpg)&lt;/a&gt; to deploy PostgreSQL cluster in Kubernetes. You can install it by &lt;a href=&#34;https://helm.sh/docs/intro/install/&#34;&gt;helm&lt;/a&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Migration</title>
        <link>https://vchord.pgsty.com/pgvecto-rs/admin/migration/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://vchord.pgsty.com/pgvecto-rs/admin/migration/</guid>
        <description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;outline-23&#34;&gt;outline: [2,3]&#xA;&lt;/h2&gt;&#xA;&lt;h1 id=&#34;pgvectors-migration-overview&#34;&gt;PGVecto.rs Migration Overview&#xA;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;from-pgvector&#34;&gt;From pgvector&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a id=&#34;Prerequisites&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;prerequisites&#34;&gt;Prerequisites&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;When migrating from &lt;code&gt;pgvector&lt;/code&gt; to &lt;code&gt;PGVecto.rs&lt;/code&gt;, it is possible that you may have a table with a column of vector type. An example of this would be:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-2906a72b-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;sql&#34; data-td-line-count=&#34;1&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-2906a72b-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TABLE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;items&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;id&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;bigserial&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;PRIMARY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;KEY&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;embedding&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;vector&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;));&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;In addition, some rows will be inserted into the table, as follows:&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
