Accessing source schema via synonyms

Hi,
We are using oracle 10g for source and target and OWB 10.1 for our ETLs.
The DBA is not ready to give password to connect(register) to the production source schema. so how can we register the source module in OWB?
We have thought of these 2 approaches -
1. create a schema with no tables but having synonyms to the source schema. register this schema in OWB and use accordingly
2. Hard code the schema name in the mapping(right click configuration, for each source table we can set the schema name). but if i change my source schema name then i will have to re-visit all the mappings and change here, or is it there any other method?
Pls let me know which is better approach or if there is any other way to handle this
Thanks
Sagar

Hi Igor,
Would using synonyms affect the performance of mappings? Since our warehouse staging area requires making multiple connections to tables in the source system tables, would the synonym approach slow down retrieval of data from these source systems?
Does creating synonyms mean creating those many dblinks to the table on which the synonym is created?

Similar Messages

  • Creating views in a new schema to access certain rows of tables in source schema

    Hi,
    Oracle 10.2.0.4
    We are trying to mask certain data from some users. My suggestion is that we create a new schema view_schema on the same instance where we have source tables say in source_schema.
    We then create views in view_schema as below
    CREATE VIEW AS SELECT * FROM source_schema.table where COLUMN_n = 'XYZ';
    we then grant SELECT on these views to a role and assign new users that role to be able to see the viewed data.
    So the questions below.
    We can create views to look at data in another schema WITHOUT giving SELECT permissions directluy on source_schema.tanle?
    This will work and there is no need to create synonyms etc
    WE can manage users and views much easilier
    Does this make sense and would that be better than selecting views with say table_name_view in source schema for this purpose and even creating synonyms for these views with the same tanle names in sourece_schema?
    Thanks

    905989 wrote:
    Hi,
    Oracle 10.2.0.4
    We are trying to mask certain data from some users. My suggestion is that we create a new schema view_schema on the same instance where we have source tables say in source_schema.
    We then create views in view_schema as below
    CREATE VIEW AS SELECT * FROM source_schema.table where COLUMN_n = 'XYZ';
    we then grant SELECT on these views to a role and assign new users that role to be able to see the viewed data.
    So the questions below.
    We can create views to look at data in another schema WITHOUT giving SELECT permissions directluy on source_schema.tanle?
    This will work and there is no need to create synonyms etc
    WE can manage users and views much easilier
    Does this make sense and would that be better than selecting views with say table_name_view in source schema for this purpose and even creating synonyms for these views with the same tanle names in sourece_schema?
    Thanks
    1. You can create the view in another schema (first granting privileges to the view schema) without granting privileges from the source schema
    2. You probably want to create public synonyms for the view(s).  You can refer to the view as schema.view but this is cumbersome
    3. I am not sure about management being easier but added complexity should not be too bad.  Write documentation describing how everything works and the object involved.
    Another, more complicated but more powerful possibility is to use row level security also known as virtual private database - if you have the license.  You create a profile for a table and a procedure to generate WHERE clauses to filter any query against the table and columns defined in the profile.  Again, you need the license to do this.

  • Data source schema validation error

    Hi,
    I'm trying to validate data source schema in TS 3.1 and getting this error:
    " Run-time error '458':
    Variable uses an Automation type not supported in Visual Basic ".
    Same operation works fine in TS v3.0 (Evaluation!!!).
    Thanks,
    Edi

    Wojtek and Edi -
    I have looked into this problem and some preexisting VB code now appears to error when trying to access some of the data type information from the providers schema. I have been able to work around this error and if it occurs again, it will error more gracefully. I am attaching a ZIP file for you to try. Thank you for your patience.
    Scott Richardson
    National Instruments
    Attachments:
    TsDBOptions 31.zip ‏192 KB

  • Query in Stored Procedure accessing another schema

    Hi - this is going to sound kind of strange and even i can't come up with an explanation. My JDK 1.1.7 applet uses a type 4 JDBC thin driver (i think v 8.04.06) to access an Oracle 7.3.4 database. We also have a link with full grants and synonymns to another Oracle schema in an Oracle 8 database. Has never been a problem - we can access anything we need to through queries or stored procedures from either of these databases.
    So, i have a new stored procedure that needs to be called through JDBC that queries a table in the Oracle 8 database. For some reason, whenever i execute this stored procedure from java it hangs on this query and the instance needs to be restarted. If i execute that same stored procedure from SQL Plus, it runs fine.
    I tried a little test. I put a straight query in my java code that goes directly to that table (no stored procedure involved). It runs great through java!
    is this weird or what? my dbas have checked out all privelages and it seems that i have access to everything i could possibly need.
    If anyone has any suggestions i would love to hear them.
    thanks for your help...
    Lori - [email protected]
    null

    You can only access an object in another user's schema if you either:
    (a) Specify the 'other' schema name explicitly: SCHEMA.OBJECT
    (b) A synonymn has been created to access the object: CREATE SYNONYM OBJECT FOR SCHEMA.OBJECT.
    The user requiring the synonym should create it, or the user owning the object can create a PUBLIC synonym, if they have the authority.
    To check my hypothesis, try typing 'DESCRIBE procedure_name' from SQL*Plus as both users.

  • Database copy dropped objects in source schema

    I was seeking out a quick way to copy an entire schema from one db to another and I was happy when I found the "database copy" feature. I checked the documentation and found that all I needed to do was select the source connection, the target connection, and choose either create, truncate, or drop objects. Well I had some objects in the source db from a previous failed attempt at copying all the objects via script. To remedy that the drop objects option, according to the documentation " Drops any existing table with the same name, and then creates and loads it from the source." Ok, great. The summary shows up with a bunch of entries which I didn't pay too much attention too. Fine, continue...running....progress...so far so good..and the log shows up. I see drops, I see moving data, and I see a whole bunch of errors with no useful information with them. Check the target schema...nothings there, all objects are dropped. Ok, lets have a look at the source and see whats going on. Refresh tables...nothing...refresh...refresh...nothing. The source schema has all its objects GONE too! One lonely type is saved in the source schema, that's it. Am I a total moron and misinterpreting how database copy works? Can anyone shed some light on this? Anyway to recover my source objects? As the source db is not production I am out of luck as there is no recent backup.
    Source: 9i
    Target: 11g
    sql developer v 2.1.1.64.45
    -j

    OK the problem was that my target connection was inadvertently pointing to the source. It was set properly before but stuff went bad and i switched the connection from TNS to basic, then back to TNS. Apparently when switching back to TNS the wrong entry was selected. Not sure if I chose it or it was selected from a different connection. In any case, very stupid of me.
    thanks K.
    Edited by: [email protected] on Jun 17, 2010 6:45 AM

  • Access other schema's table without specify the schema name

    Hi, need ur help again,
    I would like to access other schema's table without specify the schema name. for example,
    select * from hr.jobs;
    What priviledges i need if i want to select the data in this way:
    select * from jobs;
    Thanks!

    Public synonyms have their place, but are not generally a good idea as they will cause conflicts with other schemas and applications. Another think that you can do is issue the
    ALTER SESSION set CURRENT_SCHEMA = schema;
    The CURRENT_SCHEMA (8i and above) parameter changes the current schema of the session to the specified schema. Subsequent nqualified references to schema objects during the session will resolve to objects in the specified schema. The setting persists for the duration of the session or until you issue another ALTER SESSION SET CURRENT_SCHEMA statement. CURRENT_SCHEMA is a session parameter only, not an initialization parameter.
    This setting offers a convenient way to perform operations on objects in a schema other than that of the current user without having to qualify the objects with the schema name. This setting changes the current schema, but it does not change the session user or the current user, nor does it give you any additional system or object privileges for the session.

  • Can access Apple TV via airplay, but can't get to internet or iMac from Apple TV

    Can access Apple TV via airplay, but can't get to internet or iMac from Apple TV. Whenever I try to put my info in it says to try later. When I test network it says network time has not been set. It has worked previously.

    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Restart your mobile device.
    If you are still having problems, the following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
    When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful.

  • How do I set up an administrator account so my daughter who is under 13 , so she can access itunes herself. Main access will be via itunes vouchers . I don't want to create credit card access.

    how do I set up an administrator account so my daughter who is under 13 ,
    can access itunes herself. Main access will be via itunes vouchers . I don't want to create credit card access.

    There is no such account. The iPod is really a one-user device
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    You can then redeem a gift card(s) into the account

  • I now have 5 devices that access the "cloud" via Match. I also have 3 computers that need to be authorized. Is there a way to authorize all these computers/devices in such a way to allow everything to access and sync to the cloud?

    I now have 5 devices that access the "cloud" via Match. I also have 3 computers that need to be authorized. Is there a way to authorize all these computers/devices in such a way to allow everything to access and sync to the cloud?

    I had a problem with a 5.0.3 project that would cause 5.0.4 to crash. Apple asked for a copy of the project and later told me it was because there were some empty text layers. Apple is aware of the issue and is working on a fix.
    In my case I still had 5.0.3 on another Mac and could clean up the project. If empty text layers might be the problem, do you know someone with an earlier version who could open it and remove the empty layers? I'd be willing to give it a try if you'd want to send me the project.
    Ross Hunter

  • How to create/import a target schema from a source schema using data pump?

    I have seen some examples where schema remapping will be done through remote link which I cannot as both the target schema and source schema are in same machine ...but I am not sure how to do it with out using remote link? I would be great if some one could provide a example
    Thanks in Advance

    I'm not sure what you are asking here, but I'll try to give some examples on remapping a schema:
    expdp prived_user/password schemas=orig_schema_1 directory=dpump_dir dumpfile=orig_schema_1.dmp
    impdp prived_user/password schemas=orig_schema_1 directory=dpump_dir dumpfile=orig_schema_1.dmp remap_schema=orig_schema_1:new_schema_1
    If you want to try without a dumpfile then you need a loop back dblink.  (A dblink on your database that points to the same database.  This would be your command:
    impdp prived_user/password schemas=orig_schema_1 directory=dpump_dir network_link=loop_back_link remap_schema=orig_schema_1:new_schema_1
    Hope this helps.  If not, can you explain your question a little more?
    Dean

  • I receive a not connected to the internet message several times daily on my iMac connected via airport to a time capsule which accesses the internet via cable modem.. When I input my password to enter network preferences, the connection re-establishes.

    I receive a "not connected to the internet message" several times daily on my iMac connected via airport to a time capsule which accesses the internet via a cable modem. Software/firmware is up to date on the iMac (OSX 10.6.8)  and Tme Capsule(7.5.2). Browser is Safari 5.1.
    When I input my password at the prompt to enter network preferences, all the lights go green (ie... ethernet, ISP etc.) and the connection re-establishes immediately and states "the connection appears to be working normally".
    It more of a nuisance than anything and seems to have started ocurring over the past couple of months. I also have a windows XP box also connected to the same cable modem that I never have internet connectivity issues with. I've verified all the physical aspects of the connections and can't see any evidence of any actual drops in the modem logs. I suspect it is just an intermittent communication loss between the Imac and the Time Capsule, but I am not very familiar with Mac equipment yet.
    Just wondering if anyone has experienced a similar problem and what you did (if anything) to resolve it?
    Thanks.

    The AirPort Express will connect to your existing wireless network if the network is using WPA2 Personal or WPA/WPA2 Personal wireless security settings.
    So, it can join the network as a client and then provide an Ethernet signal to your Time Capsule.
    Be sure to configure the Time Capsule to operate in Bridge Mode so that it will be operating on the same network.

  • I CANNOT ACCESS THE INTERNET VIA MOZILLA FIREFOX. BOX COMES UP AS FOLLOWS:-

    I CANNOT ACCESS THE INTERNET VIA MOZILLA FIREFOX
    A BOX COMES UP WITH THE FOLLOWING:-
    firefox-exe - Entry Point Not Found The procedure Entry Point
    could not be located in the dynamic link library mozsqlite-3-all.
    PLUS
    When I access the internet via my server (Tiscali now Talk-Talk)
    I have to enlarge each page. this is not now automatic.
    What on earth has happened?
    Please Help.
    Thank you.

    You need to do a clean reinstall.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • If i connect an external hard drive to a time capsule, can i access this drive via internet?

    If i connect an external hard drive to a time capsule, can i access this drive via internet?

    If the drive can be accessed in local lan, then it can be accessed from internet assuming you have setup using one of the remote access methods.
    See remote access here.
    https://discussions.apple.com/community/wireless/airport?view=documents

  • Access local disk via Java Web Start??

    HI all ,
    I had saw the JWS document.
    It indicate we can't access local disk via JWS in that Security.
    If I need to access local disk by command, does anyone have better suggestion.
    And can I run *.bat via Java Web Start?
    Thanks very much for your help.
    Morris

    I do the both thing but still don't access to Local disk.
    I just write a simple test class within extend another that create a file (and of course sign it)but still can't create a file Local disk. this MAKE ME MAD and LOOSE MY JOB .
    here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Pensionsrechner -->
    <jnlp
    spec="1.0+"
    codebase="file:///d:/"
    href="test.jnlp">
    <information>
    <title>Me</title>
    <vendor>myself</vendor>
    <homepage href="http://www.me.com"/>
    <description> test test test</description>
    <description kind="short">Test creatin of log file on client </description>
    </information>
    <offline-allowed/>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4"/>
    <jar href="test2.jar"/>
    </resources>
    <application-desc main-class="secMan.Test"/>
    </jnlp>

  • Failed to open source schema file:null Error Xform File Creation - CustomerPartyEBM

    Hi All,
        We are creating a Provider ABCS which is generated by AIA Service Constructor with SyncCustomerPartyList Operation in CustomerPartyEBM, We are able to compile the process susccesfully but when we create a Trasformation file with source as CustomerPartyEBM and Target has Siebel ABM, then the xsl file in design view pops up a error message saying - "Failed to open source schema file:null". When tried with other EBM's its working fine its only for CustomerPartyEBM.
    Do anyone had idea on this?
    Thanks a lot,
    RR.

    Thank you both for your responses.
    You were on the right track.
    I was attempting to use a 'dodgy' brand (SKY-Silver) of DVD-R for the creation of the disk set.
    On changing over to TDK disks, the problem did NOT repeat.
    Strangely enough, the dodgy ones worked great for creating copies of the set once it was completed.
    Again, thanks to you both.

Maybe you are looking for

  • How do I get Apple TV to play on my Macbook Pro?

    I just bought a Macbool Pro and Apple TV to use as entertainment while out of town for work, but I can't get it to play on my computer. It plays fine on my TV, but when I plug the hdmi cable into my Macbook, nothing happens. How do I get this to work

  • HP Client Security removal

    I recently purchase a HP laptop and the HP Client Security is constanly blocking me from using my computer. It blocks the usage of USB and user privilages. I need to remove it as soon as possible. It is asking for a password in order to change the se

  • Sign-out of e-mail

    Hi, Just wondering if I had misunderstood something here. Using webmail (and no, I'm not going to use a client on every occasion ) when I sign out of my account that should be it, irrespective if I have previously ticked "Keep me signed in". Manually

  • STILL GETTING BILLED for previous residence

    I moved from NJ to NYC and I am still getting billed by Verizon. I was told the move would be simple, so I transferred my service. However when I moved, they opened a new account for NYC, but Verizon never transferred my account. They then told me th

  • Audio moving around within a piece?

    Ok, this is one of the weirdest things I've ever seen. We have been tweaking a feature film soundtrack for a client, going back and forth on minor adjustments over the past month or two. They called me yesterday to tell me that near the end of the fi