How to find the size of the table?
Hi all
Can anyone suggest how to find the size of the table? I had a few (15272 selected lines) on the name of "CMPT_" How can I check only 'CMPT_' size tables?
Please someone help give the SQL query to run.
Thanks in advance.
Vincent
madala03 wrote:
Hi thanks for the reply
I'm out like below
SUM(BYTES/1024/1024)
--------------------
25383.25
But how to check all the name of tables CMPT and their sizes?
Select nom_segment, dba_Segments sum(bytes/1024/1024) where nom_segment like ' % CMPT GROUP BY nom_segment;
Tags: Database
Similar Questions
-
How to find the table in a schema, if I only have a particular column name
Hi all
Ideal if some1 could help me, I know not a column name and I need to find the table that actually holds this column paricular name I know.
is it possible to find this particular table with SQL?
Thank you
RahulSelect the table TABLE_NAME from user_tab_columns where column_name = 'COLUMN_NAME '.
-
How to find the tables placed only on pages.
Hi experts,
I find all the tables in the document (no XML Indd file.) .indd There is only a certain number of tables. And a table in the master page also. Now I'm trying to get back only the tables except the master page. How can I got it?
I used the following code. But it is not working properly.
var myTables is app.activeDocument.stories.everyItem () .tables;.
App.Select(mytables[0]);
var myTableCount = myTables.length;
Alert (myTableCount);
for (var i = 0; i < myTableCount; i ++) {}
var myTableObj = myTables [i];
Alert (myTableObj.parent);
Try
{
var myTableObj.parent.parentPage.name = XXX;
If (xxx.match("^[0-9]+$"))
{
Alert ('table');
myTableObj.label = 'table' +(i+1);
}
on the other
{
Alert ("Master Page table");
}
}
catch (e)
{
Alert (e.message);
}
}
Always throw catch loop...
Can someone guide me...!
Thank you and best regards,
Vel.
Hi Peter,.
Finally, I close with the codes below. It make me fight a lot...
var pagelen = app.activeDocument.pages.length;
Alert (pagelen);
for (var i = 0; i)<>
{
var pageitemlen = app.activeDocument.pages [i].pageItems.length;
for (var j = 0; j)<>
{
v var = app.activeDocument.pages [i] .pageItems [j] .tables;
Alert (v.Length);
for (var x = 0; x)<>
{
App.Select (v [x]); Here, I can select.
App.Selection [0] .label = "table" + count;
Count ++;
myTables.push (v [i]);
}
}
}
Peter, thank you very much for your time in Golden for my problem...
With respect,
Vel.
-
Hello
I have a java Apps to connect to a database of GR 11, 2.
When I clicked on a "billing" module, I don't 'a number' 1,641.00 error in java logs that cause billing does not be generated.
I don't even enter this value. I don't know if this error at the level of the table or during analysis on the coast of java it fetch a numeric variable placeholder.
I simply assume that it is at the database level. And assuming that I am the only user in the database.
How can I get this operation with the 1,641.00 value and determine which table was is inserted to the error? In V$ SQLAREA maybe?
Thank you very muchSYSUSER - 263293-40-1 2012-07-10 11:08:25,578 [http-6700-1] INFO (support.context.CacheManager) Registering cache 'BusinessObjectInfoCache' SYSUSER - 263293-41-1 2012-07-10 11:08:25,859 [http-6700-2] ERROR (api.service.ServiceExecutionPolicy) Rollback: Read failed java.lang.NumberFormatException: Not a number: 1,641.00 at com.ibm.icu.math.BigDecimal.bad(BigDecimal.java:3894)
Kins>
apps itself has no problem.
>
I have to disagree. If the application is to throw an exception and the journal contains her not the information necessary for you tell what is causing the exception, and then the application has ALSO a problem.java.lang.NumberFormatException: Not a number: 1,641.00 at com.ibm.icu.math.BigDecimal.bad(BigDecimal.java:3894)
Add additional record to the app to catch the exception and discover the connection, the request and the record that causes the error.
Troubleshoot, to gather information when the problem actually occurs and work your way backwards.
If you say that the problem did not exist before the developer made the change then prove it by running the old code against the same data. If it works then the problem is with the change that made the developer.
-
How to find the tables that are used in a procedure
Hello
I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
Can you help me?
Thank you!Mark1970 wrote:
Hello
I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
Can you help me?
Thank you!I don't know if I understand your problem, but have you had a glance at the data dictionary views USER_DEPENDENCIES or ALL_DEPENDENCIES?
It has classified hard dependencies of objects.
If a table is used directly (not in dynamic SQL code in a string) in an object PL/SQL, the dependency is available in the stated points of view. -
How to find the table - is - this normal table or external table?
Hello
Regardless of DML operations in normal and reading tables only access tables outside, is there a way to find the specified table is regular table or the external table?
Thanks in advance.
Suresh.One possibility would be to query the ALL_EXTERNAL_TABLES data dictionary view. If there is a line in ALL_EXTERNAL_TABLES to the table, wondering (I assume you know that you query a table, a view, or a synonym), it is an external table. Otherwise, it's an ordinary table.
Justin
-
How to find the size of the partitioned tables?
How to find the size of the partitioned tables?Select nom_segment, sum (bytes) /(1024*1024) 'Size in MB' from dba_segments
where owner = 'owner name' and segment_type like '% PARTITION % '.
Group by nom_segment; -
How to find the size of the downloaded image on a column of type blob in a table?
How to find the size of the downloaded image on a column of type blob in a table?Vidya,
You can use the built in function dbms_lob.getlength to get the length (size) of a LOB column or a bfile type.
Check out this link.http://download.Oracle.com/docs/CD/B10501_01/AppDev.920/a96612/d_lob2.htm#1008995
-
How to find the size of the semantic model
Hi all
Please can you tell me how to find the size of the semantic model.
Thank you
INDUHi Indu,
A couple of several things:
1 we still need an application, in order to account for the storage of the Table in the Application
This query gives you the name of application table
Select the table table_name from mdsys.sem_model$
where model_name = ''; This will give you the size in MB
Select semmodel.table_name, dbaseg.bytes/1024/1024 MB
of mdsys.sem_model$ semmodel, dba_segments dbaseg
where semmodel.table_name = dbaseg.segment_name
and semmodel.model_name = ''; 2. If the model is the only one of the semantic network, you can get the space used by the table of $ RDF_VALUE using this query
Select bytes/1024/1024 MB dba_segments where nom_segment = '$RDF_VALUE ';
If there are several models, this space is shared between all of them.
Kind regards!
Jorge -
How to find the value max and min for each column in a table 2d?
How to find the value max and min for each column in a table 2d?
For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.
Thank you
Chuck,
With color on your bars, you should have enough experience to understand this.
You're a loop in the table already. Now you just need a function like table Max and min. loop. And you may need to transpose the table 2D.
-
How to find the primary key columns in the tables in MS Access using SQL queries
How to find the primary key columns in the tables in MS Access using SQL queries
Hello
This is the forum for Windows Vista programs related issues.
For better assistance, please try instead the Forums in SQL Server .
Thank you! Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo
-
How to find the size of the virtual server?
Hello
We intend to pass our applications 4 virtual servers has 2 physical servers. In this process, we need to identify the size of the current virtual servers to use as a starting point to configure or add the size in physical server. can anyone provide information on whats stats to be noticed and how to find the size of the current virtual servers?
Thank you
Hi Sekhar, there.
in general, it is a fairly complex task if you want to size the new platform correctly, i.e. not to oversize it and have very low use below, i.e. spend too much on equipment.
In fact, it's the first thing to consider the level of use of the new platform. Most likely your organization (HW and infrastructure) has targets to a minimum. optimal and maximum usage levels.
In the case where you do not have this as a starting point, and then you continue with load average and the current peak (CPU, RAM, NW). To these basic lines, you can use the statistics of WLS Admin Console, where the use of CPU and memory statistics are presented since the server was last started. For more detailed statistics, you can use WLDF to capture measures key at regular intervals, and then base your analysis of these data.
Finally and above all, the size of FS, but I've seen some comments above related to the size of the FS.
HTH,
A.
-
How to find the relationship between the tables
Hello
I am working in Oracle R12
How to find the relationship between these tables INV_MIN_MAX_TEMP, po_requisition_lines_all and Per_all_people_f
These two tables, I joined with po_requisition_lines_all and Per_all_people_f To_person_id of PO and anyone HR table but I can't able to join this table with other tables INV_MIN_MAX_TEMP
concerning
Srikkanthsolved
-
How to find the child level for each table in a relational model?
Earthlings,
I need your help, and I know that, "Yes, we can change." Change this thread to a question answered.
So: How to find the child level for each table in a relational model?
I have a database of relacional (9.2), all right?
Tips:. O /* This is a child who makes N references to each of the follow N parent tables (here: three), and so on. */ /↑\ Fks O"O O" <-- level 2 for first table (circle) /↑\ Fks "o"o"o" <-- level 1 for middle table (circle) ↑ Fk "º"
-Each circle represents a table;
-Red no tables have foreign key
-the picture on the front line of tree, for example, a level 3, but when 3 becomes N? How is N? That is the question.
I started to think about the following:
First of all, I need to know how to take the kids:
Thought...select distinct child.table_name child from all_cons_columns father join all_cons_columns child using (owner, position) join (select child.owner, child.constraint_name fk, child.table_name child, child.r_constraint_name pk, father.table_name father from all_constraints father, all_constraints child where child.r_owner = father.owner and child.r_constraint_name = father.constraint_name and father.constraint_type in ('P', 'U') and child.constraint_type = 'R' and child.owner = 'OWNER') aux using (owner) where child.constraint_name = aux.fk and child.table_name = aux.child and father.constraint_name = aux.pk and father.table_name = aux.father;
We will share!
Thanks in advance,
Philips
Published by: BluShadow on April 1st, 2011 15:08
formatting of code and hierarchy for readbilityHave you looked to see if there is a cycle in the graph of dependence? Is there a table that has a foreign key to B and B has a back of A foreign key?
SQL> create table my_emp ( 2 emp_id number primary key, 3 emp_name varchar2(10), 4 manager_id number 5 ); Table created. SQL> ed Wrote file afiedt.buf 1 create table my_mgr ( 2 manager_id number primary key, 3 employee_id number references my_emp( emp_id ), 4 purchasing_authority number 5* ) SQL> / Table created. SQL> alter table my_emp 2 add constraint fk_emp_mgr foreign key( manager_id ) 3 references my_mgr( manager_id ); Table altered. SQL> ed Wrote file afiedt.buf 1 select level lvl, 2 child_table_name, 3 sys_connect_by_path( child_table_name, '/' ) path 4 from (select parent.table_name parent_table_name, 5 parent.constraint_name parent_constraint_name, 6 child.table_name child_table_name, 7 child.constraint_name child_constraint_name 8 from user_constraints parent, 9 user_constraints child 10 where child.constraint_type = 'R' 11 and parent.constraint_type = 'P' 12 and child.r_constraint_name = parent.constraint_name 13 union all 14 select null, 15 null, 16 table_name, 17 constraint_name 18 from user_constraints 19 where constraint_type = 'P') 20 start with child_table_name = 'MY_EMP' 21* connect by prior child_table_name = parent_table_name SQL> / ERROR: ORA-01436: CONNECT BY loop in user data
If you have a cycle, you have some problems.
(1) it is a NOCYCLE keyword does not cause the error, but that probably requires an Oracle version which is not so far off support. I don't think it was available at the time 9.2 but I don't have anything old enough to test on
SQL> ed Wrote file afiedt.buf 1 select level lvl, 2 child_table_name, 3 sys_connect_by_path( child_table_name, '/' ) path 4 from (select parent.table_name parent_table_name, 5 parent.constraint_name parent_constraint_name, 6 child.table_name child_table_name, 7 child.constraint_name child_constraint_name 8 from user_constraints parent, 9 user_constraints child 10 where child.constraint_type = 'R' 11 and parent.constraint_type = 'P' 12 and child.r_constraint_name = parent.constraint_name 13 union all 14 select null, 15 null, 16 table_name, 17 constraint_name 18 from user_constraints 19 where constraint_type = 'P') 20 start with child_table_name = 'MY_EMP' 21* connect by nocycle prior child_table_name = parent_table_name SQL> / LVL CHILD_TABLE_NAME PATH ---------- ------------------------------ -------------------- 1 MY_EMP /MY_EMP 2 MY_MGR /MY_EMP/MY_MGR 1 MY_EMP /MY_EMP 2 MY_MGR /MY_EMP/MY_MGR
(2) If you try to write on a table and all of its constraints in a file and do it in a valid order, the entire solution is probably wrong. It is impossible, for example, to generate the DDL for MY_EMP and MY_DEPT such as all instructions for a table come first, and all the instructions for the other are generated second. So even if NOCYCLE to avoid the error, you would end up with an invalid DDL script. If that's the problem, I would rethink the approach.
-Generate the DDL for all tables without constraint
-Can generate the DDL for all primary key constraints
-Can generate the DDL for all unique key constraints
-Can generate the DDL for all foreign key constraintsThis is not solidarity all the DOF for a given in the file object. But the SQL will be radically simpler writing - there will be no need to even look at the dependency graph.
Justin
-
How to find the size of the text string...
Hi friends,
How to find the size of the text, in KB or in bytes or MB, I have a text box control, when I type a text in do I find the size of the text that is entered control.please of entry help very urgent...
Thnaks
Balu-
Hi David,
Nice Solution, but I think that it will not give the exact size of the string for a particular case where the string contains UTF string as a single letter format can exceed more than 1 byte.
So I think it should be modified as:
private function getTextSize(value:String): String
{
var div_by:int = 100;
var sze_is:String = 'KB ';
var len_is:int = getUTFLength (value); now the length is actually measured, regardless of the format of the text
If (len_is > 1000000)
{
div_by = 100000;
sze_is = 'mb ';
}
Return(string(math.round(len_is/div_by)/10)+sze_is);
}
private void getUTFLength(value:String):int
{
var byteArray:ByteArray = new ByteArray();
byteArray.writeUTFBytes (value);
Return CharArray.Length;
}Concerning
-Vikash
Maybe you are looking for
-
Monitor flashes ON / OFF when u3.0 Dynadock is connected using Win8
Hello I installed the Dynadock U3.0 with the latest drivers on my laptop N56. Everything seems to work fine (connected hard drive, ethernet connected, connected... mouse) until I have plug my external monitor cable into the Dynadock. When I do that,
-
Mid-2010 MBP loses battery power while you sleep
Hi everyone, I have replaced my MBP unibody mid-2010 with a spare battery and the laptop battery lost its battery power very quickly, during normal use and while you sleep. I contacted the manufacturer and they sent me a different battery, and the sa
-
animation on solitare and spider solitaire started working erratically, recently. a movement of card happen normally, followed by one or more movements of card memory (no animation). In addition, a draw on the bridge will sometimes give more than a r
-
half screen at the opening of a new web site
When I opened a new site, I get only half a page and half to click to make it complete. It will be just to arrive. I didn't have this problem before. I'm not good to solve problems on your computer. Thank you
-
Windows recovery disc 32-bit error code meaning version question HelloI hope someone can help me. I am unable to boot into windows vista 32-bit, so I downloaded the vista recovery disk and get an oxo error code what it means (thanks in advance)?