![]() |
Hello All-
I noticed that my host recently updated their version of phpMyAdmin. Within Export, I see that there is now a new dropdown under the Data section named "Export Type". I assume the default was always set to "Insert", but having a better understanding what each one, "Insert", "Update", and "Replace", does would be very helpful. Would someone please explain to me what each of these options does? Also, when backing up my tables, I always used the option under the Data section "Extended Inserts". What is the difference between the options there: "Complete Inserts", "Extended Inserts", and now "Use Delayed Inserts"? I have attached a snapshot as to what I am looking at here... Many thanks! :) -SlickVic78 |
Click the doc. link to find out. lol
http://127.0.0.1/mysql/Documentation.html#faqexport ;) [6.12] I want to understand some Export options. "Complete inserts" adds the column names on every INSERT command, for better documentation (but resulting file is bigger). "Extended inserts" provides a shorter dump file by using only once the INSERT verb and the table name. "Enclose table and field names with backquotes" ensures that field and table names formed with special characters are protected. "Add AUTO_INCREMENT value" ensures, that AUTO_INCREMENT value (if any) will be included in backup. "Add into comments" includes column comments, relations and MIME types set in the PMA-DB in the dump as SQL comments (/* xxx */). That should answer your question. |
Hey war59312,
Thanks for this info... This partially answers my second question in my previous post... What about "Use Delayed Inserts"? Anyone have any info on the first part of my previous post? Much thanks! :) -SlicKVic78 |
:)
Quote:
/JD |
JacKDynne,
That helps out ALOT! A Delayed Insert can be useful if you have a very busy site where users are accessing the tables frequently... I guess as soon as no tables are being accessed within the DB, that is when the process kicks off to insert/update/replace the information within the specified tables. But the flaw is if MySQL gets killed in the process of the update, you lose that data that was not yet placed within the DB. Makes sense! :) Thanks for the help. I pretty much assume I now know the roles of "Insert", "Update", and "Replace". Insert - places infomation specifies within a new row within a table Update - checks to see if rows are identicle, if not update the row with the new info Replace - replace a row with new info If I am wrong, someone please correct me. Again, thanks for all your help in helping me understand all this DB jargon! :) -SlickVic78 |
:thumbsup:
/JD |
All times are GMT +1. The time now is 11:59 AM. |
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.