How can i check how many tables are in my database?

Hi Guyz,
If any body can tell how can i check how any and which tables are in my database.how big are they.and who are the owners.
Thanx in advance,
Navneet Kaur

hi,
how any and which tables.select count(*) from dba_tables;
how big are they.and who are the owners.select a.owners,a.table_name,sum(b.bytes)/1024/1024/1024 from dba_tables a, dba_segments b
where a.table_name=b.segment_name
group by a.owner
regards
Jafar

Similar Messages

  • How can I check how many times or when an app has been re-downloaded on my iphone

    How can I check how many times or when an app has been re-downloaded on my iphone. I know how to check purchases but I am looking for how to check when an app had been re-downloaded on my device whether it's through my device or Apple ID

    You mention "lack of control" several times.  The control is there - you control the Apple ID and password that owns the app.  No other Apple ID can use the app.  You have not shared your Apple ID or password with anyone, so you and only you own the app.
    Therefore, the number of times the app is downloaded or re-downloaded is completely irrelevant.  You might, for example, decide to purchase a new iPhone or iPad and download the app there.  Or the app developer may issue a new version which you download.  None of this matters regarding your "control" of the app.  All that matters is that you own it and nobody else can use it.

  • How can I know in which Tables are the fields stored

    Hi,
    In transaction FSE3 Display Financial Version
    Statement Version, if I drilldown in details, I can
    see Item No, Chart of Acc, From Accountm To Account D,
    C.
    when I do a F1 on the fields, I can see that it is a
    structure. How can I know in which Tables are the
    fields store?

    Hi Ankit,
    There are no rules or guidelines for finding the table but i will share some of the tips used generally.........but i am not sure if we can do it for a tree structure..but try anyways....
    Double click on the structure name seen on the F1 pop up window...
    in the structure screen, try to analyse the field which is very important something like a key in that set of fields or do the same for the fields which we feel are more important,then click on the domain for that field....once in the domain..click on the "where used list for the domain" on the top...
    it will display a pop up -> select only "table" and then press "Tick/OK"..A list will be displayed with the data element and table name ..from this we need to find out the right one we need either by going for text of the table or going through each and every one
    It takes time but does the job.....
    Regards
    Byju

  • How can I find out whitch table are used in whitch document?

    How can I find out whitch table are used in whitch document?
    In the table EUL5_DOCUMENTS are stored the Documents and in the table EUL5_OBJS are stored the tables. How can I query these tables together?
    Are there other possiblities?
    Thanks

    Hi Dierk
    Please take a look at this thread: Re: An EUL query to list out All the Columns  (Fileds) for each Workbook
    I think you may well find what you are looking for in the answer that I gave there.
    Best wishes
    Michael

  • How can i check how much money i have on my iTunes gift card?

    How can i check how much money i have on my iTunes gift card?

    If the card has been redeemed then its remaining amount should be on your account, the card itself is now effectively zero. My account's balance shows at the top left of the store's page on my computer's iTunes, and by logging in to view my account via the Store > View Account menu option. On my devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > iTunes & App Stores and it should show on the screen that you are taken to). If your account's balance is zero then it might not show at all.

  • How can i check the devices which are connected with my AirPort Express?

    I saw an unknown device in the app 'Who Uses My Wifi?', how can i check it through AirPort Utility and can i remove this device by the app?

    Open AirPort Utility
    Hold down the option key on your Mac while you double click the picture of the AirPort router
    Currently connected wireless ciients will be displayed
    Don't forget about the wireless printer you might have, baby monitor, wireless thermostat and other items that connect using wireless. They will appear on your check.....not just computers or iPhones, etc.
    If you have 3 wireless devices, and you see 4 devices connected, you may have an unwanted guest.
    If you are using good wireless security, like WPA2 Personal, and a good password, it is extremely unlikely that another device will be on your network

  • How can i check my setting details are correct on my iPhone I recevied an error when sending a text this morning and while checking it out noticed my state and city are wrong

    How can i check my setting / about tab? This morning I got an error message say something wasn't safe (not sure what) I think it was my common name whcih is ch4iv.myvzw.com and while looking in there I noticed my state say NJ I live in PA, I did not buy my phone in NJ, the city says Bedminster I have never even been there. Can anyone advise?
    Can't I go on my Apple account and get to my setting / details.

    Here is the message...

  • How can I check how much memory is on my external hard drive after I plug it in. What are the steps I need to go through?

    Im looking for a specific how to on checking how much memory I have left on and external HD. Any help would be wonderful.
    V/R
    Chris

    If you're on your Mac OS, click on the little Apple sign in the top left corner of the screen and select About This Mac. Then, if you have your external HD plugged in, go to Storage, and there you should see all HDs (internal and external, USBs, etc) space and how much you have left on them. On a Windows OS, just go to My Computer to see.

  • How can I create a new table in a MySQL database in MVC 5

    I have an MVC 5 app, which uses MySQL hosted in Azure as a data source. The point is that inside the database, I want to create a new table called "request". I have already activated migrations for my database in code. I also have the following
    code in my app.
    Request.cs: (inside Models folder)
    public class Request
    public int RequestID { get; set; }
    [Required]
    [Display(Name = "Request type")]
    public string RequestType { get; set; }
    Test.cshtml:
    @model Workfly.Models.Request
    ViewBag.Title = "Test";
    <h2>@ViewBag.Title.</h2>
    <h3>@ViewBag.Message</h3>
    @using (Html.BeginForm("SaveAndShare", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
    @Html.AntiForgeryToken()
    <h4>Create a new request.</h4>
    <hr />
    @Html.ValidationSummary("", new { @class = "text-danger" })
    <div class="form-group">
    @Html.LabelFor(m => m.RequestType, new { @class = "col-md-2 control-label" })
    <div class="col-md-10">
    @Html.TextBoxFor(m => m.RequestType, new { @class = "form-control", @id = "keywords-manual" })
    </div>
    </div>
    <div class="form-group">
    <div class="col-md-offset-2 col-md-10">
    <input type="submit" class="btn btn-default" value="Submit!" />
    </div>
    </div>
    @section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    HomeController.cs:
    [HttpPost]
    public ActionResult SaveAndShare(Request request)
    if (ModelState.IsValid)
    var req = new Request { RequestType = request.RequestType };
    return RedirectToAction("Share");
    The point is that, I want the user to fill the form inside the Test view and click submit, and when the submit is clicked, I want a new entry in the new table to be created. But first of course I need to create the table. Should I create it using SQL query
    through MySQL workbench? If yes, then how can I connect the new table with my code? I guess I need some DB context but don't know how to do it. If someone can post some code example, I would be glad.
    UPDATE:
    I created a new class inside the Models folder and named it RequestContext.cs, and its contents can be found below:
    public class RequestContext : DbContext
    public DbSet<Request> Requests { get; set; }
    Then, I did "Add-Migration Request", and "Update-Database" commands, but still nothing. Please also note that I have a MySqlInitializer class, which looks something like this:
    public class MySqlInitializer : IDatabaseInitializer<ApplicationDbContext>
    public void InitializeDatabase(ApplicationDbContext context)
    if (!context.Database.Exists())
    // if database did not exist before - create it
    context.Database.Create();
    else
    // query to check if MigrationHistory table is present in the database
    var migrationHistoryTableExists = ((IObjectContextAdapter)context).ObjectContext.ExecuteStoreQuery<int>(
    string.Format(
    "SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = '{0}' AND table_name = '__MigrationHistory'",
    // if MigrationHistory table is not there (which is the case first time we run) - create it
    if (migrationHistoryTableExists.FirstOrDefault() == 0)
    context.Database.Delete();
    context.Database.Create();

    Hello Toni,
    Thanks for posting here.
    Please refer the below mentioned links:
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/
    http://social.msdn.microsoft.com/Forums/en-US/3a3584c4-f45f-4b00-b676-8d2e0f476026/tutorial-problem-deploy-a-secure-aspnet-mvc-5-app-with-membership-oauth-and-sql-database-to-a?forum=windowsazurewebsitespreview
    I hope that helps.
    Best Regards,
    Sadiqh Ahmed

  • HT2736 How can I check how much is left on my iTunes card?

    How can I check my iTunes card to see how much is left on it. .?

    If the card has been redeemed then its remaining amount should be on your account, the card itself is now effectively zero. My account's balance shows at the top left of the store's page on my computer's iTunes, and by logging in to view my account via the Store > View Account menu option. On my devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > iTunes & App Stores and it should show on the screen that you are taken to)

  • How many tables are in my database

    I wanted to check how many tables I have so I ran the following query to list all of the tables in all of the tablespaces.
    select t.table_name, df_name from dba_tables t, v$tablespace df
    where t.tablespace_name = df.name;
    I got back 34377 tables or records.
    but if I wanted to count the number of tables I have I could run the following command.
    SQL> select count(*) from dba_tables;
    I got back 34700 tables.
    Can anyone tell me why these numbers don't match or what I am missing here?

    Also you can try to count them regarding to your tablespace which is better
    SELECT COUNT(*),tablespace_name  FROM USER_TABLES group by tablespace_name;also Laurent Schnieder provide with way that you count your tables in specific schema like the following :
    SQL> select
      2    table_name,
      3    to_number(
      4      extractvalue(
      5        xmltype(
      6     dbms_xmlgen.getxml('select count(*) c from '||table_name))
      7        ,'/ROWSET/ROW/C')) count
      8  from user_tables;http://www.dba-oracle.com/t_count_tables_schema.htm

  • How can I find out which tables are having DDL locks?

    I can see related information by querying DBA_DDL_LOCKS view, but it doesn't give me the information which tables are having DDL locks.
    Is there a way I can find out which tables are having DDL locks?
    Thanks!

    Here's a long script written back in 2001. Still works:
    BREAK on sid on serial# on username
    COL sid        for 9999
    COL serial#    for 99999
    COL username   for a20
    COL type       for a20    trunc
    COL lmode      for a5     trunc
    COL lrequest   for a4     trunc
    COL detail     for a75    trunc
    SELECT   s.sid
           , s.serial#
           , s.username
           , DECODE(
                  l.TYPE
                -- Long locks
                , 'TM', 'dml/data enq (TM)'
                , 'TX', 'transac enq (TX) '
                , 'UL', 'pls usr lock (UL)'
                -- Short locks
                , 'BL', 'buf hash tbl (BL)'
                , 'CF', 'control file (CF)'
                , 'CI', 'cross inst f (CI)'
                , 'CU', 'cursor bind (CU) '
                , 'DF', 'data file (CF)   '
                , 'DL', 'direct load (DL) '
                , 'DM', 'mount/strtup (DM)'
                , 'DR', 'reco lock (DR)   '
                , 'DX', 'distrib tran (DX)'
                , 'FI', 'sga opn file (FI)'
                , 'FS', 'file set (FS)    '
                , 'IN', 'instance num (IN)'
                , 'IR', 'instce recvr (IR)'
                , 'IS', 'get state (IS)   '
                , 'IV', 'libcache inv (IV)'
                , 'JQ', 'job queue (JQ)   '
                , 'KK', 'log sw kick (KK) '
                , 'LS', 'log switch (LS)  '
                , 'MM', 'mount def (MM)   '
                , 'MR', 'media recvry (MR)'
                , 'PF', 'pwfile enq (PF)  '
                , 'PR', 'process strt (PR)'
                , 'RW', 'row wait (RW)    '
                , 'RT', 'redo thread (RT) '
                , 'SC', 'scn enq (SC)     '
                , 'SM', 'smon lock (SM)   '
                , 'SN', 'seqno instce (SN)'
                , 'SQ', 'seqno enq (SQ)   '
                , 'ST', 'space transc (ST)'
                , 'SV', 'seqno value (SV) '
                , 'TA', 'generic enq (TA) '
                , 'TD', 'dll enq (TD)     '
                , 'TE', 'extend seg (TE)  '
                , 'TS', 'temp segment (TS)'
                , 'TT', 'temp table (TT)  '
                , 'UN', 'user name (UN)   '
                , 'WL', 'write redo (WL)  '
                , 'TYPE = ' || l.TYPE) AS type
           , DECODE(l.lmode, 0, 'none', 1, 'null', 2, 'RS', 3, 'RX', 4, 'S', 5, 'SRX', 6, 'X', TO_CHAR(l.lmode)) A
    S lmode
           , DECODE(l.request, 0, 'none', 1, 'null', 2, 'RS', 3, 'RX', 4, 'S', 5, 'SRX', 6, 'X', TO_CHAR(l.request
    )) AS lrequest
           , DECODE(
                  l.TYPE
                , 'JQ', 'Job #' || j.job || ' (' || j.what || ') owned by: ' || j.username
                , 'MR', DECODE(s.user_type, 'BG', 'DICTIONARY OBJECT', LOWER(obj.owner) || '.' || LOWER(obj.name))
    || ' (' || LOWER(obj.TYPE) || ')'
                , 'RT', 'thread #' || LOWER(l.id1)
                , 'RW', 'file#' || LOWER(SUBSTR(l.id1, 1, 3)) || ', block#' || LOWER(SUBSTR(l.id1, 4, 5)) || ', ro
    w#' || LOWER(l.id2)
                , 'TD', 'object: ' || LOWER(obj.owner) || '.' || LOWER(obj.name) || ' (' || LOWER(obj.TYPE) || ')'
                , 'TM', 'object: ' || LOWER(obj.owner) || '.' || LOWER(obj.name) || ' (' || LOWER(obj.TYPE) || ')'
                , 'TS', DECODE(l.id2, 0, 'enqueue', 'new block allocation')
                , 'TX', DECODE(
                             lo.object_name
                           , NULL, 'rbs #' || TRUNC(l.id1 / 65536) || ', slot #' || LOWER(l.id1)
                           , 'rbs #' || TRUNC(l.id1 / 65536) || ', slot #' || LOWER(l.id1) || ', object: ' || LOWE
    R(lo.object_name))
                , 'UL', 'lock name: ' || la.name || ', expiration date: ' || TO_CHAR(la.expiration, 'DD-MON-RR HH2
    4:MI:SS')
                , 'WL', 'redo log file#' || LOWER(l.id1)
                , 'id1 = ' || l.id1 || ', id2 = ' || l.id2) AS detail
        FROM sys.v_$lock l
           , (SELECT a.sid
                   , a.serial#
                   , NVL(a.username, 'SYS (' || LOWER(b.name) || ')') AS username
                   , DECODE(a.username, NULL, 'BG', 'USER') AS user_type
                FROM sys.v_$session a
                   , sys.v_$bgprocess b
               WHERE a.paddr = b.paddr(+)) s
           , (SELECT o.obj#
                   , u.name AS owner
                   , o.name
                   , DECODE(
                          o.type#
                        , 0, 'NEXT OBJECT'
                        , 1, 'INDEX'
                        , 2, 'TABLE'
                        , 3, 'CLUSTER'
                        , 4, 'VIEW'
                        , 5, 'SYNONYM'
                        , 6, 'SEQUENCE'
                        , 7, 'PROCEDURE'
                        , 8, 'FUNCTION'
                        , 9, 'PACKAGE'
                        , 11, 'PACKAGE BODY'
                        , 12, 'TRIGGER'
                        , 13, 'TYPE'
                        , 14, 'TYPE BODY'
                        , 19, 'TABLE PARTITION'
                        , 20, 'INDEX PARTITION'
                        , 22, 'LIBRARY'
                        , 23, 'DIRECTORY'
                        , 24, 'QUEUE'
                        , 28, 'JAVA SOURCE'
                        , 29, 'JAVA CLASS'
                        , 30, 'JAVA RESOURCE'
                        , 32, 'INDEXTYPE'
                        , 33, 'OPERATOR'
                        , 34, 'TABLE SUBPARTITION'
                        , 35, 'INDEX SUBPARTITION'
                        , 39, 'LOB PARTITION'
                        , 40, 'LOB SUBPARTITION'
                        , 43, 'DIMENSION'
                        , 44, 'CONTEXT'
                        , 47, 'RESOURCE PLAN'
                        , 48, 'CONSUMER GROUP'
                        , 51, 'SUBSCRIPTION'
                        , 52, 'LOCATION'
                        , 'UNDEFINED') AS type
                FROM sys.obj$ o
                   , sys.user$ u
               WHERE o.owner# = u.user#) obj
           , (SELECT vlo.xidusn
                   , vlo.xidslot
                   , vlo.xidsqn
                   , vlo.process
                   , o.owner || '.' || o.object_name AS object_name
                FROM sys.v_$locked_object vlo
                   , sys.dba_objects o
               WHERE vlo.object_id = o.object_id) lo
           , (SELECT job
                   , schema_user AS username
                   , what
                FROM dba_jobs) j
           , sys.dbms_lock_allocated la
       WHERE l.sid = s.sid
         AND l.id1 = obj.obj#(+)
         AND l.id2 = j.job(+)
         AND TRUNC(l.id1 / 65536) = lo.xidusn(+)
         AND LOWER(l.id1) = lo.xidslot(+)
         AND l.id2 = lo.xidsqn(+)
         AND l.id1 = la.lockid(+)
         AND l.TYPE != 'MR'
    UNION ALL
                      /*** LATCH HOLDERS ***/
    SELECT   s.sid
           , s.serial#
           , s.username
           , 'latch'
           , 'X'
           , 'none'
           , h.name || ' addr=' || LOWER(RAWTOHEX(laddr)) AS object
        FROM sys.v_$process p
           , sys.v_$session s
           , sys.v_$latchholder h
       WHERE h.pid = p.pid
         AND p.addr = s.paddr
    UNION ALL
                      /*** LATCH WAITERS ***/
    SELECT   s.sid
           , s.serial#
           , s.username
           , 'latch'
           , 'none'
           , 'X'
           , name || ' latch=' || p.latchwait AS object
        FROM sys.v_$session s
           , sys.v_$process p
           , sys.v_$latch l
       WHERE latchwait IS NOT NULL
         AND p.addr = s.paddr
         AND p.latchwait = l.addr
    ORDER BY sid
           , serial#
           , username
           , 4
           , 5
           , 6
           , 7;

  • How can I check how many itunes accounts I have

    I think I have two accounts because when I update my apps some are linked to one email I have and some to another.

    I assume you have different iTunes collections on different PC's, or on different logins on the same PC?  If that's the case then just enable "Home Sharing" in each iTunes using the SAME iTunes username and password as you enabled home sharing on the Apple TV with. The account used for home sharing is NOT the same as the account used to access the iTunes store, so as long as you use the same account (pick one, doesn't matter which) then you should see both of yor iTunes libraries on the Apple TV. Note - each iTunes has ti be running in order for the Apple TV to see the library.
    Here's some details on how to do it:
    http://support.apple.com/kb/HT4363

  • How can i check if the lines are the same ?

    private bool displayed;
    private void PostMessage()
    for (int i = 0; i < ScrollLabel._lines.Length; i++)
    for (int x = 0; x < WordsList.words.Length; x++)
    if (ScrollLabel._lines[i].Contains(WordsList.words[x]) && !displayed)
    displayed = true;
    lineToPost = ScrollLabel._lines[i];
    PostFacebookWall(LongaccessToken, lineToPost + Environment.NewLine + Environment.NewLine + "נשלח באופן אוטומטי כניסיון דרך תוכנה");
    I call this method in a timer tick event every second.
    But if the variable string lineToPost is
    identical it will not send it again. But it might be a situation that the lineToPost may
    contain the exact same word inside but the whole line is not the same so i want to send it.
    Only if the whole line is the same, then don't make the postFacebookWall
    If the whole line is not the same but the same word is the line as in other line(s), then use thePostFacebookWall method.
    I'm using a bool variable
    so it will not send the same line over and over again.
    I would like it to send the line(s) once, regardless if there is only one line or if there are more than one line.
    The problem is the way I'm using the bool now,
    it will send a line and then will never send any other line at all.
    I tried to change the method to this:
    // key: line index, value: sent line
    private Dictionary<int, string> sent = new Dictionary<int, string>();
    private void PostMessage()
    for (int i = 0; i < ScrollLabel._lines.Length; i++)
    var line = ScrollLabel._lines[i];
    if (sent.ContainsKey(i) && sent[i] == line) continue;
    sent[i] = line;
    if (WordsList.words.Any(line.Contains))
    PostFacebookWall(LongaccessToken, line + Environment.NewLine + Environment.NewLine
    + "נשלח באופן אוטומטי כניסיון דרך תוכנה");
    numberofposts += 1;
    label7.Text = numberofposts.ToString();
    But its not good it keep sending many times the same lines.
    This is the timer tick event code:
    private void timer1_Tick(object sender, EventArgs e)
    counter += 1;
    if (counter == 10)
    scrollLabel1.Reset();
    scrollLabel1.Text = " ";
    scrollLabel1.Invalidate();
    readableRss = RssReader.covertRss("http://rotter.net/rss/rotternews.xml");
    this.scrollLabel1.Text = readableRss;
    scrollLabel1.Invalidate();
    counter = 0;
    PostMessage();
    Im updating the text/lines every 10 seconds .
    And calling the PostMessage method every second.
    And when im calling the PostMessage it should it should call inside the method PostFacebookWall only when the whole line is not identical to other lines and if a word in words is exist in any line.
    The variable WorldList.words is string[] contain some words(string).
    For example if i have this line:
    "hello this is a test"
    So the word test exist in words so post this line.
    Then if i have another line :
    "hello this is a test" so in dont post this line since its the same.
    But if i have a line: "hi this is a test" the word test exist but the whole line is not the same as above so post this line.
    And of course if there is a different line with a word that exist like: "my name"
    Then post this line too.

    Hi Chocolade1972,
    C# forum:
    Discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.
    I’m afraid that it is not the correct forum about this issue, I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum. Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I check how much I paid for iTunes downloads

    I was trying to see how much I charged to my itunes account and I couldn't do this.

    Open iTunes Store. Click on the Account link under Quick Links. You should find the info there.

Maybe you are looking for

  • Adobe vs Macromedia Dreamweaver?

    First off, I've been having some very frustrating issues with Adobe's version of Dreamweaver. I recently just started using Adobe Dreamweaver CS5, after using Macromedia Dreamweaver 8 for years. When it comes to coding, I have to say Adobe DW has the

  • When I want to download a app it says after entering apple password it says connection manager invoke retry or cancel

    I can't download anything When I want to download a app it says after entering apple password it says connection manager invoke retry or cancel

  • Queues in READY status for no apparent reason

    Dear All, This question has been posted many times but never saw a conclusive answer on this forum. To repeat, I see queues being built in READY status in APO inbound for no apparent reason. All settings of scheduler being fine (SMQS - Type R), there

  • Business object architecture data model

    HI All, Can anyone give the architectural data model for business object ? i got few but my data base is sap BI and i need to design a document to show the data model so anybody having such document or any link for that so please share. thanks in adv

  • Page down not working for BDC

    Hi all, I have written a BDC to call transaction OASV. I have to fill a table control which has initial 10 lines in display. I will have more than 10 items to fill in the table control. But while recording through SHDB i dont get the recording for th