Webform submission
2015 26 Jul

Archive Webform Submissions

By Gaurav Goyal

Webform is the 2nd most popular module after views and is widely used. Most of the sites built on drupal are using this module. It gives site administrators the functionality of creating as many forms as needed so that they can use them in surveys, contest, contact us forms etc.

This module also allows you to extract the reports based on these submissions, notify users for their queries and lots of other things. All in a very nice package which just works out of the box.

Having lots of legit webform submissions is good infact it shows that your campaign or survey is rocking out there. You will be very happy to see such a huge response :) But such an overwhelming response comes with a price...:(

What could be the problem with lots of webforms submissions? Suppose you have tons of webform submissions and they all are important for you. You can not let go of them. Imagine the load on your server when you try to download the submissions for last 3 months or one year. The select queries on joins of large tables can take a toll on the performance of the MySQL server. It will directly affect the performance of the site and you will go nuts as to what could you possibly do to prevent this as the requirement is pretty natural. Yes, you can think of increasing the hardware but these are infrequent requests so eventually this becomes a temporary solution, neither a good one nor for the long term.

Archiving old webform submissions sounds like the best solution. The module "webform_archive" does exactly that and frees up the current submissions table. It also allows downloading reports for those archives. Such an archive will reduce overhead on webform submission tables and the database queries for select and the lesser the current number of rows in the webform submissions table, the faster are insert statements executed and that reduces the load on the application and the server to a large extent.

This is one of the reasons I like open source. If you do something as a requirement for which there are no open source contributions, you could pick it as an idea to contribute. And the world makes your contribution better. And then, in future, as and when people start using your contribution, you get more motivated.
 

Module Link: https://www.drupal.org/project/webform_archive

 

Kudos to Drupal Community…:

Featured blog

web-personalization

Personalized Content is a Proven Entity !!

Irrespective of how big a business icon or brand you are, increasing the relevance of your website will always be critical to your success.

Read More

Git Hooks

Git hooks for better codes

We are programmers and we are always on the lookout for ways to improve our code. A good and structured way of coding defines the completeness of a programmer.

Read More

Drupal ,varnish cache

Hard time with Drupal, Varnish Cache and Cookies

Using a reverse proxy server in front of a web server is usually needed for every big site and it is a very good thing to do so as reverse proxy server will handle all the anonymous traff

Read More

Say no to captcha

Say no to captcha - Various Spam Protection Methods

Maintaining high traffic websites have their own merits and demerits, the most annoying thing about them is SPAM.

Read More