Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Reg: Oracle to mysql server connection

chandra_1986Oct 14 2021

Hi experts,

I have to create db link from oracle db to gateway mysql server, how can i create the db link.

I have addedd the listener entry from Gateway server to tnsnames.ora file in oracle db server, ,and tnsping is working fine.
after this i need to create the dblink to connect from oracle to mysql server db, but i dont' have username and password to create db link.

Any suggestions.

Comments

Gurjas
You should create a bitmap or btree index on the action_id of the history table depending on the cardinality of the column.
Which will fasten the checking of action usage in the history table.

As per my understanding the isused idea is not good.

Why don't you go for the foreign key in the table? If you have already implement the foreign key in the table then this problem should not be there.. now you have to check the existense manually in the table. If possible you can also implement the foreign key now.
668031
Thanks,
after all they did create a index. The problem of having a foreign key without having a index by that key is that it takes very long to check if it is used.
1 - 2

Post Details

Added on Oct 14 2021
1 comment
86 views