Magento 2. Declarative schema. What is the use of the memory engine?Magento 2: How to Read From Configuration TreeRetrieving size attribute text via MySQL in Magento 2Where do we store persistent single variables in Magento 2 (module settings)?How to set default value in config.xml file for tables in Magento2 backend system configurationMagento 2 What are the Custom Attributes Node when Creating a new Product Type?Magento 2.3 : How to create product attribute via declarative schemaDrop column on declarative schema not working as expectedDeclarative schema approach to make customer's lastname optionalMigrate to declarative schemaDeclarative schema: Incorrect Foreign Key Diff
Where Mongol herds graze
Winning Strategy for the Magician and his Apprentice
How to construct an hbox with negative height?
What is the `some` keyword in SwiftUI?
How can "научись" mean "take it and keep trying"?
How can electric fields be used to detect cracks in metals?
Confusion around using "des" in sentences
Do simulator games use a realistic trajectory to get into orbit?
Frame failure sudden death?
What language is software running on the ISS written in?
SQL counting distinct over partition
Why didn't Voldemort recognize that Dumbledore was affected by his curse?
What is the highest possible temporary AC at level 1, without any help from others?
Compiling C files on Ubuntu and using the executable on Windows
Why was the Sega Genesis marketed as a 16-bit console?
This riddle is not to see but to solve
How to handle self harm scars on the arm in work environment?
System.StringException: Unexpected end of expression
Fixing obscure 8080 emulator bug?
Overlapping String-Blocks
How come the nude protesters were not arrested?
How to signal to my players that the following part is supposed to be played on fast forward?
Should an arbiter claim draw at a K+R vs K+R endgame?
How can I tell the difference between unmarked sugar and stevia?
Magento 2. Declarative schema. What is the use of the memory engine?
Magento 2: How to Read From Configuration TreeRetrieving size attribute text via MySQL in Magento 2Where do we store persistent single variables in Magento 2 (module settings)?How to set default value in config.xml file for tables in Magento2 backend system configurationMagento 2 What are the Custom Attributes Node when Creating a new Product Type?Magento 2.3 : How to create product attribute via declarative schemaDrop column on declarative schema not working as expectedDeclarative schema approach to make customer's lastname optionalMigrate to declarative schemaDeclarative schema: Incorrect Foreign Key Diff
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When creating tables using the Declarative Schema one can set the engine="" attribute value as memory.
I can't seem to find an example in the core. What is a use-case for this configuration, how does it behave and how you retrieve|store values in|from such a table?
Reference M2 Dev Docs
magento2 configuration table declarative-schema
add a comment |
When creating tables using the Declarative Schema one can set the engine="" attribute value as memory.
I can't seem to find an example in the core. What is a use-case for this configuration, how does it behave and how you retrieve|store values in|from such a table?
Reference M2 Dev Docs
magento2 configuration table declarative-schema
add a comment |
When creating tables using the Declarative Schema one can set the engine="" attribute value as memory.
I can't seem to find an example in the core. What is a use-case for this configuration, how does it behave and how you retrieve|store values in|from such a table?
Reference M2 Dev Docs
magento2 configuration table declarative-schema
When creating tables using the Declarative Schema one can set the engine="" attribute value as memory.
I can't seem to find an example in the core. What is a use-case for this configuration, how does it behave and how you retrieve|store values in|from such a table?
Reference M2 Dev Docs
magento2 configuration table declarative-schema
magento2 configuration table declarative-schema
asked May 30 at 7:59
vitoriodachefvitoriodachef
1,297424
1,297424
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Currently Magento2 uses InnoDb engine but this configuration for Memory engine if you want to configure it.
in core all most of tmp table created with memory engine:
catalog_product_index_price_opt_tmp
catalog_product_index_price_final_tmp
catalog_product_index_price_cfg_opt_agr_tmp
catalog_product_index_price_cfg_opt_tmp
catalog_product_index_price_opt_agr_tmp
catalog_product_index_eav_tmp
catalog_product_index_eav_decimal_tmp
catalog_product_index_price_tmp
cataloginventory_stock_status_tmp
and some more tables....
for more please see
https://dev.mysql.com/doc/refman/8.0/en/memory-storage-engine.html
So basically this tables are some sort of flash tables?
– vitoriodachef
yesterday
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f276694%2fmagento-2-declarative-schema-what-is-the-use-of-the-memory-engine%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Currently Magento2 uses InnoDb engine but this configuration for Memory engine if you want to configure it.
in core all most of tmp table created with memory engine:
catalog_product_index_price_opt_tmp
catalog_product_index_price_final_tmp
catalog_product_index_price_cfg_opt_agr_tmp
catalog_product_index_price_cfg_opt_tmp
catalog_product_index_price_opt_agr_tmp
catalog_product_index_eav_tmp
catalog_product_index_eav_decimal_tmp
catalog_product_index_price_tmp
cataloginventory_stock_status_tmp
and some more tables....
for more please see
https://dev.mysql.com/doc/refman/8.0/en/memory-storage-engine.html
So basically this tables are some sort of flash tables?
– vitoriodachef
yesterday
add a comment |
Currently Magento2 uses InnoDb engine but this configuration for Memory engine if you want to configure it.
in core all most of tmp table created with memory engine:
catalog_product_index_price_opt_tmp
catalog_product_index_price_final_tmp
catalog_product_index_price_cfg_opt_agr_tmp
catalog_product_index_price_cfg_opt_tmp
catalog_product_index_price_opt_agr_tmp
catalog_product_index_eav_tmp
catalog_product_index_eav_decimal_tmp
catalog_product_index_price_tmp
cataloginventory_stock_status_tmp
and some more tables....
for more please see
https://dev.mysql.com/doc/refman/8.0/en/memory-storage-engine.html
So basically this tables are some sort of flash tables?
– vitoriodachef
yesterday
add a comment |
Currently Magento2 uses InnoDb engine but this configuration for Memory engine if you want to configure it.
in core all most of tmp table created with memory engine:
catalog_product_index_price_opt_tmp
catalog_product_index_price_final_tmp
catalog_product_index_price_cfg_opt_agr_tmp
catalog_product_index_price_cfg_opt_tmp
catalog_product_index_price_opt_agr_tmp
catalog_product_index_eav_tmp
catalog_product_index_eav_decimal_tmp
catalog_product_index_price_tmp
cataloginventory_stock_status_tmp
and some more tables....
for more please see
https://dev.mysql.com/doc/refman/8.0/en/memory-storage-engine.html
Currently Magento2 uses InnoDb engine but this configuration for Memory engine if you want to configure it.
in core all most of tmp table created with memory engine:
catalog_product_index_price_opt_tmp
catalog_product_index_price_final_tmp
catalog_product_index_price_cfg_opt_agr_tmp
catalog_product_index_price_cfg_opt_tmp
catalog_product_index_price_opt_agr_tmp
catalog_product_index_eav_tmp
catalog_product_index_eav_decimal_tmp
catalog_product_index_price_tmp
cataloginventory_stock_status_tmp
and some more tables....
for more please see
https://dev.mysql.com/doc/refman/8.0/en/memory-storage-engine.html
edited May 30 at 8:41
answered May 30 at 8:17
Rutvee SojitraRutvee Sojitra
2,1151321
2,1151321
So basically this tables are some sort of flash tables?
– vitoriodachef
yesterday
add a comment |
So basically this tables are some sort of flash tables?
– vitoriodachef
yesterday
So basically this tables are some sort of flash tables?
– vitoriodachef
yesterday
So basically this tables are some sort of flash tables?
– vitoriodachef
yesterday
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f276694%2fmagento-2-declarative-schema-what-is-the-use-of-the-memory-engine%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown