GithubHelp home page GithubHelp logo

Comments (4)

imchairmanm avatar imchairmanm commented on August 16, 2024

I won't claim to know for sure, but as far as I've been able to tell, each of the database vendors kind of choose their own terminology. Schema is the most divergent one I think with PostgreSQL (and maybe Oracle?) using schema as a logical object within the database and holds some template-like information that databases can be spawned from. I'm not sure if we can take a hard stance on what you are "supposed" to use, but we can try to keep it clear for sure.

As far as I've been able to tell, in the most generic sense I think the most common way people use them is:

  • Database: a specific database instance
  • Schema: a design that defines the structure, constraints, etc.
  • Database server: the thing that runs your database software or the database software itself

In terms of how we translate that, I try to tend to use the terminology of the specific DB I'm talking about but that gets tricky for more general conversations that apply to more than one project. Any suggestions on what you think would make sense?

from dataguide.

janpio avatar janpio commented on August 16, 2024

I agree with how it is most commonly used database server -> database -> schema. Problem is that PostgreSQL uses "schema" as the "database", and has another layer which they do call "database". This leads to confusion with Prisma users (both internally and externally), and an article just spelling it all out would be helpful.

from dataguide.

imchairmanm avatar imchairmanm commented on August 16, 2024

Does this section do what you were looking for? I'm just trying to figure out if we already have something that would help us address this.

from dataguide.

janpio avatar janpio commented on August 16, 2024

It does for PostgreSQL, yes.

from dataguide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.