Oracle XE text problem

I have a XE Database 11.2 under Windows, with Oracle 11.2.0.2.0 text, all verified object, which has an import Application Apex that was exported form Oracle 10 without problem.

I used the data pump to fill the underlying tables of the demand, which was also successful, but need to re-create full-text indexes in the instance target of 11.2.

I used ctx_report.create_index_script to create the 4 that I needed, without issue.

When the first script on the instance running target while running OK except for the section "create index", and I can't seem to work around the problem.

The part of the script that fails is

creating index 'SCHEMA_OWNER '. "" A_INDEX1 ".

on "SCHEMA_OWNER". » A »

('A1')

indexType is ctxsys.context

parameters (')

data store "A_INDEX1_DST".

filter "A_INDEX1_FIL".

Group of the section "A_INDEX1_SGP".

lexer "A_INDEX1_LEX."

list of words "A_INDEX1_WDL".

stoplist 'A_INDEX1_SPL '.

storage "A_INDEX1_STO."

')

/

Which returns the following errors

ERROR on line 1:

ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE

ORA-20000: Oracle text error:

DRG-50857: error oracle in drvxtab.create_index_tables

ORA-00905: lack of keyword

ORA-06512: at "CTXSYS. DRUE", line 160

ORA-06512: at "CTXSYS. TEXTINDEXMETHODS', line 366

Can anyone help point me in the right direction, a little crazy.

I have now managed to solve this problem, and kevinUBC is right, the error was in the storage clause.  The problem was caused by the rupture in 3rd line of the storage clause to the semi colon ^^.

Start
ctx_ddl.create_preference ('"A_INDEX1_STO" ', 'BASIC_STORAGE');
ctx_ddl.set_attribute (' 'A_INDEX1_STO"', 'R_TABLE_CLAUSE',' lob (data) store (cache) ');

ctx_ddl.set_attribute ('"A_INDEX1_STO" ', 'I_INDEX_CLAUSE', 'compress 2')

;

end;

I dropped the clause storage with ctx_ddl.drop_preference and recreated with the semi colon at the right place, the index created then no problem

Thank you all

Tags: Database

Similar Questions

  • Connection of 11.2 g (@Win2008 Srv R2) of Oracle to the problem of the AS400

    Hi all

    After migration from 10g to 11g (11.2) and Windows Server 2003 to Windows 2008 R2
    We are unable to connect to AS400 database using Oracle HS.
    I tried everything except suicide. Maybe help you.

    What we did:

    Created ODBC (DSN) connections in two versions:
    AS400_32 32-bit tool
    AS400_64 using 64-bit tool

    connections are copies of connection from another server where it works...

    Excel using AS400_32 (the other is not visible), we can connect to AS400 and get data...

    in \hs\admin\initAS400_32.ora < ORA_HOME >

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = AS400_32
    HS_FDS_TRACE_LEVEL = 4

    in \hs\admin\initAS400_64.ora < ORA_HOME >

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = AS400_64
    HS_FDS_TRACE_LEVEL = 4


    in \network\admin\listener.ora < ORA_HOME >

    listener.ora # Network Configuration file: C:\oracle\product\11.2.0\dbhome_2_64bit\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (= Extproc PROGRAM)
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_2_64bit)
    )
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = AS400_32)
    (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_2_64bit)
    )
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = AS400_64)
    (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_2_64bit)
    )
    (SID_DESC =
    (SID_NAME = KDPROD)
    (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_2_64bit)
    (SERVICE_NAME = KDPROD)
    )
    (SID_DESC =
    (SID_NAME = KDMIGRATE)
    (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_2_64bit)
    (SERVICE_NAME = KDMIGRATE)
    )
    )


    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdlabV2011) (PORT = 1521))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = C:\oracle


    in tnsnames:

    AS400_32 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdlabV2011) (PORT = 1521))
    (CONNECT_DATA =
    (SID = AS400_32)
    )
    (HS = OK)
    )

    AS400_64 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdlabV2011) (PORT = 1521))
    (CONNECT_DATA =
    (SID = AS400_64)
    )
    (HS = OK)
    )



    tnsping returns for both connections

    creation of database of link:

    CREATE DATABASE LINK AS400_32 CONNECT TO 'xxxxx' IDENTIFIED BY 'xxxxx' USING 'AS400_32 '.
    CREATE DATABASE LINK AS400_64 CONNECT TO 'xxxxx' IDENTIFIED BY 'xxxxx' USING 'AS400_64 '.


    test:

    Select * from tab002@as400_32
    Select * from tab002@as400_64


    in both cases the result is the same:

    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of AS400_32
    28545 0000 - 'error diagnosed by Net8 when connecting to an agent.
    * Cause: An attempt to call an external procedure or publish SQL
    to a system non-Oracle on a heterogeneous Services database link
    Failure initializing the connection. The error diagnosed
    by NCR Net8 software is reported separately.
    * Action: See the Net8 NCRO error message.  If this is not clear,
    Check the administrative connection in tnsnames.ora
    and listener.ora for the associated service to the
    Heterogeneous Services database link used, or with
    "extproc_connection_data" for an external procedure call.
    Error on line: column 9:21


    Any ideas (I've already lost hope)
    Marcin

    Marcin,
    The problem is that you always use the executable "hsodbc' in the listener.ora but in 11.2, that it has been replaced by the database for ODBC (DG4ODBC) gateway that uses the executable"dg4odbc.
    Also, if your Windows 2008 R2 64-bit so you need drivers ODBC 64-bit.

    Take a look at these 2 notes in My Oracle Support-

    Note.466225.1 How to Setup DG4ODBC (database gateway for ODBC Oracle) on 32-bit Windows
    Note.1266572.1 How to Setup DG4ODBC (gateway for ODBC Oracle database) on 64-bit Windows operating systems

    Kind regards
    Mike

  • IPhone-Android text problem

    I had a problem when a group of friends sends SMS and I do not get them from one of the individuals in the group. This group consists of 3 iPhones and Android 1. I know issues when people spend to have an iPhone and then go to an Android but forget to take of iMessage, but it is not part of the case. We all had the same type (iPhone and Androids) for a very long time who have nobody in this group never cross the line and changing. This question has been which is rampant in us for a long time.

    User - iPhone

    User B - iPhone

    User C - iPhone

    User D - Android

    User A sends the text that everyone always sees.

    User B replies, everyone sees

    User C responds, everyone EXCEPT the user sees A

    User D answers, everyone sees

    The user responds, everyone sees

    The user never sees any response user D sends. The user has, B, and C can send each other text without any problem in a group of different text (removing D user) and all is well. The user A and user D can text each other and all is well. User A has other groups text mixed with iPhones and androids that causes no problems. any help is greatly appreciated.

    A group that contains a non - iOS device is a MMS. It has nothing to do with iMessage. A multimedia Message, as an SMS is a function of carrier. There are no settings for SMS on the iPhone, but there is a setting for MMS messaging and Group Messaging. These two must be on for these to work. If the user does not receive messages from the user D, then the user must check with the carrier so that they have a SMS/MMS profile on their account, based on the description you provide.

  • Since updates, firefox has text problems

    I installed a number of updates on my laptop yesterday and since the text on several sites Web was displayed in a different font, often fuzzy and wide leg up or down. These changes have also passed in Google Chrome, but not in Internet Explorer, so I don't know what is the cause. I tried to add screenshots, but they charge, sorry about that.

    Internet Hi, this is probably caused by kb3013455 update from microsoft that can cause problems of rendering fonts on vista:

    After you have installed the 3013455 security update, you may notice a degradation in quality of text in some scenarios. The problem occurs only on systems running Windows Vista SP2 or Windows Server 2003 SP2. Microsoft is researching this problem and will post more information in this article when the information becomes available.

    Reference: https://support.microsoft.com/kb/3013455

    an option may be to tackle this particular update for now until there is a fix from microsoft or you could also look at if there is a graphics driver update available on the Web site of the seller (intel/amd/nvidia) which could also be solved this problem in some cases.

  • Is Skype still in version beta? Group &amp; chat text problems

    If problems occur constantly in chat and call and its starts really to annoy me that I can't get the old version of Skype, because it will be updated Automatic after a deadline independently releasing updated Automatic or not and not only that, the calls are incompatible with the old version of Skype if people have a more recent version.

    Problems of text chat:
    Text merger
    End text (after sending a message messages from friends will be begin to appear above you)
    Alert constant notification (alert orange tray task bar notification)

    Call problems:
    Main problem is that, after the addition of a person to the conversation, you have to restart the Group and re appeal because the person that gets added will never be seen or will not be able to hear someone else.

    Honestly think hosting a server teamspeak, because these constant updates which are highlighted are trash, instead of updating the UI, maybe try to make your program stable for people to use.

    MOD edit: [title to be more descriptive]

    Update your Skype to the currently latest version 7.18.X.103 .

    http://www.Skype.com/en/download-Skype/

  • Read text problem and precision

    Hi all

    I have a problem in reading the text. I tried to open the file with "reading worksheet file. VI. I think that there is a problem in the format and precision. But I can't draw the graphs correctly. I have the text file that I have attached the first column is the x-axis and I love to draw the other 6 columns to that.

    Please help open this file so that I can see all the graphs.

    Thank you

    Bala

    The file looks like perfectly suited for "reading spreadsheet file. How you have configured this VI?

    Be sure to read data from precision DBL and use the TAB as the separator.

    Probably you need data transposed for the way you try to draw it?

    You can post your VI?

    EDIT: or the zeros at the end of the file are probably causing problems in your tracing code.

  • Graphics refresh rate and the writing of text problem - error 5

    Hi guys,.

    I'm new to labview and have encountered some problems when I try to write to the file.  I use USB-6259 with Labview 2009 to acquire a number of channels I want to analyze later in MATLAB, all at the same time providing some limited analysis in real time.  The experience is to use lasers to calculate the position of a rotating cylinder.  I wrote a quick vi using the DAQ assistant to acquire channels and provide a polar diagrams showing the counterclockwise movement as it turns what is ideal.  The problem is that, because the cylinder rotates at up to 6 Hz, graphical needs updated very quickly I realized by using a buffer size lower compared to the sampling freq (sampling freq between 5 k and 10 k, buffer around 200).  This does not seem the best solution.  Also, when I try to write in the text, the following error is displayed after a few seconds:

    Error 5 has occurred writing to measure file-> Displacement_Rig.vi, or the possible reasons:

    LabVIEW: File already open.
    =========================
    NOR-488: Command requires GPIB controller system controller.

    Can someone point me in the right direction?  I tried to create a loop of producer/consumer, but I'm not convinced that it works with my limited expertise.  I attatched my vi, although I warn you, I'm new to labview...

    See you soon

    Hello Ipaza,

    I watched your VI and found that there are has some problems in the architecture of your consumer producer loops.

    You can get a pre built loop producer consumer using the templates on the start screen.

    I copied the majority of your code in such a model. Could you test this and let me know if this solves some of the question.

    With regrads,.

  • Image of WordPad and text problem

    I have been using Microsoft Wordpad to write and today added a photo showing a table of text so I could type upwards at a later date.  I recorded it, but on a usb stick, and when I opened the paper tonight found the pages after the image had gone!  Is it possible to get this back?

    Hello

    Since you are facing similar problems on the other computer to open this file, it seems that the file has been damaged. However, you can try the search in the Web site for the recovery software which may help in the recovery of the file. You can use one of your favorite search engines to do so.

    Warning: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • TEXT PROBLEM

    my text continues to move at the time of seizure, if the use of e-mail

    or in a new document.

    She will share the word I am typing and place it in the middle of. or add

    for other text already wrote to the top or the bottom of the page.

    I would be very grateful thank you for any advice on this frustrating

    problem.

    Janis h.-m.

    If you are using a portable computer, make sure that you do not hit the mouse pad while typing.  I would also check for (www.microsoft.com/security_essentials/) viruses and malware (www.malwarebytes.org).  Both are free.

    Steve

  • For the CASE of the Oracle SQL statement problem

    Follwing query run without any problem in oracle 12 c.

    SELECT

       BOX to_number (sysdate ' on()

             WHEN 6 THEN to_char(sysdate,'ww')+1

             WHEN 2 THEN to_char(sysdate,'ww')+1 

             ELSE to_char(sysdate,'ww')+ 1 END 

             FROM dual

    But the request fails below. Only change is WHEN 6 THEN to_char (sysdate 'ww') + 2

    SELECT

       BOX to_number (sysdate ' on()

             WHEN 6 THEN to_char(sysdate,'ww')+2

             WHEN 2 THEN to_char(sysdate,'ww')+1 

             ELSE to_char(sysdate,'ww')+ 1 END 

             FROM dual


    Data fault is ORA-01722 invalid number

    Hello

    Try below.

    SELECT

    CASE to_number (to_char(sysdate,'D'))

    WHEN 6 THEN to_char (sysdate, "ww") + 2

    WHEN 2 THEN to_char (sysdate, "ww") + 1

    END of ANOTHER to_char (sysdate, "ww") + 1

    OF the double

  • Oracle and ODBC problem

    I'm in the following situation, I use a commercial software that connects as a client to a server Oracle 11 g for the ODBC protocol (works 24/7). I did not administer the database and what happens, is that when the administrator stops the database with the command "stop immediately", the journal of software code get code oracle ORA-3114 not connected to Oracle. This is normal, because the instance of the business application was canceled, the problem is that when the database is started, the code 'ORA-3114 not connected to Oracle' is still there, so I'm still without a connection to the db.

    For what is this:

    1 - What is the DBA has a way (code or configuration) to restart my instance? or avoid this situation?

    2 - I I don't know the reason for the power outages in the comics (maybe is necessary), but in the company, the environment is a bad practice or common OFF the comics without notice to other important services? Or the new instance is the responsibility of the application?

    3 - What are best practices for a DBA to work with client applications for high availability?

    4 - from the point of view of the ODBC connection, there are parameters that can be done to restore a new instance?

    Any advice will be appreciated, looks.

    2945108 wrote:

    Yes when I restart the client application, everything works fine. so given your answer could there is a limitation of the ODBC to reopen this kind of connections? (The oracle instance is the only cut that does not turn to listen) Your answer caught my attention because or is a software bug or a limitation of the ODBC.

    What do you mean by 'the oracle instance is the only cut that does not turn to listen '?

    It is not a software bug.  Please reread my post above.  It is essential to client-server architecture.  It is NOT the responsibility of the server at startup process, try to find any process of potential customer who has been disconnected and reconnect.  It is basically impossible.  If possible, it would be a huge security breach in network architecture.  No, it is the responsibility of a client process, if it disconnects from the server, in order to "do what is necessary."  This could mean trying to reconnect so often to such or such an interval for such or such a time.  This could mean sending a warning message to someone.  But it is up to the client to detect and react, not the server.

    And Yes, the odbc has a few design limitations (no bugs) in that it can receive the server (on behalf of the customer) and pass on to the customer.  Don't forget, in this architecture, the db is concerned the client is ODBC.  Now that talking to the database.

  • Oracle result Cache problem

    Hello

    In our database, we have the following settings for caching the result:

    result_cache_max_result integer 5

    result_cache_max_size great whole 256256 K

    result_cache_mode chain MANUAL

    result_cache_remote_expiration integer 0

    But we use indicators no results hidden in questions, or tables that are enabled for result caching.

    So from my understanding, caching the result should not happen.

    But we met a performance problem, and when I checked the AWR report I found this:

    latchfree.PNG

    And also I found this activity latch:

    rclatch.PNG

    However, just set result_cache_max_size = 0 fixed to all our questions. Wait no more. Performance as expected.

    But how is that possible? I thought with result_cache_mode = manual and not using indicators of result cache or table modes,.

    There should be no result at all caching? Any max_size choose?

    Can someone help me understand what is happening here?

    Thank you and greet.

    Daniel

    tylerv wrote:

    The original poster was not to the point and they actually understand the docs.

    Sorry - I'm not okay. As I went to the docs are very EXPLICIT about how to disable the cache of result. If you turn it off, then it is enabled.

    The fact that they have tried to do is that when result_cache_mode is set to the default value of the MANUAL, because they showed, it is, while according to the docs 12 c only the results of queries that use the RESULT_CACHE indicator must be stored in the cache of result

    Maybe that's where you and OP have misunderstanding. on the RESULT_CACHE_MODE parameter and the parameter values. This seems to be a common misunderstanding.perhaps, because people are not read ALL the relevant articles of the RFSO and only looking at the section for this parameter.

    There is NOTHING in the doc of 12 c for this parameter that shows ANY correlation to determine whether the cache is enabled or not.

    Refer to the section "Setting the Mode of the result Cache"

    https://docs.Oracle.com/database/121/TGDBA/tune_result_cache.htm#CDEJCGJD

    As shown in table 15-3 there are ONLY two settings: MANUAL and FORCE. No adjustment said ANYTHING on toggle or if the cache is ENABLED or DISABLED.

    ... and they were not aware of all the queries that they had used this trick on.  When you're ready to values by default and don't use don't not result_cache indicator (as much), it's odd to find the cache of your result are so full.

    OK - the USER does not use the indicator result-cache to cache the results of the queries USERS. But if the cache is enabled (size not equal to zero) that according to the quote from the doc above has NO effect on the use of Oracle to cache for queries or non-deterministic function calls.

    I think a lot of people may be jumping on the server I mentioned first that article explicitly states that you must set the size to zero to disable hide and seek only to the section on setting the parameters.

    And that the "setting mode" section is confusing as it includes a paragraph that uses the expression "If you choose to activate the result cache.

    That subsection and the r-phrase likely cause people to think that the setting and the off/on State of the cache are one and the same.

    When the result cache is enabled, the database also highlights cache queries that call non-deterministic functions of PL/SQL. When caching SELECT statements that call functions, result cache dependencies of data for PL/SQL functions and titles of database objects. However, if the function uses the data that are not followed (such as sequences, SYSDATE , SYS_CONTEXT and package variables), uses the cache of result on queries that call this function can produce stale results. In this regard, the behavior of the cache of result is identical to the caching of PL/SQL functions. So always consider the accuracy of the data, as well as performance, if you choose to activate the result cache.

    But if all associated sections are interpreted in their context, it should clear up the misunderstanding.

    If you have a support contract, you can submit a request to have the documentation changed to update mode setting (table 15-3) article to explicitly declare the parameter mode does NOT determine if the cache is enabled or not.

    .

  • Find and replace text problem

    Hello Forum,

    I'm an Illustrator scripting challenge I'm trying to understand. I'm totally new to writing scripts in Illustrator, although I did dev Java and Javascript before. I create a huge list of examples of binary number conversions in decimal, and I need a good way to change the decimal text with each new page of data. (Yes, I know that there are tools of conversion from decimal to binary online, but for this project that I need to have a chart of at least the 32 first of every 256 numbers in order to show the model.) So far, I've been manually change on decimal numbers with each new page. I created layers for the bosses of the binary numbers that can be easily exchanged as they progress, then this isn't a problem. The problem is that changing the decimal numbers for each page is really tedious when you do page after page after page. (See attached example)

    I need a script that will change the decimal numbers as a fast progression. For example, the next set of numbers in the attached example would be 33024-33055. Yes, is there a way to select all text objects (32768-32799), if they are in a separate layer by themselves and to change the script to the 33024, 33025, 33026, 33027, 33028, and so forth, in a sequence that I can set each time I run the script?

    Thanks for your help!

    MichaelSymbols Chart-Examples.png

    The script response is:

    var docRef = activeDocument;
    Query the user from sequence number

    var n = number (prompt ("enter from number"));

    Renames the layers to refer to the new numbering

    docRef.activeLayer.name = "Numbers" + n + "-" + (n + 31);

    change the contents of each text in the active layer object; Progresses backwards due to the order of the objects of text being the reverse of the order of the numbers
    because they just happened to be that way for a reason any!

    for (i = 31; I > = 0; i--) {}

    docRef.textFrames [i] = n .silence;

    n ++ ;

    }

    Redraw();

    Now, if I can just understand how to duplicate the layer automatically, I'll be set. Yet, this will speed up things a lot.

  • Draw a line of text problem in picture 10

    When you use draw an icon of the 'A' of the text line in the chart toolbar, the first letter of the deletions of text when you save your document for all lines after the first.

    Enter text before you save the document:

    Hello

    This

    is

    test

    After you save changes to document to:

    Hello

    his

    s

    CS2

    After each word I hit enter on my keyboard to move to the next line.

    If anyone can help me to solve the problems that the world is large.  I never had this problem when working in frame 9.  Only in the frame of 10.

    Hello Angela,.

    The question above was corrected in FrameMaker 11.

    To work around the problem, you can disable after the flag maker.ini "RepeatTypingEnabled = Off". But after turning off the indicator above, you will not be able to repeat your order hits, which was introduced in FrameMaker 10.

    Thank you!

    Hard

    FrameMaker engineering

  • Punctuation with Middle Eastern text problem * required emergency assistance *.

    I have a problem with punctuation hung to the right instead of the left during the use of ' Middle Easter & composer South Asian each/single line. "

    Looking at my screen turned the points - and quotes are stop on the right, whereas they should be on the left.

    Can anyone help?  The police are Times New Roman.

    Illustrator

    Screen Shot 2015-05-28 at 14.24.08.png

    MS Word - provided text

    The Word formatting is correct and using the same font

    Screen Shot 2015-05-28 at 14.32.53.png

    OK problem solved.

    For your information, you need a Hebrew Illustrator CC version as it's already ready world.

    It seems to be a problem / bug in the Mac version (occur in the PC version).

    Response

    When putting in the text (of the word) to a Middle Eastern paragraph text box shape in Illustrator, punctuation will be right instead of left as it should do and there is nothing that will fix it.  Instead 'Import' / 'Make' the text in the document and the "Hey-by presto" punctuation in the text is shaped correctly to the left.

    It is very annoying because you need to split the text from your Word document in small sections so you have a doc from Word paginated much as I had.

    Text placed

    Pasted text

Maybe you are looking for