Welcome, Guest
Username: Password: Remember me

TOPIC: is there performance problem when all questions in one table?

is there performance problem when all questions in one table? 2 months 2 weeks ago #109598

  • iscar
  • iscar's Avatar
  • OFFLINE
  • Gold Lime
  • Posts: 182
  • Thank you received: 1
  • Karma: 0
i just found all survey questions record in 1 table.
i am not familiar with mysql.say more than 10 thousands question in mysql table, is that will cause performance problem?
The administrator has disabled public write access.

is there performance problem when all questions in one table? 2 months 2 weeks ago #109604

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2605
  • Thank you received: 302
  • Karma: 110
What do you mean with 1000 questions?

10.000 respondent questionnaires? --> Should be no big deal
10.000 questions in one questionnaire? --> You will run into the limits of the database for columns per table (depends on the database engine use - there is some information about this in the manual)
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

is there performance problem when all questions in one table? 2 months 2 weeks ago #109605

  • iscar
  • iscar's Avatar
  • OFFLINE
  • Gold Lime
  • Posts: 182
  • Thank you received: 1
  • Karma: 0
suppose i have 200 surveys. each survey has 50 questions. totally have 10000 questions.
these 10000 questions record in lime_questions table together.
The administrator has disabled public write access.

is there performance problem when all questions in one table? 2 months 2 weeks ago #109665

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6252
  • Thank you received: 799
  • Karma: 239
Hi,

No, not a major issue here : SQL is done for this :
Same time to load one line .

We only load one line at a time. (Sometime all of the survey). All not loaded question don't take time.
The biggest issue in time is the DATA transfer from SQL to memory.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.105 seconds
Donation Image