GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Ayo (ayo@lonely.town)'s status on Monday, 10-Feb-2025 05:25:36 JST Ayo Ayo

    Things I learned while interacting with PostgreSQL through the "binary" data format:

    - Data isn't transferred in the same format as stored on disk or used internally in Postgres, there's type-specific conversions going on. I assume to offer improved portability and stability.

    - Even in the binary format, textual data is converted between the database encoding and whatever you set as 'client_encoding'.

    - jsonb columns are converted to/from textual JSON; the 'b' part stays internal to Postgres.

    - Dealing with the more complex types (like arrays) is not as painful as I had anticipated; the binary format might actually be easier to work with than the generally recommended textual formats.

    - Big-endian everywhere. :blobcatnotlikethis:

    - Judging from the Postgres code I've skimmed through, I don't expect the binary format to have much of a performance advantage compared to text, but I still have benchmarks to perform.

    In conversation about 6 months ago from lonely.town permalink
    • Haelwenn /элвэн/ :triskell: likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.