Privilege need to create functional index

Greeting gurus?
What privilege I needed for create functional index
I am writing a definer righted procedure to create index however when creating functional index, it gives me ora-0131 insufficent but unique, bitmap and reverse index works
and I granted create any index and create any indextype already. what else is missing ?

CREATE INDEX
To create a function-based index, in addition to the prerequisites for creating a conventional index, if the index is based on user-defined functions, then those functions must be marked DETERMINISTIC. Also, you must have the EXECUTE object privilege on any user-defined function(s) used in the function-based index if those functions are owned by another user.

Similar Messages

  • Space needed to create an index

    I have a table with about 30 million records. I needed to create an index for one of the fields in this table. How can I determine how much space I will need in the tablespace where I need to create the index for the index to be created ?
    Thanks

    There's a nice discussion regarding this on asktom:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1295520444744
    Hope this helps.
    Kailash.

  • Need to create multiple indexes - will this work?

    For a catalog of about 350 pages, I need both a manufacturer index and a product index. I have read some of the creative solutions already posted here and in other web discussions, and I have an idea.
    Why not create two Book files? one could be "Catalog-Product.indb" and the other could be "Catalog-Manufacturer.indb". Basically two separate contexts for the series of layouts. When in the Product book, do all the indexing for that context, update the Product index and close the set of files (saving the Catalog-Product.indb as well and then closing it). Then open the Catalog-Manufacturer book and do the indexing for the Manufacturer index, generate it, save and close.
    The question is: will each of the two book files be able to ignore the invisible index metadata that belongs to the other book when generating the index? will there be trash index entries in the Index palette - representing those of the other book file? Or, can these two sets of metadata be properly kept separate?
    One consequence that I predict is that the Hyperlinks option during PDF Export from InDesign will be compromised - I would expect whichever book was inactive during the PDF export from the Book file would be the one whose index links would be non-functional.
    Can anyone tell me though whether this strategy could generate two proper indexes at least for a print document?

    Bill Planey wrote:
    For a catalog of about 350 pages, I need both a manufacturer index and a product index. I have read some of the creative solutions already posted here and in other web discussions, and I have an idea.
    Why not create two Book files? one could be "Catalog-Product.indb" and the other could be "Catalog-Manufacturer.indb". Basically two separate contexts for the series of layouts. When in the Product book, do all the indexing for that context, update the Product index and close the set of files (saving the Catalog-Product.indb as well and then closing it). Then open the Catalog-Manufacturer book and do the indexing for the Manufacturer index, generate it, save and close.
    The question is: will each of the two book files be able to ignore the invisible index metadata that belongs to the other book when generating the index? will there be trash index entries in the Index palette - representing those of the other book file? Or, can these two sets of metadata be properly kept separate?
    One consequence that I predict is that the Hyperlinks option during PDF Export from InDesign will be compromised - I would expect whichever book was inactive during the PDF export from the Book file would be the one whose index links would be non-functional.
    Can anyone tell me though whether this strategy could generate two proper indexes at least for a print document?
    Hi, Bill:
    Search Google for terms like "InDesign multiple index" without quotes. There are some good links for this; admittedly they're workarounds. If you take the time to file a formal request for this feature at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform, there's a chance the developers will eventually run out of excuses or higher-priority tasks, and include it in a future release.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Do we need to create seconady Index in BI 7.0

    Hi,
    I need some Information. I came to know that in BI 7.0. The Index are created automatically by BI Accelarator.
    Please let me know wheather we can create secondary Index.
    regards
    Bijevemula

    Hello Raghav
    In ODS Primary and secondary indexes are created manually 010 and 020
    Secondary index must differ from primary index     
    Maximum 16 secondary indexes
    in cube primary index in created automatically no secondary index is there
    Indexes created on ODS?
    010
    production year zpryr
    countrykey 0country
    divisioncode zdvcr
    020
    production year zpryr
    countrykey 0country
    divisioncode zdvcr
    product code zprcd
    brand 0Matl_grp1
    030
    production year zpryr
    countrykey 0country
    divisioncode zdvcr
    failure date zfdte
    prdnquarter zprnd
    By default there will be index on the key fields. So you are not required to create any index on those fields.
    http://www.websitedatabases.com/database-index.html
    if you enter in your selection criteria production year, country key, division code then it will use first index.. But if you give product code also in addition to 3 fields then it will use second (020) index.
    But if enter only product code, brand, failure date,prdnquarter then it will not use any of the index....
    Note: Before creating any index please confirm with your basis admin...
    Thanks
    Tripple k

  • Minimum privileges needed to create a new page at runtime

    Some body know the minimum privileges needed by a user to create a new page at runtime (using PORTAL.WWSBR_API.add_folder). Actualy the user have MANAGE_CONTENT on the parent page where the page need to be create by we got an exception (If we had the MANAGE_CONTENT on the page group, we dont receive this exception)
    thanks
    J.
    Message was edited by:
    user510720

    You'll need to set the "series" property of the chart. This will be an array of BarSeries objects.
    You may also need to set the horizontalAxis and verticalAxis properties for the chart. (I forget if there are defaults for these.)

  • Need to create another index ?

    Hi,
    Using Oracle 9.2 I have a table STATS and an index STATS_IDX on the following columns in the order : Objectid, Stat_Hour, Parent.
    I now want to optimize queries that filter or sort on Stat_Hour. Do i have to create another index having just Stat_Hour or will Oracle use the existing index to optimize my queries that filter or sort on Stat_Hour ?
    Thanks
    Christian

    Christian,
    Since stat_hour is not the leading column of STATS_IDX, you might want to create another index where stat_hour is the leading key in case you want the query to center around stat_hour column.
    Please post the query plans with and without indexes if you try the recommendation.
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • Which Privilege needed to create a new Package and Stored procedure usage(in HANA studio)

    Hello Friends,
                           In my company I have access to SYSTEM user(i.e. having all required permissions) ,I wish to create new " USER(s) " for trainees thus which "System privilege" or other privileges is/are needed for the following requirements -
    1>To allow the "new user" to create new Packages(and the columnar views inside it and be able to execute,edit them) 
    2>Create Procedures inside their schema and execute using  "call " command
    I have given the following privileges as suggested by an ebook (SAP certified author).
    The SELECT privilege on the _SYS_BI schema
    The SELECT privilege on the _SYS_REPO schema
    The EXECUTE privilege on the REPOSITORY_REST procedure
    According to my knowledge "create schema" should be given for new schema creation.For my other requirements which all privileges are needed.
    Thanx.

    In addition to Krishna if you don't want to expose all the package to the trainee, then create a new role keeping everything same as default MODELING role (open it and have a look) but in "PACKAGE PRIVILEGES" add only those package that you want to expose to the end users.
    Regards
    Kumar

  • Temp Tablespace space needed to create an index of 52GB - preventing 01652

    Hi,
    I've seen quiet a few threads on the subject, but could not find a clear (to me) answer on the subject.
    We have a huge table made by 30/40 partitions of roughly 20M records each (each record being about 1k of size), overall 800GB.
    The index we already have shows:
      1* select sum(bytes/1024/1024)  from dba_segments where segment_name like 'CALL_LOG_I0'
    SQL> /
    SUM(BYTES/1024/1024)
                   52088
    so that I assume it's 52GB in size. Since we have to create another very similar one I would assume the size would be similar.
    Command would be:
    create index call_log_i0_new on call_log (msisdn, generation_timestamp, cdr_reference_number, Multiple_AMA_Sequence_Number) NOLOGGING online;
    Tried the NOSORT option but it's not compatible with the online option.
    After a while the TEMP tablespace got filled up (we have about 20GB space in there).
    My question is if I need to have a temp tablespace at least as big as the index size (52GB) to let the index be built online.
    Thanks in advance !
    Cheers,
    Mike

    Thanks to all, found useful information in Metalink following your suggestions:
    You need to add more space to the tablespace where the index is created.
    A possible option to reduce sort space usage is to use the NOSORT option.
    Your table contains 66 million rows. The average row length is
    50-60 bytes and you are indexing 4 of 5 columns in the table.
    Example space calculation:
    66 million rows * 50 (avg row length) = 3.3 gig of data
    Rule of thumb:
    upper bound for sort (not guaranteed) is 3 times data_
    = about 10 gig of sort space needed
    These numbers are scaring since assume that I may need much more space than the index size (about 3x) which is something we cannot afford. Will go with the NOSORT option once the system is brought down and we could skip the online option.
    Thanks to all !
    Mike

  • Need help creating function

    I'm having a real tough time trying to figure out a function
    for a dynamic text box. What I am trying to do is have a function
    to
    call 2 random numbers to a dynamic text box. But the numbers
    would be in the form of a question(which I am guessing would have
    to be a string value) and then have button that would remove that
    question and display a new question.
    So, lets say I have this on frame 1 with a button that would
    generate the fuction to a dynamic text box on frame 2.
    var n1:Number = Math.floor(Math.random() * (13 - 1)) + 1;
    var n2:Number = Math.floor(Math.random() * (13 - 1)) + 1;
    I need the dynamic text box to display the numbers as a
    question, like this for example:
    n1 + "+" + n2 + "="
    I'm not sure how to make a function for this.
    Then a button on frame 2 would be pressed to remove the
    question and display a new question.
    I know I would need to call the function to generate a new
    question but I'm not sure what code to use
    to remove the displaying question.
    Also, how would I create a counter to keep track of how many
    questions are asked, that would add up to 10 questions.
    Any suggestions or advice would be very appreciated.
    Thanks

    Thanks for the reply. Unfortunately I'm not really sure whats
    going on in this code.
    There's some things I forgot to mention. On frame 2 I have a
    user imput text box to anwer the question. I have a function to
    calc the numbers. The vars in my first post are the actual vars in
    my script. I'll just display my code here so you can see what I'm
    trying to do because I'm not sure how I would incorporate your
    code. One more thing, I need to use these particular vars for this
    project.
    Sorry I'm really new to this stuff.
    var questionsToAsk:Number = 10;
    var questionsAsked:Number = 0;
    var questionsCorrect:Number = 0;
    var n1:Number = Math.floor(Math.random() * (13 - 1)) + 1;
    var n2:Number = Math.floor(Math.random() * (13 - 1)) + 1;
    var correctAnswer:Number;
    var userAnswer:Number;
    function randRange1() {
    Math.floor(Math.random() * (13 - 1)) + 1;
    return n1;
    function randRange2() {
    Math.floor(Math.random() * (13 - 1)) + 1;
    return n2;
    function calcOps(n1,n2) {
    correctAnswer = n1 + n2;
    return correctAnswer;
    What do you suggest I try?

  • Need to create Functional Module in XI

    Hi All,
      I have a requirement to create reconciliation for payment file which should include the total nos of line s ,Total Amount  ,Debit amount,Credit amount.
    I Got to know that we acan create this by using a functional module in XI.
    Can anyone come across such type of requirement if yes then how can i create a functional module in XI..
    Please let me how to create a f unctional module in XI...
    Thanks,

    hi Jay,
    I think you dont require any Function Module as such.
    If you input file is text file, first convert the text file in XML file using File content conversion.
    Once you have a done that,
    Define a message type
    1. for source file.
    2. for target file
    3. for target file2 (for storing all your credit, debit all the other data)
    you can map all the details from source file to the required target files
    Now how you are going to generate both the files...
    This can be achieved using <b>enhanced determination</b>, use 2 receiver communication channel.
    regards
    Ramesh P

  • Need to create aditional index in DAC

    We are trying to create an aditional index in DAC. It has been defined in the Design with a couple of columns. The Generate Index Script (right click) generates a blank file...
    Pls. what am I missing here..?
    Txs for your help.
    Antonio

    Did you check at file createAllIndices from
    C:\orahome\10gR3_1\bifoundation\dac\log\scripts

  • Which file need to create functions

    Outsource to a file the technical functions (input in a
    field, click a button ...) so they
    can be called from the script file. Your scripts
    automated will call these functions.
    in which file I will write these functions to be called by the code generated by the script!
    thank you!

    see here.    You will need the Pro version of LabVIEW or purchase tha application builder from NI
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • Impact of Creating new index ?

    Hi All, I am using 10.2.0.4.0 version of oracle.
    I want expert advice in below scenario.
    I need to create one index, as because a particular 'Search' query going slow and my customer frequently accessing that 'Search' Functionality. i have tried all alternative for tuning that query, and finally decided to go for creating New Composite index on two columns of a table that is used in the query.
    So my question/concern is , what will be the impact on other 'Select' queries those are using these columns in their predicate? Whether there is any possibility of any negative impact(slow performance) on them due to this new index. What should be the right way to go for impact analysis in the above scenario?
    ( Please note in this case i am least bothered about the impact on 'INSERTS' due to this index creation).

    >
    Hi again,
    For now, can you please confirm, As 'rp0428' mentioned there is chances of better performance in other 'Select' queries,
    but there is no chance of performance degradation to this new index in other queries. As because oracle will evaluate the best among all.
    Is the above statement always hold true or there may be deviations?Hmmm... I can see no good reason why an added index should adversely affect other SELECTs - the optimiser should
    simply ignore the new index if it doesn't impact other queries - and may make use of it in ways you didn't forsee.
    Having said that, I can't guarantee that this is the case. I would run tests before implementing it in production - at least
    try and test your most common/frequently run queries - remember [url http://en.wikipedia.org/wiki/Pareto_principle]Paretos law.
    A small fraction of your queries will have a large impact on the system and some will be "marginal" to performance/usage.
    Sometimes the optimiser behaves in counter-intuitive ways - run at least some tests and then try it is what I would do if you
    (can't | don't have the time to) test exhaustively.
    HTH,
    Paul...

  • How to create secondary indexes in DB2e from MI

    Hello,
    we need to create secondary indexes in the DB2e SyncBO tables for a SynBO containing several thousands entries.
    We create it manually and works fine, but we have to distribute
    this to every user (about 300).
    Is there a way to distribuite this index creation for an
    application from a central location (WebConsole)?
    Or,
    is there any attribute in the SyncBO definitions for creating indexes on selected fields in teh database?
    Thanks in advance and best regards,
    Angel

    Hi,
    I found the way to create the indexes. In the metadata
    function of the SyncBO builder, you can mark any field
    as index (either in the header or in the detail tables).
    This creates a secondary index in the database per marked
    field.
    Regards,
    Angel

  • Create an index on a huge table

    hi gurus
    I am going to create an index on a very large table(194GB) with the temporary tablespace size is 80G.
    I am afraid that during the index creation the temporary tablespace is not enouth to hold the data needed
    to create the index,because i only have 80g in temporary tablespace. How do i estimated the size i need to create a such large index and is there an effcient way to do such index creation?
    thank u in advance.

    Jozsef wrote:
    Hi there,
    I have done similar things couple of times before and I have used a pretty good method to obtain a rough (and it was really a rough, but enough) estimation.
    Sorry folks, it does not work properly for create index...this method only works for SELECT statments, SO IGNORE IT :(
    It nearly works in 10g:
    | Id  | Operation              | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | CREATE INDEX STATEMENT |       | 10000 | 40000 |    10   (0)| 00:00:01 |
    |   1 |  INDEX BUILD NON UNIQUE| T1_I1 |       |       |            |          |
    |   2 |   SORT CREATE INDEX    |       | 10000 | 40000 |            |          |
    |   3 |    TABLE ACCESS FULL   | T1    | 10000 | 40000 |     6   (0)| 00:00:01 |
    Note
       - estimated index size: 196K bytesThe "Note" tells you Oracle's estimate of the final space allocation needed for the index. There are various reasons why the estimate is not very accurate, and why it's not a good estimate of the space requirement in the TEMP tablespace, but it gives you a figure that is probably in the right ballpark (factor of 2 out, either way, probably).
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "For every expert there is an equal and opposite expert."
    Arthur C. Clarke

Maybe you are looking for

  • Document url link on webdynpro iview

    Dear All We have developed  custom webdynpro ivew. Assigned that ivew to page and can display in ESS submenu. and one more km doc iview is there for document disply. But requirement is when enduser access webdynpro ivew  , in the same page there shou

  • Camera Raw installing images

    I have just started shooting in Camera raw, problem I have is that when I save the files, it says there are no images to save,only way that i can save my images is to open Photoshop, go to file, open search for the card reader and open it to show the

  • JspException: Input/output errror: SocketException: Connection reset by pee

    In weblogic 8.1, getting below exception often,           javax.servlet.jsp.JspException: Input/output errror: java.net.SocketException: Connection reset by peer.           at org.apache.struts.util.ResponseUtils.write method           Although no pr

  • Adf js error

    On some client's computers in my ADF 11G RC application on submitting just anything I'm getting JS error "object doesn't support this property or method"...... don't really know where to start tracking problem any ideas?

  • Need BR's Functions and Cmds

    Hi All, I need all the functions and cmds that are used in BR's and calc scripts in Essbase and Planning... I'm attending interviews so I need them very very very urgently if you have doc for the sam eit would be a grt help for me... for version 11.1