What LOB index is really

Hi friends!

I have a very simple question. I was a little confused, read the docs on oracle 11g. I don't remember the exact number of topic, but it was working with LOB data types. So in the first statement, they say that when the null value is assigned to a LOB field this field is no clue, is not possible to extract it and use in some plsql block to associate the field with lob data. In the same paragraph, they say that if using empty_blob rather for purposes of initialization, we can get later inside the plsql block and bind it to some data.

On this subject a bit down the text it is said that there is always a hint of any value has been assigned to the field: null, empty_blob or other. How can it be? If a Web address must be thinking as a pointer, then what region it references after you have created with the emp_LOB method?

Thank you.

Timin wrote:
Please look at the first paragraph and find the note that includes the following:

A LOB Locator still exists for any instance LOB regardless of the properties of LOB storage or LOB - NULL, empty, or another value.

I think the confusion is where he uses the word "instance". If you have stored a NULL value in the column, then it isn't actually an instance of a LOB it. Instance exist that once there is an empty lob or a lob with data in it, in which case it will be the lob Locator.

Tags: Database

Similar Questions

  • LOB index are not deleted when delete a table

    Hello

    I dropped a table with a blob column by running 'drop table table_name ". When I try to recreate, Oracle complained that this object already exists.

    I checked dba_tables, the table disappeared. Then I checked dba_lobs, the lob index is still there with the name of the table and the name of the renamed lob segment in "BIN$ XIlKa53KaoDgRAAUTw8jtg == $0". I have to purge recyclebin. Now, I don't see any line in recyclebin, but business index is still in dba_lobs. As a result, I still can't recreate the table.

    How can I remove the index of business so that I can recreate the table? How am I supposed to drop a table with lob columns so that I no longer experience this problem?

    Thank you.

    user632535 wrote:
    It's the Oracle 10 g.

    I just found the solution. I have flashback the table before the fall, and then performed "drop table t purge. I am able to recreate the table now.

    I tried to imitate this problem, with some variations, 10.2.0.3 and couldn't get the anomaly appears - what is your exact version?

    I think you did your oil change and recreate your in the scheme of the difference, like the purge should make it impossible to do a "flashback table from before the fall." If this isn't the case, then something went wrong with the purge if he hid the table since the return of flame, but not did not fall out of the database.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

    "The premature temptation to theories of shape on the lack of data is the scourge of our profession."
    Sherlock Holmes (Sir Arthur Conan Doyle) in "the Valley of fear."

  • Lob Index DDL

    Hello

    I have developed 1 application where in i Ran SQL advisor tunning to grant some queries and it created many clues.

    So now I have to rename these indexes (LOB) to something like table_name_column name so I need to get the metadata in order to check the columns these lob indexes are cerated

    But when I ran get ddl statement I do not get the names of columns on which these lob indexes are created.

    Example:

    SQL > select dbms_metadata.get_ddl('INDEX','SYS_IL0000113826C00055$$','XXI') from double;

    DBMS_METADATA. GET_DDL('INDEX','SYS_IL0000113826C00055$$','XXCEMLI')

    --------------------------------------------------------------------------------

    CREATE A UNIQUE INDEX "XXI". "" SYS_IL0000113826C00055$ $' TO 'XX '. "" (tbs1_MV).

    PCTFREE, INITRANS 10 2 MAXTRANS 255

    STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)

    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1

    USER_TABLES FLASH_CACHE, CELL_FLASH_CACHE DEFAULT DEFAULT)

    TABLESPACE "XXI_D".

    PARALLEL (INSTANCES OF DEGREE 0 0)

    DBMS_METADATA. GET_DDL('INDEX','SYS_IL0000113826C00012$$','XXCEMLI')

    --------------------------------------------------------------------------------

    CREATE A UNIQUE INDEX "XXI". "" SYS_IL0000113826C00012$ $' ON 'XXCEMLI '. "" (tbs1_MV).

    PCTFREE, INITRANS 10 2 MAXTRANS 255

    STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)

    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1

    USER_TABLES FLASH_CACHE, CELL_FLASH_CACHE DEFAULT DEFAULT)

    TABLESPACE "XXI_D".

    PARALLEL (INSTANCES OF DEGREE 0 0)

    These indices are those that Oracle uses to find the content of the LOB column in the LOB segment when they are stored offline.  They are created and managed automatically by Oracle when you create a LOB column.  There is no need to change the names for those since you'll never use them, only Oracle internally.  In fact, I'm not entirely sure if you can change the name without breaking your BUSINESS.

    John

  • What is index.oam for?

    Hello

    "index.oam" is created after the publication of the project of edge to the local directory.

    What is index.oam for?

    I need to download index.oam also, when I download the files published on my web site?

    Concerning

    Hi, SL.

    OAM files are what we released on publish for other products such as Dreamweaver and InDesign Adobe.  Instead of publishing the Deployment Package to animate, you can publish to the Web and the content of the publication/web/directory to the top on your Web server.

    (You can change it by clicking file > settings of publication...)

    See you soon,.

    -Elaine

  • LOB index segment

    Hi all:
    LOB Index segment not deleted when you delete the table containing the LOB. Is this a beaviour expected?

    1 create the table
    SQL > Create table DemoLob (a number, B clob)
    2 LOB (b) STORE AS lobsegname
    1 j
    4 TABLESPACE datseg
    5 (INDEX) lobindexname
    6 TABLESPACE idxseg
    7)
    4%
    9 TABLESPACE tabseg;

    Table created.

    2 drop table

    3. the DataDictionay query
    SQL > select nom_segment, segment_type, nom_tablespace, bytes/1024/1024 of dba_segments where nom_segment = 'LOBINDEXNAME ';

    NOM_SEGMENT, SEGMENT_TYPE BYTES/1024/1024 NOM_TABLESPACE
    ------------- ------------------ ------------------------------ ---------------
    LOBINDEXNAME LOBINDEX DATSEG.0625


    Thank you
    San ~

    This is because the table is always in the recyclebin. If you use a fall with the purge option or if you are serving the recyclebin then the entry will disappear.

  • index of output table and show what LOCAL indexes and who are

    I read the view of ALL_INDEXES here:
    http://www.Stanford.edu/dept/ITSS/docs/Oracle/10G/server.101/b10755/statviews_1061.htm
    But I still don't know how to query follows:

    1. display the name of the table, the index name and flag Y/N 'Is the local index' and a flag "is the overall index.

    The application should output table index and show what indexes are LOCAL and which are not.

    How to write this query?

    My original request:
    select table_name, Index_Name, Uniqueness, Partitioned, decode(Partitioned, 'NO', 'Global','Local') GlobalOrLocal from all_indexes
    where table_name = 'MyTABLE'
    2 I understand that global index for partitioned tables is a chunk of data referencing all the partitions table in the single room, but Local index is partitioned itself there are several parts each one or more partitions to reference table?

    Published by: CharlesRoos on October 6, 2010 12:45 AM

    CharlesRoos wrote:
    I read the view of ALL_INDEXES here:
    http://www.Stanford.edu/dept/ITSS/docs/Oracle/10G/server.101/b10755/statviews_1061.htm
    But I still don't know how to query follows:

    1. display the name of the table, the index name and flag Y/N 'Is the local index' and a flag "is the overall index.

    The application should output table index and show what indexes are LOCAL and which are not.

    How to write this query?

    My original request:

    select table_name, Index_Name, Uniqueness, Partitioned, decode(Partitioned, 'NO', 'Global','Local') GlobalOrLocal from all_indexes
    where table_name = 'MyTABLE'
    

    That seems Ok to me.

    2 I understand that for partitioned tables index global is a big piece of data referencing all the partitions table in the single room,

    Yes.

    but the Local index is partitioned itself there several pieces for each reference one or several partitions table?

    Almost right: each refers to score exactly one table. I.e. index partitioning is 'aligned' with the partitioning of the table.

  • What does Update 971029 really?

    I noticed that there is a new update in Windows Vista (and apparently XP SP3 as well, from what I read), it is marked as 'Important', which disables AutoRun on all but the CD and DVD. After reviewing several articles about Microsoft, I'm still not sure if I understand. This means that Windows is no longer display the Autorun dialog box at all when USB devices are connected, or that it simply means that AutoRun will not execute programs automatically when I plug in my camera? I'm a bit confused.

    Thanks for your help.

    Jon

    Hello Jonathon VS,

    Thank you for your message.  I took some content from this article.

    The default behavior in Windows Vista and Windows Server 2008 is the user if an Autorun command is to be executed. Changes to these settings are described later in this article. An administrator can completely disable Autorun commands or return to the previous Windows Vista behavior automatically executing the Autorun command. If the service is configured to disable the AutoPlay features, or if this policy is not configured, Windows Vista and Windows Server 2008 will continue to ask the user if the Autorun command must be executed.

    So in short, disable the Autorun still will warn you when a USB device is plugged in or when a disc is inserted in a drive.  The programs will be auto-don't start well.

    See you soon

  • what disk path is really being checked when grid installation fails with PRVF-9802?

    Update: apparently, it's a false warning, like '... we cannot thoroughly test all combinations of SAN/udev'.

    [grid@rac101: grid] $./runcluvfy.sh stage pre - crsinst - n, rac101, rac102, rac103 - asm - asmdev/dev/prod_ocr1p1, / dev/prod_ocr2p1

    Conducting due diligence to install cluster services

    ...

    Control devices of the ASM...

    ERROR: / dev/prod_ocr1p1

    Storage is not found

    ERROR: / dev/prod_ocr2p1

    Storage is not found

    Checking for shared devices...

    PRVF-5150: / dev/prod_ocr2p1 path is not a valid path on all nodes

    PRVF-5150: / dev/prod_ocr1p1 path is not a valid path on all nodes

    Attributes of UDev search drives ASM began...

    ERROR:

    PRVF-9802: try to get information node udev "rac102" failed

    ERROR:

    PRVF-9802: try to get information node udev "rac101" failed

    ERROR:

    PRVF-9802: try to get information node udev "rac103" failed

    Check failure of UDev attributes for ASM disks

    Devices to check for ASM failed

    ....

    [grid@rac101: grid] $ he 's/dev/prod *.

    BRW - rw - 1 grid asmadmin 252, 6 Nov 10:01 5 / dev/prod_ocr1

    BRW - rw - 1 grid asmadmin 252, 17 Nov 10:01 5 / dev/prod_ocr1p1

    BRW - rw - 1 grid asmadmin 252, 5 Nov 13 10:01 / dev/prod_ocr2

    BRW - rw - 1 grid asmadmin 252, 5 Nov 19 10:01 / dev/prod_ocr2p1

    BRW - rw - 1 grid asmadmin 252, 7 Nov 10:01 5 / dev/prod_ocr3

    BRW - rw - 1 grid asmadmin 252, 5 Nov 16 10:01 / dev/prod_ocr3p1

    BRW - rw - 1 grid asmadmin 252, 5 Nov 14 10:01 / dev/prod_vot1

    BRW - rw - 1 grid asmadmin 252, 5 Nov 21 10:01 / dev/prod_vot1p1

    BRW - rw - 1 grid asmadmin 252, 8 Nov 10:01 5 / dev/prod_vot2

    BRW - rw - 1 grid asmadmin 252, 5 Nov 18 10:01 / dev/prod_vot2p1

    BRW - rw - 1 grid asmadmin 252, 15 Nov 10:01 5 / dev/prod_vot3

    BRW - rw - 1 grid asmadmin 252, 20 Nov 10:01 5 / dev/prod_vot3p1

    ...

    [grid@rac101: grid] $ he 's/dev/map

    Total 0

    CRW - rw - 1 root root 10, Nov 5 236 control 10:01

    lrwxrwxrwx 1 root root 11 5 Nov 10:01--> FSSYSDB1... / FSSYSDB1

    lrwxrwxrwx 1 root root 11 5 Nov 10:01--> FSSYSDB2... / FSSYSDB2

    lrwxrwxrwx 1 root root 11 5 Nov 10:01--> FSSYSDB3... / FSSYSDB3

    lrwxrwxrwx 1 root root 11 5 Nov 10:01--> FSSYSDB4... / FSSYSDB4

    lrwxrwxrwx 1 root root 12 5 Nov 10:01--> FSSYSLOG1... / FSSYSLOG1

    lrwxrwxrwx 1 root root 12 5 Nov 10:01--> FSSYSLOG2... / FSSYSLOG2

    lrwxrwxrwx 1 root root 12 5 Nov 10:01--> FSSYSLOG3... / FSSYSLOG3

    lrwxrwxrwx 1 root root 12 6 Nov 10:47 prod_ocr1->... /prod_ocr1

    lrwxrwxrwx 1 root root 14 6 Nov 10:58--> prod_ocr1p1... /prod_ocr1p1

    lrwxrwxrwx 1 root root 12 6 Nov 10:47 prod_ocr2->... /prod_ocr2

    lrwxrwxrwx 1 root root 14 6 Nov 10:48-> prod_ocr2p1... /prod_ocr2p1

    lrwxrwxrwx 1 root root 12 6 Nov 10:48-> prod_ocr3... /prod_ocr3

    lrwxrwxrwx 1 root root 14 6 Nov 10:48-> prod_ocr3p1... /prod_ocr3p1

    lrwxrwxrwx 1 root root 12 5 Nov 10:01--> prod_vot1... /prod_vot1

    lrwxrwxrwx 1 root root 14 5 Nov 10:01--> prod_vot1p1... /prod_vot1p1

    lrwxrwxrwx 1 root root 12 5 Nov 10:01--> prod_vot2... /prod_vot2

    lrwxrwxrwx 1 root root 14 5 Nov 10:01--> prod_vot2p1... /prod_vot2p1

    lrwxrwxrwx 1 root root 12 5 Nov 10:01--> prod_vot3... /prod_vot3

    lrwxrwxrwx 1 root root 14 5 Nov 10:01--> prod_vot3p1... /prod_vot3p1

    lrwxrwxrwx 1 root root 7 5 Nov 10:01--> zero... DM - 2

    lrwxrwxrwx 1 root root 8 Nov 10:01 vg_01-lv_home--> 5... DM - 23

    lrwxrwxrwx 1 root root 7 Nov 10:01 vg_01-lv_root-> 5... DM - 0

    lrwxrwxrwx 1 root root 7 Nov 10:01 vg_01-lv_swap--> 5... DM - 1

    lrwxrwxrwx 1 root root 8 Nov 10:01 vg_01-lv_tmp--> 5... DM - 24

    lrwxrwxrwx 1 root root 8 Nov 10:01 vg_01-lv_u01--> 5... DM - 25

    lrwxrwxrwx 1 root root 8 Nov 10:01 vg_01-lv_var--> 5... DM - 22

    I have found no change in rules multipath.conf or udev that changes ownership here.  I have an alias records in my multipath.conf file, which is NOT readable by the user of network:

    ...

    {multichannel
    WWID 36000d310007cbd00000000000000002c
    alias prod_ocr1
    }
    {multichannel
    WWID 36000d310007cbd00000000000000002d
    alias prod_ocr2
    }
    {multichannel
    WWID 36000d310007cbd00000000000000002e
    alias prod_ocr3
    }

    Also tried to add a uid, gid, multipath.conf mode, but no diff.

    A ran kpartx - a/dev/prod_ocr {1 | 2 | 3} on all nodes. Started several times.

    ....

    [root@rac101: ~] # he 's/dev/oracleasm/discs.

    Total 0

    BRW - rw - 1 grid asmadmin 8, 240 5 Nov 10:01 FSSYSDB1

    BRW - rw - 1 grid asmadmin 8: 32 Nov 10:01 FSSYSDB2 5

    BRW - rw - 1 Grill asmadmin 65, 0 5 Nov 10:01 FSSYSDB3

    BRW - rw - 1 grid asmadmin 8, 48-5 Nov 10:01 FSSYSDB4

    BRW - rw - 1 Grill asmadmin 65, 128 5 Nov 10:01 FSSYSLOG1

    BRW - rw - 1 grid asmadmin 8, 64-5 Nov 10:01 FSSYSLOG2

    BRW - rw - 1 Grill asmadmin 65, 32 5 Nov 10:01 FSSYSLOG3

    BRW - rw - 1 grid asmadmin 8, 81-5 Nov 10:01 OCRVOTE1

    BRW - rw - 1 Grill asmadmin 65, 49-5 Nov 10:01 OCRVOTE2

    BRW - rw - 1 grid asmadmin 8, 97-5 Nov 10:01 OCRVOTE3

    BRW - rw - 1 Grill asmadmin 65, 65 5 Nov 10:01 OCRVOTE4

    BRW - rw - 1 grid asmadmin 8, 113 5 Nov 10:01 OCRVOTE5

    BRW - rw - 1 Grill asmadmin 65, 81-5 Nov 10:01 OCRVOTE6

    ....

    I did createdisk on all disks, and listdisk is compatible on all nodes:

    [root@rac103 ~] # oracleasm scandisks

    Reload from disk partitions: fact

    Cleaning up stale ASM disks...

    ASM disks scanning system...

    Instantiation of disk 'FSSYSDB2 '.

    Instantiation of disk 'FSSYSDB4 '.

    Instantiation of disk 'FSSYSLOG2 '.

    Instantiation of disk 'OCRVOTE1 '.

    Instantiation of disk 'OCRVOTE3 '.

    Instantiation of disk 'OCRVOTE5 '.

    Instantiation of disk 'FSSYSDB1 '.

    Instantiation of disk 'FSSYSLOG1 '.

    Instantiation of disk 'FSSYSDB3 '.

    Instantiation of disk 'OCRVOTE2 '.

    Instantiation of disk 'FSSYSLOG3 '.

    Instantiation of disk 'OCRVOTE4 '.

    Instantiation of disk 'OCRVOTE6 '.

    ....

    [root@rac101: ~] # oracleasm deletedisk - v/dev/prod_ocr1p1

    Disk "OCRVOTE1" is a valid ASM disk

    Header of drive compensation: oracleasm-writing-label: could not open device ' / dev/oracleasm/disks/OCRVOTE1 ': device or resource busy

    has failed

    Impossible to erase the disk 'OCRVOTE1 '.

    ...

    [root@rac101: ~] # oracleasm OCRVOTE1/dev/prod_ocr1p1 createdisk

    Device "/ dev/prod_ocr1p1" is already tagged for disc ASM 'OCRVOTE1 '.

    ....

    My udev rules are quite simple and readable by the user of network:

    [grid@rac101: grid] $ cat /etc/udev/rules.d/20-UEKasm-oracle.rules

    ENV {nom_DM} == "FSSYSDB?", NAME: = "%E {nom_DM}", OWNER: = "grid", GROUP: = "asmadmin", MODE: = "660".

    ENV {nom_DM} is "FSSYSDB? p? ", NAME: ="%E {nom_DM}", OWNER: ="grid", GROUP: ="asmadmin", MODE: ="660 ".

    ENV {nom_DM} == "FSSYSLOG?", NAME: = "%E {nom_DM}", OWNER: = "grid", GROUP: = "asmadmin", MODE: = "660".

    ENV {nom_DM} is "FSSYSLOG? p? ", NAME: ="%E {nom_DM}", OWNER: ="grid", GROUP: ="asmadmin", MODE: ="660 ".

    ENV {nom_DM} == "prod_ocr?", NAME: = "%E {nom_DM}", OWNER: = "grid", GROUP: = "asmadmin", MODE: = "660".

    ENV {nom_DM} is "prod_ocr? p? ", NAME: ="%E {nom_DM}", OWNER: ="grid", GROUP: ="asmadmin", MODE: ="660 ".

    ENV {nom_DM} == "prod_vot?", NAME: = "%E {nom_DM}", OWNER: = "grid", GROUP: = "asmadmin", MODE: = "660".

    ENV {nom_DM} is "prod_vot? p? ", NAME: ="%E {nom_DM}", OWNER: ="grid", GROUP: ="asmadmin", MODE: ="660 ".

    What did I wrong? Thanks in advance.

    In addition, changed paths drive going on and still fails!

    [grid@rac101: grid] $./runcluvfy.sh stage pre - crsinst - n, rac101, rac102, rac103 - asm - asmdev/dev/oracleasm/disks/OCRVOTE1, / dev/oracleasm/disks/OCRVOTE2

    ....

    Control devices of the ASM...

    Checking for shared devices...

    Peripheral device type

    ------------------------------------  ------------------------

    / dev/oracleasm/Disks/OCRVOTE2 disk

    / dev/oracleasm/Disks/OCRVOTE1 disk

    Consistency check of the owner of the device on all nodes...

    Check the consistency of the owner of the device for ' / dev/oracleasm/disks/OCRVOTE1 ' PASSED

    Check the consistency of the owner of the device for ' / dev/oracleasm/disks/OCRVOTE2 ' PASSED

    Checking consistency of the set of instruments through all nodes...

    Check the consistency of a set of instruments for ' / dev/oracleasm/disks/OCRVOTE1 ' PASSED

    Check the consistency of a set of instruments for ' / dev/oracleasm/disks/OCRVOTE2 ' PASSED

    Consistency check permissions of device on all nodes...

    Check the consistency of the device permissions for ' / dev/oracleasm/disks/OCRVOTE1 ' PASSED

    Check the consistency of the device permissions for ' / dev/oracleasm/disks/OCRVOTE2 ' PASSED

    Consistency check of the size of the unit on all nodes...

    Check the consistency of the size of the unit to ' / dev/oracleasm/disks/OCRVOTE1 ' PASSED

    Check the consistency of the size of the unit to ' / dev/oracleasm/disks/OCRVOTE2 ' PASSED

    Attributes of UDev search drives ASM began...

    ERROR:

    PRVF-9802: try to get information node udev "rac102" failed

    ERROR:

    PRVF-9802: try to get information node udev "rac101" failed

    ERROR:

    PRVF-9802: try to get information node udev "rac103" failed

    Check failure of UDev attributes for ASM disks

    Devices to check for ASM spent

    ...

    Post edited by: user10501000

    ... so we ignored the error and it installed fine.

  • What drivers are really necessary?

    Hello
    I have a laptop D630 manufacturing another with Windows XP SP3. The 360 Wireless with Bluetooth Module is in the computer. The driver is: Bluetooth Stack for Windows by Toshiba Version 6.01.03 (D)

    There are 9
    processes that run named Tos. * Together, they allocate about 37 MB of RAM.

    It's the
    list:

    Process KB
    --------------------------
    TosBtSrv.exe 2620
    TosBtProc.exe 3824
    TosOBEX.exe 6852
    TosAVRC.exe 3604
    TosBtHSP.exe 4532
    TosBtBty.exe 2164
    TosBtHid.exe 2304
    TosA2dp.exe 3992
    TosBtMng.exe 7460

    My question
    is: what processes should I really when only a Bluetooth mouse is connected?

    Hello

    Why do you not ask this question here? If you have a Toshiba laptop no I put t understand why install you Bluetooth Toshiba?

    You can get the Bluetooth software and the driver for your model of laptop manufacturing site.

  • now what? default index + insertion of large documents

    back to my problem inserting a large document which was not due to the specification of default index in the container I'm now face a different dilemma, please help.

    Because the default indexing is prohibiting the addition of large documents in my container, how should I proceed given that indexing strategy will generally help my application?

    Whereas the container will have already (or could have) several documents and because the following document will be inserted, there is a great beast that will crash any JVM/cache config, what to do?

    At this stage, I can only naively think I'll create a dummy nonindexed container to insert the doc of Monster and then gradually scan the doc while recreating it little by little in the container indexed in a threaded operation that can take his time.

    Help?

    Hello

    We should discuss this in a single thread, and not both :-) What default index you put? For default presence are not a problem; default substring index are never recommended; index of default are also suspect according to paper size/shape because they will create indexes on mixed content that not only takes place, but these topics are rarely useful.

    Kind regards
    George

  • Bad alphabetically in the index

    Dear community,

    I use ID CS6.

    I have discovered a reproducible error, given the order of the names in the index sheets.

    When I put marks index to names

    • Anton huh
    • Martin huh
    • Johannes Heindl

    in this way they will be sorted:

    1. Huh, Anton
    2. Heindl, Johannes
    3. Huh, Martin

    which is obviously incorrect. The order should rather be 1,3,2.

    I think the problem is that the spaces between the first and last name are ignored:

    The names "Smith, John" is treated as "Smithjohn".

    Corsica, I can force ID to sort correctly by using the "sort by"-field. But why is that need?

    Names are generally classified by NAME and if they are the same, you look on the first NAME. Word by word instead of the letter by letter.

    Are there really no feature that provides "the word of the order of the words" without interfering manually?

    Thank you in advance!

    I have the honour, of course, you put these scripts to use, but they serve a particular purpose and they mess around with the document considerably. Because everything what needs index of martin is setting/updating the fields from the sort order, it is easier to target the index panel immediately: it is faster and safer.

    You are partially right that remove the space after that a comma sorts the sorting problem, but using the sign $ is delicate because you might want to do things later, and symbols that have a special meaning in regular expressions are to be avoided if possible, just to make life easier. So, I use the number 5 instead. The advantage is that I can use different numbers to refine the sort order. Here's the script:

    (function () {
      if (app.documents[0].indexes.length > 0) {
        var order;
        var topics = app.documents[0].indexes[0].allTopics;
        for (var i = topics.length-1; i >= 0; i--) {
          order = topics[i].sortOrder;
          // If the topic already has a sort order defined, change it
          if (order !== '' && order.indexOf(', ') > -1) {
            topics[i].sortOrder = order.replace (', ', ',5');
          // Otherwise use the topic's name
          } else if (topics[i].name.indexOf(', ') > -1) {
            topics[i].sortOrder = topics[i].name.replace (', ', ',5');
          }
        }
      }
    }());
    

    Peter

  • regarding type LOB data...

    I'm not so familiar with LOB and was hoping someone could shed some light for me.

    I am under Oracle 11.2.0.2 EE and made an interesting discovery of this new database I load.

    First of all, I discovered that I have a table which is about 7.4 G, but there two columns LOB that when I have a dba_lobs query, I found that they contains 365 G of lobs and the table itself has 22 G of LOB - don't know what the difference is.
    SQL> 1  select segment_name, round(sum(bytes)/1024/1024/1024,1) as "SIZE" , segment_type
      2  from dba_segments where owner = 'ARADMIN'
      3  group by segment_name, segment_type
      4  having round(sum(bytes)/1024/1024/1024,1) > 1
      5* order by 2
     /
    
    SEGMENT_NAME                                SIZE SEGMENT_TYPE
    -------------------------------- --------------- ------------------
    . . .
    SYS_LOB0000077517C00027$$                    4.2 LOBSEGMENT
    SYS_LOB0000210343C00029$$                    4.4 LOBSEGMENT
    SYS_LOB0000077480C00002$$                    4.6 LOBSEGMENT
    T465                                           5 TABLE
    T2052                                        8.3 TABLE
    T2115                                       12.4 TABLE
    T2444                                       13.4 TABLE
    T2179                                       14.8 TABLE
    T2192                                       21.8 TABLE
    SYS_LOB0000077549C00015$$                    182 LOBSEGMENT   <=== (related to table T2192)
    SYS_LOB0000077549C00016$$                  184.4 LOBSEGMENT  <=== (related to table T2192)
    
    30 rows selected.
    Now, let's look at the table these LOBS belong...
    SQL> select table_name, column_name, segment_name
      2  from dba_lobs
      3  where segment_name in (
      4  select segment_name from dba_segments where owner = 'ARADMIN'
      5   having round(sum(bytes)/1024/1024/1024,1) > 1
      6  group by segment_name
      7  )
      8  /
    
    
    TABLE_NAME                       COLUMN_NAME                      SEGMENT_NAME
    -------------------------------- -------------------------------- --------------------------------
    B1947C536880923                  C536880923                       SYS_LOB0000077310C00002$$
    T2051                            C536870998                       SYS_LOB0000077426C00041$$
    T2052                            C536870987                       SYS_LOB0000077440C00063$$
    T2115                            C536870913                       SYS_LOB0000077463C00009$$
    B2125C536880912                  C536880912                       SYS_LOB0000077480C00002$$
    B2125C536880913                  C536880913                       SYS_LOB0000077483C00002$$
    T2179                            C536870936                       SYS_LOB0000077517C00027$$
    T2192                            C456                             SYS_LOB0000077549C00015$$   <====
    T2192                            C459                             SYS_LOB0000077549C00016$$   <====
    T2444                            C536870936                       SYS_LOB0000210343C00029$$
    T1990                            C536870937                       SYS_LOB0000250271C00026$$
    
    11 rows selected.
    So, in the light of the foregoing, I noticed in the first query that contains the table T2192 21.8 G of LOBS and that C456 and C459 of same table columns (181,7 + 183.9) total = 365.6 G.

    First question is how can the table be only 21.8 G, and business segments the columns of the table of 365,6 G of the Lobs?
    It seems that some type LOB data should be external, while others are part of the table.

    Then, I wonder if a line is removed from the table, would be the LOB associated with this line that is referenced by columns C456 and C459 also deleted.
    Discuss with our senior developer, he said, the table is purged of lines longer than 6 months, but my question is if the LOB is actually purged with the lines.

    Any ideas?

    Published by: 974632 on December 27, 2012 08:05

    The space occupied by business segments is not reported as part of space for table segment, welll, don't not all still. What is reported as part of the size of the table is the size of the lob index (a pointer to the segment of the 'real' job, 16 bytes if I remember correctly) and the LOB that are stored online in the table (those under 4 k). To get the "full" size of the table, you must add the space occupied by the ant lob columns.

    If you delete a line, then the space occupied in the business segments will be defined as free space inside the existing segment. He will thereafter (there are a number of round redo and undo that are managed differently from the lobs), be used by the data for the other lines, but it might take some time.

    There are a number of documents on My Oracle support in this regard, many are related to:

    Troubleshooting Guide (TSG) - large objects (LOBs) [ID 846562.1]

    John

  • PDF files PDF - what is a difference

    Hello

    My goal is to merge a large number of PDF files in order to search by content (text).

    I wonder to find a script (JS) for this solution.

    The source application is InDesign, however, each page is essentially a separate doc exported in PDF format. I'm looking for how to create a 'merged issue' PDF (say 48 pages) of my sources, but of preference - using PDFs rather indd files as a source (since the possible absence of disorders missed links & fonts).

    But... the search Acrobat Forum lead me to the conclusion that:

    • There is no way to merge files using javascript and
    • using the SDK it is a kind of complex processes.

    (I hope I'm wrong...?)

    I started to consider the merger of the files using InDesign scripting means, but here's a question:

    If my workflow would be to build a temporary ID file filled with the desired number of PDF (each on a separate page pdf) and export the file as a merged PDF file - what is it output pdf structure compared to the PDF exported from open .indd files.

    I mean, is PDF - created by the export of PDF files - keeping its structure open to search functions, i.e. the creation of index? I lose something important creating merged PDF in this way?

    Thanks for the sharing of experience in this case...

    Jarek

    OK, I understand.

    (1) you must understand that it is NOT a function of the combination of files to reduce the print quality of this way. And there is no simple API for it.

    (2) I agree on the structure of the issue to an extent. However, in the case of a newspaper with fuller stories on one page, and if you are looking at a web search for a tool archive, I still wonder if this is what the end user really needs. Most of the research will focus (I think) on a story, key words, places. The customer will have no advantage to have a problematic combined and probably two drawbacks (a) the file will be larger and slower, and they may have navigate to the story somehow (b) research necessary will be less specific, for example, 'new CAR of VW' and 'Stock CRASH in the single' would produce a big hit when searching for CAR ACCIDENT. I recommend that you carefully consider the final presentation of the archive before you decide.

    If you always want to do these tasks and can do them in InDesign, I recommend that actually do you.

  • Create ctxsys.ctxcat index in the object Table

    What I'm trying to do is to create an index of type ctxsys.ctxcat on 'col3 '. But this 'col3' is not a 'TABLE', but in an object, as follows:

    CREATE OR REPLACE TYPE TestObj AS OBJECT
    (
    col1 varchar2 (10),
    col2 varchar2 (10),
    COL3 varchar2 (10),
    COL4 varchar2 (10)
    );


    CREATE OR REPLACE TYPE AS THE TestObj TABLE TestTable;

    Now, how can I create an index of type ctxsys.ctxcat on 'col3 '?

    create index test_ind on TestTable (col3) indextype is ctxsys.ctxcat;?


    Thank you for helping.


    Scott

    You cannot index a user-defined data type. Indexes are used for persistent storage of persistent objects.

    What I suspect you really want is an associative array or an array indexed by integer binary. Demos here:

    http://www.morganslibrary.org/reference/arrays.html

  • What is the problem with this statement

    < cfset oldisnam1 eq ' #left ("#trim (oldisnam1) #", ("#len (" #trim (oldisnam1) #")-notediff #") #) ">

    regarding;

    < cfset noteLength = "#len (noteline) #" >
    < cfset spacer = "" >
    < cfif noteLength lt 65 >
    < cfset noteDiff = 65 - noteLength >
    < cfloop index = "daLoop" from = "1" to = "#noteDiff #" >
    < cfset spacer spacer = & "' >" "
    < / cfloop >
    < cfset noteline2 = #DateFormat (Now (), 'yyyy-mm-dd') # & "" COURSE: "& #trim (oldisnam1) # &" "& #trim (oldcscity) # &" "& #trim (oldissta2) # & #spacer # &" "& #trim (iscmp2) # >"
    < cfelse >
    < cfset noteDiff = noteLength - 65 >
    < cfset oldisnam1 eq ' #left ("#trim (oldisnam1) #", ("#len (" #trim (oldisnam1) #")-notediff #") #) ">
    < cfset noteline2 = #DateFormat (Now (), 'yyyy-mm-dd') # & "" COURSE: "& #trim (oldisnam1) # &" "& #trim (oldcscity) # &" "& #trim (oldissta2) # & #spacer # &" "& #trim (iscmp2) # >"
    < / cfif >

    It's what worked;

    I really made a mess, I don't?

    Thanks for making me think.

Maybe you are looking for