Help with index of context with /,-, @.

Hi all!
I have just started working with oracle. I have a problem with a context index. Please help me. My problem is:

I have two column 'name' and 'address '. I have two columns with context index index (for example: have two index name is 'Index1' and 'Index 2'). I put the parameter ("ctxsys.empty_stoplist of the list of EMPTY words") and I insert four lines such as: ('A', 80/3 cong hoa'), (' B', 80-3 cong hoa '), ('C','80@3 cong hoa"), (has ', 80 3 cong hoa'). But when I run this selection:
Select * from tablename where contains (address, '3 cong hoa') > 0

Result will be 4 rows back at me but I want just a lines is (', 80 3 cong hoa').
I know oracle will convert the character ' / ', '-',' @' to space so result returns 4 lines and I don't know how to oracle keep character ' / ', '-',' @' when oracle index. I just want to add with 'Index2' for column 'address' and I don't want to add with 'Index1' for column 'name '.

Please help me and thank you for your attention

If you want to "/", "-" and "@" to connect the chips, but you want to "." to break the digital chips?

OK, we can do that - although it seems a bit odd requirement.

There are two special NUMJOIN and NUMGROUP characters that are used for the purely digital chips. The default varies depending on the locale, but for the English-language regional settings are the default values '. 'and', '-so a number such as 1,234,567.89 will be considered as a single token. In the areas speaks French (and others), they are reversed because the numbers are normally written as 1.234.567,89.

If you want to disable these characters NUMJOIN and NUMGROUP, so that the numbers are always divided in component chips, you can set both the to the space character (it will not allow NULL or ", which would make more sense in my opinion).

drop table foo;
create table foo (bar varchar2(200));
insert into foo values ('80/3 cong hoa');
insert into foo values ('80-3 cong hoa');
insert into foo values ('80@3 cong hoa');
insert into foo values ('80 3 cong hoa');
insert into foo values ('80.3 cong hoa');

exec ctx_ddl.drop_preference('foo_lexer')
exec ctx_ddl.create_preference('foo_lexer', 'basic_lexer')
exec ctx_ddl.set_attribute('foo_lexer', 'PRINTJOINS', '/-@')
exec ctx_ddl.set_attribute('foo_lexer', 'PRINTJOINS', '/-@')
exec ctx_ddl.set_attribute('foo_lexer', 'NUMJOIN', ' ')
exec ctx_ddl.set_attribute('foo_lexer', 'NUMGROUP', ' ')

create index foo_index on foo(bar) indextype is ctxsys.context
parameters ('lexer foo_lexer');
select * from foo where contains (bar, '3 cong hoa') > 0;

The output is:

BAR
-------------------------------------------------------------------------------

80 3 cong hoa
80.3 cong hoa

Tags: Database

Similar Questions

  • Index of context with FILTER BY

    Hello

    I have a query that always begin with the date criteria and then follow with search "word"... That's why I created an index of context with columns like this FILTER:

    CREATE INDEX ORATEXT_ART_IDX ON S_ARTICLE (ORATEXT) INDEXTYPE IS CTXSYS. FRAMEWORK

    FILTER BY DATE_ARTICLE, ID

    PARAMETERS ("LEXER S_ARTICLE_LEX THE EMPTY WORD LIST CTXSYS. EMPTY_STOPLIST sync (ON COMMIT) DATASTORE DATASTORE_S_ARTICLE');

    Because the search was slow... I even dropped and recreated the index to be sure and then run:

    exec DBMS_stats.gather_index_stats (ownname = > 'PRESS', indname = > 'ORATEXT_ART_IDX');
    exec DBMS_stats.gather_table_stats (cascade of 'PRESS', 'S_ARTICLE' = > TRUE);

    But research is still slow... for example this simple query and execution plan shows a high number of lines... why?

    Looks like that for me, this domain index runs CONTAINS, and then FILTER BY, where it should be the other way around...

    Data should be filtered first date and then by all the other stuff in this example 'contains'... at least that's what I'm trying to achieve...

    SELECT * FROM S_ARTICLE DATE_ARTICLE> = :cdès AND DATE_ARTICLE< = :dto AND CONTAINS()ORATEXT, :texte,,1) >0

    It's the execution of this plan indicates:

    Hash value of plan: 641303545

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |                 |     8. 12520.     1 (0) | 00:00:01 |

    |*  1 |  FILTER |                 |       |       |            |          |

    |   2.   TABLE ACCESS BY INDEX ROWID | S_ARTICLE |     8. 12520.     1 (0) | 00:00:01 |

    |*  3 |    DOMAIN INDEX | ORATEXT_ART_IDX | 28768 |       |     1 (0) | 00:00:01 |

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

    Name of the query block / Alias object (identified by the operation identity card):

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

    1 SALT$ 1

    2 SALT$ 1 / S_ARTICLE@SEL$1

    3 SALT$ 1 / S_ARTICLE@SEL$1

    Information of predicates (identified by the operation identity card):

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

    1 - filter (TO_DATE(:DFROM) < = TO_DATE (:DTO)))

    3 - access("CTXSYS".") Contains "("ORATEXT",:Text,1) > 0)"

    filter ("DATE_ARTICLE" > =: CDES AND "DATE_ARTICLE" < =: DTO)

    Thank you very much

    Kris

    Step 3 (DOMAIN INDEX) seems to be filtering to date properly, in accordance with the FILTER clause OF.  But it seems to make a useless additional filtering in step 1 (FILTER).  This looks like a bug - although I don't know if it's a bug in the treatment of the actual query or in execution plan Builder.

    Might be useful to change the order of the request to have EVERYTHING first and see if that makes a difference.  Also, do you have a similar plan with one paragraph? If you use equal rather than > = and<=>

    If you have a complete test cases, please contact Oracle Support and request that they connect to a bug.

  • Help with the part number - paw index screen X230ti

    Can anyone help with the reference number and or the availability of the small 'legs' that sit in the slots on each side of the keyboard on a X230ti? They locate into the slots with the screen and prevent movement when the lid is closed.

    I have the same and among the small beasts broke and the screen tends to rotate when closed.

    Have searched for a parts list but cannot find the "paw" in any list that I found. Thank you

    Here is a picture of the X230t keyboard (and palmrest) framework. You can see the small 'legs' to belong to him.

    I hope someone from Lenovo will tell you how to order this part. EDIT: part number 04W6808.

  • Need help with the search for special characters in oracle text

    Hi all

    Oracle 11g sql developer 4.0 help

    I am facing this challenge where Oracle text when it comes to searching for text that contains a special character.

    What I've done so far with the help of http://www.orafaq.com/forum/t/162229/

    "CREATE TABLE"SOS" COMPANY ".

    (SELECT "COMPANY_ID" NUMBER (10,0) NOT NULL,)

    VARCHAR2 (50 BYTE) "COMPANY."

    VARCHAR2 (50 BYTE) "ADDRESS1"

    VARCHAR2 (10 BYTE) "ADDRESS2"

    VARCHAR2 (40 BYTE) 'CITY ',.

    VARCHAR2 (20 BYTE) 'STATE ', HE SAID.

    NUMBER (5.0) "ZIP".

    ) CREATION OF IMMEDIATE SEGMENT

    PCTFREE, PCTUSED, INITRANS 40 10 1 MAXTRANS 255 NOCOMPRESS SLAUGHTER

    STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)

    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS USER_TABLES DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT 1)

    TABLESPACE 'USERS ';

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (1, 'LSG SOLUTIONS LLC', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (2,' LOVE "S TRAVEL', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (3, 'DEVON ENERGY', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (4, 'SONIC INC', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (5, "MSCI", null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (6, 'ERNEST AND YOUNG', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (7, "JOHN DEER", null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (8,'Properties@Oklahoma, LLC', null, null, null, null, null);

    Insert into COMPANY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (9, 'D.D.T L.L.C.', null, null, null, null, null);

    BEGIN

    CTX_DDL. CREATE_PREFERENCE ("your_lexer", "BASIC_LEXER");

    CTX_DDL. SET_ATTRIBUTE ("your_lexer", "' SKIPJOINS,"., @-"'); -to jump. , @ - ' symbols

    END;

    /

    CREATE INDEX my_index2 ON COMPANY (COMPANY_NAME)

    INDEXTYPE IS CTXSYS. CONTEXT IN PARALLEL

    PARAMETERS ("LEXER your_lexer");

    SELECT
    company_name
    FROM company
    WHERE CATSEARCH(company.COMPANY_NAME, 'LLC','') > 0
    ORDER BY company.COMPANY_ID;
    
    

    output

    company_name

    1 LSG SOLUTIONS LLC

    2 Properties@Oklahoma, LLC

    only 2 rows back but must return 3

    It helps if you post a copy and paste of effective enforcement of the full code, including the results.  You posted an index of context with the query with catsearch, which requires a ctxcat index.  You must be a context clue that you did not post and did not add your lexer to.  The following table shows it returns all the lines of 3 as planned using either a with catsearch ctxcat index or a context index with contains, as long that you include the lexer in your create index.  You must also be sure that the index is created, or synchronized after inserting or updating data.

    Scott@ORCL >-version:

    Scott@ORCL > SELECT banner version of v$.

    BANNER

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

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    5 selected lines.

    Scott@ORCL >-table and the test data:

    Scott@ORCL > CREATE TABLE 'SOCIETY '.

    2 ("COMPANY_ID" NUMBER (10,0) NULL NOT ACTIVATE,)

    3 'COMPANY_NAME' VARCHAR2 (50 BYTE),

    VARCHAR2 (50 BYTE) 4 "ADDRESS1"

    5 "ADDRESS2" VARCHAR2 (10 BYTE),

    VARCHAR2 (40 BYTE) 6 'CITY',

    7 VARCHAR2 (20 BYTE) 'STATE ', HE SAID.

    NUMBER (5.0) 8 'ZIP '.

    (9) THE CREATION OF IMMEDIATE SEGMENT

    PCTFREE 10 10 PCTUSED 40 INITRANS, MAXTRANS NOCOMPRESS SLAUGHTER 1 255

    11 STORAGE (INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645)

    12 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS USER_TABLES DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT 1)

    TABLESPACE 13 "USERS."

    Table created.

    Scott@ORCL > START

    2 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (1, 'LSG SOLUTIONS LLC', null, null, null, null, null);

    3 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (2,' LOVE "S TRAVEL', null, null, null, null, null);

    4 insert into SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (3, 'DEVON ENERGY', null, null, null, null, null);

    5 insert into SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (4, 'SONIC INC', null, null, null, null, null);

    6 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (5, "MSCI", null, null, null, null, null);

    7 insert into SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (6, 'ERNEST AND YOUNG', null, null, null, null, null);

    8 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (7, "JOHN DEER", null, null, null, null, null);

    9 insert in SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (8,'Properties@Oklahoma, LLC', null, null, null, null, null);

    10 insert into SOCIETY (COMPANY_ID, COMPANY_NAME, Address1, Address2, CITY, STATE, ZIP) values (9, 'D.D.T L.L.C.', null, null, null, null, null);

    11 END;

    12.

    PL/SQL procedure successfully completed.

    Scott@ORCL >-lexer:

    Scott@ORCL > START

    CTX_DDL 2. CREATE_PREFERENCE ("your_lexer", "BASIC_LEXER");

    CTX_DDL 3. SET_ATTRIBUTE ("your_lexer", "' SKIPJOINS,"., @-"'); -to jump. , @ - ' symbols

    4 END;

    5.

    PL/SQL procedure successfully completed.

    Scott@ORCL >-ctxcat index and using catsearch queries:

    Scott@ORCL > CREATE INDEX my_index2 ON COMPANY (COMPANY_NAME)

    2 INDEXTYPE IS CTXSYS. CTXCAT PARALLEL

    3 PARAMETERS ("LEXER your_lexer");

    The index is created.

    Scott@ORCL > SELECT

    2 company_name

    3 the COMPANY

    4. WHERE the CATSEARCH (company.COMPANY_NAME, 'LLC', ") > 0

    5 ORDER BY company.COMPANY_ID;

    COMPANY_NAME

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

    LSG SOLUTIONS LLC

    Properties@Oklahoma, LLC

    D.D.T L.L.C.

    3 selected lines.

    Scott@ORCL >-context and using the query index contains:

    Scott@ORCL > CREATE INDEX my_index3 ON COMPANY (COMPANY_NAME)

    2 INDEXTYPE IS CTXSYS. CONTEXT IN PARALLEL

    3 PARAMETERS ("LEXER your_lexer");

    The index is created.

    Scott@ORCL > SELECT

    2 company_name

    3 the COMPANY

    4 WHERE CONTAINS (company.COMPANY_NAME, 'LLC') > 0

    5 ORDER BY company.COMPANY_ID;

    COMPANY_NAME

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

    LSG SOLUTIONS LLC

    Properties@Oklahoma, LLC

    D.D.T L.L.C.

    3 selected lines.

  • Help with opening a photo program help links

    Install a program called INTELLI_STUDIO for my photos

    Almost all of my photos have become small 90 s "s X 60".

    I went to the program help index and sought to help with that.

    My pointer cannot open files that I need to

    What should I do to fix this?  TY

    Hi Daniel,.

    1. Are you referring to Samsung Intelli-studio?
    2. Why you have this program installed? What exactly do you want to perform?

    If you are referring to Samsung Intelli-studio please contact Samsung because it their software and there will be a better person to help you with this problem.

    Please report if you need assistance on issues related to Windows.

  • Please help with reset the time lock

    We have problems with our computer to lock if we are online, etc.  We need to connect back with our password to see what we were reading.  If the mouse is still for a few minutes, the computer will automatically lock the computer mode.  Can someone tell me how to set this time around so that it does not lock the computer after a minute.

    Thank you!!

    Hi jomabe,

    Thanks for posting of answers.microsoft.com with respect to this application.

    According to the information provided, it can be either parameter must be changed or the option of power setting could be revised in order to help you with this problem.

    For a change of setting screen saver, click on empty place on the desktop and select PERSONALIZE / screen saver - check if the waiting period is set for a time relevant to your operation or if it needs to be revised.  In addition, if the Logon Screen summary view is checked, it will ask login during the resumption of the activation of the screen saver.

    Another area that may be the result of what is living could be in the power Plan options.  To check if the power management options contribute to the problem, follow these steps to customize a diet plan to check whether components that can be going to sleep can be adjusted to your needs.

    How to customize a diet plan

    To customize a diet plan, follow these steps:

    1. Click Start
      type Power Options in the start search box, and then click Power Options in the list programs.
    2. Click on change settings for the plan under the plan.
    3. The parameters of change for the plan page, select the display settings and parameters of sleep that you want your computer to use, or click on change advanced power to change additional settings.
    4. Click OK, or click on save changes to save the changes.

      Ensure that the plan of the power that you want the computer to use is selected in the Power Options page.

    Pasted from http://support.microsoft.com/kb/935799>

    Make sure to consider change Advanced Power settings selected in the context of your current power plan to check if a network card, hard drive or other component can go to 'sleep '.

    Please let us know on this issue if it helps with the determination or help.

    Kind regards

    Debbie
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Need help with windows defender. all my files folders pictures everythiing disappeared and I find myself with this black screen and it is not all good: o)

    Need help with windows defender. all my files folders pictures everythiing disappeared and I find myself with this black screen and it is not all good: o)

    I don't know why vista windows no longer charge, or when the files and folders disappeared

    How Windows Defender is on this problem?

    Follow these steps to try to solve your problems of boot.

     

     

    Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     

    If restore work not and you do not have a Vista DVD from Microsoft, do a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner:http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Data recovery:

    1. slave of your hard drive in another computer and read/save your data out there.

    2. put your Hard drive in a USB hard drive case, plug it into another computer and read/save from there.

    3 Alternatively, use Knoppix Live CD to recover data:

    http://www.Knopper.NET/Knoppix/index-en.html

    Download/save the file Knoppix Live CD ISO above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://isorecorder.alexfeinman.com/isorecorder.htm

    Download the Vista software from the link above.

    After installing above ISO burning software, right click on the Knoppix ISO file > copy the Image to a CD.

    Knoppix is not installed on your PC; use only the resources of your PC, RAM, graphics etc.

    Change the boot order in YOUR computer/laptop to the CD/DVD Drive 1st in the boot order.

    Plug a Flash Drive/Memory Stick, BOOT with the Live CD, and you should be able to read the hard drive.

    When the desktop loads, you will see at least two drive hard icons on the desktop (one for your hard drive) and one for the USB key.

    Click on the icons of hard drive to open and to understand which drive is which.

    Click the icon for the USB drive and click on "Actions > Change the read/write mode" so you can write to disk (it is read-only by default for security reasons).

    Now to find the files you want to back up, just drag and drop them on the USB. When you're done, shut down the system and remove the USB key.

    See you soon.

    Mick Murphy - Microsoft partner

  • Need help with problems of performance with 14 elements

    I scanned the forums and provided below to help with feedback. At this point, the organizer of the elements is unusable for me - I'm looking for suggestions to help refine the installer to make it usable.

    MY SETUP

    • Just more than 50000 items in the catalog, about 95% of them are photos, videos of rest. 98% of the source files are on a drive to the server in my house, with a gigabit connection.
    • I left full recognition of faces (took two days!) and Yes, during that who was running the organizer was unusable.
    • My PC is an i7 - 4790 k with 16 GB of RAM. Windows Pro 10. Boot drive is SSD.

    THE SCENARIO

    I have a new series of images on my C drive local - images that I scanned, about 30 pictures. Using the view of the pane left records that I navigate to the folder on my C drive. If I move to the tab places it takes about 25 seconds to react and make enforcement appear the places page. If I then go to the people tab it takes about 75 seconds, for the application to respond. In both cases, the application is completely insensitive during the wait.

    Clearly, I can't clean my collection with this kind of response. So here are my questions:

    1. What are the key strategies to improve performance, given my configuration?
    2. Have I not too many objects in the catalog? Should I aim lower number? I saw that there is no actual limit but I feel Im beyond a theoretical limit of messages.
    3. Broken content is to catalog help with questions like this? Is there another internal setting, I should be updated or change?
    4. Given the number of images should I use Lightroom instead?

    The only change that I'm not going to do is to move all the content of my return to my local drive. Sound on the server so that it is completely backed up and protected. So I'm looking for ideas that help given this configuration.

    Thanks to everyone for their help.

    Mark

    mgill2012 wrote:

    .........

    Thanks to everyone for their help.

    Mark

    Mark,

    I can't offer a positive solution to your problem, but I hope to give you some answers or thoughts on this subject.

    Let's start with the description of your case: it's a perfect description of what has been reported in several positions:

    -powerful Installer (computer, SSD)

    -l' use of the recognition of people and/or geolocation

    -use of a NAS for the library.

    -Library of more than 50,000 points.

    -very long indexing, then extremely slow.

    I do not use a SSD (will probably later) or a NAS (I never do). I 65 000 objects and don't care about recognition of face or geolocation, which explains that with a basic setup on I3, 8 GB of RAM, I have an organizing extremely fast speed. Even on an old secondary computer with Vista, it is still quite manageable.

    Your choice is typical of advanced specialists and competent (I guess that less than 1% of the current user of items based). I have yet to see no answer (satisfactory or not...) Adobe staff.

    Given the number of images should I use Lightroom instead?

    I guess that's what Adobe could answer you... and that would be wise. You can use a trial version to make your choice and do a search on the forum for Lightroom. I have not seen similar, even if complaints with NASs, it seems to be a lot to say. Lightroom can convert your organizing catalogs (maybe some problems lately...)

    The only change that I'm not going to do is to move all the content of my return to my local drive. Sound on the server so that it is completely backed up and protected. So I'm looking for ideas that help given this configuration.

    If the use of the network is primarily to ensure maximum security (for not sharing images), why not would you use the choice to store your library on your computer (internal or external disk) with a sync to your NAS as a backup solution? I can tell you that my workflow includes Windows Synctoy to record each session easily and quickly (catalogs and libraries).

    Your very precise description of the case call to assess each factor of different performance individually. Even if the method above is not the final answer, it could shed light on the influence of the use of the network.

    1. Have I not too many objects in the catalog? Should I aim lower number? I saw that there is no actual limit but I feel Im beyond a theoretical limit of messages.
    2. Broken content is to catalog help with questions like this?

    Splitting the catalog is usually a very bad solution, a number of post seems to show that with the recognition of the people/geotagging, the problems around the range of 50,000 points. You can make a copy of the catalog and remove half of the files to check the influence of numbers point; Maybe it's possible with version 14 (deletion is extremely slow, but worked for me, even if it failed with older versions).

    Is there another internal setting, I should be updated or change?

    Sorry, I can't help you there...

    Other factors are using recognition Geotagging and people. Even if you absolutely need those features, disable to see their influence could help Adobe to solve performance issues.

  • Need help with Sql Tunning

    Under Update taking 2 h complete 3000 sets.

    UPDATE ARR_TRANSACTIONS ARR

    SET = NUMBER99

    (SELECT ARR_1.NUMBER99

    OF ARR_TRANSACTIONS ARR_1, ARR_HEADER BH

    WHERE ARR_1.ARR_ID = BH. ARR_ID

    AND BH. FLAG = "Y".

    AND ARR_1.LINE_ID = ARR. ORIG_INV_LINE_ID

    AND ARR_1.NUMBER9 IS NOT NULL

    AND ROWNUM = 1)

    WHERE ARR BATCH_ID = 26219

    AND ARR. NUMBER99 IS NULL

    I added more some condition where to reduce cost and its working fine. But I need to rise more than performance on SQL.

    Please help with SQL.

    I do not see the number of 3000 lines in the plan - so I guess that the optimizer does not compute with the correct numbers. Could generate the plan with dbms_xplan.display_cursor? This could tell us something about filter predicates and access.

    In the given situation, I would check:

    • is the access to the index in step 1 (filtered by the relevant conditions: this could be BATCH_ID = 26219) return actually 248 entries (or something similar)?
    • Access table in step 2 returning 204 lines (or something similar) after applying the filters given? If the number of lines is much bigger then a Nested Loops is perhaps not a good idea.

    To make this much simpler check, you could create a plan with statistics of content (RowSource) given that the plan containing the real and the number of estimated rows.

    If the estimated cardinalities are not plausible the next question would be if the statistics are strong and up to date.

  • Help with packages and functions that it

    Hello, I need help with the package.
    I have two tables of the employee base (id, firstname, lastname, etc..) T1 and T2.
    What I need, it's a package and two features inside. First function reads the data from T1 and passes to the second function, where second function reads data from T2 and concatenates the data just read with data from function1 and data T1 + T2 function2 goes on the main program that displays this data.

    So far, I have:
    create or replace type emp_type as object
    (id number,
    firstname varchar(20),
    lastname varchar(20),
    salary number(9,2));
    
    create or replace type emp_type_table as table of emp_type;
    
    create or replace package my_package
    is emp_table emp_type_table:= emp_type_table();      -- *not sure if this line is correct*
    function get_T1_emp return emp_type_table;
    function get_T2_emp (T1_emp in emp_type_table) return emp_type_table;
    end my_package;
    
    -- *confusion begins*
    
    create or replace package body my_package as 
    function get_T1_emp
    return  emp_type_table as 
      emp_table emp_type_table:= emp_type_table();
    begin
         for i in (select * from T1) loop
             emp_table.extend;
             emp_table(emp_table.count):= (emp_type(i.id, i.firstname, i.lastname, i.salary));
          end loop;
        return emp_table; 
    end get_T1_emp; 
    - get_T1_emp function seems to be quite beautiful. At least it works separately
    function get_T2_emp (T1_emp in emp_type_table)
    return  emp_type_table  
      emp_table emp_type_table:= emp_type_table();
    begin
         for i in (select * from T2) loop
             T1_emp.extend;
             T1_emp(T1_emp.count):= (emp_type(i.id, i.firstname, i.lastname, i.salary));
          end loop;
        return T1_emp; 
    end get_T2_emp;
    end my_package;
    
    
    DECLARE
      v_Return emp_type_table;
      v_Return2 emp_type_table;
    BEGIN
      v_Return := get_T1_emp;
      v_Return2 := get_T2_emp(v_Return);
      for i in 1..2 loop
        DBMS_OUTPUT.PUT_LINE(v_Return2(i).id || ', ' || v_Return2(i).firstname || ', ' || v_Return2(i).lastname 
        || ', ' || v_Return2(i).salary || 'EUR');
      end loop;
    END;
    So basically I don't know about my tax package.
    Most important, I don't know how to write the get_T2_emp function. And also not very sure of my main function. Please can someone help my with my problem

    Published by: dber November 6, 2011 21:22

    Published by: dber November 6, 2011 23:38 added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    Hello

    Here you go

    SQL> DROP TABLE t1;
    
    Table dropped.
    
    SQL> DROP TABLE t2;
    
    Table dropped.
    
    SQL> CREATE TABLE t1 (id NUMBER,
      2                   firstname VARCHAR2(100),
      3                   lastname VARCHAR2(100) );
    
    Table created.
    
    SQL> CREATE TABLE t2 (id NUMBER,
      2                   firstname VARCHAR2(100),
      3                   lastname VARCHAR2(100) );
    
    Table created.
    
    SQL> INSERT INTO t1  (SELECT 1,'SURI','DAMA' FROM dual
      2                     UNION ALL
      3                     SELECT 2,'SRINU','DAMA' FROM dual);
    
    2 rows created.
    
    SQL> INSERT INTO t2  (SELECT 3,'ABC','XYZ' FROM dual
      2                     UNION ALL
      3                     SELECT 4,'DEF','PQR' FROM dual);
    
    2 rows created.
    

    Package code

    
    SQL> CREATE OR REPLACE PACKAGE test_array_pkg
      2  AS
      3    TYPE test_array1 IS TABLE OF t1%rowtype  INDEX BY PLS_INTEGER;
      4    TYPE test_array2 IS TABLE OF t2%rowtype  INDEX BY PLS_INTEGER;
      5
      6    FUNCTION get_t1 RETURN test_array1;
      7    FUNCTION get_t2(p_t1 IN test_array1)
      8    RETURN test_array2;
      9
     10  END test_array_pkg;
     11  /
    
    Package created.
    

    Package body

     SQL> CREATE OR REPLACE PACKAGE BODY test_array_pkg
      2  AS
      3    t1_array1 test_array1;
      4    t2_array2 test_array2;
      5
      6    FUNCTION get_t1
      7    RETURN test_array1
      8    IS
      9
     10      n NUMBER :=0;
     11
     12    BEGIN
     13
     14     FOR i IN (SELECT * FROM t1)
     15     LOOP
     16
     17       t1_array1(n).id:= i.id;
     18       t1_array1(n).firstname := i.firstname;
     19       t1_array1(n).lastname := i.lastname;
     20
     21       n:=n+1;
     22
     23     END LOOP;
     24
     25     RETURN t1_array1;
     26
     27    END get_t1;
     28
     29    FUNCTION get_t2(p_t1 IN test_array1)
     30    RETURN test_array2
     31    IS
     32
     33      n NUMBER:=0;
     34
     35    BEGIN
     36
     37     FOR i IN p_t1.FIRST..p_t1.LAST
     38     LOOP
     39
     40       t2_array2(n).id:=p_t1(i).id;
     41       t2_array2(n).firstname:= p_t1(i).firstname;
     42       t2_array2(n).lastname := p_t1(i).lastname;
     43
     44       n:=n+1;
     45
     46     END LOOP;
     47
     48     FOR i IN (SELECT * FROM t2)
     49     LOOP
     50
     51       t2_array2(n).id:=i.id;
     52       t2_array2(n).firstname:= i.firstname;
     53       t2_array2(n).lastname := i.lastname;
     54
     55       n:=n+1;
     56
     57     END LOOP;
     58
     59     RETURN t2_array2;
     60
     61    END get_t2;
     62
     63
     64  END test_array_pkg;
     65  /
    
    Package body created.
    

    Main script

     SQL> declare
      2
      3     t1_result test_array_pkg.test_array1;
      4     t2_result test_array_pkg.test_array2;
      5
      6  begin
      7
      8    t1_result:= test_array_pkg.get_t1;
      9    t2_result:= test_array_pkg.get_t2(t1_result);
     10
     11    FOR i IN t2_result.first..t2_result.last
     12    LOOP
     13
     14      dbms_output.put_line(t2_result(i).id||' '||t2_result(i).firstname||' '||t2_result(i).lastname);
     15
     16    END LOOP;
     17
     18  end;
     19  /
    1 SURI DAMA
    2 SRINU DAMA
    3 ABC XYZ
    4 DEF PQR
    
    PL/SQL procedure successfully completed.
    
  • Need help with google ranking

    If I want to watch my site ive created in google is to see this:

    Woning huren in Paramaribo, Suriname

    hureninparamaribo.nl /.

    U good bij ons een in Suriname hurenvakantiehuis. Deze woning is good in room Paramaribocentrum van het. Of woning is een rüstige wijk good ...

    UU has said een + 1 belangrijkste

    As you can see before the URL is no WWW. When I click on the link, the only thing I see is a small form.  Y at - there someone who can tell me where I can change this?

    Kind regards Brian

    Great! Thank you..

    Date: Wednesday, May 9, 2012 06:15:57-0600

    From: [email protected]

    To: [email protected]

    Topic: Need help with google ranking

    Re: Need help with google ranking

    created by Ken Binney in Dreamweaver - discover complete discussion

    Hello, Brian - the problem is the file extension, you use on your pages in the folder root of your remote site you have a page with only a form named:http://www.hureninparamaribo.nl/index.html and you have this other page with all your content named:http://www.hureninparamaribo.nl/index.htm your server displays the html file then delete the index.html page form rename the index.html page content

    Replies to this message received to everyone subscribed to this topic, not directly to the person who posted the message. To post a reply, or reply to this email or visit the message page: http://forums.adobe.com/message/4390439#4390439

    To unsubscribe from this thread, please visit the page message to http://forums.adobe.com/message/4390439#4390439. In the Actions box to the right, click on stop Notifications by e-mail.

    Start a new discussion in Dreamweaver, by e-mail or at the Adobe Forums

    For more information on maintaining your email forum notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Need help with Dreamweaver Divs

    http://i707.photobucket.com/albums/ww71/killster17/help-1.jpg?t=1295224397
    This is a clip of my site that I do, is not yet online.
    But what I need help with the div, as you can see the div with the blue text overlaps a Fireworks html banner I made.
    Anyway I can fix this so that the Fireworks banner goes over the div instead of the other way around?
    Any help is thanked!

    It is a problem with the stacking order.  Your division of the blue text takes precedence over your menus rollover.

    Please read on z-index.

    http://www.smashingmagazine.com/2009/09/15/the-z-index-CSS-property-a-comprehensive-look/

    For answers, we need a link to the page to test your site.

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Help with link behavior

    I am under some misunderstanding or lack of understanding about the stationary and visited link style effects. In the footer of the file which is below, I have an adverb "Legally" and an openrange-logo image. I want to both be links.

    http://www.openrangeimaging.com/test/gravity-test/index-Test01.html

    I have almost the legal link works correctly. It is the appropriate color and has no text decoration initially. Place the cursor over the link and it changes color. Click on the legal link and it opens the referenced page. The problem is that if you click on the back button of the browser the link then appears with a very small dotted border.

    Openrange-logo link does not appear correctly. It connects to the external site ok. But it seems initially with the blue border which becomes red on the bottom and the violet after the visit. I want it to appear without any border or any other effect in all States. I maybe it changes color to the overview, but for now I want to get rid of the borders.

    I think that I have the html markup incoorect but I can't figure out how. I tried a number of things without success.

    Any help with this and other comments on the code and markup of this will be very much appreciated.

    TIA

    It should be-

    an img {outline: none; border: none ;}}

    Nancy comes to typo...

  • PHP, help with the site of the legacy database

    Hope someone can help with this, although I might be a little vague. (But will be happy to post any code which may help.)

    Basically, I'm doing a few sites for a company, and everything comes together nicely any movement towards a new reseller hosting account where all can site. Basically, I'm doing some redesign and new work of database for them.

    But there is a site that I am basically just try to hover over, which already has a database. I copied the site on the new hosting, copied from the database through and created a new connection file.

    I admit that the code is all PHPO a little heavier than what I am used to working with. If you have encountered a problem trying to understand what data is not displayed due to failure of queries. I can say that the connection is working, and queries have not changed.

    In any case - the homepage is here, where you should be able to click on the images of furniture to go to the product page:

    http://www.miradatravelmedia.com/lusty/public_html/index.php

    But when you click on through the product page request fails:

    http://www.miradatravelmedia.com/lusty/public_html/products.php?category=1

    The products page is mainly PHP and looks like this:

    [PHP] <? PHP

    If (! @empty($_REQUEST["img"])) {}

    require_once("..) ("/ includes/hft_image.php");

    $img = new hft_image($_REQUEST["img"]);

    $img-> resize(200,180,"-");

    $img-> output_resized("");

    "exit";

    }

    $page = "products";

    include("..) ("/ includes/header.php ');

    include("..) ("/ includes/db_open.php");

    $sql = "SELECT 'id', 'name', 'CATEGORIES' WHERE 'id' = '. $_REQUEST ['category']. "'";

    $result = mysql_query ($sql) or die ("failed query: $sql to the line". "") __LINE__);

    $category = mysql_fetch_assoc ($result);

    ? >

    < div id = "trail" > < a href = "shop.php" > shop < /a > & gt; "" Lloyd Loom <? PHP echo $category ['name']? > < / div >

    < div class = "clear" id = "divider1" > < img src = "images/spacer.gif" alt ="<? PHP echo keyword()? ">" / > < / div >

    Lloyd Loom < h1 > <? PHP echo $category ['name']? > < / h1 >

    <? PHP

    $sql =

    "SELECT *". "."

    ""PRODUCTS.

    "WHERE"category"= '". $_REQUEST ['category']. "' " .

    ' ORDER BY 'order ';

    $result = mysql_query ($sql) or die ("failed query: $sql to the line". "") __LINE__);

    If (mysql_num_rows == 0) {}

    ? >

    < p > to come... < /p >

    <? PHP

    } else {}

    $n = 0;

    While ($row = {mysql_fetch_assoc ($result))}

    $n++;

    ? >

    < a href = "product.php? id = <?" PHP echo $row ['id']? ">" class = 'product' <? "php if ($n == mysql_num_rows ($result)) echo" id =-'last\' "?" > >

    <? PHP

    If ($file = glob ("images/products / '. '")) $row ["id"]. "_*.*")) {

    ? >

    < img src = "img.php? img = <?" PHP echo $file [0]? > & width = 200 & height = 180 "alt =" <? " PHP echo $row ['code']? ">" / >

    <? PHP

    } else {}

    ? >

    < div id = "no_image" > no image found < / div >

    <? PHP

    }

    ? >

    <? PHP echo $row ['code']? >

    < /a >

    <? PHP

    If (is_int($n / 4)) {}

    ? >

    < div class = "clear" > < img src = "images/spacer.gif" alt ="<? PHP echo keyword()? ">" / > < / div >

    <? PHP

    }

    }

    }

    ? >

    < div class = "clear" id = "divider2" > < img src = "images/spacer.gif" alt ="<? PHP echo keyword()? ">" / > < / div >

    <? PHP

    include("..) ("/ includes/footer.php ');

    ? > [PHP]

    If someone could shed some light on what goes wrong again, that would be much appreciated.

    Thank you.

    Iain71 wrote:

    OK - changed the line of the query and get the error message: no database selected...

    The answer lies in the connection of database script, db_open.php. There should be a call somewhere to mysql_select_db().

  • Need help with loading in a different place every time the page reloaded the film.

    Hello

    I have a Flash movie that I need to go to one of the 6 chosen images when say a user presses the button back or home page of the site. I don't want just the same user, see the flash movie to play again in the same place each time that they return home.

    Help with this is appreciated.

    Thanks advance.

    -Ann

    Here's what I wrote:

    var numbers: Array = [2,114,415,687,960,1195,1485];

    _root.firstTime = true;

    {if (Firsttime)}

    firstTime = false;

    The frame number: var = Math.floor (Math.random () * numbers.) (Length);

    gotoAndPlay ([frame] numbers);

    }

    I also tried this:

    Array.prototype.shuffle = function() {}
    for (var = this.length - 1; ivar ivar > = 0; ivar-) {}
    var p = random (ivar + 1);
    var t = this [ivar];
    This [ivar] = this [p];
    This [p] = t;
    }
    };
    ASSetPropFlags (Array.prototype, ["shuffle"], 1, 1);
    var Array_ar:Array = new Array (2,114,415,687,960,1195,1485);
    Array_ar.shuffle ();
    index = 0;
    function load_random() {}
    gotoAndPlay(Array_ar[index++]);
    If (index == Array_ar.length) {}
    (index = 0);
    }
    }
    load_random();

    But this Dungeon jumping whenever I hit the back of the frame 1 or refresh.

    Thanks again.

    use:

    var numbers: Array = [2,114,415,687,960,1195,1485];

    The frame number: var = Math.floor (Math.random () * numbers.length);

    gotoAndPlay ([frame] numbers);

  • Need help with Macbook

    Hello, I recently bought a Macbook from a friend and since I got the Mac it's very very slow at doing things like browsing the internet using Safari, it takes forever to load, web pages and all sorts of things that I'd like to get help with this problem maybe a few recommendations and also on how to speed up... If you need to care about Macbook, I can give these thx.

    To sell or transfer ownership of a Mac, even to a member of your family, you must follow these instructions. So far, you will have continuous problems.

    Refer to what to do before you sell or give away your Mac

    1. If you have enabled FileVault, disable it in system preferences > Security and privacy.
    2. "Remove" your iTunes account. Ditto for Audible if you have one.
    3. System Preferences > iCloud > deselect 'Back to My Mac' and 'find my Mac '.
    4. Disconnect from iCloud. Select "Delete from Mac" when it appears.

    Next: delete all of your personal information by erasing the internal storage of the Mac completely.

    1. If your Mac comes with a grey system installation DVD, start up your Mac with this disc in the optical drive, all holding the key c to boot from it instead of its internal volume, which must be erased before selling.
      • Apple stopped Macs shipment requiring these discs in August 2011.
    2. If your Mac does not comes with disks, boot OS X Internet Recovery:
      • using three fingers press on and hold the following keys: (command), optionand R.
      • With a fourth finger, press the power button to turn on the Mac.
      • Keep the other three fingers here where they are until you see the icon "spinning globe.
      • This method force the Mac to download BONES initially installed from Apple servers, that won't require not an Apple ID install.
    3. Remove any password Open Firmware, if you created a: select utility password firmware in the Utilities menu and remove.
    4. Select disk utility from the utilities menu.
    5. Delete all partitions that can be created.
    6. Select the icon for the hard drive to the Mac, and then select the tab "delete".
    7. Click on the 'Security Options' button and erase the drive.
      • More "robustly" you erase the disc, the longer it will.
      • The fastest method is sufficient, since all but the techniques more expensive and equipment will be able to recover data deleted safely.
    8. When he finishes, quit disk utility.
    9. In the utility menu, select Install Mac OS X .
      • An identifier Apple won't be necessary. If a prompt for an Apple ID, return to step 5.
      • Do not create user accounts.
    10. When he finishes, shut down the computer.
    11. If you want to install the bundled apps that have been included with your Mac, restart using your DVD Applications if it was included and install the bundled apps.
      • Apps, delivered with the new Macs sold without disks cannot be transferred. His new owner must buy them from the Mac App Store with its own Apple ID.

    If the Mac is sold to someone outside the family, consider the following additional information:

    1. System provided with your Mac installation DVD must stay with him forever and be included in the sale.
    2. Consider including your AppleCare certificate if you bought it, documents printed, same box if you have.
      • AppleCare remains with the equipment and can be transferred.
    3. Run an invoice indicating the serial number of the Mac.
    4. Once is no longer in your possession, remove the Mac of your devices in my support profile.

Maybe you are looking for