Loading Data into a Database

Loading Data Several methods are available for loading data into tables in an Oracle database. Of the methods available Direct-Load insert and SQL*Loader are discussed here. SQL*Loader SQL*Loader loads data from external files into tables of an Oracle database. It has a powerful data parsing engine that puts little limitation on the format of the data in the datafile. Direct-Load insert Direct-load insert can be used to copy data from one table to another table within the same database. It speeds up the insert operation, bypassing the buffer cache and writing data directly into the datafiles | Loading Data into a Database Objectives After completing this lesson you should be able to do the following: Demonstrate usage of direct-load insert operations Describe the usage of SQL*Loader Perform basic SQL*Loader operations List guidelines for using SQL*Loader and direct-load INSERT Data Loading Methods SQL*Loader Other applications Export Import Direct-load INSERT Oracle database Oracle database Loading Data Several methods are available for loading data into tables in an Oracle database. Of the methods available Direct-Load insert and SQL*Loader are discussed here. SQL*Loader SQL*Loader loads data from external files into tables of an Oracle database. It has a powerful data parsing engine that puts little limitation on the format of the data in the datafile. Direct-Load insert Direct-load insert can be used to copy data from one table to another table within the same database. It speeds up the insert operation, bypassing the buffer cache and writing data directly into the . | Loading Data into a Database Objectives After completing this lesson you should be able to do the following: Demonstrate usage of direct-load insert operations Describe the usage of SQL*Loader Perform basic SQL*Loader operations List guidelines for using SQL*Loader and direct-load INSERT Data Loading Methods SQL*Loader Other applications Export Import Direct-load INSERT Oracle database Oracle database Loading Data Several methods are available for loading data into tables in an Oracle database. Of the methods available Direct-Load insert and SQL*Loader are discussed here. SQL*Loader SQL*Loader loads data from external files into tables of an Oracle database. It has a powerful data parsing engine that puts little limitation on the format of the data in the datafile. Direct-Load insert Direct-load insert can be used to copy data from one table to another table within the same database. It speeds up the insert operation, bypassing the buffer cache and writing data directly into the datafiles. Direct-Load INSERT Direct-load INSERT can be performed in the following ways: Normal (serially) or in parallel Into partitioned tables, nonpartitioned tables, or single partitions of a table With or without logging of redo data Direct-Load INSERT Direct-load INSERT (serial or parallel) can only support the INSERT . SELECT syntax of an INSERT statement, not the INSERT . values syntax. The parallelism for INSERT . SELECT is determined from either parallel hints or parallel table definition. Oracle9i provides syntax extensions that extend the scope of the INSERT . SELECT statement, so that you can insert rows into multiple tables as part of a single DML statement. A direct-load INSERT can be invoked by using the APPEND hint, as shown in the command below: INSERT /*+APPEND */ INTO [ schema. ] table [ [NO]LOGGING ] sub-query; where: Schema is the owner of the table Table is the name of the table Sub-query is the sub-query used to select the columns and rows for insert .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
158    382    2    20-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.