How to computer the row size of a table
Hi
How can i compute the row size of a table. My general Idea is
create table emp(
empno number(4),
ename varchar2(10),
hire_date date,
update_yn timestamp);
the character set is UFT8
how can i compute the size of this table
thanks
Hi,
for Avg. row length see this
SQL> desc dba_tables
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
TABLE_NAME NOT NULL VARCHAR2(30)
TABLESPACE_NAME VARCHAR2(30)
CLUSTER_NAME VARCHAR2(30)
IOT_NAME VARCHAR2(30)
PCT_FREE NUMBER
PCT_USED NUMBER
INI_TRANS NUMBER
MAX_TRANS NUMBER
INITIAL_EXTENT NUMBER
NEXT_EXTENT NUMBER
MIN_EXTENTS NUMBER
MAX_EXTENTS NUMBER
PCT_INCREASE NUMBER
FREELISTS NUMBER
FREELIST_GROUPS NUMBER
LOGGING VARCHAR2(3)
BACKED_UP VARCHAR2(1)
NUM_ROWS NUMBER
BLOCKS NUMBER
EMPTY_BLOCKS NUMBER
AVG_SPACE NUMBER
CHAIN_CNT NUMBER
AVG_ROW_LEN NUMBER
AVG_SPACE_FREELIST_BLOCKS NUMBER
NUM_FREELIST_BLOCKS NUMBER
DEGREE VARCHAR2(10)
INSTANCES VARCHAR2(10)
CACHE VARCHAR2(5)
TABLE_LOCK VARCHAR2(8)
SAMPLE_SIZE NUMBER
LAST_ANALYZED DATE
PARTITIONED VARCHAR2(3)
IOT_TYPE VARCHAR2(12)
TEMPORARY VARCHAR2(1)
SECONDARY VARCHAR2(1)
NESTED VARCHAR2(3)
BUFFER_POOL VARCHAR2(7)
ROW_MOVEMENT VARCHAR2(8)
GLOBAL_STATS VARCHAR2(3)
USER_STATS VARCHAR2(3)
DURATION VARCHAR2(15)
SKIP_CORRUPT VARCHAR2(8)
MONITORING VARCHAR2(3)
CLUSTER_OWNER VARCHAR2(30)
DEPENDENCIES VARCHAR2(8)
SQL> Regards!
Similar Messages
-
Hi,
I am having a table of 4 column. First column is varchar2(10), Second column is Number(5), Third column is char(10) and Fourth column is Number(12,2).
Now how to calculate the size of each row. I want to know how much space it will take for each row.
Thanx & Regards,
SwarupFor a complete discussion of storage requirements for different datatypes see the Oracle 8i Concepts manual.
All Oracle documentation is available on-line via the 'Documentation' link on the OTN home page.
Your Col2 NUMBER(5) will take 4 bytes if it holds a 5 digit positive or negative number.
Your Col4 NUMBER(12,2) will take 7 bytes if it holds a number with 12 digits that is positive and will take 8 bytes if it holds a number with 12 digits that is negative.
The following is from the Concepts manual Chapter 12 (Copyright by Oracle)
Built-In Datatypes 12-9
Internal Numeric Format
Oracle stores numeric data in variable-length format. Each value is stored in
scientific notation, with one byte used to store the exponent and up to 20 bytes to
store the mantissa. The resulting value is limited to 38 digits of precision. Oracle
does not store leading and trailing zeros. For example, the number 412 is stored in a
format similar to 4.12 x 10 2 , with one byte used to store the exponent (2) and two
bytes used to store the three significant digits of the mantissa (4, 1, 2). Negative
numbers include the sign in their length.
Taking this into account, the column size in bytes for a particular numeric data
value NUMBER ( p), where p is the precision of a given value, can be calculated
using the following formula:
ROUND((length( p)+ s)/2))+1
where s equals zero if the number is positive and s equals 1 if the number is
negative.
Zero and positive and negative infinity (only generated on import from Version 5
Oracle databases) are stored using unique representations. Zero and negative
infinity each require one byte; positive infinity requires two bytes.
null -
How to get the row count of a Table DATA?
Hi,
In my Adobe form layout, I have a Table node which is bound to an internal table. Now at runtime, I want to determine the number of rows that the internal table has, i.e the row count of the DATA node of the Table. How will I be able to determine the no. of rows of the internal table at runtime using Javascript? I am not being able to find any suitable answer in this forum. Please suggest. Thanks in advance.Hi,
If you bind the interactive form table to the internal table and specify some properties, the table will vary its row size according to the number of data available in the internal table.
You have to wrap the table in a sub form, check 'allow page break with contents' and property 'flowed'.
the table will automatically increase its row size...
Is this the reason for which you wanted for the row count..?
If so, this will help you..
Regards.
Surya -
How to get the rows in a multiselect table automatically checked?
Hi,
I have retrieved all the rows whose job status is 'Manager'. Now i need these rows to be automatically checked when a button is clicked.
how do i do this?
Please reply as soon as possible.Hi,
is this a new thread or is it a duplicate of http://forums.oracle.com/forums/thread.jspa?messageID=2339633
Frank -
How to capture the row value in Advanced Table on OAF ?
Hi:
I was wondering, if anyone has any idea as to how to capture a row value on an advanced table on a OAF Page.
I am currently trying to capture the Expense Report Number ( first column) on the Track Expenses Reports table on the page /oracle/apps/ap/oie/webui/HomePG.
Any idea would be helpful ?
Thank YouHi,
856070 wrote:
This is what I am looking for :
Default Functionality
On the expenses home page there is a table for the Submitted expenses Table ( advanced table) with multiple Expense Number rows , which has a link associated with every expense number. When the user clicks the expense number link , EBS takes you to a more detail information page. ---As per default functionality :::whene ever user clicks on link it will takes u to details info page based expense no right.
---Check the property of the Destination URL of the ExpensionNumber column.
---In this property u can find the page path and paramam ex:pexpencenumber.
Customized functionality
I would like to capture the Expense number on the detailed page to call another application based on the expense number. The expense number on the
detailed page is not available on the request-parameter or on the VO.
I was thinking of capturing the ExpenseNumber when the user clicks it and save the expense number on a >transientvalue to retrieve it on the detaile dpage..but unable to do so.---Here get the paramereter pexpencenumber and pass it to another appilcation.
Regards
Meher Irk -
How to get the row reference of inner table of an advance table
Hi Gurus,
Using R12.1.3, How to get the handle of inner table row reference of an advance table in controller.
Regards,
ZakirThe javadoc for oracle.jbo.Key is really helpful.
getAttributeNames()
getAttributeValues()
etc -
How to get the row difference from two tables
I am not good at SQL. Here is a problem I am having
I have two tables say Employee_Master and Employee_Today. Employee_Today table is basically a subset of Empolyee_Master. At a given time, I want to query the database and and get all the employee names from Employee_Master table that are NOT in the Employees_Today table. How would I write that?
Select a.name from Employee_Master a, Employee_Today b where ..........?
Thanks for suggstionsif i understand your requirement correctly try this:
Select a.name from Employee_Master a
Where Not Exists
(Select 'x' From Employee_Today b
Where b.name = a.name) ;hope this helps -
How to transfer my iphone video to computer,the video siza more than 1.5G
how to transfer my iphone4 video to computer. the video siza more than 1.5G
Follow the instructions here or here, and then sync the iPhone with the iTunes library containing the content.
(112570) -
How to Increase the Rows and Columns Size of Bex Query in Enterprise Portal of SAP 7.3
Dear All,
Please let me know the process how to Increase the Rows and Columns Size of Bex Query in Enterprise Portal of SAP 7.3 .
Currently I am getting Only 4 columns and 10 rows in One Page .And I am getting 1,2 etc tabs for both row and column. So i want to increase the column length more than 100 and row length more than 10000.
Please suggest me a suitable solution to over come this issue.
Please find the Below screen shot.
Thanks
Regards,
SaiDear All,
Please find the attached screen shot.
The report be open with 4 or 5 columns and 5 or 6 rows.
So, please let me know how to increase the length of the table.
Do the needful for me to over come this issue.
Thanks
Regards,
Sai. -
can one tell how to find the database size?
Depends what you mean by database size and how you want the output to look?
Are you referring to the number of rows across all tables of a schema? The number of bytes used by the rows? The number of bytes used by the tablespaces? The number of bytes used by the datafiles? etc. etc. etc. So many options.
Be more clear in your requirements please. -
I cannot figure out how to change the photo size on my iPhone 5s. The first time I took a pic it asked if I wanted smalll, medium or large and listed the pixels. I chose small but am now finding that is too small. Can anyone help me set it to medium now? I can't find any setting for that. I'm a newby to iPhones and have no idea what I'm doing. Thanks for any help you can offer.
By "sending" do you mean sending email?
If so, what app are you using to take the photos on your iPhone 5? Or are the photos from a different source (saved to your Camera Roll from somewhere else, like a web page or Messages)?
My guess is that Mail gives you the option to send different file sizes when it detects you are trying to Mail a really large photo file. The size of photos on the iPhone 5 is really big and some email providers may stop your mail from being delivered if attachments are too large. Thus, Mail tries to help you by offering to resize the photo.
I suspect that if you are sending smaller files, Mail does not bother giving you options to save a smaller version. In fact, I have seen this behavior. So, if the photo is already "small enough", it gets sent as-is.
To my knowledge, there is no global iOS setting for this. Some apps may have different rules, of course. -
How to increase the row height of the table in the smartform
Hi,
Can any one say,
How to increase the row height of the table in the smartform.
It is presently show the row width very small, i want to increase the row with of the table in the smartform.
Plase say how can we increase the row height in the smartform.Hi Ravi,
In Smartforms , Select the Table and you can adjust the cell hieghts in OUTPUT OPTIONs TAB.
Reward points if that Helps.
Manish -
How to Fix the row in sap script, its urgent......
Hi Experts,
first i explain my sap script, i have print void check in my script client give readymade format means box are there, lines are there. i have to fix in box and line data form database table. everthing is working fine. i got all data. i have total 6 window in my script .but i have one issue In my sap script in header window total five rows... like below
Check voucher no:8888
check No: 1234
Date:1/28/2007
Bank:xyz
Batch no: 5678
now sometime check voucher is balnk....
Check voucher no: BLANK/NULL
check No: 1234
Date:1/28/2007
Bank:xyz
Batch no: 5678
because of that all rows are move up side and all window also move up side and so script not fix to the box and line all data are seen not perfectly... so guru`s how to fix the row and window in script....
its urgent...
Waiting for ur reply
Thanks & regards
JigarHi,
Follow the below steps . Definately your issue will bve resolved.
Let us suppose you are printing following fields
PH &v_text&
PH &v_text1&
PH &v_text2&
you will get the output as you expected.
and if you have any conditions for these fileds
/: if v_text is not initial.
PH &v_text&
/: endif
PH &v_text1&
PH &v_text2&
if you have data in each field then you will get output as expected .
But when v_text is initial.
the data will be moved up wnhich is happening in your case.
so what you need to do is?
/: if v_text is not initial.
PH &v_text&
/: else
PH (Here you need to mention empty line with same paragraph format
/: endif.
PH &v_text1&
PH &v_text2&
Reward points if useful
Regards,
Nageswar -
How to print the row ,column,and particular cell in separate color
how to print the row ,column,and particular cell in separate color IN ALV GRID
HI,
Here you go good program links
<a href="http://www.sapfans.com/forums/viewtopic.php?t=52107">How to Set Color to a Cell in AVL</a>
<a href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm">ALV Grid Coloring</a>
Thanks
Mahesh -
How to Restrict the Rows In Pivot Table
Hi All,
how to Restrict the Row in the Pivot table.
My Requirement is like this.
i have to show the top 10 values in the pivot table but My report is show all the values.
how can we achieve this.
any quick solution for this appreciated.
Thanks,
Yogi.Yogi1729 wrote:
Hi All,
how to Restrict the Row in the Pivot table.
My Requirement is like this.
i have to show the top 10 values in the pivot table but My report is show all the values.
how can we achieve this.
any quick solution for this appreciated.
Thanks,
Yogi.You can't really restrict the rows in a pivot table, but you can do this:
http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/
Maybe you are looking for
-
How can I get my serial number for Photoshop Elements 7
I have recently purchased Wacom Bamboo touch tablet that comes free with Photoshop Elements 7, apparently I have lost my serial code BEFORE I was able to download it. Is there any way I could retrieve it?
-
Huge fragmentation/inflation in the table
Hi, I have an application that does insert of data from flat files to the tables every two week. Each time while loading data, the application deletes all the relevant data that is being reloaded (I mean the table is not entirely truncated or all row
-
Hi All, MWST condition type is only available in Purchasing pricing procedure MM not in Tax procedure under FI. 1) How can i use this condition type & post value to VST key. 2) should i include MWST in Tax procedure also. Pls advise how to use this
-
Please help to find out asmlib kernel driver ?
Hello everyone, please help to find out correct asmlib kernel driver ? rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm error: Failed dependencies: oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el5.x86_64 My kernel version is: uname -a Linux 2.6.1
-
I have a 5-button mouse, The leftmost button (under my thumb) sends Firefox 6.0 back a page. This is a problem when composing e-mail. I accidentally lose the entire work. Is there a way to disable this function? Is there a way to change what the mous