LogoLogo
BlogDiscordGitHubDoltgres
  • Introduction
    • What is Doltgres?
    • Installation
    • Getting Started
  • Concepts
    • Git
      • Commits
      • Log
      • Diff
      • Branch
      • Merge
      • Conflicts
      • Remotes
      • Working Set
    • SQL
      • Databases
      • Schema
      • Tables
      • Primary Keys
      • Types
      • Indexes
      • Views
      • Constraints
      • Triggers
      • Functions
      • Procedures
      • Users/Grants
      • Transactions
      • System Variables
    • RDBMS
      • Server
      • Backups
      • Replication
  • Guides
    • Cheat Sheet
    • Replication from Postgres
  • Reference
    • Running the Server
      • Configuration
      • Access Management
      • Branch Permissions
      • Backups
      • Garbage Collection
      • Metrics
      • Replication
      • Troubleshooting
    • Version Control Features
      • Using Branches
      • Merges
      • Querying History
      • Using Remotes
      • Functions
      • System Tables
      • System Variables
    • SQL Language Support
      • Supported Functions and Operators
      • Supported Types
      • Supported SQL Commands
      • System Catalog Schema
    • Supported Clients
      • Programmatic
    • Benchmarks
      • Correctness
      • Latency
Powered by GitBook
On this page
  • What is a database server?
  • How to use database servers
  • Difference between the Postgres database server and the Doltgres database server
  • Interaction with Doltgres Version Control
  • Example
  • Start a Server
  • Connect a client
  1. Concepts
  2. RDBMS

Server

What is a database server?

A database server allows multiple local or remote clients to connect to the same database. You start a database server process on a host. The database server process opens a port or socket and then clients connect with a compatible client. The database server handles authentication.

How to use database servers

Database servers are used to allow multiple users to access the same database over a network. Database servers are often used to back applications. In that case, the application instances are the user.

Difference between the Postgres database server and the Doltgres database server

Doltgres behaves the same way as the Postgres database server started using postgres. By default, Doltgres starts on the same port as Postgres, 5432.

Interaction with Doltgres Version Control

Doltgres allows users to connect to multiple branches using a connection string. All users connected to the same branch see the same branch state.

Example

Start a Server

doltgres
Starting server with Config HP="localhost:3306"|T="28800000"|R="false"|L="info"

Connect a client

PGPASSWORD=password psql -h 127.0.0.1 -U postgres
PreviousRDBMSNextBackups

Last updated 5 months ago