From: ivanstepanovftw (@ivanstepanovftw) <noreply+ivanstepanovftw@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #704: Discussion: understanding pgvector
Date: Wed, 30 Oct 2024 13:46:41 +0000
Message-ID: <gh-pgvector-pgvector-704-c2447216852@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-704@github.com>
References: <gh-pgvector-pgvector-704@github.com>
And what is the best way to dump the database to restore it at another machine? With `pg_dump -F p > dump.sql` I see that vectors are just a string representation, which may cause loss in precision and consume more disk space than required.
It is known that IEEE-754 32-bit float consumes 4 bytes, but in text format in decimal representation it loses precision and takes more memory, around 13 bytes per float including separation "," character.