Best way to estimate the individual table space use fo

Hello

We need to export some tables and are looking for a guide on the sapce used by the table and associated indexes.

Is dbms_datapump and it says GB size etc.

It is the best way to get idea of psace used by an indivifula and index tbal or is there a better way?

Thank you

below expdp command gives you the size of the tables you want to export, it gives you only the size but never exports.

expdp user/pwd@db tables = a, b = y estimate_only

You can also try

SELECT SUM (bytes) / 1024/1024 MB OF dba_segments WHERE segment_type = 'TABLE' AND owner = 'USER' AND nom_segment = 'TABLE ';

Tags: Database

Similar Questions

  • Best way to update the individual rows of a Table?

    I took a quick glance at a few examples, but did not get a clarification on this.  I am looking to have something close to a listbox control or the table to where I can update just one column of values to line a 1 time per second pace.  I'm looking to display our acquisition of data values in a table or a listbox control.  The single list box seemed to work well for that, but I couldn't use the row headers to list the names of channel beside the channel values.  I thought to link the values of cursor in two areas of list to do this, but did not find any info on it for the single list box.

    I have a few questions:

    (1) I have a 1 d table to where I want to use this data to constantly update the first column (with a multitude of lines) of a table.  I'm looking for the best route to not take too much time for treatment by doing this.

    What is the best way to update the individual rows of a table?   Invoke the node "Value of the cell value"... or is there another method?

    (2) why is that, after each iteration else, row values are deleted?

    Also, for adding additional channels originally arrray... it is better to use the 'Array' subset then the function "Construct the table" or function "Subset of the table" and "insert table"?

    See the attached example.

    Thank you.

    Jeff· Þ· Bohrer says:

    (2) why is that, after each iteration else, row values are deleted?

    Classic race condition.  dump the loop and node-p and just wire the 2D table on the terminal Board. !

    I don't see the race condition.  What I see is the table once the last element has been written for it all run the oil.  I saw looked it with point culminating performance on.

    But I agree entirely with writing to the Terminal.  It is a 1 d array, so you will need to use an array of generation and convert a 2D array in order so that he could write correctly.

  • best way to avoid the full table scan for clause "column is zero.

    I have a query with is control null, and because of that it performs a total scan of table (in millions of rows in the table)

    SELECT id, x,
    LAG (id) OVER (PARTITION BY userid ORDER BY has had place, id) as p_id,.
    FROM MyTable
    WHERE X is ZERO


    What is the best way for me to avoid the full table scan. I have indexes for the X column and other columns.

    Thank you

    Hi Vasif

    NULL values are indexed if the indexed entry also includes a value non-zero.

    If you create an index such as:

    CREATE INDEX mytable_x_idx ON mytable (x, ' ');

    ensure all null values for the column X are indexed and will therefore potentially use the index to search for null values, assuming of course the result set is small enough to justify the use of the index in your query.

    I have spoken previously on my blog:

    http://richardfoote.WordPress.com/2008/01/23/indexing-nulls-empty-spaces/

    See you soon

    Richard Foote
    http://richardfoote.WordPress.com/

  • decoding-best way to decode the characters to numbers using a conversion table

    I string input that contains mostly the numbers, but in the end there is the 2-character code which means a country, like "EE" for the Estonia, or 'LV' for the Latvia and so on, see example of input value:
    select '9999123456789012EE00' input, null output from dual;
    I want in the output column value where these 2 characters are decoded/replaced by numbers with the following algorithm:
    1. replace in the input string of characters 9999123456789012EE00 numbered 14 and 14 the output would be 9999123456789012141400.
    2. the 14 was especially the letter 'E', all the alphabet is encoded as follows:

    A = 10
    B = 11
    C = 12
    D = 13
    E = 14
    ..
    Y = 34
    Z = 35

    Thus, the '9999123456789012LV00' value must be converted to 9999123456789012213100 (L = 21, V = 31).

    What is the best way to achieve this decoding in sql/plsql?

    Published by: CharlesRoos on March 16, 2010 03:52

    Maybe

    SQL> with t as (
      select '9999123456789012LV00' input from dual
    )
    select input,
           regexp_replace (input,  '[[:alpha:]]+',
                           (ascii (regexp_substr (input, '[[:alpha:]]')) - 55) || (ascii (regexp_substr (input, '[[:alpha:]]',1,2)) - 55))output
    from t
    /
    INPUT                OUTPUT
    -------------------- ------------------------------
    9999123456789012LV00 9999123456789012213100
    1 row selected.
    
  • What is the best way to clean the individual video frames without degrading the quality?

    I have a video that I need to remove several species of birds that were flying by during a video scene.

    Video is a Video HD 422 1920 x 1080 / 23.97 P.

    Is the best to make files from Premiere Pro and open these files in Photoshop, then work on each image; and then make the file again from Photoshop?  If Yes, is not which reduces video quality a little?

    The next part may require a separate post in Photoshop forum.

    I tried to import my mpg and mpeg files made in Photoshop, but I keep getting an error message "the video file could not be opened."  I made some other formats; .avi and .mov., and these 2 files types to open in Photoshop V13 x 64 correct.

    CS 6

    Windows 7 x 64

    Sincerely,

    JC

    While you can adjust each image in Photoshop to remove items, a better way is to use the Clone Stamp tool in After Effects to remove items in a scene.

    Here's an excellent video tutorial: http://www.video2brain.com/en/lessons/removing-an-object-with-clone-stamp

    Here's the article for help: http://adobe.ly/Yte2cf

  • Best way to extend the network of Apple using Cat5 and wireless, but with access to the same network

    Appreciate any help here.

    I need to extend my network coverage for the part out of my house where the current signal does not cover.

    I have a Time capsule in the office connected to my Modem and then created a wireless (XXXX) network that connects to the extreme in my front room... .well when I'm in my room before the signal does not increase when I go near the extreme... and maybe it's that I'm still picking up XXX to my Time Capsule wireless network.

    I'm just a Cat5 cable around the House and I was wondering if I can connect the TC to the extreme via CAT5 and therefore the extreme would be able to stream my network wireless XXXX?

    If I then want to connect to another airport (explicit / extreme or even TC) in the part of my house which currently gets no signal... then do cela via Cat5 to the EXTREME at the 3rd device... or must it come directly from the TC?   (and again... the 3rd device will also be able to broadcast the network XXXX?

    Ideally, I want the network to be possible STB and flavours around the House, and I think that the connections between Ethernet devices would accomplish that... but I also need the i-devices, streaming boxes etc. around my house to then access the XXXX wifi network I have printers, VPN, etc all together towards the top on.

    Oh... and 1 other point, I have a cisco 8port 10/100POE switch managed... which I would also like to include in the network to connect to the servers and devices IP etc... is - it possible... and that has to be directly connected to the time Capsule and could I still use it to take place between the TC and the 3rd Apple Airport device... as above?

    Hope that makes sense... but please let me know if you need more details.

    I'm just a Cat5 cable around the House and I was wondering if I can connect the TC to the extreme via CAT5

    Yes. Hate to be picky here, but I hope you'll use CAT5, CAT5e cabling being quite a bit obsolete.

    wireless network and if so the extreme would be able to stream my XXXX?

    Yes

    If I then want to connect to another airport (explicit / extreme or even TC) in the part of my house which gets currently no signal... then do cela via Cat5 to the EXTREME at the 3rd device

    Yes, but it would be preferable to cables to connect the 3rd to the main TC, if that's an option.

    or does have to come directly from the TC?

    No, but it would be better if she could, if this is an option.

    and once again... the 3rd device will also be able to broadcast the network XXXX?

    Yes

    and I think that the connections between Ethernet devices would achieve this

    That is right. Ethernet is always the best choice in terms of performance.

    but I also need the i-devices, streaming boxes etc. around my house to then access the XXXX same wifi network I printer, VPN, etc all together towards the top on.

    That should work well.  However, you may not aware that most of the PC and iOS devices not 'automatically' between different wireless access points as they move from one place to the other.  For example, you have your iPhone near the time Capsule, so he'll be looking for a strong signal from the time Capsule. If you move the close AirPort Extreme iPhone or any other device 3rd... the iPhone usually will stay connected to wireless Time Capsule... even if a stronger signal may be available in another wireless access point. Nature of the beast with IOS devices.

    Thus, with most of the PC and iOS devices, you will have to get used to temporarily turn off the WiFi on the iOS device when you move from one place to the other, then re - turn on WiFi once the device is close to the other wireless access point. The iOS device then generally will pick up the strongest signal from the nearest access point.

    Portable Mac computers will generally do a good job of automatically 'switching' to pick up the best signal of different access points in you walking the laptop around the House.

    I have a cisco 8port 10/100POE switch managed... which I would also like to include in the network to connect to the servers and devices IP etc... It is possible.

    Yes, but the Time Capsule and AirPort Extreme Gigabit Ethernet ports or 10/100/1000, then the switch is going to limit the maximum speed on the network at 100 Mbps when the devices are capable of much higher speed.  If you plan to invest in the installation of Ethernet wiring around the House, then you also want to invent a new Gigatibit Ethernet 10/100/1000 switch, because it will allow up to 10 times faster compared to a 10/100 switch network connections.

    can do this via Cat5 to the EXTREME at the 3rd device... or need to come directly from the TC?

    Yes, but it would be best to connect the switch to the time Capsule if it is an option.

    and could I still use it to take place between the TC and the 3rd Apple Airport device... as above?

    Yes

  • best way to make the guests timeout?

    I use MX 2004, and I need timeout voiceover guests. What is the best way to accomplish the timing? I used onEnterFrame countdown timers, but, but I had mixed - they do not have to be too precise, just working with a few predictabillity. I also fear that using onEnterFrame can slow things down too.

    I tried to use setInterval directly and have the time range to clear himself, but it didn't. I also tried setTimeout function of Senocular who uses setInterval, but it works only once, same kind of thing, I've tried in simpler form. I tried different things and now I'm all confuzzled - they sometimes work and sometimes not. I should probably start from zero (new), but times are looming and I can't think straight - I'm just a little thrasing autour - I also tried a 'status quo' loop, but then I get a "slow script" warning

    I think part of the problem is that I have a voice-over as guests and they are not finished at the time that the interval is disabled. I have them preloaded in a swf file and load the film like this.

    The tips are greatly appreciated, TIA!

    setInterval() always works and is fairly accurate, except if you need nearby 10 accuracy Ms (in which case you can fix setInterval to maintain the precise timing).

    any problem with your intervals of compensation is a problem coding and encoder.

  • What is the best way to refresh the table after autosubmit (10.1.3.4)

    What is the best way to refresh the table after autosubmit?

    I have a page that contains a table where if one of the fields is changed it autosubmitted where the view object changes some attributes, based on the field having been changed. I need these modified attributes that appear in the table. But without doing anything, the only way to see these values is to cause the iterator updated table.

    I've been refreshing the table is having a method in a grain of beacking called "getSystemSettingIter.getCurrentRow ();". This seems to be a bit of a hack for me and I was wondering if there is a better way to get the table to update.

    Thanks in advance!

    Have you tried setting between the two partial page refresh?
    http://www.Oracle.com/pls/as111120/lookup?ID=ADFUI385

    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/web_form.htm#CACEIEEI

  • What is the best way to get the minimum or maximum of a table of numbers value?

    Let's say I have a table of numbers: [2,3,3,4,2,2,5,6,7,2]

    What is the best way to find the minimum or maximum value in the table?

    Now, just get the maximum, I'm a loop in the table and reset a variable to the value if it is greater than the existing value:

    What I ended up doing was sorting table (descending to MAX) upward for MIN and then grabbing the first element of the array. Works like a charm in very few lines of code.

    Thank you.

  • Purge the table FND_LOBS (attachmentolders of 2 years) to the cleaning table space

    Hello

    I have a requirement to serve the table FND_LOBS (spare part which is over 2 years old) in the cleaning table space.

    Please advise me which is the best way to serve FND_LOBS.

    I already went through the Notes below, but no luck...

    --
    871721.1 - how to purge FND_LOBS?
    555463.1 - how generic Purge or purchase spare part of the Table FND_LOBS
    298698.1 - avoiding an abnormal growth of the FND_LOBS table in 11i Applications
    303709.1 - recovering unused space in the tablespace APPLSYSD
    555463.1 - how generic Purge or purchase spare part of the Table FND_LOBS
    --

    Thank you
    Genoo

    Published by: Geno on April 1, 2013 05:32

    Geno says:
    None notes solve my requirement, I don't see an option to purge only the data that is older than 2 years.

    Thank you
    Genoo

    Purge FND_LOBS table can simultaneous running of 'Purge obsolete generic Queue Manager Data' program - simultaneous treatment - how to add the simultaneous program "Purge obsolete generic Queue Manager Data" to the Sysadmin User. [216541.1 ID]

    You can find more information about the settings for this program at the same time (questions on purge stale data of generic file manager [1165208.1 ID]).

    Thank you
    Hussein

  • What is the best way to check the data

    What is the best way to check the actual changes in the data, i.e., to be able to see each insert, update, delete on a given line, when it happened, who did it, and what looked like to the front row and after the change?

    Currently, we have implemented our own audit infrastructure where we generate standard triggers and an audit table to store the OLD (values at the beginning of the Timekeeping point row before) and NEW (values at the beginning of the point of timing after line) values for each change.

    I put this strategy due to the performance impact there (important say least) and because it's something that a developer (confession, I'm the developer) came with, rather than something is a database administrator came with. I looked in the audit of the Oracle, but it doesn't seem like we would be able to go back and see what a line looked like at some point in time. I also watched flashbacks, but this seems like it would take a monumental amount of storage just to be able to go back a week, much less the years currently keep us these data.

    Thank you
    Matt Knowles

    Published by: mattknowles on January 10, 2011 08:40

    mattknowles wrote:
    What is the best way to check the actual changes in the data, i.e., to be able to see each insert, update, delete on a given line, when it happened, who did it, and what looked like to the front row and after the change?

    Currently, we have implemented our own audit infrastructure where we generate standard triggers and an audit table to store the OLD (values at the beginning of the Timekeeping point row before) and NEW (values at the beginning of the point of timing after line) values for each change.

    You can either:
    1. set up your own audit custom (as you do now)
    2 flashback Data Archive (11 g). Application for licence.
    3 version check your tables with Workspace Manager.

    >

    I put this strategy due to the performance impact there (important say least) and because it's something that a developer (confession, I'm the developer) came with, rather than something is a database administrator came with. I looked in the audit of the Oracle, but it doesn't seem like we would be able to go back and see what a line looked like at some point in time. I also watched flashbacks, but this seems like it would take a monumental amount of storage just to be able to go back a week, much less the years currently keep us these data.

    Unfortunately, the audit of data always takes a lot of space. You should also consider the performance, as custom triggers and Workspace Manager will perform much slower than the FDA if there is heavy DML on the table.

  • Need help: best way to exchange the Ipads?

    Dear all,

    Need help a genre:

    I use Ipad Air2 and my father is using retina Ipad Mini... I gifted him before 2 years...!

    We thought to share the Ipads because he loved the biggest... Can someone guide what is the best way to swap the parameters of the iPad?

    It is by taking backup and restore from Icloud? There will be data loss? or anything else that needs attention (something that he needed to be reconfigured)?

    Any help is very appreciated!

    Make a backup of each individual iPad. Use your own accounts: How to back up your device using iCloud or iTunes - Apple Support

    Import your photos from each iPad: import pictures and videos from your iPad, iPhone or iPod touch to your computer - Apple Support

    Then do it on every iPad: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

    Then restore the backup in your 'new' ipads: restore your device from an iCloud or iTunes backup - Apple Support

    If the ipads have the same size of storage with the same iOS version, it should work fine. -AJ

  • What is the best way to store the RCS for an insert/update in this rec

    Oracle on Win 64 non-conteneur 12.1.0.2

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    I thought of a line after trigger, but did not know if this trigger to store the current_scn would still fire that trigger again (recursive trigger).

    Someone at - he a good idea of what the best way is to do?  The devs don't want to store the pk and the SNA in yet another table...

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    3rd party applications retrieve data from tables (all data).  We are looking for a way for them to just pull what is new or updated updated since their last sweater.

    I suggest that you try again and give all OF THE REQUIREMENTS.

    You have rejected ANY answer given and he justified using 'hidden' on what knowledge management or the devs want or do not want to. Stop making us guess what are the requirements and constraints. If you want a real answer then tell us ALL the news.

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    Solomon answered repeatedly. If you want to add a column to a table to store the then "best" SNA is to let the Oracle to do this for you automatically by using the DEPENDENCY LINE.

    As he says also re-create the table to add this clause will be MUCH MORE EFFECTIVE that everything THAT you can do it manually. It will be also more accurate because Oracle will fill the value ORA_ROWSCN with the SNA at the time the line was committed. You, as long as user, can't fill a column in function when a line is engaged since real VALIDATION belongs to a transaction, not the line or the trigger that you use.

    Yes - there are two drawbacks to this method:

    1. you need to re-create the table

    2. you cannot add an index to this "hidden" column

    The devs don't want to store the pk and the SNA in yet another table...

    Then? Who cares what the devs want to do? You want the BEST solution? Next, you will need to put aside personal preferences and determine what is the 'best' solution. Why it is important that certain dev wants to do this or not?

    OK, the problem of biz is now, 3rd party external users are an all-wheel drive large number of tables in the database via the API that we wrote.  That was obviously interrupted OLTP during the day.  To reduce to the minimum, we want for them just to extract data that has been inserted/updated since their last sweater.

    It is the definition of a "replica" DB Then why don't you consider a real replicated DB? You can use DataGuard and have replicated DB which is read only that can be used to generate reports. Oracle does ALL the work to keep ALL the tables in sync. You and your developers do NOTHING!

    We thought that store the RCS higher their last sweater would allow the API to extract only data with YVERT higher than their last data pull CHN.

    OK - except you keep rejecting solutions actually do. Ask you questions about the SNA stored in the same table, but then reject the solution that does this. And then you add your "devs" don't want to store the info in a new table either.

    Then your solutions must ONLY use the replication or Log Miner. The REDO logs have all changes, if you want to extract yourself. Replication (e.g., DataGuard) will use these logs for you to maintain a replicated database.

    We thought about it, but recreate all tables in production with ROWDEPENDENCIES as well as dealing with CF and other dependencies idea this was shot.

    Well you NEVER mentioned you "thought that" and rejected it. And you NEVER mentioned anything about FKs and other dependencies. What is FKs and other dependencies which prevents this working solution? Tell us! Give us ALL the information.

    Wouldn't a trigger AFTER LINE capture the commit YVERT?  Or is after really not after validation?

    No - a trigger has NOT one commit. A trigger runs as a step in a transaction. Validation applies to the entire transaction. Until you, or Oracle, issues a commit, there is NO "committed SNA" to be stored as ORA_ROWSCN.

    You can easily see that for yourself. Create a simple table with dependencies of the line and then update two different sessions.

    create the table emp_scn rowdependencies in select * from emp where rownum<>

    Select empno, emp_scn ora_rowscn

    Update emp_scn set work = 'b' where empno = 7499

    commit;

    The first SELECT statement will show you that each row has the same SNA.

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622201

    7521,70622201

    Now, do the update (but no commit), then SELECT it

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,

    7521,70622201

    Where is the value of 7499? This session will NOT see a value for the changed lines in the current transaction. Other sessions will still see the old value.

    Now do the validation, then SELECT

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622301

    7521,70622201

    7499 now has a new and different value than the other lines. It will not be this new value until the validation occurs.

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    Well, you got the answer you want. You ask the best way. Now, you say that you were told the best way. But now you don't like the answer.

    How is it our fault? Your question has been answered wasn't she?

    Here are the facts:

    1 oracle creates a history of changes - the REDO log files

    2. you can use Log Miner to extract these changes

    3. you can create your own change log by adding a log file of MV to your table.

    4. you can then write a custom code to use this MV log file to determine which rows to "reproduce".

    So far reject you all THE POSSIBLE solutions.

    Accept it or change the requirements to allow one of the solutions proposed to be used.

    Personally, if I HAD to use a customized solution, I would use a MV journal to record the ROWID of the lines that have changed (for tables ROWID cannot be changed). I would then extract the appropriate lines by pulling on the lines corresponding to these row ID.

    Even that has problems since a line can be changed several times and children lines can also be amended several times - these questions FK you mentioned.

    I suggest you read this entire thread on AskTom a dozen years ago. It addresses ALL these issues.

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:16998677475837

    Then in your next reply on this topic give us a summary of where some things with your question and what help you further expect.

  • Volume: Best way to decrease the volume for a portion of a clip

    I have an audio clip of speaking me - about 22 minutes. I knew it would be difficult to change because of its length, so I divided into eight sections and each section has recorded independently.

    However, I made a couple of mistakes here and there. So instead of wasting time to record a whole clip again and again until I understand well, I have just re-recorded paragraphs which should be corrected.

    So, imagine a master audio clip named Project1 in setting up first. In the track above, where the third paragraph starts, is another audio clip - Project1-3. I'm trying to understand the best way to kill the volume on Project1 - just for the duration of the third paragraph. So when I listen, I should hear the patch, Project1-3, instead of the main audio, Project1.

    I checked a few tutorials, but I'm a bit confused. I thought it was something I have to do in the Source monitor, by using keyframes, but it does not work too well.

    I put a screen shot in line @ https://www.geobop.com/images/audio.png

    In the upper left corner, you can see where I created a key by clicking on the Volume and selecting the level. It was set to 0 by default, so I changed the value of-20. But when I preview the video, I can still hear the sound and changes in value-20.

    Can someone tell me what I am doing wrong?

    Thank you.

    Rather than apply keyframes to the Volume setting, you will find may be easier to use the razor tool to split the audio clip called "Project1" into several segments in the timeline panel.  Then, disable the unwanted segment (select it in the timeline panel and choose Clip > enable) or raise TI (press point comma), leaving a space.

    Your tracks can be difficult to hear suddenly as the stopwatch for the effect of Volume Audio is enabled by default.  If you look at the effect controls panel, while the audio is selected, you can proceed to the next and previous keyframe to see what 'level' to each key frame.

  • What is the best way to move the data from the app and Server data structures?

    Hi guys,.

    I developed my application locally with Apex 4.2 and Oracle 11 g XE on Windows 7. Not far away, it is time to move the application to a server Oracle Apex. I guess that Exim is the way to go app. But what about the APA tables and data (tables/as 'customer' and 'account' created specially for the application)? I've been using a modeling tool, so I can run a DDL script to create the database server data structures. What is the best way to move the application data on the server? Is it possible to move the structures and data in a single process?

    Thank you
    Kim

    There is probably another way to get here, but in Developer SQL, on the navigation tree, expand objects until your table, right-click, and then click EXPORT... you will see all the options. It is a tedious process and it sucks IMO, but yes, it works. This is zero especially because 1) it's a table at a time, 2) If your data model is robust and has constraints and sequences and triggers, then you will need to disable all for the insert and we hope you can re-enable constraints, etc. without hitch (good luck, unless you have only a handful of tables)

    I prefer to use the oracle EXP command-line to export an entire schema, then the server target, I use IMP to import the schema. In this way, it is almost true. This makes the dirty life if you develop multiple applications in a single schema, and I felt pain - however - it is much easier to drop the tables and other objects is to create them! (thus, even if the process of EXP/IMP moved more than you wanted to "move".. blow everything you don't want on the target after the fact...)

    You can use method datapump oracle too.

    If not, what can be done, IF you have access to both servers of your instance of SQL developer (or if you can tnsping both already from the command line, you can use SQL * MORE), is to run a script that will identify the objects of your applications apex (usually by the prefix for the names of objects, such as % EBA_PROJ_ etc.) and do all the manual work for you. I've created a script that does just that so that I can pass data from dev to prod servers on a dblink. It is difficult because of the order that must be executed to disable constraints and then turn it back on and of course, more complicated if don't always precede you ALL your "objects demand '... (tables, views, triggers, sequences, functions, procs, indexes, etc.)

Maybe you are looking for