12 tables inside the database
- wp_termmeta
- wp_users
- wp_usermeta
- wp_terms
- wp_term_taxonomy
- wp_term_relationships
- wp_posts
- wp_users
- wp_comments
- wp_commentmeta
- wp_links
- wp_postmeta
From version 4.4.2 onwards, WordPress has 12 tables inside the database. These tables are used to perform various default functionalities of WordPress. However, this number can vary depending upon the number of themes and plugins installed in your WordPress.
Each plugin and theme create its own tables and it won’t be wrong to say that more the plugins you install the more tables you will have in your database. Let’s see the WordPress Database Diagram, so we can have a basic understanding of how a database works in WordPress.
Let’s take a look at what each database table stores:
- wp_users: Whenever you create a user is stored in this table along with its details and status.
- wp_usermeta: Stores meta information of users.
- wp_posts: Custom post types, pages data, and post data are stored in this table.
- wp_postmeta: Post meta information store here.
- wp_comments: This table stores comments placed on your site.
- wp_commentmeta: Meta information for comments stored here.
- wp_terms: Tags and categories for both posts and links are stored here.
- wp_termmeta: Meta information for terms stored here.
- wp_term_relationships: This stores the relationship between the members of wp_terms.
- wp_term_texonomy: Description of a category, link, or tag used in a wp_term table stored here.
- wp_links: This stores blogroll links that are depreciated but can be activated using Link Manager.
- wp_options: Options set in admin are stored here.
No comments:
Post a Comment