Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 953059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:59:27+00:00 2026-05-15T23:59:27+00:00

As I create more and more fields and content-types, I see that Drupal creates

  • 0

As I create more and more fields and content-types, I see that Drupal creates a huge numbers of tables (>1k) in MySQL and after a point my system becomes very slow.

I have tried several MySQL performance tuning tips, but nothing has improved the performance significantly. Enabling caching makes for good speed in the front-end, but if I try to edit a content-type from the admin back-end, it takes for ever!

How do you cope with that? How do you scale Drupal?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:59:28+00:00Added an answer on May 15, 2026 at 11:59 pm

    If sheer number of tables has become the database performance bottleneck, I’d have to agree with Rimian. You can define your own content types programmatically, and then develop your own content type model by leveraging the Node API.

    API documentation and an example of doing just that are here: http://api.drupal.org/api/drupal/developer–examples–node_example–node_example.module/6

    The code flow is basically:

    • Make Drupal recognize your content type
    • Define the fields it needs to take using the Forms API
    • Define how each of the Node API’s functions should behave (view, load, save, etc.).

    This allows you control over how things are stored, yet still gives you (and all contributed modules) ability to leverage the hook system for Node API calls.

    Obvious drawbacks are missing out on all of the features/modules that directly depend on CCK for their functionality. But at >1k tables (which suggests a gargantuan number of content types and fields), it sounds like you’re at that level of custom work already.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Slightly more advanced mapping then in my previous question :) Tables: create table [Primary]
A new module 'foo' implements foo_node_info() where one or more new content types can
I'm working on a mysql query in a Drupal database that pulls together users
I want to accomplish the following scenario in Drupal: You have 2 content-types. Lets
after install profile 1.1, add at least one field to the User Content Types
Project: To create dynamic multi page form that populates the fields in different ways
How do I create more than 40-50 textfields and labels in a single view
Hai I want to create more users as admin and allow permission to access
I need to create more than one UIView with MARQUEE effect like HTML <marquee>
I want to create more or less portable (stand-alone, no install, WinXP to Win7)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.