473,378 Members | 1,309 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

sql*loader - partitions - domain index

Hi,

I have a range partitioned (one partition = one month) table. On this
table I have a local unique index and a local domain index (Oracle
Text) on a CLOB column.

I'm running Oracle 9.2.0.1.0

CREATE TABLE PAGES_4M (
LOADDATE NUMBER(8) NOT NULL,
APPLID VARCHAR2(20) NOT NULL,
FILEID NUMBER(5) NOT NULL,
PAGEID NUMBER(8) NOT NULL,
PAGE CLOB NOT NULL,
FORMAT VARCHAR2(10)
)
LOB("PAGE") STORE AS (TABLESPACE "DATA")
PARTITION BY RANGE (LOADDATE)
(
PARTITION PAGES_4M_P1 VALUES LESS THAN (20030701),
PARTITION PAGES_4M_P2 VALUES LESS THAN (20030801),
PARTITION PAGES_4M_P3 VALUES LESS THAN (20030901),
PARTITION PAGES_4M_P4 VALUES LESS THAN (20031001),
PARTITION PAGES_4M_CURRENT VALUES LESS THAN (20031101),
PARTITION PAGES_4M_HIGHVAL VALUES LESS THAN (MAXVALUE)
);

CREATE index fulltext_4M_idx on PAGES_4M(PAGE)
INDEXTYPE is ctxsys.context
LOCAL
PARAMETERS ('FORMAT COLUMN FORMAT
LEXER PREF_LEXER_EDAS
WORDLIST PREF_WORDLIST_EDAS
STORAGE CTXSYS.DEFAULT_STORAGE
STOPLIST STOPLIST_BASIC_EDAS
MEMORY 35M');

CREATE UNIQUE INDEX PAGES_4M_IDX ON PAGES_4M(LOADDATE, APPLID, FILEID,
PAGEID) LOCAL COMPRESS;
I do have to load a significant amount of data every day into one
partition.
(using the partition parameter in sql*loader).

Using the conventional path and updating the domain index whilst
loading works but is extremely slow.

I tried to mark the index partition unusable and use the option
skip_unusable_indexes=true in sql*loader. The idea was to recreate
the index afterwards using the dbms_pclxutil package (true
paralellism).

Unfortunatly I receive a ORA-29954 : Domain index is marked unusable.

Is there a way around this ?
Another idea was to speed up the upload using direct path and keeping
the domain index usable.

OPTIONS (DIRECT=TRUE)
Load Data
INFILE 'EXTRBPO.1.pages'
BADFILE 'EXTRBPO.1.pages.bad'
DISCARDFILE 'EXTRBPO.1.pages.discard'
APPEND INTO TABLE PAGES_4M
Partition (PAGES_4M_CURRENT)
FIELDS TERMINATED BY ";"
(LOADDATE CONSTANT "20031006",
APPLID CHAR(20),
FILEID CHAR(5),
PAGEID CHAR(8),
PAGE CHAR(20000) ENCLOSED BY "<CLOB>",
FORMAT CONSTANT "IGNORE")

This time I received a SQL*Loader-926 : OCI-error as well as a
ORA-26090 : row incomplete.

Has anyone a idea how to solve this ?

Thanks a lot
Jul 19 '05 #1
0 4270

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bo Brunsgaard | last post by:
I have a problem trying to run SQL*Loader after migrating to Oracle 9. It used to run with no hicups on Oracle 8i, and I'm at my wits' end. Any help? I'm trying to run SQL*Loader from a command...
6
by: Hari Om | last post by:
Here are the details of my error log files: I execute the command and get following message at console: ---------------------------------------------------------------------- ../sqlldr...
2
by: Kiran Dalvi | last post by:
Hi, Can anybody throw light on 'SQL Loader' ? I want to use it for "Bulk Updates of data into ORACLE Database". Thanks, Kiran
0
by: gaikwadrachit | last post by:
Hi We are uploading a picture image(jpg) as a BLOB in a table using SQL Loader. We are parallely uploading the images at the same time from 2 different sessions on the server. The command for...
5
by: vshalpatel | last post by:
Hi I want to use SQL*Loader , an Oracle-supplied utility to load data from a flat file into one database tables. for this I have write the scripts in the SQL*LOADER control file named ...
1
by: mitsvicious | last post by:
Hello again, I am having a problem to import data in my tables with SQL loader. I have made the following control file with textpad and saved it in UNIX format as a *. txt file which I named...
0
by: stef | last post by:
Hi, I have a range partitioned (one partition = one month) table. On this table I have a local unique index and a local domain index (Oracle Text) on a CLOB column. I'm running Oracle...
4
by: E11esar | last post by:
Hello there. I'm having several issues with regards to loading data into an Oracle database. I am developing in ASP.Net with C# and the source data is in a CSV file. What I am looking for is to...
4
by: eeriehunk | last post by:
Hi All, Can anyone kindly give me an approach to use a variable in a sql loader ctl file. I am trying to add the value before each insert of row and this value is the file name. So the question is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.