Exp/imp use

Source: Internet
Author: User

[SQL]View Plaincopy
  1. 1. EXP:
  2. 1. Complete:
  3. EXP System/manager buffer=64000 file=c:\full. DMP full=y
  4. If you want to perform a full export, you must have special permissions
  5. 2. User mode:
  6. EXP sonic/sonic buffer=64000 file=c:\sonic. DMP Owner=sonic
  7. This allows all objects that the user sonic to be exported to a file.
  8. 3. Table mode:
  9. EXP sonic/sonic buffer=64000 file=c:\sonic. DMP owner=sonic tables= (SONIC)
  10. This way the user Sonic table Sonic is exported
  11. Exp parameter:
  12. Keyword description (default)
  13. ———————————————-
  14. UserID username/Password
  15. full export of the entire file (N)
  16. Size of buffer data buffers
  17. Owner User Name list
  18. File output files (expdat. DMP)
  19. List of TABLES table names
  20. COMPRESS Importing a range (Y)
  21. Length of RecordLength IO record
  22. GRANTS Export Permissions (Y)
  23. Inctype Incremental Export Type
  24. INDEXES Export Index (Y)
  25. RECORD Tracking Incremental Export (Y)
  26. Rows Export Data rows (Y)
  27. Parfile parameter file name
  28. CONSTRAINTS Export Limit (Y)
  29. Consistent cross-table consistency
  30. Log file on screen output
  31. STATISTICS Analysis Object (ESTIMATE)
  32. Direct Path (N)
  33. TRIGGERS Export Trigger (Y)
  34. FEEDBACK shows the progress of each x line (0)
  35. FILESIZE maximum size of each dump file
  36. QUERY selects the clause that exports a subset of tables
  37. 2. IMP:
  38. Three modes (full, user, table)
  39. 1. Complete:
  40. IMP System/manager buffer=64000 file=c:\full. DMP full=y
  41. 2. User mode:
  42. IMP sonic/sonic buffer=64000 file=c:\sonic. DMP Fromuser=sonic Touser=sonic
  43. This allows all objects sonic by the user to be imported into the file. You must specify the Fromuser, touser parameter so that data can be imported.
  44. 3. Table mode:
  45. EXP sonic/sonic buffer=64000 file=c:\sonic. DMP owner=sonic tables= (SONIC)
  46. This way the user Sonic table Sonic is imported.
  47. Imp Parameters:
  48. Keyword description (default)
  49. ———————————————-
  50. UserID username/Password
  51. full import of entire file (N)
  52. Buffer size of data buffers
  53. Fromuser Owner User Name list
  54. File input files (expdat. DMP)
  55. Touser List of user names
  56. SHOW only lists file contents (N)
  57. List of TABLES table names
  58. IGNORE Ignore Create error (N)
  59. Length of RecordLength IO record
  60. GRANTS Import Permissions (Y)
  61. Inctype Incremental Import Type
  62. INDEXES Import Index (Y)
  63. Commit Commit array Insert (N)
  64. Rows Import data rows (Y)
  65. Parfile parameter file name
  66. Log file on screen output
  67. CONSTRAINTS Import Limit (Y)
  68. DESTROY Overlay tablespace data file (N)
  69. Indexfile Writing table/index information to the specified file
  70. Skip_unusable_indexes Skip maintenance of indexes that are not available (N)
  71. ANALYZE executing the ANALYZE statement in the dump file (Y)
  72. FEEDBACK shows the progress of each x line (0)
  73. Toid_novalidate skips a checksum of the specified type ID
  74. FILESIZE maximum size of each dump file
  75. Recalculate_statistics recalculation of statistical values (N)

Exp/imp use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.