Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2010 at 13:29 UTC
Updated:
14 Aug 2014 at 08:42 UTC
Jump to comment: Most recent
Comments
Comment #1
mnicholas commentedBy non-SQL I mean any data that never has a proper SQL query run on it.
Comment #2
damien tournoud commentedCan you clarify what you mean by "Move persistent variables to database system"?
Comment #3
int commenteddrupal use the variables database table to save persistent variables.
Comment #4
mnicholas commentedCurrently (Drupal 7) routines shuch as: variable_get() and variable_set() are in bootstrap.inc. If they were moved into:
/includes/database/*/persistent.inc for example; then one could then make hay with optimisations, some of which I've set out above.
Similar possibilities exist for cached data - currently also stored in a database table, I believe. A memcached driver might be a candidate here. Call it the "Cache Abstraction Layer" if you like.
I wonder if cacheing improves performance with all the database implementations (Can this be easily be tested?)? If not, then there is another reason to shuffle these into the database layer.
Comment #5
pasquallethis problem is fixed in D8, see #2183531: The variable_get/set/del API is now removed