I want not only the "Create a table" instructions, but also the "Insert". What flags should I pass to mysqldump?
In addition, the database is relatively large (2-2.5G). Obviously, I want the backup to be as fast as possible. Any flags that might help?
thank
The command mysqldumpreturns the default data. A simple output mysqldump dbname > dumpwill result in a dump with the schema and data.
mysqldump
mysqldump dbname > dump
, --opt, , , , . --quick ( --opt) - , . --quick , .
--opt
, :
mysqldump --opt dbname | gzip - > dump
.
, , , .
mysqldump [options] [db_name [tbl_name ...]]
,
--compact
--quick
, , man mysqldump.
man mysqldump
mysqldump, , ( , , ..)
mysqldump --help - , .
mysqldump --help
, , , ( ..). )
Source: https://habr.com/ru/post/1756514/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1756509/is-it-possible-to-move-from-aspnet-validators-to-jquery-validators&usg=ALkJrhhxaGw8iok8XscztYFg8OHgFTxHhQStyling Multistage Form - cssHelp with jQuery UI auto-complete with the ability to delete - jquery-uiHow to make a request "is uid X participating in event Y" - asp.netglobalCompositeOperation - javascriptJ2EE Struts, Spring and the Hibernate Framework issue - javaHow to add a column to a query result when a query contains an aggregate function? - sqlRegex find-and-replace in vim: adding .0 to numbers - vimNeed to order by properties in the reference property, any good solution? - joinКак создать java-программу для компиляции и запуска списка java-программ - javaAll Articles