To know data files of particular user/schema

Hi , how can i find which user has assainged which datafiles?

DBA_USERS.DEFAULT_TABLESPACE
DBA_USERS
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_4174.htm
SQL> select USERNAME, DEFAULT_TABLESPACE
from DBA_USERS
where USERNAME = '<USERNAME>';

Similar Messages

  • Search script generator for all objects and data (!) from a user/schema ?

    Is there a way to create a script which (when run) creates all the existing
    TABLES; INDEXES, KEYS and DATA for a specified user/schema ?
    This (PL-)SQL script should contain all INSERTS for the currently existing rows of
    all the TABLEs.
    When I use e.g. export to Dumpfile I have at first find all TABLEs and components
    which I want to dump. This is rather uncomfortable.
    I just want to specify the user name similar to
    createscript user=karl@XE outfile=D:\mydata\myscript.sql
    Is this somehow possible ?

    So that I understand your requirements exactly, are you asking for your script to ...
    1/ export from database A the entire schema of a specified user
    2/ drop all objects owned by that user in database B
    3/ import the objects from database A into database B
    If so, it sounds to me that a shell script that does a schema level export as Nicholas suggested, and then drops the user from database B using the cascade keyword (e.g. drop user username cascade), recreates the user and then imports the export file into B should do the trick.
    I don't think searching for individual tables and creating the statements to recreate them is the best idea.
    Hope that helps
    Graham

  • Name of the data file from a user prompt and a constant

    I have following situation:
     The event is single shot, each shot the two DAC card acquires 8 channel data (total 16 channels) and the user has to decide if we want to save the data in a file.
    Once we decide that we want to save the data, the program should prompt for a file name. The inpu will be some dgit corresponding to an event number let us say xxxxx.
    The program should create a file name 133Axxxxx.dat (or any other extension). 133A and 133B will be my two devices dev1 and dev2 respectively.
    Can some one please help, how do we do this? The data from each card should go in a different file. The file name should be 133Axxxxx.dat and 133Bxxxxx.dat (let us say)
    Ajay Singh

    I think this is what you want.  If not it should be close enough so you can modify easily.
    Matt
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
    Attachments:
    saveFilePath.vi ‏24 KB

  • How to move data files out of Users folder that is in a small partition?

    The small partition (50 GB) also has the System, Applications, Developer and Library folders. I would like to move my Documents, Pictures, etc folders from this small partition to the 200 GB partition, preferably without losing too much performance. Does it work just to physically copy them to the other partition and then delete from the Users folder, or does that create problems? I have read somewhere that this may cause a lot of disk searching delays or other more serious problems. Before I reformat the whole HD to a single partition, is there a faster, less drastic solution? Thanks.

    I presume I need to use "file-level" copying to the one-partition drive, but is there anything else to consider?
    Yes, if you're talking about CCC, then file level is all you can do copying from the drive you'r booted from, but normally best anyway as the copied files will be unfragmented.
    When failures occur, I presume they are due mainly to mechanical failures of the drive mechanism, but do "volume failures" occur very frequently?
    Very astute! It's rarely possible to just lose one partition & not others, but if it is HW failure on the HD, then likely all will be lost.
    or perhaps to a format that can be read by all platforms (other software needed for that?
    Actually, your Intel Mac can boot from an APM partition, you just can't install to it or do Firmware updates from it, but it saved my behind when my only IntelMac died recently & I gad everthing 10.5.8 on an APM Firewire drive, I just plugged it into my eMac & had everything available.
    Of course99.9% of PPC Macs can't boot OSX from USB, & cannot run/boot 10.6.x
    A few options...
    You could format that HDD as Fat32/MS-DOS, but you'd be limited to 4 GB Filesizes.
    NTFS-3G Stable Read/Write Driver...
    http://www.ntfs-3g.org/
    MacFUSE: Full Read-Write NTFS for Mac OS X, Among Others...
    http://www.osnews.com/story/16930
    MacDrive for the PCs... allows them to Read/Write HFS+...
    http://www.mediafour.com/products/macdrive/

  • How we know the rights for particular user..?

    in BO CMC, how we will know what are rights and authorizations he has for all groups...
    Sri

    Log in to CMC and slect the group and select properties of the group or user and to user security to see their rights.
    I don't see any other automated system telling you the rights for each group.
    Regards,
    Bashir Awan

  • How to restrict the user(Schema) from deleting the data from a table

    Hi All,
    I have scenario here.
    I want to know how to restrict a user(Schema) from deleting the values from a table created in the same schema.
    Below is the example.
    I have created a table employee in abc schema which has two values.
    EMPLOYEE
    ABC
    XYZ
    In the above scenario the abc user can only fire select query on the EMPLOYEE table.
    SELECT * FROM EMPLOYEE;
    He should not be able to use any other DML commands on that table.
    If he uses then Insufficient privileges error should be thrown.
    Can anyone please help me out on this.

    Hi,
    kumar0828 wrote:
    Hi Frank,
    Thanks for the reply.
    Can you please elaborate on how to add policies for a table for just firing a select DML statement on table.See the SQL Packages and Types manual first. It has examples. You can also search the web for examples. This is sometimes called "Virtual Private Database" or VPD.
    If you have problems, post a specific question here. Include CREATE TABLE and INSERT statements to create a table as it exists before the policies go into effect, the PL/SQL code to create the policies, and additonal DML statements that will be affected by the policies. Show what the table should contain after each of those DML statements.
    Always say which version of Oracle you're using. Confirm that you have Enterprise Edition.
    See the forum FAQ {message:id=9360002}
    The basic idea behind row-level security is that it generates a string that is automatically added to SELECT and/or DML statement WHERE clauses. For example, if user ABC is only allowed to query a table on Sunday, then you might write a function that returns the string
    USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'So whenever any user says
    SELECT  *
    FROM    table_x
    ;what actually runs is:
    SELECT  *
    FROM    table_x
    WHERE   USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'
    ;If you want to prevent any user from deleting rows, then the policy function can return just this string
    0 = 1Then, if somone says
    DELETE  employee
    ;what actually gets run is
    DELETE  employee
    WHERE   0 = 1
    ;No error will be raised, but no rows will be deleted.
    Once again, it would be simpler, more efficient, more robust and easier to maintain if you just created the table in a different schema, and not give DELETE privileges.
    Edited by: Frank Kulash on Nov 2, 2012 10:26 AM
    I just saw the previous response, which makes some additional good points (e.g., a user can always TRUNCATE his own tables). ALso, if user ABC applies a security policy to the table, then user ABC can also remove the policy, so if you really want to prevent user ABC from deleting rows, no matter how hard the user tries, then you need to create the policies in a different schema. If you're creating things in a different schema, then you might as well create the table in a different schema.

  • Files associated with user's mailbox database and reverent directory path (exchange 2010)

    Hi,
    I want to know all the files and other associated types of log files with particular user's mailbox database in exchange 2010 & its reverent directory path . Please suggest
    Aditya Mediratta

    Hi,
    If you want to view the database file path and associated log file path, you can use the following command.
    Get-MailboxDatabase "Mailbox Database" | fl *path
    Default path is C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database
    Best regards,
    Belinda Ma
    TechNet Community Support

  • IPhoto is currently a shared file with another user on my Mac and I am the Admin and no longer want to share it. How do i undo this completely?

    Iphoto is currently a shared file on my Mac and I no longer want to share it. How do I completely remove access to it if i am the Admin to the computer? Thanks in advance...

    I found the answer on the Quicken Support site. Unbelievable!!!!
    Article ID: GEN82981      Updated: 8/11/2011 |
    Unable to Share a Data File Between Multiple Users on the Same System
    Cause The Quicken Essentials data is a data package that contains multiple files.  Each item in the package has permission set based on the current users profile.  When the Package is moved to a shared folder, the permission in the data package are not changed, therefore cannot be accessed by another user.
    You can change the permissions for each individual file within the data package to be accessed by other users.  However, the first user who opens the file after the permissions have been changed, will take ownership of the data package, and it will no longer be accessible by the other party again.
    SolutionThis issue is currently a product limitation and is expected to be resolved in a future version of Quicken Essentials for Mac.

  • Why can't I share a Quicken file with another user on my mac?

    I have a new mac. Used to have a pc  with ms money. it was set so that both my wife and I could open Money and work on the same file (our checkbook).
    I get a "can't open file....no permission" message from Quicken if I try to open from my wife's login.
    I have the file in the Shared folder and I manually went into File Sharing and set her up to read& write on that folder and file but I still get "no permission"
    There has to be a way for 2 people to work on the same file, yes?

    I found the answer on the Quicken Support site. Unbelievable!!!!
    Article ID: GEN82981      Updated: 8/11/2011 |
    Unable to Share a Data File Between Multiple Users on the Same System
    Cause The Quicken Essentials data is a data package that contains multiple files.  Each item in the package has permission set based on the current users profile.  When the Package is moved to a shared folder, the permission in the data package are not changed, therefore cannot be accessed by another user.
    You can change the permissions for each individual file within the data package to be accessed by other users.  However, the first user who opens the file after the permissions have been changed, will take ownership of the data package, and it will no longer be accessible by the other party again.
    SolutionThis issue is currently a product limitation and is expected to be resolved in a future version of Quicken Essentials for Mac.

  • Tungsten T3 - need to access DAT file with addresses - Please Help

    I have an old Palm Tungsten T3. The desktop computer with the synced address data has died and the T3 has lost power (so no addresses anymore).
    I have a .DAT file backup with all my addresses. Can anyone advise how I can get access to these.
    Reinstalling Palm Desktop 4.1.4e did not help as it doesn't allow me to import .DAT files.
    Can I import this file into any other app or open up in Excel etc?
    Any advice would be much appreciated.
    Thanks in advance.
    Post relates to: Tungsten T3
    This question was solved.
    View Solution.

    You have to physically copy the .dat file into the User directory over the existing address.dat file.  Find the one with your hotsync name abbreviated (i.e. - C:/Program Files/Palm (or PalmOne)/ your Hotsync name /address) and copy the .dat file there.
    Be sure you copy the file and keep another one safe in case something goes wrong.  The existing blank address.dat file will be only about 2k in size.
    Good luck!
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • I have a 2nd gen Mac book air with Lion. The hard disk has filled up even though i keep my data , music etc on hard drive . I used disk inspector to find where problem was and it is 20GB in the hidden files under the user directory can i resolve this ?

    I have a 2nd Gen MAc book Air with Lion .  The 60GB hard disc has quickly filled up despite me keeping most of my data on a portable hard drive .  I used disk inspector to locate the problem but found that it was was in 20 GB of hidden files in my user directory .  Is this correct and is there anything i can do about it ? Using disk inspector you can not see individual hudden diretories or files. I did unhide them but there is a mass of diretories etc and so no way i could see if this is one or multiple files using the space. Library System and  Applications are at 4 3 and 3 GB respectvely.  The data I actually keep on there is 9GB    Thanks for any help

    I think the problem is Quick Time Player. I am using OS 10.6.8 by the way.
    I tried it out again.
    I had about 26 GB of space before I played an .avi video.
    After the movie started to play (it was slow to load), I got a warning message that my startup disk was full. I opened Disk Utility and it told me I had no space left (about 20 MB or something like that was left).
    I watched to the end of the movie.
    Then I quit Quicktime Player.
    And I shut down the computer.
    I turned on the computer and checked Disk Utility. I have about 26 GB of space.
    I think for some reason Quicktime Player uses up a lot of the disk space when it runs movies that are problematic. This movie I was watching did not open with vlc.
    I normally use vlc to watch movies.
    Probably it doesn't use up this much space when the movie is OK.
    I think there's a problem with this particular movie. It is about 50 MB so it's not that big a file. I watch .smi subtitles with it. The Quicktime Player automatically loads the subtitle file in this case because the subtitle file has the same name as the movie file.
    I watched about 10 movie files from the same series that I downloaded together and did not have any problem watching them. I watched them on vlc. But this latest movie had problems I think (as I repeat). It did not load on vlc even though I waited for a minute, and normally movies load instantly on vlc. 
    So I think that movie file caused problems. It made QT player use up a lot of hard disk space.
    I had better avoid watching that movie in the future. I don't want it to wreck my hard drive.
    So to sum up, everything is back to normal. I have the hard disk space that I should have. However, I am scared of damaging my hard drive due to shonky movie files that eat up all the space when they are played using QT player, and so I will not watch those files in the future, as I do not know why the files do that.

  • How to Find what are tables and "Table Name" in particular "Data File"

    hi Team,
    I have one database that database 300 gb size , this database having 6 ndf files ,
    here How to Find  what are the tables and  "Table Name"  in particular "Data File"[.ndf]

    Hi,
    In addition to Prashanth’s suggestion, you can also use the following Transact-SQL statements to get more detailed information including  all objects and indexes per Filegroup / Partition and allocated data size of databases.
    The script can work with Microsoft SQL Server 2005 and higher version in all Editions. For more details, please review this article:
    List all Objects and Indexes per Filegroup / Partition.
    -- List all Objects and Indexes
    -- per Filegroup / Partition and Allocation Type
    -- including the allocated data size
    SELECT DS.name AS DataSpaceName
    ,AU.type_desc AS AllocationDesc
    ,AU.total_pages / 128 AS TotalSizeMB
    ,AU.used_pages / 128 AS UsedSizeMB
    ,AU.data_pages / 128 AS DataSizeMB
    ,SCH.name AS SchemaName
    ,OBJ.type_desc AS ObjectType
    ,OBJ.name AS ObjectName
    ,IDX.type_desc AS IndexType
    ,IDX.name AS IndexName
    FROM sys.data_spaces AS DS
    INNER JOIN sys.allocation_units AS AU
    ON DS.data_space_id = AU.data_space_id
    INNER JOIN sys.partitions AS PA
    ON (AU.type IN (1, 3)
    AND AU.container_id = PA.hobt_id)
    OR
    (AU.type = 2
    AND AU.container_id = PA.partition_id)
    INNER JOIN sys.objects AS OBJ
    ON PA.object_id = OBJ.object_id
    INNER JOIN sys.schemas AS SCH
    ON OBJ.schema_id = SCH.schema_id
    LEFT JOIN sys.indexes AS IDX
    ON PA.object_id = IDX.object_id
    AND PA.index_id = IDX.index_id
    WHERE OBJ.type_desc='USER_TABLE'-- add this WHERE clause to display the information of user tables
    ORDER BY DS.name
    ,SCH.name
    ,OBJ.name
    ,IDX.name
    Thanks,
    Lydia Zhang

  • Providing users the ability to Merge using a DAT file under Windows 7

    Hello,
    Our organization uses older software that uses Word Templates with Merge Fields, pulling data out of a SQL database.  The software itself is old and out of date, but still works under Windows 7.  The problem I am having is that the software will
    place its own macros inside of Normal.dot to properly merge fields using the Word Templates.
    Each Merge document accesses the application folder and goes into a sub-folder to access a file called WORDDATA.DAT that is the data source for the merge.  Each workstation has their own WORDDATA.DAT file stored locally in C:\APPLICATION\temp\
    In XP (we never used Vista), the proper way to get these merges to work was to do the following:
    1. Provide Power Users (see below) with Modify rights to the main APPLICATION folder and propagate those rights down to all files underneath of it (including WORDDATA.DAT).  We also had to remove inheritable permissions from the root drive (C).
    2. Add Domain Users to Power Users group (for some reason the merges on XP would not work without this) so that anyone logging onto the machine could merge.
    3. These templates required the Low security setting for macros in Word for the merge to work properly.
    The problem I am facing now is that I cannot get the merges to work properly under Windows 7 Pro without giving the user Administrator rights on the local machine.  This is obviously not a good idea.  No matter what I try, nothing seems to work. 
    I've disabled UAC on these machines.  Given Full Control rights to the application folder and all sub-folders and have even gone so far as to make the user the Owner of the application folder.  But no matter what I do, the merge will not work unless
    the user is added to the local Administrators group.  I've also noticed strange behavior with WORDDATA.DAT, where it will not relinquish the Read-Only attribute.  After running 'attrib' and stripping it of Read-Only and System attributes, the file
    reverts to showing Read-Only in the properties.  I don't know if this matters or not, but it appears as if Windows will not let anyone modify that file completely.
    Does anyone have a suggestion for a workaround?  Keep in mind, 1. Disabled UAC, 2. Running the application under Compatibility Mode for XP.
    I realize we are using outdated software and this can cause some issues of course, but the basic principle of merging documents works.  It has nothing to do with the application itself IMO but seems to be more of a security issue.

    I guess I'm completely out of luck on this issue huh?  The basics of the problem are simply that unless the user is added to Administrator local group on the Win7 machine, when the merge runs and has to use WORDDATA.DAT, it cannot and the merge fails. 
    Add the user as an admin and it works but this leaves our systems vulnerable, particularly with users who are happy to just double-click on any old attachment without checking it first.

  • Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer

    I built a form in Adobe LiveCycle with an xml schema and data file.  The problem is with how the form renders the xml data file.
    I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.
    But here's the problem:  When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
    (example of placeholder:  <statementName type="String"/>   )in the xml for that field, my form pulls the field value from the NEXT statement.
    This corrupts all the rest of the statement records, as this field is shifted up for all the rest.
    I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder.  And where is the problem? In the Schema? The xml data file? My form?  And the 64-thousand-dollar question:  How to fix it?

    If your <statement> element is the one that repeats, it should be bound to a subform with the binding string of something like $.statement[*]. Then in that subform should be your fields and they should have bindings of $.statementID, $.statementName, $.statementAddress, etc.
    Kyle

  • How to revert the changes in SAP BI based on a particular user and date

    Hi
    I am new to SAP BI. I have installed the info objects from business content by choosing the option select necessary objects while installing the DSO 0PM_DS04. But later i came to know that some of the infoobjects are customized. But after the installation, the customized infoobjects have been overwritten by the latest content from RSA1 and all the customizations have been lost. Is it possible to revert back the changes based on a particular user and from a particular date.
    Please provide the solution as soon as it is possible. Points will be definitely given. Thanks in advance.

    Hello,
    Just for your information thats why the customized objects are givena diffferent name then the BC objects.
    I am not sure why you have customized a BC objects but you should always create a a Z objects if you want a customization.
    Thanks
    Ajeet

Maybe you are looking for

  • Awk: error while loading shared libraries: libdl.so.2: cannot open shared

    I got the following error awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or direc

  • Who created Invoice in AP , need user_id

    Hi, When Invoice is created in AP , record is inserted into AP_INVOICES_ALL table How will i know who created this invoice , I'm looking for user_id of the person who created this invoice. Thanks.

  • Two problems with MP3 files for interactive PDFs

    1. I'm putting in two interview excerpts for an interactive pdf. Last week when I tried to import the first MP3, I got the "cannot place this file. No filter found for requested operation" error message. I don't know anything about sound files, so I

  • Sending HTML matter through JavaMail

    Hi all I am trying to send email with HTML matter in them using JavaMail. It seems to work fine in most cases, however while testing I found out that when the email is sent to some email addresses , the matter is not displayed in the HTML format( the

  • Need help syncing, new macbook!!

    Hey guys, I've just made the big move from windows to mac and am having issues trying to sync my iphone onto the new macbook. When i tick the sync box in itunes i get a pop up box saying "are you sure you want to sync music> all existing songs and pl