Restrict multiple users

Hi Friends,
Ours is OLAP system (10g Rel 2) . I have a package where in I populate a core table based on many working tables. I query the 4 working tables using a ref cursor and populate the data into an associative array and then looping through this array I populate the core table. Every time when I run this package I truncate the core table and repopulate it with the new data.
Actually this package should run for a single user and multiple users cannot run this. But even if multiple users run, it should not affect the data getting populated into the core table.
How do we handle this? Does Oracle internally handle this if multiple users run the same package??
Thanks
Zara

user523372 wrote:
Hi Friends,
Ours is OLAP system (10g Rel 2) . I have a package where in I populate a core table based on many working tables. I query the 4 working tables using a ref cursor and populate the data into an associative array and then looping through this array I populate the core table. Every time when I run this package I truncate the core table and repopulate it with the new data.
Actually this package should run for a single user and multiple users cannot run this. But even if multiple users run, it should not affect the data getting populated into the core table.
How do we handle this? Does Oracle internally handle this if multiple users run the same package??
Thanks
ZaraIf this "core table" were a Global Temporary Table, you would have the desired characteristics.
Any regular table does not do as desired.
BTW - On the surface this sound like a non-scalable, inefficient, & brute force implementation.
Edited by: sb92075 on Jul 5, 2011 4:28 PM

