How we cn avoid the sequence in remote tables through global temporary tabl

Hi,
We have table xx_interface_qualifiers in the remote db and we are inserting the data like this and its on a loop
INSERT INTO xx_interface_qua
(interface_id,
list_line_interface_id, excluder_flag,
qualifier_context, qualifier_attribute,
qualifier_attr_value, qualifier_precedence,
comparison_operator_code, start_date_active,
end_date_active, list_header_name, list_line_no,
creation_date, created_by, last_update_date,
last_updated_by, interface_attribute1
VALUES (xx_interface_qua_s.NEXTVAL,
ttt, 'Y',
xxx, xxx2,
xxx3, xxx4,
'=', SYSDATE,
NULL, xxx4, -1,
SYSDATE, '-1', SYSDATE,
'-1', 44 );
We are trying to avoid the hitting of the database every time for a sequence and try to implement the global temporary tables,i mean to say 1st we need to insert the data to TEMP table and then from temp table we cn inseert all the data to xx_interface_qual in a single shot to improve the performance.
But how we cn avoid the sequence in this case as we do not know the sequence in remote side.
Please suggest any other way to improve the performance.
Regards
Das

797846 wrote:
We have table xx_interface_qualifiers in the remote db and we are inserting the data like this and its on a loop
We are trying to avoid the hitting of the database every time for a sequence and try to implement the global temporary tables,i mean to say 1st we need to insert the data to TEMP table and then from temp table we cn inseert all the data to xx_interface_qual in a single shot to improve the performance.
But how we cn avoid the sequence in this case as we do not know the sequence in remote side.Does not make sense. I/O is the slowest database operation.
You have an unknown performance problem (that you claim is due to a sequence, but failed to provide any evidence for). Now you want to create more I/O, by writing the data twice. Once into a temp table and then again into the destination table. And do that in order to increase performance?
I do not see how this can solve the underlying, and unknown, performance issue that you claim exists.
Any problem solution needs to start with correctly and comprehensively identifying the problem.
You cannot solve a problem without first knowing WHAT the problem is.

Similar Messages

  • What is the syntax for creating global temporary table using a select query

    hii
    I'm creating a global temporary table using a select query ..how to mention 'on commit preserve rows' that?
    create global temporary table t1 as select * from trn_ordbase on commit preserve rows;
    but this is invalid syntax,so how to mention on commit preserve rows in this???if i dont mention it ,by default its considering as on commit delete rows.
    Please help me out of this problem.

    create global temporary table t1 as select * from trn_ordbase on commit preserve rows;You CANNOT use this syntax.
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/sqcmd.htm
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/glob_tab.gif
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/cre_tabl.gif

  • I have made a book of my I Photo pictures. In certain layouts there is a textframe. How can I avoid the frame becoming visible in the print if I don't want to write anything? Should I just leave it or should I delete the text "Write your text here" ?

    I have made a book of my iPhoto pictures. In certain layouts there is a text frame. How can I avoid the frame becoming visible in the print if I don't want to write anything?  Should I just leave it untouched or should I delete the instructing text "Write your text here"?

    Most pages have layouts for pictures only or pictures with text boxes. Either select the same layout for that page but the one without the text box or put a space in the text box.
    Putting a space in the text box will avoid getting the warning when ordering that there's an unfilled text box in the book. The box will not be visible in the final product.  You can and should check the book before ordering by previewing it as described in this Apple document: iPhoto '11: Preview a book, card, or calendar before you order or print it
    Happy Holidays

  • I changed my password to use migration to transfer files from a G4 to a new macbook pro but now I have to sign in every time. How do I avoid the sign in?

    I changed my password to use migration to transfer files from a G4 to a new macbook pro but now I have to sign in every time. How do I avoid the sign in?

    I clicked on keychain access but getting a warning that it quit unexpectedly and it won't reopen.

  • How do I avoid the recipient of my Indesign PDF receiving a security warning when clicking on links?

    I create PDF's out of Indesign to send to new clients. They contain links to external websites. They do not contain any javascript or videos or hidden links. If the PDF is opened in Adobe Reader, when the recipient clicks on a hyperlink in my PDF they get a security warning asking if they trust the site. How can I avoid the recipient receiving this Security Warning as it would scare people into thinking I had sent them something malicious when I haven't?

    You cannot avoid it, that's part of the PDF security system to make the user aware that he is entering non-trusted area, as it is with every web page when it is opened the first time in Reader or Acrobat on this computer. ThatÄs an unchageable fact. You have to live with it.

  • How do I avoid the recipient of my PDF receiving a security warning when clicking on hyperlinks?

    I create PDF's out of Indesign to send to new clients. They contain links to external websites. They do not contain any javascript or videos or hidden links. If the PDF is opened in Adobe Reader, when the recipient clicks on a hyperlink in my PDF they get a security warning asking if they trust the site. How can I avoid the recipient receiving this Security Warning as it would scare people into thinking I had sent them something malicious when I haven't?

    There's nothing you can do as the creator of the file. If you could, that whole source of security would be worthless.
    They would need to tweak their security settings in Edit>Preferences>Security(enhanced).

  • How do I change the sequence of fields in DT?

    Hello,
    How do I change the sequence of the  fileds DT in such a way that the MM (already done) will not be disturbed?
    Thanks
    Nikhil.

    I could figure it out
    you can actually do it by right clicking on the field , cut and insert
    thanks anyways,

  • Every time I sync my iCal computer with my iPhone 4 or iPad, duplicate entries are generated on both systems. What am I doing wrong or how can I avoid the duplications?

    Every time I sync my iCal on my computer through iTunes with my iPhone 4 or iPad, duplicate entries are generated on both systems. What am I doing wrong or how can I avoid the duplications? I have been doing this for several years and this problem is a more recent issue, like in the last 6 months. I have been deleting the duplicate entries, on both systems, but some duplicates reappear through "general" entries that are connected to the correct color for a Calendar, but not the name. I am going nuts and wasting tons of hours trying to get the 3 calendars to sync without generating duplicate entries.

    Choose one of the Calenders on ONE of the computers OR the MobileMe as the Master / correct account.
    The REINITAILISE the data of MobileMe within preferences on the computer defining the datatransfer correctly (in the advanced box of preferences). The synchronise iphone contacts and calender directly on-line to MobileMe.
    I posted a question on this today, and gave my own reply !
    Regards,
    Kevin

  • How can i change the sequence of text element in standard driver program ?

    Hi,
    can u tell me how can i change the sequence of text element in standard  sapscript driver program.. without making a zcopy of standard driver program.
    My problem is when MEDRUCK form is getting printed for PO print , header text is coming before item. But the requirement is to come it after item.So how cani do that without making the zcopy of  SAPLMEDRUCK program..Is there any enhancement point in SAPLMEDRUCK driver program..where i can put my customise code for changing the sequence of text element ?

    Hi,
        Just copy the MEDRUCK to ZMEDRUCK. No need to copy the driver program.
    1) SE71Menu > Utilities > COpy from Client
    MEDRUCK ->>Client 000
    New formname ZMEDRUCK
    2) Now open the ZMEDRUCK in DE language in SE71
    3) Menu > Utilities > Convert original Language
    Change DE  to EN, save and activate
    4) Now open the ZMEDRUCK in EN language
    5) Goto Pagewindows > Main window,
    Look for the HEADER text Text element, copy the whole code under this Text element just after the ITEM text Text element, and comment the HEADER text above.
    Now the Header text Text element will be below ITEM text only. This will full fill your requirment.
    Now goto NACE transaction and add the copied ZMEDRUCK to the EF application.
    Regards
    Bala Krishna

  • How can I avoid the need to OFTEN refresh or recover HP 2000 notebook?

    How can I avoid the need to OFTEN refresh or recover HP 2000 notebook? Windows 8.0.

    I found your support page by searching E0M18UA#ABA (as opposed to EOM18UA#ABA) which I assume was a simple typo. To answer your original question, the answer is to identify and isolate the cause of the errors and issues you are experiencing. Once you identify each issue, you can find what it takes to get beyond them without having to refresh or recover so frequently.
    You can only troubleshoot and identify the issues that are currently happening. If you are getting freezing right now, first take a look at this document specific to the freezing to narrow down the cause: Computer Locks Up or Freezes (Windows 8)
    A link to this document is contained in the previous one, but it is worth pointing out that this might be valuable to test for hardware failures: Testing for Hardware Failures (Windows 8)
    Another valuable tool when trying to identify the source of the problems, is to perform a clean boot after having one of the issues and trying to recreate it. This shows how to  remove  startup items. A good strategy is to disable half of the available items first, then restart and try to recreate the issue. If you cannot recreate it then perhaps there is a problematic startup item. If you can recreate it then disable half more, and repeat a few times until you empty the startup items.: How to perform a clean boot in Windows
    I hope this helps, and by no means is this a recipe to fix your current issues, but a few strategies to help you better identify the issues.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • How can I avoid the display of ORA-31684 during impdp import?

    Hello,
    I'm working on a cross-platform tablespace migration (from SunOS to RedHat Enterprise Linux).
    During the import with DataPump, I have several ORA-31684 error messages ("Object type TYPE : "OWNER"."OBJ_NAME" already exists"). Some of my TYPE objects exist already in the Linux instance of the DB. The messages appear only for 4-5 TYPE objects, while overall I have around 180 TYPE objects owned by the schema owner.
    How can I avoid the display of these error messages? I don't want to drop the TYPE objects individually from the Linux instance, as the object list may vary in time.
    Thank you,
    Adrian

    Hi,
    There is no way to tell the impdp to ignore those errors. They will be printed to the error log and to the screen where the job is being run.
    Dean

  • Help-how can i see the sequence in the table?

    Hi, i created sequence for the table. but how can i view the sequence as a column in the table? like the sequence started with 1 and increment by 1. how can i make it available as a column in the table? thanks a lot for anyone's prompt reply. much appreciated.

    eg.
    Create table:
    create table t1 (
    id number(10),
    col1 varchar(2)
    Create sequence:
    CREATE SEQUENCE "PEMARTEN"."T1_ID" NOCYCLE NOORDER CACHE 20 NOMAXVALUE MINVALUE 1 INCREMENT BY 1 START WITH 1
    You can do 2 things:
    Use the sequence in your insert query:
    eg.
    insert into t1 (id, col1) values (t1_id.nextval, 'example');
    OR
    Create a before insert trigger (prefered):
    CREATE OR REPLACE TRIGGER "PEMARTEN"."BI_T1" BEFORE INSERT ON "PEMARTEN"."T1"
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    DECLARE
    new_id number;
    BEGIN
    SELECT t1_id.nextval
    INTO new_id
    FROM dual;
    :new.id := new_id;
    END;
    Now you can just insert data:
    insert into t1 (col1) values ('example');
    sequence.nextval increments the sequence and returns the next value
    sequence.currval returns the current value of a sequence
    I hope that helps.
    Kind regards,
    Pieter

  • KMC Migration Tool stopped. How to restart avoiding the finished steps?

    Hi,
    I'm using KMC Migration Tool for upgrading EP 6.0 SP 2 (6.20) to EP NW04 SPS15 (6.40). We have experienced some network problems, and the process of DB migration has stopped between the end of the migration of task AP - completed suscesfully (the last step of the Migration the DataBase, many hours!!) - and the begining of the synchronization the fsdb Repositories (only a few minutes). When I tried to restart the process of DB migration, the KMC Migration tool tried restarting all the migration tasks from the begining of the DB Migration.
    How to restart avoiding the finished steps? How can I avoid to repeat the migration of the DB from the begining, especially if it has executed suscesfully? Can I synchronize the FSDB repositories manually at the end of the EP migration? How can I do it?
    If I had to restart the process, is it necessary to restore the target DB, or the process does not insert records from the last execution?
    Many thanks for your help,
    Best regards,

    Hi,
    CM repositories in FSDB mode can have a manual backup before configuring the local root. The XML file provides the description of behaviors and persistence levels for the file system. To have a manual backup the auto sync has to be deactivated or else there will  be a  huge meta data loss.
    what i feel is like you have to restore the DB before manual bacup(.if the Auto sync is activated). However, i dont  think so  that you can resume the migration.
    Regards,
    Anand

  • Teststand 1.03 - How can I get the sequence file path into an expression?

    The sequence file will be located at different locations on different computers. I need the base address of the sequence file to get to the correct limits file. How can I get the sequence file path into a string-local expression.
    Thanks

    As Ray described, the FindFile expression function and TS API method will seach all TS search directories and return to you the path of your file, assuming the file is located in the search directories.
    If you just want the path of a TS file that you have a reference to then there is a faster, easier method. You can use the Path property of the PropertyObjectFile class. In the attached example I use an AcitiveX Automation adapter step to call Path on the property RunState.SequenceFile. This returns the path to the current executing sequence file. Note that if you have not yet saved the sequence file then the path will be empty. In a subsequence step I strip off the file name leaving the root path of the file.
    Attachments:
    GetSeqFilePath.seq ‏22 KB

  • How can I avoid the null values in cross tab?

    How can I avoid the null values in cross tab?

    Hello Anindita,
    Let me explain you the problem in detail.
    I have selected User and Program as rows in the cross tab. In Summarized Field I am counting the Programs.
    In DB I can have both User and Program null.
    Letu2019s take these scenarios...
    1) For a User, Program can be null
    2) For a Program, User can be null
    3) And both can be null.
    A null Program does not give problem since Cross tab does not count the null values and in my case too, it remove the Program which are null from the Cross tab because of the counting its doing on Program. Hence scenario 1 and 3 is not a Problem.
    Problem comes in scenario 2 (For a Program, User can be null).
    In this case since Program is not null it will get counted and will be grouped under null user but I donu2019t want to show the null user Grouping in my cross tab.
    "Suppress empty rows" and "suppress empty colums" does not help.
    Thanks & Regards,
    Amrita

Maybe you are looking for

  • I am getting Error! java.sql.SQLException:General error

    hi every body, I struck with this error , can any one suggest in solving this. I had a table in oracledatabase ,i have successfully created a table and inserted clob column with an attachment like xxx.txt. table format----> id and text columns Now my

  • Mac Pro freezing up

    Forgive the long post: I'm trying to be provide as much information as possible so I can get the best help. The problem: My computer just stops working. ITunes continues to play and the mouse works, but the clock stops working and nothing functions.

  • RMAN Automatic backup/recovery with oracle fail safe, windows cluster

    Hello, I have question, 1) Whether it is possible to do "RMAN Automatic Backup and recovery" in environment as ? Environment: - a. Windows clustering with windows server 2003 Enterprise Edition R2 (Two Node Clustering) b. Shared disk ( RAID ) c. Orac

  • Why can't I can't control export settings in iMovie '13

    After upgrading to the new iMovie I don't have the ability to have more control of how I export the video files. Before I was able to control more of the file size and what type of file output I wanted. Where has this gone?

  • Inheritable instance counter variable

    Here's a problem that's been bugging me for a while, and i'm sure there's a simple solution to it that is just escaping me. I'm developing a pluggable module based system, so i have my base class module with a reference counter counter += 1 in the co