Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

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

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

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 292
  • Thank you received: 1
  • Karma: -4
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 years 6 months ago #109604

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5417
  • Thank you received: 806
  • Karma: 239
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 | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

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

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 292
  • Thank you received: 1
  • Karma: -4
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 years 6 months ago #109665

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9555
  • Thank you received: 1374
  • Karma: 390
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.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time (Need support ?).
A bug not reported is a bug not corrected. | 2.61lts version improved | Need plugins for LimeSurvey ?
The administrator has disabled public write access.
Time to create page: 0.202 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form