Is it possible to determine where in a table a space table or partition?

11.2.0.3 Oracle on linux AWS A3 16 Oracle database server.

After a fall of several large tables have a tablespace 3to with 1.5 TB of free space.  We made a tablespace shrink but recovered only 200 GB, as I understand it the HWM reset cant more weak cause of fragmentation.

We do not want to reorg all objects in the repository.  is there a script to determine where in the repository of objects?  I hope that moving objects little we can then reduce it considerably.

I found scripts that showed me the degree of fragmentation, but not where they are.  Any ideas?

Here's the answer, took a bit of digging

https://jonathanlewis.WordPress.com/tablespace-HWM/

referenced in

https://jonathanlewis.WordPress.com/2010/02/06/shrink-tablespace/

Tags: Database

Similar Questions

  • A way to determine where they use spot colors in color?

    Hello

    Is it possible to determine where a spot color is used in your art?

    I know in InDesign, you can open the separation Preview Panel and cut the rest of the colors.  Is there a method similar to Illustrator?

    Thank you

    Ed

    Since CS4 there.  What version do you use?

    If cs3 or below, save in pdf format and open in acrobat (pro, no player) to see the separations.

  • Is it possible to determine which parts of the runtime of the BCI are required?

    Recently, I added a few .NET controllers to allow me to use c# written by third-party DLLs.

    A few years ago, due a number of reasons, rather that runtime CVI together with our shipping software, we have stripped the small pieces that were needed to make the software run, which kept the overall size of the package down. Given the size of the complete engine (134MB) and the fact that we probably use very little of it, I'm reluctant to add, given the fact that the package occupies only around 10-12 MB.

    I discovered yesterday that the latest version of our software does not work on machines other than my development machine - either're missing us now stuff CVI.

    You might wonder why I do not use the distribution manager to build. In other words, due to the law American that we are prohibited from any form of encryption beyond a certain level as part of a software project we produce, and the installer at the moment entered in this category.

    So that's my dilemma. My questions are...

    (1) is it possible to determine what might be missing by the simple knowledge that the addition of .NET controllers caused the problem.

    (2) if I use the distribution manager to make a working copy of the software, would it not straight to the before enough to then identify what additional things other than my own code, has been added to make the software work and if so where is the installer put it. I have the impression that something gets stuck in Windows\System32, but are there other places too?

    I hope you can help

    Concerning

    Gavin Summers

    You have been really helpful guys... I'm sorted now... The problem arose mainly because I have 9 upgrade to 2010 and then 2010 SP1 for this project. I already had a local copy of the CVI. Reflector.dll in my (9.0.248) project, or something similar, so that was the cause of the problem, but because I just started testing on machines other than my development machine, I haven't noticed so far.

    I went looking for the new copy of this file, when we moved to 2010 SP1, but found no one. I didn't realize he was locked up in the House - I think he could be in the system32 directory before. I have now managed to get a copy from there and when included in the installer, the project is now working on other machines.

    As I said before that the situation is far from the idea, saw out the locks take out the execution engine of the CVI, but because of the way we ship software and due to the restrictions that are imposed by the U.S. Government on issues of encryption, full runtime is now too big to ship with the software , and we cannot use the MSI installer as its encryption level at least at the last valuation was too high.

  • Is it possible to determine if a person has access to my computer via an external source?

    Original title: hacking

    Is it possible to determine if a person has access to my computer via an external source?

    Hello bconn07,

    You must grant permissions via remote access or they would have to introduce a software on your pc without your knowledge for them to access. The software is usually by means of malicious programs and your anti-malware application must pick up that, especially if it's a keylogger or a rootkit. Try to download Malwarebytes antimalware http://malwarebytes.org (download the free version). Install it and then run it. It's good enough to malicious software localization.

    Pirate can introduce a software called keyloggers that send information on the key, you press on your keyboard. This can help them steal passwords etc. However, I do not say that you even have apps keylogging or view on your system, so don't panic. I suggest, however, an application called Keyscrambler personal http:// http://www.qfxsoftware.com/download.htm it works by disguising and precautions that you ever install key press you. By example, if you typed "Bill" keyscrambler journal would be something like 'kl97' thuis makes it very difficult for any keylogging software interpret what keys you actually used.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • When you copy a file in the same folder, is it possible to choose where "copy of" add original file name?

    When you copy a file in the same folder, is it possible to choose where "copy of" add original file name?

    Someone has an idea?

    No, it is not possible.

  • on Windows 7 Home Premium edition. Is it possible to determine the ip address of any remote login to my computer?

    My computer is running on Windows 7 Home Premium edition.    Is it possible to determine the ip address of any remote login to my computer?    I noticed that termservice was running, as well as the remote registry and winrm - and I began not to them.

    Thank you.

    My computer is running on Windows 7 Home Premium edition.    Is it possible to determine the ip address of any remote login to my computer?    I noticed that termservice was running, as well as the remote registry and winrm - and I began not to them.

    Thank you.

    Well quite simply a Win 7 Home Premium computer can NOT act as a host [DRC] Remote Desktop is not a problem. If you want to see if something needs to connect remotely with the help of another program you can look in the event viewer for clues...

    http://Windows.Microsoft.com/en-us/Windows/search#q=Event+Viewer

    You can also go to Start and type services.msc in the search window. Start the component services snap-in and stop these three services. Set Manual as well.

    If you suspect a virus or malware of any kind make sure you run a good antivirus program such as MSE or download and run Microsoft Safety Scanner or ESET online scanner...

    http://Windows.Microsoft.com/en-us/Windows/products/security-essentials

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    http://www.eset.com/us/online-scanner/

  • Call of action/script...is it is possible to determine?

    I wonder if it is possible to determine in a script which is the component script or action.

    Example: Suppose I have Action 1 and Action 2 both call the same script. For Action 1, I prefer the script to do a thing in Action 2, I would have preferred something slightly different. Is it possible for the script to know that 1 Action active?

    Ditto for when a script calls another script. Without the caller script set anything external that reads the script called, the called script cannot know what active script?

    Take a look at .stack $. The last line must contain the name of the script the highest level.

    As for stocks, you can't say what actions a script was called from. I suggest scripting wrapper for stocks. Put the name of the action in the name of the script and have it include the actual script. Create one per share. You can then use the trick of .stack $ to guess what action was the appellant.

    X

  • Possible to determine the dimensions of the image to download cffile?

    Hello

    Is it possible to determine the pixel dimensions of an image jpg or gif file which has been downloaded using cffile?

    Kind regards
    Greg

    or...


    imgFile = createObject("java","javax.swing.ImageIcon").init("#image_name#");
    imgFile.getImage ();
    w = imgFile.getIconWidth ();
    h = imgFile.getIconHeight ();

    width = "" #w # "height =" #h #.

    Adjust the code accordingly to what you do.

  • Is it possible to install the same recovery XP 2 times on 2 partitions

    Dear people.

    Is it possible to install the Recovery XP home 2 times on 2 partitions on my Satellite?
    I want one as a desktop and one for music downloads.

    When I boot the second new system installed there say: installation is not complete, please reinstall!

    Thanks in advance

    What model of laptop you have exactly? As previous user written with former recovery media, it should be possible (I can't tell for sure) because the use of the expert installations you can choose the partition where the OS is to be installed.

    If you have newer model cell phone with new software to recovery (RECO) something like this is not possible.

  • What is the SQL to determine what are the table objects in the KEEP buffer pool?

    What is the SQL to determine what are the table objects in the KEEP buffer pool?

    Select owner, table_name

    from dba_tables

    where USER_TABLES = "KEEP."

    /

    David Fitzjarrell

  • Is it possible to create two-way multiselect tables? Help.

    Hey everyone (once again since you're indeed great to help me to).

    I was wondering if it would be possible to create two-way multiselect tables to interact with each other, as qlikview behavior have, because that's my goal.

    Imagine that I have 3 tables in my schema/database:

    Departments (of an HR diagram), with the following attributes: department_id (primary key), department_name, manager_id, location_id;

    Salary_by_job (created for this purpose), with the following attributes: job_id (primary key), department_id, salary, min_salary, max_salary;

    Employees (from HR diagram), with the following attributes: employe_id,..., job_id, salary, manager_id, department_id

    Would it be possible to creat multiselect two-way tables?

    Like the following:

    -I click on a Department, it shows the data relevant to this Department in the table salary_by_job and the employees table.

    And after having clicked on that, I could click on a single employee and the department table would be the same (because it's an employee in the same Department), but the salary_by_job would show only the information about the argument job_id for this employee.

    I'll try to show some text here:

    Department (selected line = 1) = Department of Public Information (which has 3 employees)

    Employees = X (with the job_id = adminargument), are (with the job_id = managerargument) and Z (with the job_id = Internargument)

    Salary_by_job = Admin, with data blah blah blah, Manager, with data blah blah blah and trainee, with data blah blah blah

    And then I have to click on the X of the employee and the result would be:

    Department (selected line = 1) = Department of Public Information (which has 3 employees)

    Employees = X (with job_id = adminargument)

    Salary_by_job = Admin, with data blah blah blah

    Can do something like this? If so, how?

    I think attached with fasteners at each table and have links to move forward and backward.

    If anyone has an idea how to do this, please respond, it may be useful.

    Thanks a lot for all the help. Have a beautiful day!

    Kind regards

    Frederico Barracha.

    BTW, I use jdeveloper 12.1.2.0.0

    Mensagem editada por: FredericoSB

    FredericoSB,

    Have you tried to add a setPropertyListener for tables and change the collectionModel to the 3rd table accordingly?

    Ex: Suppose you have three tables, Parent (VL)-> child (VL)-> grandchild. There is a relationship between the (VL) Parent-> child.

    Now, you can have links to tree for both the GrandChilds (for example GrandChildViaParent and GrandChildViaChild).

    Your jspx could be something like

    
    
    
    

    If all your tables are read-only, then you can change it to something like

    
         
    
    
         
    
    
    

    This is just a sample. You could implement the same for all properties in the table of a grandchild as EL to make editable as well.

    It comes without coding. If you care to code a little, you could use a dynamic array in place and tie the value accordingly in each of the selectionListener in the table (that would be a neat approach)

    Arun-

  • for relaxation: where is the table created by the Wizzard users create in the APEX?

    Hello everyone and Tony in particular since it was followed and mentoring my progress on this.

    Well,.

    Here we have 2 things:



    (1) when the wizzard of Administration > database > manage users creates a user. Where is the table it creates? What name does have? Why is it not visible in the object browser? I need the name of this table to put it on my trigger (I called users_table)



    (2) how to do that whenever a user connects, his formerly generated by the trigger sequence is used by a State to extract personal data (it's sort of VPD) in this case would be, how do you know what surrogate key, we need to call. To do this, I think, the thing would be to request the: = APP_USER (that was created in step 1) and each APP_USER will surrogate that are associated with this key.



    I set up a simple trigger, but just the substring of the concatenation of the given username, the system randomly generated pwd up to 12 characters.



    CREATE OR REPLACE
    GENERATE_SEQUENCE RELAXATION
    AFTER INSERT ON USERS_TABLE
    FOR EACH LINE
    BEGIN
    insert into users_table (surrogate_key)
    values (SUBSTR (¦¦ username password), 1.12);
    END;


    but as I said, this users_table must be the table where the wizzard to create users stores its data,... .but where is this table?


    Thank you very much

    Alvaro

    Published by: Alvaroe on February 6, 2010 09:13

    Published by: Alvaroe on February 6, 2010 10:00

    Hello

    (1) create a table and then start filling in

    I think you need to have a custom table of your patients (and users), say,

    CREATE TABLE patients
      (
        "USER_ID"   NUMBER,
        "USER_NAME" VARCHAR2(100 BYTE),
        "FIRST_NAME" VARCHAR2(100 BYTE),
        "LAST_NAME" VARCHAR2(100 BYTE),
        "PASSWORD"  VARCHAR2(4000 BYTE),
        "CREATED_ON" DATE
        CONSTRAINT patients_PK PRIMARY KEY ("USER_ID")
      );
    

    you need to build customized in your appl authentication and do not use the Apex or Db authentication.
    To do this, you must do this table in the schema that is used in the analysis of your application's schema.
    And you need create the function custom_hash like this:

    create or replace
    function custom_hash (p_username in varchar2, p_password in varchar2)
    return varchar2
    is
      l_password varchar2(4000);
      l_salt varchar2(4000) := '55PSP4P78JLDQ2AMBXQ60DW9OW7G9Z';
    begin
    
    l_password := utl_raw.cast_to_raw(dbms_obfuscation_toolkit.md5
      (input_string => p_password || substr(l_salt,10,13) || p_username ||
        substr(l_salt, 4,10)));
    return l_password;
    end;
    

    (2) then build the trigger when it detects that I completed a line
    It generates this sequence AND inserts it into another table (as you say, I could not put it in the same table)

    users must register themselves?
    Or register?
    Then you must create the free registration form or a form where you fill in your table above users.

    I think that your user_name must be unique. Put a Unique about this strain.

    When creating the patient button is pressed, then the above table is filled (you must and name, user in the form fill password)
    You must calculate USER_ID, user_name, password and created_on, this can be done in the trigger

    create or replace
    TRIGGER patients_trg_bi
      before insert on patients
      for each row
    begin
    if :NEW.USER_ID is null then
        select patients_seq.nextval into :NEW.USER_ID from dual;
    end if;
    
    if :NEW.CREATED_ON is null then
        :NEW.CREATED_ON := SYSDATE;
    end if;
    
    if :NEW.USER_NAME  is null then
        :NEW.USER_NAME  := :NEW.LAST_NAME || :NEW.USER_ID;
    end if;
    
       :NEW.PASSWORD := custom_hash(:NEW.USER_NAME, :NEW.PASSWORD);
    
    end;   
    

    you create the sequence of patients_seq

    In this case the surrogate key be hashed password.
    And you can use it by selecting table using patients: APP_USER
    that is when the user is connected to his USER_NAME, variable APP_USER is filled

    (3) then, the SQL query would recover this surrogate_key and show as connected individual data.

    Yes, when the user logs on, the key is populated by users based on table: APP_USER
    using

    select password
    from patients
    where user_name = :APP_USER;
    

    You must understand how EVP can be implemented at the Apex.

    You can use any application for this SURROGATE_KEY say

    which is calculated by Application of calculation on the new Instance

    4) but in order to know what to ask, surrogate key should be a key with the substitution APP_USER connection

    is that correct?

    Yes. You have the info from the users table

    Do you have examples of Applications Apex somewhere.
    If you use Apex 2.1, you can install it from the repository and if you have 3 Apex, they are normally automatically installed if you create the new workspace.

    You can use it a lot to manage users.

    Concerning
    Oleg

    BTW,

    Alvaro,
    Yo have your appl?
    If you sent your Db and tables all the Pl/SQl, as well as application Apex, you have for me by email, I can check and make/suggest improvements
    (For free, of course)
    I need to check what you did there, otherwise it seems to be a very long subject.
    Well, I have the time to discuss

    Yes, you can make the trigger like this

    CREATE OR REPLACE
    GENERATE_SEQUENCE RELAXATION
    AFTER INSERT ON USERS_TABLE
    FOR EACH LINE
    BEGIN
    insert into GENERATED_SEQUENCES_TABLE (lastinserted_name, surrogate_key)
    values (SELECT name from USER OF USERS_TABLE WHERE USERID..., SUBSTR (lastinsertedname¦¦ password), 1.12);
    END;

    but where the values are made here
    SUBSTR (lastinsertedname¦¦ password), 1.12

    Published by: oleg.lihvoinen on February 6, 2010 14:55

  • Is it possible to determine the operating system?

    Is it possible to programmatically determine the operating system of the computer that runs an executable of LabVIEW?

    And just in case where you need to know how to say GerdW

  • Is it possible to determine programmatically the children of a class during the program execution?

    Basically, I'm trying to programmatically determine if a class is a child of a specific parent class OR in the same sense, I need a list of all the children of the parent class.  Or the other method would work.  Is it possible to do it via code?

    It is impossible to get a list of all children, since you have no way of knowing whether or not all the children are responsible. Review of the legacy is simple, however. First of all, if the wire is of a specific class, you can simply use the generic primitive classier and understand when editing. If the wire is a more generic class, you can use preserve Run-Time primitive Type and check the error output. I haven't checked, but I think it should work.

  • Creative Enterprise Cloud: Is it possible to choose where the temporary package files are downloaded?

    I'm a business administrator and must use a Windows computer to download and create different packages of creative cloud. Package first temp files download on the C:\ (system disk) and then the real package in the location specified. usually on a different drive/partition. I do the C:\ partition (by Re-partitioning) much larger than normal size in order to make the temp files to fit if I don't have the drive C:\ fills and creating a fair package will stop/does not work, no message. An option is possible to direct the where you want the package files temp will be held as the choice of a different drive / partition to store?

    I create 32 and 64 bit CC packets.

    Hi JohnBNO,

    You can change the location of the cache of CC. Please see the article: http://helpx.adobe.com/creative-cloud/packager/creating-packages.html.

    Kind regards

    Romit Sinha

Maybe you are looking for