Similar Messages

  • Restricting Multiple Users To Only Their Specific Areas Of A Site

    I think I understand the basics of user authentication and
    password protection for areas of a site using PHP/MySQL, etc. Maybe
    I don't however.
    My question is: If I have 10 users how do I restrict each
    user to only their specific pages in the site so that they can only
    see their specific pages and not every protected page?
    See, maybe I don't understand, but any help would be
    appreciated. Thanks in advance.
    Glenn Atkins

    Can you password-protect individual folders, each containing
    only a single
    user's pages?
    "GEAtkins" <[email protected]> wrote in
    message
    news:fj4gel$1sh$[email protected]..
    >I think I understand the basics of user authentication
    and password
    >protection
    > for areas of a site using PHP/MySQL, etc. Maybe I don't
    however.
    >
    > My question is: If I have 10 users how do I restrict
    each user to only
    > their
    > specific pages in the site so that they can only see
    their specific pages
    > and
    > not every protected page?
    >
    > See, maybe I don't understand, but any help would be
    appreciated. Thanks
    > in
    > advance.
    >
    > Glenn Atkins
    >

  • How to restrict login for multiple users having same Role

    Our Web Application is deployed on Tomcat 5.5
    The requirement is ?
    There are roles in application like "operator", "admin"?
    There are multiple users created for each of the above role.
    When one user of "operator" role is logged in, then
    It should not allow to login for another user of "operator" role.
    Also, if user did not log out & application gets close, then
    It should not allow to login for another user of "operator" role.
    Also, it should not allow to login for multiple requests of same user
    (using another browser instance...)
    Is it possible using session object?
    But, using session object, it will create separate objects for different users,
    So here I will not be able to restrict session object creation rolewise.
    Also, how to retrieve these multiple session objects created for different users on server?
    If anyone is having the solution please reply as soon as possible,
    Thank you.

    To tell you the truth, this is a stupid requirement. It must be an extremely fragile application.
    In any case, you will have to write your stuff for that. Probably a filter that on login, logout, and session expiration checks, makes, or removes entries in a DB (using a synchronized resource to prevent race conditions) or possibly even simply in an application context object.

  • Restrict multiple log in with same user ID

    I have a JSF Project where I use Oracle JAAS for Login.
    The login works perfectly and also the components on the JSF page shows as per User Role. I am using OAS 10.1.3.3.
    I want to now implement the code so as to restrict simultaneous logins with the same user id. That is a user id cannot be looged in at once to the server from more than one machine.
    The login.html is:
    <form  name="loginFrm" method="post" action="j_security_check">
          <p>Log in to access restricted zone.</p>
          <table>
           <tr>
            <td>User name</td>
            <td>
             <input id="j_username" type="text" name="j_username"/>
            </td>
           </tr>
           <tr>
            <td>Password</td>
            <td>
             <input type="password" name="j_password"/>
            </td>
           </tr>
           <tr>
            <td> </td>
            <td>
             <input type="submit" value="Login" onclick="document.body.style.cursor='wait';"/>
            </td>
           </tr>
          </table>
         </form>The securityconfig int he web.xml file is:
    <login-config>
          <auth-method>FORM</auth-method>
          <realm-name>jazn.com</realm-name>
          <form-login-config>
             <form-login-page>/login.html</form-login-page>
             <form-error-page>/loginError.html</form-error-page>
          </form-login-config>
        </login-config>
        <security-role>
          <role-name>ADMINISTRATOR</role-name>
        </security-role>   
        <security-role>
          <role-name>MANAGER</role-name>
        </security-role>
        <security-role>
          <role-name>INSURER</role-name>
        </security-role>
        <security-role>
          <role-name>TRACKER</role-name>
        </security-role>
        <security-role>
          <role-name>INSURER_MANAGER</role-name>
        </security-role>

    Then I would say it is not possible:  Restrict multiple login in SAP Business Objects 4.0 SP6 for single user
    multiple login disable in BO | SCN

  • Need to raise a restriction that user can not put multiple PO references in PO Number field in Sales Order.

    Hi,
    reference to subject we need a restriction that user can not put different PO reference within an Order. One Sale Order should have one PO reference at Header and Line's of the sales order. Currently what is our issue that all the sales order are created by Quotes from quoting module. Whatever the line items come from quotes into sales order having no PO Number reference with them but when user completing the sales order user puts the PO reference at Sales Order Header which can not be linked or passed on those line items who captured from quotation. Due to this PO reference value difference between Lines and Header system generates multiple AR invoices based on unique PO Number references within an order.
    we need single PO reference per sales order. How can we restrict this if line level PO number reference is different from Header PO number reference that user can not proceed further?
    Regards
    Kaleem A. Bhatti

    Dear Zakir,
    Thanks a lot for your favorable response. The query is solved now by defaulting rules.
    Regards
    Kaleem A. Bhatti

  • Restrictions on using multiple user tasks in parallel ?

    Hi there,
    are there any restrictions on creating / managing multiple user tasks sequentially or in parallel in a BPEL process ?
    Sometimes my BPEL engine (OC4J/2.0.11) generates an error about "unregistered object ..." and the BPEL process failes.
    The BPELConsole then is not able to display the process state anymore.
    Thanks,
    Wolfgang

    There should be no restriction on how many task you can run in parallel. The only requirement is to use distinct partnerLinks (the partnerLink is statefull and embedded the correlation information).
    If you are combining flowN and tasks, you can achieve this by using local partnerlink (not supported by the designer but supported by the engine so a local partnerlink can be added to the process using the XML source representation of the BPEL).
    -Edwin

  • RDS 2012 R2 - Allow Some Users Multiple Logon Sessions and Restrict Other Users to a Single Session

    In Server 2012 R2 RDS, is there a way to allow some users to log on multiple times, but restrict other users to a single logon? On an OU or AD group basis?
    I know there is a GPO setting under Computer Configuration for restricting users to a single logon, but this does not allow me to differentiate on a user basis (only on a per server basis).
    Thanks,
    James

    Hi James,
    From my perspective and knowledge, sorry to say but there is no such option\way to provide this permission at same time. If a user specifies a different program to start when the user connects to the RD Session Host server, a new session will be created on
    the RD Session Host server for the user, even if the RD Session Host server is configured to restrict users to a single session. A user can specify a program to start on connection on the Programs tab under Options in Remote Desktop Connection.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to restrict multiple log-ins by same user in SAP BO 4.0

    Hi ,
    Facing licence issue Due to subjected  error  .
    How to restrict multiple log-ins by same user in SAP BO 4.0
    Thanks in advance .

    Then I would say it is not possible:  Restrict multiple login in SAP Business Objects 4.0 SP6 for single user
    multiple login disable in BO | SCN

  • Sharing an iTunes Library across multiple user account and a network.

    Sharing an iTunes Music Library across multiple user accounts.
    Hello Everybody!
    Firstly, this was designed to be run in Mac OS X 10.4 Tiger. It will not work with earlier versions of Mac OS X! Sorry.
    Here's a handy tip for keeping your hard drive neat and tidy, it also saves space, what in effect will be done is an iTunes music library will be shared amongst multiple users on the same machine. There are advantages and disadvantages to using this method.
    • Firstly I think it might be worthwhile to state the advantages and disadvantages to using this approach.
    The advantages include:
    - Space will be saved, as no duplicate files will occur.
    - The administrator will be able to have complete control over the content of the iTunes library, this may be useful for restricting the content of the Library; particularly for example if computer is being used at and education institution, business or any other sort of institution where things such as explicit content would be less favorable.
    - The machine will not be slowed by the fact that every user has lots of files.
    The disadvantages to this system include.
    - The fact that the account storing the music will have to be logged in, and iTunes will have to be active in that account.
    - If the account housing the music is not active then nobody can use the iTunes library.
    - There is a certain degree of risk present when an administrator account must be continually active.
    - Fast User Switching must be enabled.
    Overview:
    A central account controls all music on the machine/network, this is achieved by storing iTunes files in a public location as opposed to in the user's directory. In effect the system will give all users across the machine/network access to the same music/files without the possibility of files 'doubling up' because two different users like the same types of music. This approach saves valuable disk space in this regard and may therefore prove to be useful in some situations.
    This is a hearty process to undertake, so only follow this tutorial if you're willing to go all the way to the end of it.
    Process:
    Step 1:
    Firstly, we need to organize the host library, I tidied mine up, removing excess playlists, random files, things like that. this will make thing a bit easier in the later stages of this process.
    Once the library is tidied up, move the entire "iTunes" folder from your Home directory to the "//localhost" directory (The Macintosh HD) and ensure that files are on the same level as the "Applications", "Users", "Library" and "System" directories; this will ensure that the files in the library are available to all users on the machine (this also works for networks)
    Optionally you can set the ownership of the folder to the 'administrator' account (the user who will be hosting the library.), you may also like to set the permissions of 'you can' to "Read & Write" (assuming that you are doing this through the user who will host the library); secondly you should set the "Owner" to the administrator who will be hosting the library and set their "access" to "Read & Write" (this will ensure that the administrator has full access to the folder). The final part of this step involves setting access for the "Others" tab to "Read Only" this will ensure that the other users can view but not modify the contents on the folder.
    Overview:
    So far we have done the following steps:
    1. Organized the host library.
    2. Placed the iTunes directory into a 'public' directory so that other users may use it. (this step is essential if you plan on sharing the library across multiple accounts on the same machine. NOTE: this step is only necessary if you are wanting to share you library across multiple accounts on the same machine, if you simply want to share the music across a network, use the iTunes sharing facility.
    3. set ownership and permissions for the iTunes music folder.
    Step 2:
    Currently the administrator is the only user who can use this library, however we will address this soon. In this step we will enable iTunes music sharing in the administrator's account, this will enable other users to access the files in the library.
    If you are not logged in as the administrator, do so; secondly, open iTunes and select "Preferences" from the "iTunes" menu, now click the "Sharing" tab, if "share my library on my local network" is not checked, the radio buttons below this will now become active, you may choose to share the entire libraries contents, or share only selected content.
    Sharing only selected content may be useful if their is explicit content in the library and minors use the network or machine that the library is connected to.
    If you have selected "share entire library" go to Step 3, if you have selected share "share selected playlists" read on.
    After clicking "share selected playlists" you must then select the playlists that you intend to share across your accounts and network. Once you have finished selecting the playlists, click "OK" to save the settings.
    Overview:
    In this step we:
    1. Enabled iTunes sharing in the administrator's account, now, users on the local network may access the iTunes library, however, users on the same machine may not.
    Step 3:
    Now we will enable users on the same machine to access the library on the machine. This is achieved by logging in as each user, opening iTunes, opening iTunes preferences, and clicking "look for shared music". now all users on the machine may also access the library that the administrator controls.
    This in effect will mean that the user will not need to use their user library, it will be provided to them via a pseudo network connection.
    As a secondary measure, I have chosen to write a generic login script that will move any content from the user's "Music/iTunes/iTunes Music" directory to the trash and then empties the user's trash.
    This is done through the use of an Automator Application: this application does the following actions.
    1. Uses the "Finder" action "Get Specified Finder Items"
    1a. The user's "~/Music/iTunes/iTunes Music" folder
    2. Uses the "Finder" action "Get Folder Contents"
    3. Uses the "Finder" action "Move to Trash"
    4. Uses the "Automator" action "Run AppleScript"
    4a. with the following:
    on run {input, parameters}
    tell application "Finder"
    empty trash
    end tell
    return input
    end run
    IMPORTANT: Once the script is adapted to the user account it must be set as a login item. in order to keep the script out of the way i have placed it in the user's "Library" directory, in "Application Support" under "iTunes".
    Overview:
    Here we:
    1. Enabled iTunes sharing in the user accounts on the host machine, in effect allowing all users of the machine to view a single iTunes library.
    2. (Optional) I have created a login application that will remove any content that has been added to user iTunes libraries, this in effect stops other users of the machine from adding music and files to iTunes.
    Step 4:
    If it is not already enabled, open system preferences and enable Fast User Switching in Accounts Options.
    Summary:
    We have shared a single iTunes library across multiple user account, while still allowing for network sharing. This method is designed to save space on machines, particularly those with smaller hard drives.
    I hope that this hint proves to be helpful and I hope everybody will give me feedback on my process.
    regards,
    Pete.
    iBook G4; 60GB Hard Drive, 512MB RAM, Airport Extreme   Mac OS X (10.4.6)   iWork & iLife '06, Adobe CS2, Final Cut Pro. Anything and Everything!!!

    how to share music between different accounts on a single computer

  • Multiple users on computer

    This question is somewhat answered on other forum posts, but it begs to be asked again. If enough people ask, maybe the bean counters will start to understand how regular customers buy and use books. Then those same features will be available on eBooks.
    Just installed ADE on one computer, under one user account. (System: Windows XP PRO sp3). Did this as both my wife and myself are getting eBook readers for Christmas. (Augen "TheBook" units)
    First issue / question why not have multiple user ID's supported on single device through the ADE interface directly?
    Can I actually have multiple activated ID's on XP via separate user log-ins? (Again, ADE should be one program instance with multi-users IDs to the one instance, not separate Windows accounts. It should also have a share/loan function and frankly an ownership transfer function.)
    The eReader device itself does not appear to support multiple user logins. So, I guess that means the reader is lock to a single Adobe ID?
    When will the above changes occur if ever?
    (I am also posing this question to Augen's tech support.)
    My soapbox comments to feed up to the publishing world's bean counters that are forcing DRM and fixing prices.
    Real world buying habits. Single book bought by myself or wife may be read by both of us. (Gee! Isn't that a surprise! We don't buy 2 copies.) And maybe occasionally loaned to a friend, passed on to a friend, donated to charity or sold at a garage sale. More likely sitting on a shelf after one or 2 reads.
    Real world current MSRP/list price on a new eBook: As much as or maybe slightly less than the same printed Hardbound book. More than same printed paperback book.(Viewed recent Mary Higgins Clark book as example: 75% of Amazon hardcover price and 163% of not yet released paperback price.)
    Real world cost of delivering eBook vs printed book: About one-tenth the cost of a printed book. And that is with all the extra manpower wasted on DRM programing and servers.It would be a twentieth without the DRM costs.
    Printing, warehousing and transporting books is not cheap. I am in the printing business. I know this.
    An eBook cuts out all the labor and material of printing, all the costs of physical warehouse and transport, and wasted un-sold product or remaindered product. Unsold returns from retailer back to distributor or manufacturer very by catagory and title. But range from 10-50%. That all is gone with an eBook.
    So, every level from publishing to retail is more profitable with the ebook model.
    Real world use of an Ebook with DRM ePub. Restricted to single user on apparently 6 computers and 6 portable devices. Effect is that at best I can buy a book and others in my household may read it on one of the registered devices as well. I have paid as much or more than a trade paperback. Publisher has received a higher profit by far and so has seller. Author has not received a higher percentage or royalty most likely.
    I can not sell it as used, I can not donate it to charity or library. This, even though I have paid full retail and that is effectively ten plus times as much over traditional printed book production and distribution costs. Distributor actually may have higher costs as they must maintain records access for an extended time, which with court cases will in the future probably mean 20 plus years. But, that cost should be well offset by no warehousing or brick & mortar store costs.
    Of coarse I can still read the full printed library of Mark Twain books that my grandmother purchased for my father and uncle in the 1920's today. And those books will last another 100 years with moderate care. So I am paying ten times more than cost, and book may last 20 years (with luck and no business failure)  INSTEAD OF 200.
    Long story short, I am willing to purchase an ePub even with reasonable DRM protections and at a price at or lower than trade paperback, even at 75% of hard bound one new releases on occasion. But, at the much higher profit potential of a single purchased book to publisher and retailer, one should be able to use and share it the same as a printed book.
    As it is, I can not even directly buy an eBook on most sites as a gift. Don't publishers know that books a often bought as gifts?
    Publishers: If your eBook sales are not at the level you would expect, maybe, just maybe the points above may have something to do with why consumers are not buying into eBooks as you would hope.
    I guess that ends my rant for now.

    This might not be the right way but since I was having similar issues today, this something that worked.
    I placed the domain.site file on my time capsule and the Imac which I created the pages with remembered the site.
    On my mac mini I can access the site it if I open the domain.site file directly using the finder and it will then open iweb on my mac mini. If I open iweb directly, it seems to remember previous iweb sites that I created but not the current one.
    Hope this helps.
    If anyone else has another way please let us know.

  • Multiple user accounts on one ipad possible

    Is it possible to have multiple user accounts on one single ipad. Like one admit account, one for the Kids and one for mom and dad?
    Thanks!
    Josef

    iOS: Understanding Restrictions (parental controls)

  • Time Machine with multiple users on single computer

    Hi All,
    I have an iMac at home with multiple user log ons. I'm about to get the Time Capsule and start using Time Machine (currently I use backup).
    When I switch on Time Machine, does it switch on for all users, or will each user need to turn on Time Machine?
    If I have to switch on Time Machine for each user, will each user's time machine back up the entire computer (so I'll have two complete copies on my computer on the external drive)?
    If this does occur, can I control what Time Machine backs up so TM only backs up user specific information?
    Thanks in advance,
    Chris

    When you first backup it will backup your whole system (user directories, system directories, applications, etc) unless you specify folders to exclude. When a user account is added to the computer, their home folder will be added to the backup in a similar way to if you added a new application. It will back up the directory structure exactly as it is on your main hard drive. The backup will essentially keep a copy of the whole hard drive on the backup drive.
    The Time Machine will either be on for the whole system, or off for the whole system. It is not on or off for a specific user account. Users (depending on if they've got admin privileges) may have control over turning time machine on or off, but this does not change who can access the backups. All users will be able to invoke Time Machine to get to their backed up files.
    Time Machine does not make separate backups for individual users. Instead, it preserves the permissions for backed up files, so while every user can access the backups, they cant just browse other users' files on the backup. The same restrictions on the main drive are carried over to the backup. Still, a standard user who's lost a file will be able to go into Time Machine, access a backed up version of the file, and restore it. Unlike standard users who are restricted from seeing other users' files in the backups, Admins are also restricted but they can be authenticated to view other users' files if they want to.

  • How to restrict multiple ess session and access?

    Hi experts,
    how to restrict multiple session for ess user? and multi access for same ess user?
    our problem is when user login to ess (doing session, for example leave request) and at the same time their manager is accessing travel approval task for that user, the approval process getting error. (we use travel workflow to approve travel request)
    how to overcome this situation?
    thanks.

    but there is no information on ESS screen for user being lock.
    how to show the information on ess screen?
    thanks

  • How to prevent multiple users from updating the same data in coherence

    Hi,
    I have a Java Web Application and for data cache am using coherence 3.5. The same data maybe shared by multiple users which maybe in hundreds. Now how do I prevent multiple users from updating the same data in coherence i.e. is there something in coherence that will only allow one user a time to update. If one user is in a process of updating a data in coherence and some other user also tries to update then the second user should get an error.
    Thanks

    I have a question on the same line. How can I restrict someone from updating a cache value when I a process is already working on it. I tried locking the cache key but it does not stop other process to update it , it only does not allow other process to get lock on it.

  • What's the problem with having multiple users with the same UID?

    I've got three edit systems connected to the SAN using open directory off our server.
    I want all edit systems to have read/write access to everything created. I don't need to protect anything from any of the systems. With all three systems logged on using the same user, I never have to change permissions.
    The other cool thing about this is that Final Cut Pro will let me know if someone else is modifying a project that I have open with the warning:
    “The project "projectName" has been modified externally. If another user is working on it, saving will overwrite their changes. Do you still want to save?”
    This sounds great, right?
    RED FLAG!!!! Apple gives the warning in this article:
    http://docs.info.apple.com/article.html?artnum=302450
    "You should not allow two users with the same UID to access an Xsan volume at the same time."
    So why is it bad to have two (or more) users with the same UID?
    I can see that in some situations it means that you can't prevent people from read/write privileges. But I don't want to restrict privileges.
    What am I missing? With all of these warnings, it seems like if I do this my edit systems could all explode or something. Please help me understand the potential ramifications of having three users have the same UID.

    Hi Russell,
    1) If you have OD set up and "editor" has UID 1111, then when they log in to any machine that's bound to OD as editor, they will get UID 1111. Therefore, there won't be any of these permission errors. This is typically the recommended approach.
    2) I assume you mean "You'd prefer to not using open directory?" Whatever the case, OD isn't mandatory with Xsan -- it's just that with multiple user accounts, managing them centrally tends to be easier. For 3 or 4 accounts and 3 or 4 machines maybe it's no big deal. If you go larger, it could get a lot more complicated. That said, if you set it up such that each machine has the exact same set of users (as you said, Mary = UID 502, Fred = UID 503, William = UID 504), then you can do what you want. Mary can log in from multiple machines at the same time, and in general you won't have permissions problems. Of course, if you try and read and write the same file from multiple workstations at the same time, you will get file locking issues, which will prohibit somebody from successfully writing the file.
    File locking issues are different from general permissions errors. The former basically says "hey, someone else is editing this file. Therefore I won't let you edit it right now... you can read it if you want though." Permissions means somebody saves it, and Xsan thinks you saved it and own the file, when you really don't.
    Quad-Core PMG5, 4 GB RAM, 7800 GT, 1 TB disk.   Mac OS X (10.4.4)  

Maybe you are looking for

  • Windows 7/8 not installing on GPT 3TB WD HDD

    I am not able to install windows 7 or 8 on my westren digital 3TB HDD in GPT partition style after all steps described in various forums. My mobo is GA-78LMT-S2F6. In bios I have enabled efi. all tricks with diskpart have been done. Used Diskpart DIS

  • How to print a PDF with equal white borders

    Hello, When I print my flyer the white borders on the top and bottom are unequal. How do I make it so all 4 sides have the same width for the white border? The print preview is unequal too. Thanks

  • Unable to read payload from the message object

    Hi I have a scenario where i am send request to http receiver and getting the response. When I am testing through WFETCH it is working fine. But when i am testing through XI I am getting the follwoing error Unable to read payload from the message obj

  • What is car play ? how can i use this?

    what is car play ? how can i use this?

  • How do I change the dpi in illustrator?

    I created an image in illustrator and saved it as a jpeg. When I took it to print in the shop they told me the image had the wrong dpi (72). How can I change this so that I can print the image? Thanks for your help in advance.