# Wiki Post and the method of storage in the database

**URL:** https://meta.discourse.org/t/wiki-post-and-the-method-of-storage-in-the-database/87616
**Category:** Development
**Created:** [16.Май.2018 09:44:03 UTC](https://meta.discourse.org/t/wiki-post-and-the-method-of-storage-in-the-database/87616 "2018-05-16T09:44:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Stranik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stranik/32/85638_2.png) [@Stranik](https://meta.discourse.org/u/Stranik)
#### Post date: [16.Май.2018 09:44:04 UTC](https://meta.discourse.org/t/wiki-post-and-the-method-of-storage-in-the-database/87616/1 "2018-05-16T09:44:04Z")

</div>

Hi. Where can I get acquainted, how information is stored in the Wiki post?

For example, I am interested in this question. There is a Wiki post:

> [@Editing and creating wiki posts](https://meta.discourse.org/t/what-is-a-wiki-post/30801):
>
> bookmark This guide explains how to create and edit wiki posts, including their purpose, permissions, and best practices. person_raising_hand Required user level: All users (with specific permissions based on group membership) Wiki posts in Discourse are special types of posts that can be edited by multiple users which allows for collaborative editing and knowledge sharing within a community. They are particularly useful for documentation, FAQs, and other content that benefits from commu…

We see 14 changes over time.

![14](https://global.discourse-cdn.com/meta/original/3X/4/2/42678db4559dbc512ca7d4239d09098db6a4fd1d.jpg)

Each time a change is made, a separate copy is created in the database and then compared to the output. In our case we have 14 copies of the post (with different changes), or is the information stored in some other way?

Similarly, there is a question about displaying answer edits (not in the grace period).

There as the same are created a complete copy of the posts, or as something else. The question itself is about the size of the base. (In this case, we have a size in the database 14 times more than the original post?)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [16.Май.2018 09:51:45 UTC](https://meta.discourse.org/t/wiki-post-and-the-method-of-storage-in-the-database/87616/2 "2018-05-16T09:51:45Z")

</div>

Post revisions are stored in the `post_revisions` table 😉

Don’t worry about space. It’s just text. Most images are 100X larger than any (realistic) amount of revisions a post could get.
