Loding data using the database link.
Dear all,I am new to Oracle GoldenGate...
How to use the database connection in GG?
below is the script...
I have a source table in the client machine (. 28) and I have Norman to laod given in the target computer (. 149) per database connection.
I run application GG in (. 28) and create the link of database called docqvoice_db alos.
I used below extracted code also
REPLICAT load6
Username, PASSWORD sh
ASSUMETARGETDEFS
CARD sh.products, TARGET products@docqvoice_db;
I have created the structure of the source in the target also.
I got the error
WARNING OGG - 01194 Oracle GoldenGate for Oracle, LOAD5.prm Capture: EXTRACT task LOAD6 added: Table PRODUCTS@DOCQVOICE_DB does not exist in the target database.
Please advice...
Thanks in advacne...
Amina Hussain
[email protected]
No cell + 91-9886006549
Amina,
You have two choices. First choice, that's what you do, but your syntax is off. It should be:
REPLICAT load6
Sh@docqvoice_db username, PASSWORD sh
ASSUMETARGETDEFS
CARD sh.products, sh.products of the TARGET.
Second choice is to create a view on the source using the link from the target database and map display just as in:
REPLICAT load6
Username, PASSWORD sh
ASSUMETARGETDEFS
CARD sh.products, sh.view_on_products of the TARGET.
Good luck
-joe
Tags: Business Intelligence
Similar Questions
-
How s/n know when and what account perform a function using the database link?
Dear,
My application of the CIM team asked DBA to create new function and run it. Function must use the database link for remote database data. So I need to create a new database to their licensing link. Cause we guess we'll experience the performance issue after the user performs this function, or another question and errors may occur. So we want to know when and who use this feature that connects to a remote database through the new database connection in advance. And I also need to know when and which connect to the remote database using this new database link. We have no idea to get this information? Can anyone recommend how do? Thank you very much.
Best reqards, Otis.
Check what business purpose, it will solve. If the function is so safe, why everyone will use. Only admin people should access.
All of these additional controls of this kind must be avoided as much as possible to improve the overall performance of the application.
Still if you need, see the database audit mechanism, specifically designed for this type of activity.
Kind regards
Harman
-
Using the database links in a process of page plsql
I try to use a database link in a process of pl/sql page.
It works fine when I use the link name in the plsql like this:
BEGIN SELECT CARD_ID into :P12_HDR_CARD_NUMBER from [email protected];
But the name of the link will come an element of page (P12_DBLINK) filled as follows:
select db_link d, db_link r from user_db_links;
I tried the following and it doesn't work:
DECLARE l_link VARCHAR2(30); BEGIN l_link := :P12_DBLINK; SELECT CARD_ID into :P12_HDR_CARD_NUMBER from fusion.EXM_CC_COMPANY_ACCOUNTS@l_link;
It gives me:
- ORA-04052: error occurred when searching to the top of the remote object MERGER. EXM_CC_COMPANY_ACCOUNTS@L_LINK. WORLD ORA-00604: error occurred at recursive SQL level 3 ORA-02019: description of the connection to the remote database not found
I thought that perhaps the name of the link was joined with. WORLD automatically but already has the name of the link. WORLD at the end I tried stripping first but the error is the same.
Is there some synatx for what will work? Can I use dynamic sql statements?
Any suggestions are most appreciated.
Thank you
John
Hi John,.
see the following example to use the execute immediate for your purpose
SQL - Variable for the name of the database link - Stack Overflow
Let me know if that answers your query in the active thread
-
ORA-03113 while using the database link
From our database, we use a database link to query on a different database tables: they are the two 10.2.0.4
It is not always occur, but often. You have an idea? Thank youTake a look at this note:
ORA-03113 UNIX - what information collect [ID 17613.1] -
creating user using the database link
Hello
I have 11g installed on one of the server
I created the database BUGAU to bugau.us.oracle.com link
link works fine
"Select * from table@"Bugau "gives the expected result
I ran the Sub statement to my server using the dblink.but do not know how to use the dblink to that effect. Please sat down
CREATE USER ABC IDENTIFIED BY welcome TEMPORARY by DEFAULT TABLESPACE USERS_001 temp123 TABLESPACE;
GRANT DEFAULT TO abc;
ALTER USER abc PROFILE LEVEL_1;
Thank you
ArchanaBravid wrote:
You cannot create a user on a remote database using a database link.
You can, but it is not a good design:
SQL> exec dbms_utility.exec_ddl_statement@orcl('CREATE USER ABC IDENTIFIED BY ABC'); PL/SQL procedure successfully completed. SQL> exec dbms_utility.exec_ddl_statement@orcl('GRANT CREATE SESSION TO ABC'); PL/SQL procedure successfully completed. SQL> connect abc@orcl/ABC Connected. SQL>
Of course, the user in the database unite ORCL must have EXECUTE on DBMS_UTILITY privilege.
SY.
-
Reading large data using the database connectivity
Hello
I use the Labview database connectivity toolkit to connect to my database sqlitev3 (I'm using ODBC). I just have to connect to the database (using the block of open_connection) and read all the values inside (using the select_data block). The problem is that my database is huge (about 2 GB), and I get this error:
. VI NI_Database_API.lvlib:Rec FETCH Recordset Data (R)-> NI_Database_API.lvlibB Tools Select Data.vi-> real_web.vi-> real_web.vi.ProxyCallerADO error: 0x8007000E Exception occurred in provider: not enough memory is available to complete this operation. in .vi NI_Database_API.lvlib:Rec Fetch Recordset Data (R)-> NI_Database_API.lvlibB Tools Select Data.vi-> real_web.vi-> real_web.vi.ProxyCaller
What should I do? It seems that he reads the data in the memory and it doesn't have enough space for it. When I read the data I want to write to a file.
Read it in pieces. Write each piece to the file, and then repeat with the next segment. Try to read and process all data in one shot is not very practical and you found out will not work.
-
Using the database link in the applications
Hello
I just configured and created a PUBLIC database link on my oracle 10g. Can I use it with success of sqlplus do some like select simple:
"SQL > select * from table"@dblink ".
The query returns the result as expected.
Now, I would like to use this public link in my applications, but the problem is that the link seems to be only available in the SYS schema.
Ho can I access to a schema?
In other words, to do some select (and insert) of my applications APEX by using the link to the db. If I try to select said, all I get is
ORA-02019: description of the connection to the remote database not foundOK, thanks all for the help, I found the problem.
It seems that I created the link of database public and not public.I gave both of them and re - create public database link and now it works.
Thanks for the help.
-
Using the database link to connect to two databases
Hi guys,.
Here's my question. I need to give to a Select rights contractor on the tables located in two schemas located on two different servers. A dev server and a prod. Let's say we have a user schema: EMPLOYEE on the dev and user schema: DEPARTMENT on prod. The outside contractor needs certain rights on all the tables in the schema DEPARTMENT but just select on a few (4 to be exact) tables from a diagram of the EMPLOYEE.
My first train of thougth is: CREATE a named user: TEST (of course, only used for an example of random name) for contractor on prod. Give some rights to TEST user on all the tables in the schema of DEPARTMENT.
Create the link of database to the dev server so user TEST can access the EMPLOYEE schema.
How can I go to limit the user TEST link database to display only 4 tables to EMPLOYEE instead of all the tables?
Should I also do this scenario backwards? Creating user TEST on dev, giving rights TEST for 4 tables in the FRAMEWORK, and then creating the database for you link connect to schema Department on production database?
Any help will be appreciated. Thanks in advance.Just set up a new DEV scheme to be used by the link of database connection string.
-create synonyms in this schema@DEV for these four tables.
-grant select access on these four tables to this schema@DEV. -
error "invalid character" using the database link
Hello!
I use db 9.2 and trying to connect to a 10g database.
I created the db link... when I use it (select * from table@dblink), an error occurred: ORA-00911 invalid character. It does not accept the '@'!
I tried to use it on sql * plus, worked well...
Any ideas?
Thank you!Can you try to set America/America in preferences - Database - NLS?
Hope that helps,
K. -
Insert in oracle 11g postgresql using the database link
Hey all,.
an I have a problem when I try to insert into the table postgre
copy of sa/sa@xe insert "ora". "TAB0"@orapos3 using select * from tabel0;
SP2-0498: lack of column between parentheses or USING keyword list
to 'ora '. "TAB0"@orapos3, data type of are all text columns
tabel0 taype data of the whole column is varchar2...
What is the cause?
kgronau,
Thanks for your help
I found the solution to this problem, this is not caused by the configuration...
I use the pl/sql like this:
DECLARE
CURSOR remote_insert IS SELECT * FROM sa.tabel0;
START for rec IN remote_insert LOOP
INSERT INTO "ora". ' Values of TAB0"@orapos3 (rec.kolom000, rec.kolom001, rec.kolom002, rec.kolom003, rec.kolom004, rec.kolom005, rec.kolom006, rec.kolom007, rec.kolom008, rec.kolom009, rec.kolom010);
END loop;
END;
/
Thank you
Daniel
-
Reading file and dump the data into the database using BPEL process
I have to read the CSV file and insert data into the database... To do this, I created some asynchronous bpel process. Adapter filed added and associated with the receive activity... Adapter DB has added and associated with the Invoke activity. Receive two total activity are available in the process when trying to Test em, receive only the first activity is complete and awaits the second receive activity. Please suggest how to proceed with...
Thanks, Maury.
Hi Maury,
There is no need in step 2 that u mentioned above. I donot find useless a webservice?
The process will be launched by the CSV file, then using the processing activity, you can put it in the DB.
There should be no way where you can manually test it by giving an entry. All you can do to test is to put the file in the folder you mentioned when configuring the file adapter.
You just need to have the composite as below:
ReadCSVFile---> BPEL--> DB adapter
And in your BPEL process:
Recieve--> Transformation activity--> call activity
Try to work on some samples listed on the oracle site and go through the below URL:
The playback of the file adapter feature using
Thank you
Deepak.
-
How to insert data into the database using smartview
Hello
I am trying to insert data into the database using * "Send data" * button on the Ribbon of Essbase.
My database is empty.
I opened an ad hoc network, it returns * "#missing" * in all cells
I have modified the cells and provided data in the cells that I want to. Now, I supported on * "Send data" * button.
It just reloaded the adhoc grid instead of submit data, I rechecked the data through data console Administrative Service are not inserted.
I am following the right way to insert data? If not, could you please suggest me how (Populate) insert default data in the database?
--
VINETYou go about it the right way, once you have submitted if you réactualisiez then data values should be there, if you POV is against members of dynamic calc and then data not written to the database, you need to check the Member properties of your POV.
See you soon
John
http://John-Goodwin.blogspot.com/ -
DDF mount data to the database
Dear:
I need to design an application to read the data of the DDF file and mount them in database.
Could you please let me know how I can design an application to read these DDF files.
I offered to do the next step:
1 binary reading the orginal DDF file
2 convert to ASCII code
3. Finally, following the DASYLab format to enter data and transfer to the database file.
Thank you
There are two ways to do this:
First of all, just read the data using the DATA module to READ and write again with a DATA WRITE module configured to ASCII. Please see the ASCII options to ensure that the data separator, date/time format and the number of decimal places to your needs.
Make sure that you configure the DATA module to READ to read NOT in real time. The default is to replay in real-time.
Second, read the data using the DATA READING module and use the module output of ODBC and an Action to write directly to the database module. This implies relatively slow data and cannot be done at high speed.
-
Cannot insert data into the database
Hello world
I stuck with a problem in DB juice. When I try to insert data into the database using DB tool, I get a repeated error message (error 1). Please find the my vifile below and solve say.
Problem is use Labiew 8.2. So try to answer accordingly
Try it with a cluster instead of a string or an array.
-
Receiving data using the device RFCOMM Protocol activate bluetooth
Hi all
I want to apply that receive the data of bluetooth device using the RFCOMM Protocol.
I'm pasting some of my code
Server StreamConnectionNotifier = null, Server1 = null, server2 = null;
Hi all
Can some body having any idea or sample code to receive data using the for Bluetooth RFCOMM Protocol. I am able to find a device to activate bluetooth and also connect with it.
And ther eis a problem plus I only magnified device does not form some sort of link (link Url SPP, OPP Url link, etc.) for bluetooth.
But I can verify that this device is correct because I am able to receive data from this device to my computer by checking the connection port and to open this port.
Maybe you are looking for
-
Turner of HP ASTC/Analog tv
I have a laptop hp Dv4T-1300, s/n CND9152JLY with a hybrid of minimap AverMedia tehc.i tv can not see the television channel on my laptop in Germany, why? can someone help me? Thank you
-
1.7 Plugin for VMWare management that no host not found Dell
I upgraded from 1.6 to 1.7 of the VMWare Management plugin, now I can not create a connection profile. I began to create the profile, I have "no Dell host were found. I tried to unsubscribe and re-application with VC. This works great every time. I t
-
How to check, battery is original or not in dell n5110 i5 laptop
I bought dell (n5110) 2nd generation i5 in a little used Please tell me How can I check its battery is original or not?
-
tbupdater.dll not found
I run windows 7 and suddenly, I get the message "C:\Program Files (x 86) \Browser Updater\TBUpdater.dll the module specified was not found.". What happens in normal mode, the system does not have to work. I now can not enter in safe mode, but can not
-
Extension alternatingcellrenderer
Hello I'm exnteding the alternation CellRenderer to make it respond to my request. In fact, rather than pale skin, I change in the dark. In my view, he has black skin, but I'm not on them because I reorganize the fonts and display information a littl