- i successfully managed to migrate via feeds module 44,000+ nodes to a cck content type called 'candidates'.
- data is composed of candidates for an election, with taxonomy fields including: region, town or city, political party, province name, and so on, 5 fields are taxonomy term reference fields.
- via views i hope to create a page which segregates candidates per area (in this case, region). Also hoping to do a glossary of candidates within a region or regardless of region. Basically I just want to experiment until I get a nice page.
- the first page i tried to make is one that segregates per region by creating a relationship 'content taxonomy terms on node', and used that on Contextual Filters. I turned off paging and any sorting. I am just loading the field content: title.
- Problem: When I enter the url /candidates it just loads and loads and nothing appears.
- Any suggestions appreciated!

Comments

ghmercado’s picture

any help?

Mołot’s picture

Status: Active » Postponed (maintainer needs more info)

What are your pager settings?
What are you filtering on?
What are you grouping on?
Does the 2 above create any "having" clausules?
Do you have indexes on columns you are using for joins and filters?
Does your setup work all right for 40, 400, 4`000 nodes?

Also, please don't put the same question many times, it wastes time of ppl like me, browsing issues to help.

ghmercado’s picture

- pager settings are 'display a specified number of items: 10 items', more link: no
- there is no sort criteria
- filter criteria is just published (yes) and content type: candidate.
- i made a relationship 'Content: Taxonomy terms on node' and used that to make a filter 'taxonomy term: name'.
- taxonomy term: name configuration is: display a summary, descending, sort by no. of records, format: list, display record count with link (checked).
- i dont know how to answer 'what are you grouping on'
- i dont know how to answer 'having clausules'
- i dont know how to answer 'joins or filters'
- my setup is a linode 1024mb, 8 CPU (1x priority). im hoping that's enough

thanks so much for the assistance and apologies for 2x post I was afraid I was being too verbose

Mołot’s picture

pager - so far so good, should not abuse your site with to much results at once
filter - publishet and content type are pretty well done and hard to break

In views ui settings check "show SQL" option and just paste your view's SQL here.
My blind bet now is "sort by no. of records" - it means drupal needs to execute count on nodes for each of taxonomy records, right? So it may need to scan all your nodes. Worst case scenario is node number * taxonomy number of tests with full scan on nodes. If that's what happening, your setup will be only good for about 1000~5000 nodes. Hardly enough RAM to load substantially more.

Could you test if it works with smalles amounts of data, by the way?

ghmercado’s picture

previously i turned off 'automatically update preview on changes' because the live preview just keeps loading as well. I clicked 'show the sql query' on your suggestion but it shows nothing. i clicked the 'auto preview' box and again preview just loads.

i had also changed the sort by from number of records to alphabetical (the only alternative).

I've done this before although not with the same data and with far less nodes, so I'm sure it works. So this is a case of just underpowered server specs you think? Will indexing via search help? it's only indexed 2%. I'm desperate for suggn's. What if I do this offline on my laptop and migrate when done?

Mołot’s picture

Search index has nothing to do with it.

Get down to the number of nodes your system can work with. Preferably one near the upper border. Then we'll get to optimization. After that we can try full load again.
Your system is not underpowered, it's just your query is abusive. But I need to see it to help!

And quick suggestion - switch from taxonomy term name to taxonomy term id. It's way easier for SQL and you can fix display in tpl anyway.

ghmercado’s picture

so if i, say, manage to get it to work with ten percent as much nodes, i can then add another ten percent and so on?

what do you think of that strategy?

Mołot’s picture

If you'll get down to 10% nodes and it will "almost work", you will know you need to make query at least 10 times faster to get it work with 100% of nodes. Simple as that. But I don't see how could you repair your queries when you don't really see them.
And it's no magic, adding nodes in 10% batches will not help. Anything that invalidates views' cache forces module to re-scan your data. So you simply need it to be fast enough not to break on production, full data set in case of cache invalidation.

Do you have access to slow query log? if so, maybe there you'll be able to see your querry. Biggest, nastiest baddass in that log, I bet.

ghmercado’s picture

i only have a /var/log/mysql/error.log, no slow query log. Would that do?

130124  4:48:38 [Note] Plugin 'FEDERATED' is disabled.
130124  4:48:38  InnoDB: Initializing buffer pool, size = 8.0M
130124  4:48:38  InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
130124  4:48:38  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
130124  4:48:38  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
130124  4:48:38  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
130124  4:48:38  InnoDB: Started; log sequence number 0 0
130124  4:48:38  InnoDB: Starting shutdown...
130124  4:48:43  InnoDB: Shutdown completed; log sequence number 0 44233
130124  4:48:43 [Note] Plugin 'FEDERATED' is disabled.
130124  4:48:43  InnoDB: Initializing buffer pool, size = 8.0M
130124  4:48:43  InnoDB: Completed initialization of buffer pool
130124  4:48:43  InnoDB: Started; log sequence number 0 44233
130124  4:48:43  InnoDB: Starting shutdown...
130124  4:48:49  InnoDB: Shutdown completed; log sequence number 0 44233
130124  4:48:49 [Note] Plugin 'FEDERATED' is disabled.
130124  4:48:49  InnoDB: Initializing buffer pool, size = 8.0M
130124  4:48:49  InnoDB: Completed initialization of buffer pool
130124  4:48:49  InnoDB: Started; log sequence number 0 44233
ERROR: 1064  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE user ADD column Show_view_priv enum('N','Y') CHARACTER SET utf8 NOT ' at line 1
130124  4:48:49 [ERROR] Aborting

130124  4:48:49  InnoDB: Starting shutdown...
130124  4:48:54  InnoDB: Shutdown completed; log sequence number 0 44233
130124  4:48:54 [Note] /usr/sbin/mysqld: Shutdown complete

130124  4:48:54 [Note] Plugin 'FEDERATED' is disabled.
130124  4:48:54  InnoDB: Initializing buffer pool, size = 8.0M
130124  4:48:54  InnoDB: Completed initialization of buffer pool
130124  4:48:54  InnoDB: Started; log sequence number 0 44233
130124  4:48:54  InnoDB: Starting shutdown...
130124  4:48:59  InnoDB: Shutdown completed; log sequence number 0 44233
130124  4:48:59 [Note] Plugin 'FEDERATED' is disabled.
130124  4:48:59  InnoDB: Initializing buffer pool, size = 8.0M
130124  4:48:59  InnoDB: Completed initialization of buffer pool
130124  4:48:59  InnoDB: Started; log sequence number 0 44233
ERROR: 1050  Table 'plugin' already exists
130124  4:48:59 [ERROR] Aborting

130124  4:48:59  InnoDB: Starting shutdown...
130124  4:49:05  InnoDB: Shutdown completed; log sequence number 0 44233
130124  4:49:05 [Note] /usr/sbin/mysqld: Shutdown complete

130124  4:49:05 [Note] Plugin 'FEDERATED' is disabled.
130124  4:49:05  InnoDB: Initializing buffer pool, size = 8.0M
130124  4:49:05  InnoDB: Completed initialization of buffer pool
130124  4:49:05  InnoDB: Started; log sequence number 0 44233
130124  4:49:05 [Note] Event Scheduler: Loaded 0 events
130124  4:49:05 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130124  4:49:37 [Note] /usr/sbin/mysqld: Normal shutdown

130124  4:49:37 [Note] Event Scheduler: Purging the queue. 0 events
130124  4:49:37  InnoDB: Starting shutdown...
130124  4:49:40  InnoDB: Shutdown completed; log sequence number 0 44233
130124  4:49:40 [Note] /usr/sbin/mysqld: Shutdown complete

130124  4:49:40 [Note] Plugin 'FEDERATED' is disabled.
130124  4:49:40  InnoDB: Initializing buffer pool, size = 8.0M
130124  4:49:40  InnoDB: Completed initialization of buffer pool
130124  4:49:40  InnoDB: Started; log sequence number 0 44233
130124  4:49:40 [Note] Event Scheduler: Loaded 0 events
130124  4:49:40 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130124  4:50:38 [Note] /usr/sbin/mysqld: Normal shutdown

130124  4:50:38 [Note] Event Scheduler: Purging the queue. 0 events
130124  4:50:38  InnoDB: Starting shutdown...
130124  4:50:40  InnoDB: Shutdown completed; log sequence number 0 44233
130124  4:50:40 [Note] /usr/sbin/mysqld: Shutdown complete

130124  4:50:57 [Note] Plugin 'FEDERATED' is disabled.
130124  4:50:57  InnoDB: Initializing buffer pool, size = 8.0M
130124  4:50:57  InnoDB: Completed initialization of buffer pool
130124  4:50:57  InnoDB: Started; log sequence number 0 44233
130124  4:50:58 [Note] Event Scheduler: Loaded 0 events
130124  4:50:58 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130228 20:27:21 [Note] /usr/sbin/mysqld: Normal shutdown

130228 20:27:21 [Note] Event Scheduler: Purging the queue. 0 events
130228 20:27:21  InnoDB: Starting shutdown...
130228 20:27:22  InnoDB: Shutdown completed; log sequence number 0 2348958671
130228 20:27:22 [Note] /usr/sbin/mysqld: Shutdown complete

130301  9:27:43 [Note] Plugin 'FEDERATED' is disabled.
130301  9:27:43  InnoDB: Initializing buffer pool, size = 8.0M
130301  9:27:43  InnoDB: Completed initialization of buffer pool
130301  9:27:44  InnoDB: Started; log sequence number 0 2348958671
130301  9:27:44 [Note] Event Scheduler: Loaded 0 events
130301  9:27:44 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130405 15:05:53  InnoDB: ERROR: the age of the last checkpoint is 9439135,
InnoDB: which exceeds the log group capacity 9433498.
InnoDB: If you are using big BLOB or TEXT rows, you must set the
InnoDB: combined size of log files at least 10 times bigger than the
InnoDB: largest such row.
130406 12:49:31 [Note] /usr/sbin/mysqld: Normal shutdown

130406 12:49:31 [Note] Event Scheduler: Purging the queue. 0 events
130406 12:49:34  InnoDB: Starting shutdown...
130406 12:49:38  InnoDB: Shutdown completed; log sequence number 1 1392368082
130406 12:49:38 [Note] /usr/sbin/mysqld: Shutdown complete

130406 12:49:55 [Note] Plugin 'FEDERATED' is disabled.
130406 12:49:55  InnoDB: Initializing buffer pool, size = 8.0M
130406 12:49:55  InnoDB: Completed initialization of buffer pool
130406 12:49:56  InnoDB: Started; log sequence number 1 1392368082
130406 12:49:56 [Note] Event Scheduler: Loaded 0 events
130406 12:49:56 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130408  9:16:38 [Note] /usr/sbin/mysqld: Normal shutdown

130408  9:16:38 [Note] Event Scheduler: Purging the queue. 0 events
130408  9:16:38  InnoDB: Starting shutdown...
130408  9:16:49  InnoDB: Shutdown completed; log sequence number 1 1487827895
130408  9:16:49 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:16:49 [Note] Plugin 'FEDERATED' is disabled.
130408  9:16:49  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:16:49  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:16:49 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:16:49 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:16:49 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:16:49 [ERROR] Aborting

130408  9:16:49 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:17:19 [Note] Plugin 'FEDERATED' is disabled.
130408  9:17:19  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:17:19  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:17:19 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:17:19 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:17:19 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:17:19 [ERROR] Aborting

130408  9:17:19 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:17:50 [Note] Plugin 'FEDERATED' is disabled.
130408  9:17:50  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:17:50  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:17:50 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:17:50 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:17:50 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:17:50 [ERROR] Aborting

130408  9:17:50 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:18:20 [Note] Plugin 'FEDERATED' is disabled.
130408  9:18:20  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:18:20  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:18:20 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:18:20 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:18:20 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:18:20 [ERROR] Aborting

130408  9:18:20 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:18:50 [Note] Plugin 'FEDERATED' is disabled.
130408  9:18:50  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:18:50  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:18:50 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:18:50 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:18:50 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:18:50 [ERROR] Aborting

130408  9:18:50 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:19:20 [Note] Plugin 'FEDERATED' is disabled.
130408  9:19:20  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:19:20  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:19:20 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:19:20 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:19:20 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:19:20 [ERROR] Aborting

130408  9:19:20 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:19:51 [Note] Plugin 'FEDERATED' is disabled.
130408  9:19:51  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:19:51  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:19:51 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:19:51 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:19:51 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:19:51 [ERROR] Aborting

130408  9:19:51 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:22:00 [Note] Plugin 'FEDERATED' is disabled.
130408  9:22:00  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:22:00  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:22:00 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:22:00 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:22:00 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:22:00 [ERROR] Aborting

130408  9:22:00 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:22:31 [Note] Plugin 'FEDERATED' is disabled.
130408  9:22:31  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:22:32  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:22:32 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:22:32 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:22:32 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:22:32 [ERROR] Aborting

130408  9:22:32 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:23:02 [Note] Plugin 'FEDERATED' is disabled.
130408  9:23:02  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:23:02  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:23:02 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:23:02 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:23:02 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:23:02 [ERROR] Aborting

130408  9:23:02 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:23:32 [Note] Plugin 'FEDERATED' is disabled.
130408  9:23:32  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:23:32  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:23:32 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:23:32 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:23:32 [Note] Event Scheduler: Loaded 0 events
130408  9:23:32 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130408  9:24:22 [Note] /usr/sbin/mysqld: Normal shutdown

130408  9:24:22 [Note] Event Scheduler: Purging the queue. 0 events
130408  9:24:24 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:24:24 [Note] Plugin 'FEDERATED' is disabled.
130408  9:24:24  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:24:24  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:24:24 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:24:24 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:24:24 [Note] Event Scheduler: Loaded 0 events
130408  9:24:24 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130408  9:25:33 [Note] /usr/sbin/mysqld: Normal shutdown

130408  9:25:33 [Note] Event Scheduler: Purging the queue. 0 events
130408  9:25:35 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:25:35 [Note] Plugin 'FEDERATED' is disabled.
130408  9:25:35  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:25:35  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:25:35 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:25:35 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:25:35 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:25:35 [ERROR] Aborting

130408  9:25:35 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:26:05 [Note] Plugin 'FEDERATED' is disabled.
130408  9:26:05  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:26:06  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:26:06 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:26:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:26:06 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:26:06 [ERROR] Aborting

130408  9:26:06 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:26:36 [Note] Plugin 'FEDERATED' is disabled.
130408  9:26:36  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:26:36  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:26:36 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:26:36 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:26:36 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:26:36 [ERROR] Aborting

130408  9:26:36 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:27:06 [Note] Plugin 'FEDERATED' is disabled.
130408  9:27:06  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:27:06  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:27:06 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:27:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:27:06 [ERROR] Unknown/unsupported table type: InnoDB
130408  9:27:06 [ERROR] Aborting

130408  9:27:06 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:27:53 [Note] Plugin 'FEDERATED' is disabled.
130408  9:27:53  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:27:53  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:27:53 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:27:53 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:27:53 [Note] Event Scheduler: Loaded 0 events
130408  9:27:53 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130408  9:58:26 [Note] /usr/sbin/mysqld: Normal shutdown

130408  9:58:26 [Note] Event Scheduler: Purging the queue. 0 events
130408  9:58:28 [Note] /usr/sbin/mysqld: Shutdown complete

130408  9:58:28 [Note] Plugin 'FEDERATED' is disabled.
130408  9:58:29  InnoDB: Initializing buffer pool, size = 512.0M
130408  9:58:29  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408  9:58:29 [ERROR] Plugin 'InnoDB' init function returned error.
130408  9:58:29 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408  9:58:29 [Note] Event Scheduler: Loaded 0 events
130408  9:58:29 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130408 10:26:02 [Note] /usr/sbin/mysqld: Normal shutdown

130408 10:26:02 [Note] Event Scheduler: Purging the queue. 0 events
130408 10:26:04 [Note] /usr/sbin/mysqld: Shutdown complete

130408 10:26:04 [Note] Plugin 'FEDERATED' is disabled.
130408 10:26:04  InnoDB: Initializing buffer pool, size = 512.0M
130408 10:26:04  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
130408 10:26:04 [ERROR] Plugin 'InnoDB' init function returned error.
130408 10:26:04 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130408 10:26:04 [Note] Event Scheduler: Loaded 0 events
130408 10:26:04 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130409  9:22:57 [Note] /usr/sbin/mysqld: Normal shutdown

130409  9:22:57 [Note] Event Scheduler: Purging the queue. 0 events
130409  9:22:57 [Note] /usr/sbin/mysqld: Shutdown complete

130409  9:22:57 [Note] Plugin 'FEDERATED' is disabled.
130409  9:22:57  InnoDB: Initializing buffer pool, size = 8.0M
130409  9:22:57  InnoDB: Completed initialization of buffer pool
130409  9:22:57  InnoDB: Started; log sequence number 1 1487827895
130409  9:22:57 [Note] Event Scheduler: Loaded 0 events
130409  9:22:57 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
130416 14:57:51 [Note] /usr/sbin/mysqld: Normal shutdown

130416 14:57:51 [Note] Event Scheduler: Purging the queue. 0 events
130416 14:58:01  InnoDB: Starting shutdown...
130416 14:58:07  InnoDB: Shutdown completed; log sequence number 1 2052152270
130416 14:58:07 [Note] /usr/sbin/mysqld: Shutdown complete

130416 14:58:08 [Note] Plugin 'FEDERATED' is disabled.
130416 14:58:08  InnoDB: Initializing buffer pool, size = 8.0M
130416 14:58:08  InnoDB: Completed initialization of buffer pool
130416 14:58:08  InnoDB: Started; log sequence number 1 2052152270
130416 14:58:08 [Note] Event Scheduler: Loaded 0 events
130416 14:58:08 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.67-0ubuntu0.10.04.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
Mołot’s picture

[ERROR] Plugin 'InnoDB' init function returned error.

Talk to your sysadmin. You have some instability at the very basic level, storage engine abstraction layer it seems. As long as your InnoDB fails and starts, your server is to busy keeping itself up to do any significant job for you. Either fix InnoDB or (worst case) get rid of it.

And sorry, but no, error log is not enough. You need to properly configure this: http://dev.mysql.com/doc/refman/5.5/en/slow-query-log.html (simply substitute 5.5 with your mysql version if needed). Without actual SELECT ... FROM ... and so on we are blind. You simply need to get it, either from MySQL end or Drupal end, your choice.

Mołot’s picture

Quick'n'Dirty:

  1. Go to phpmyadmin or any other mysql admin tool
  2. Backup node table
  3. Truncate node
  4. Go to your Drupal->views->offending_view and give us that damn query
  5. Restore nodes from backup made at point 2
mustanggb’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)