Performance, 30k rows

Permalink Browser Info Environment
Hello, using the latest concrete5(.6) and add-on, my sixeightformsAnswers table has about 30k records, and sixeightformsAnswerSets has 2780 rows. Making any edits using either the front end, or the dashboard page takes several minutes (3-5) to apply - the spinner says Processing...

Loading concrete5 pages and other database access are fine, I have about 15 forms and they are all this speed from the dashboard. The most records is 900 in any one form.

Are there any indexes I can add or anything of that nature? Straight SELECT queries from a query tool are fast - it seems to be limited to using the Advanced Forms interface. Thanks in advance.

Type: Discussion
Status: In Progress
jstrong
View Replies:
jstrong replied on at Permalink Reply
jstrong
I would like to amend my statement earlier that all forms are slow - I have a few that actually perform really well. Please let me know how I might narrow down the cause of 1 form performing poorly. Thank you!
jgarcia replied on at Permalink Reply
jgarcia
I'm actually having a similar issue - except my sixeightformsAnswers table has ~750,000 rows.

To be honest with you, I'm planning to do a full rewrite of Advanced Forms for Concrete 5.7, so this fix will likely be worked into that version. To try to address this for the current version would require some pretty significant changes to the core of how the add-on functions.

concrete5 Environment Information

# concrete5 Version
5.6.2.1
# concrete5 Packages
ACE InCurl (1.5), Add Multiple Pages (2.1.1), Advanced Forms (1.13.1), Area Splitter (2.1), Breadcrumbs (2.0), Content Around Image (1.23), CSV displayer (1.1), Data Display (2.7.1.4), Date Navigation (1.3), Designer Content (3.1.1), DieselCare.Web System (0.2.0), Discussion (1.8.6), Document Library (1.6.3), Downloads List (1.4), Dynamic Iframe (1.61), Earthtones Stone (1.01), Example FAQ (1.2.0), Expand / Collapse (1.2.1), FileTree (1.2), Force Single Sublevel (1.0.1), Galleria image gallery (2.0), Guest Views (2.0), Herent Config Pages (5.0.0), Herent User Text (1.0), Internationalization (1.2), Itrio User Folders (1.3), Login (1.1), Multi-File Attribute (1.01), Parent Link (1.0), Popup (1.34), Print Page (1.4), Pro Events (9.5.2), Redirect (1.1), Sisimizi's Download Folder (1.0), Sortable Fancybox Gallery (1.17), SQL Buddy (1.0), Stickies (1.2.3), SWF Document Viewer (1.0), Syntax Highlighter (1.0.1), Tables (2.3.1), Trans Marine Save Area To Pdf (0.9.7), User Info (1.97), Zoom Image (1.0.3).
# concrete5 Overrides
controllers/dw_client, controllers/mycompany, elements/header_required.php, helpers/concrete, jobs/notify_leave_requests.php, libraries/meta_automator.php, mail/dw_client_submission.php, models/attribute, single_pages/dw_client, single_pages/dashboard, single_pages/mycompany.php.old, single_pages/mycompany, themes/dw_client_theme
# Server Software
Apache
# Server API
cgi-fcgi
# PHP Version
5.4.32
# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.
# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 10M
sql.safe_mode - Off
upload_max_filesize - 10M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 259200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.