Find the size of a blob in a table
Hi,
I have a table with a blob type column,
How to find the size of the blob in one specific row ?
Can it be done through a Select query ?
Thanks.
Dear A-K!
Please have a look at the following example:
conn pm/pm
desc print_media
SELECT dbms_lob.getlength(ad_photo)
FROM print_media;this example is from [http://www.psoug.org/reference/dbms_lob.html].
Yours sincerely
Florian W.
Similar Messages
-
Query to find the size the table occupies
I have a table with blob columns. How to find the size the table occupying? Thanks
DBMS_SPACE.SPACE_USAGE(
segment_owner IN varchar2,
segment_name IN varchar2,
segment_type IN varchar2,
unformatted_blocks OUT number,
unformatted_bytes OUT number,
fs1_blocks OUT number,
fs1_bytes OUT number,
fs2_blocks OUT number,
fs2_bytes OUT number,
fs3_blocks OUT number,
fs3_bytes OUT number,
fs4_blocks OUT number,
fs4_bytes OUT number,
full_blocks OUT number,
full_bytes OUT number,
partition_name IN varchar2 DEFAULT NULL);
Parameters
Parameter Description
segment_owner Schema name of the segment to be analyzed
segment_name Name of the segment to be analyzed
partition_name Partition name of the segment to be analyzed
segment_type Type of the segment to be analyzed (TABLE, INDEX, or CLUSTER)
OUTPUT ARGUMENTS
unformatted_blocks Total number of blocks that are unformatted
unformatted bytes Total number of bytes that are unformatted
fs1_blocks Number of blocks that has at least 0 to 25% free space
fs1_bytes Number of bytes that has at least 0 to 25% free space
fs2_blocks Number of blocks that has at least 25 to 50% free space
fs2_bytes Number of bytes that has at least 25 to 50% free space
fs3_blocks Number of blocks that has at least 50 to 75% free space
fs3_bytes Number of bytes that has at least 50 to 75% free space
fs4_blocks Number of blocks that has at least 75 to 100% free space
fs4_bytes Number of bytes that has at least 75 to 100% free space
ful1_blocks Total number of blocks that are full in the segment
full_bytes Total number of bytes that are full in the segment
Summary of DBMS_SPACE Subprograms
Example
variable unf number;
variable unfb number;
variable fs1 number;
variable fs1b number;
variable fs2 number;
variable fs2b number;
variable fs3 number;
variable fs3b number;
variable fs4 number;
variable fs4b number;
variable full number;
variable fullb number;
begin
dbms_space.space_usage('U1','T', 'TABLE',
:unf, :unfb,
:fs1, :fs1b,
:fs2, :fs2b,
:fs3, :fs3b,
:fs4, :fs4b,
:full, :fullb);
end;
print unf ;
print unfb ;
print fs4 ;
print fs4b;
print fs3 ;
print fs3b;
print fs2 ;
print fs2b;
print fs1 ;
print fs1b;
print full;
print fullb;
all the best
DN -
How do I find the size of my JPEG photos
I want to find the size of my JPEG photos so I know how many photos I can fit per GB on my flashdrive.
I know that my photos are in the "all images" section, on the left side of my "Mcintosh HD" dialogue box, a box which contains just about everything in my computer.
I click on "all images" and then a list of all my photos show up in the dialogue box. Then I can click on a photo and it will show the photo, but not the size of the photo. I would like to know the size of my photos, ie how may MBs per photo. (Let's say I find out a typical photo I have has 2.3 MBs. Then I can divide 1000 by 2.3 and that gives me the number of photos per GB in my flash drive.) Thanks.I'm using iPhoto 11 Version 9.3.2
Highlight or open a photo. In iPhoto 11, at the bottom right there is an i/info tab.
Selecting info should give you a window similar to this.
As for the difference in file sizes there can be a few possibilities.
1) you may have periodically changed the resolution settings in the camera
2) you may have resized/scaled or edited the original photos -
Where do I find the size of my Hard Drive in the MacBook
I can't believe it, but I am unable to find the size of my built-in hard drive on the MacBookPro; I tried in Apple>About this Mac>More Info.. but cannot find the required info.
Help please. Thanks. Cheers, VeitOpen finder and look for Macintosh HD on the left sidebar. Control click it and then select "get info" Capacity and Available are listed there.
Cheers,
Captfred -
How to find the size of a Oracle 11g table
I want to find the size of a table in Oracle 11g.
I hope, my question is clear.
Please revert with the reply to my query.
Regards--- List all tables sorted by size
set lines 100 pages 999
col segment_name format a40
col mb format 999,999,999
select segment_name
, ceil(sum(bytes) / 1024 / 1024) "MB"
from dba_segments
where segment_type = 'TABLE'
group by segment_name
order by ceil(sum(bytes) / 1024 / 1024) desc
--- List all tables owned by a user sorted by size
set lines 100 pages 999
col segment_name format a40
col mb format 999,999,999
select segment_name
, ceil(sum(bytes) / 1024 / 1024) "MB"
from dba_segments
where owner like '&user'
and segment_type = 'TABLE'
group by segment_name
order by ceil(sum(bytes) / 1024 / 1024) desc
/ -
HT5766 Where can I find the size of a download for a software update now?
Hello,
Where can I find the size of a download for a software update now?
Since I upgraded to Mountain Lion (Mac OSX 10.8.3) this information is no longer available in software updates listing you get if you click on the Software Update menu item from the Apple menu.
I found the download size (often hundreds of megabytes for an individual update and sometimes a set of updates might amount to a few gigabytes) to be very helpful, and now that it seems no longer available (I can't even see it on the web page I came to for more information, thinking the download size would surely be specified there), it is frustrating. My current example is iTunes 11.0.3
I would greatly appreicate having this information back in the software updates listing, but since it is no longer available there, and I don't know where else to find it, if anybody can enlighten me to its whereabouts, I'd be grateful.
Thanks and cheers!stewedapples wrote:
I would greatly appreicate having this information back in the software updates listing, ...
You can leave Feedback for Apple here...
http://www.apple.com/feedback/
stewedapples wrote:
... I don't know where else to find it...
http://support.apple.com/downloads/# -
How to find the size (in Mb) of a project in Aperture 3?
I do not know a quick way to find the size of the originals e versions in a project in Aperture 3. Would any one know how to do this?
Tks
PedroTake a look in the "More Like This" section in the right-hand column for discussions about this.
The answer is: you can't. Aperture is not so simply structured that you can select a group of Images and "weigh" them.
If needed, your easiest solution is to export the Images as a new Library and include the Originals. The size of that Library is more than but close to the size of the Originals and the Versions.
HTH. -
How can i find the size and contents of playlist created by genius?
How can i find the size and contents of i-tunes playlist created by genius?
Have a look at this article written by the CEO of our company (MoviMED):
http://www.qualitymag.com/articles/91010--d-imaging-enters-the-machine-vision-world?v=preview
What is the object you are going to be making with the CNC? Is it a cube? Is it an intricate statue?
Are you making an object with a CNC, or just mounting a camera to a CNC to image the object?
www.movimed.com - Custom Imaging Solutions -
How to find the size of an arrayList through Expression Builder.
Hai OTN,
How to find the size of an arrayList through Expression. I have a managed bean in View Scope.I am using Jdeveloper 11.1.1.2 with ADF Faces components.
Managed Bean :
ArrayList<IllnessEmployeesObj> employeeGridList =
new ArrayList<IllnessEmployeesObj>();
JSPX :
Value="#{viewScope.PandIVH.employeeGridList.size}"
Error : java.lang.NumberFormatException: For input string: "size"Hi Dinil,
I have provided you with a sample that would show you the how you can get the size of an arraylist
the sample has a page untitled1 and a bean named test.
I have run in on jdev 11.1.2 and it is ok, it will be ok on 11.1.3
after running the sample you will see the 2.
please remember that you must add the JSTL taglib on the viewcontroller.
just right click on viewcontroller, go to tag lib select the jstl.
page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>untitled1</title>
</head>
<body>
<h:form>
<h:outputText value="#{fn:length(test.a)}"/>
</h:form>
</body>
</html>
</f:view>
bean
import java.util.ArrayList;
public class Test {
public Test() {
a= new ArrayList();
Object o=new Object();
a.add(o);
a.add(o);
ArrayList a;
public void setA(ArrayList a) {
this.a = a;
public ArrayList getA() {
return a;
I hope this sample came handy.
regards, -
How to check/find the size of current ROLLBACK segment in oracle 10g
How to check/find the size of current ROLLBACK segment in oracle 10g ? Kindly help
A rollback segment name like "_SYSSMU231$" is used when you have Automatic Undo Management enabled.
The only relevant parameters are :
1. UNDO_MANAGEMENT=AUTO
2. UNDO_RETENTION=n minutes ==> this is what everyone should be interested in
3. The sizes of the Undo Tablespace datafiles and whether AUTOEXTEND is ON or OFF
No one should be interested in the size of a single undo segment when Automatic Undo Management is enabled.
Possible causes of ORA-01555 errors in Automatic Undo Management
a. UNDO_RETENTION is too low
b. Undo tablespace is too small
Hemant K Chitale -
How to find the size of a Table
Dear all,
How can i find the size of a table in a schema and size of the schema also.
Thanks
MahiTry out with the help of this package, which will give out the total bytes, unused bytes, calculate the free bytes from total byes-unused bytes.
dbms_space.unused_space(
upper(oname),upper(tbname),upper('TABLE'),
total_blocks, total_bytes,
unused_blocks, unused_bytes,
last_used_extent_file_id ,
last_used_extent_block_id,
last_used_block
); -
Query to find the size of trigger?
query to find the size of trigger?
Can you define what the size of a trigger would be?
I suppose one measure might be to get the DDL for the trigger (DBMS_METADATA.GET_DDL) and do a DBMS_LOB.GetLength on the CLOB that is returned. I'm hard-pressed to find that a meaningful number, but it is a measure of "size".
Justin -
FREE SPACE : To find the size of the report on INFO VIEW.
Hello,
We have recently started using BO XI R2.Could anybody please let us know how to find the size of reports from INFO VIEW ?
Please find a brief of the situation we are currently encountering
We use the web portal " INFOVIEW PROD " to access all the reports in BO. However, the all these reports are stored on the E drive of a production machine . Now the E drive has reached 80% of its capacity and we need to free some space . We cannot delete files directly from E drive of the machine as it stores reports merely on the basis of numbers .The other option is to delete the unused reports from web portal. However , we are talking about 1000's of reports.Also , from the INFO VIEW we are not able to determine the size of the report to delete based on size and unusability.
We would like some input on how to tackle this issue.
Regards,
BO USER R2Hello,
Well that's really surprising to see that you have recently started using XIR2 since this is already an end of life product from SAP Business Objects.
Well nevertheless there is an option to check these details.
There is tool known as "Query Builder" in BOE
The direct URL to start this is: - http://<servername>:<port>/AdminTools/querybuilder/ie.jsp
and provide below query: -
select SI_ID, SI_NAME,SI_FILES,SI_SIZE from CI_INFOOBJECTS where SI_KIND='Webi' Order BY SI_SIZE DESC
SI_ID: - ID of the infoobject.
SI_NAME: - name of the object
Under SI_FILES you will get SI_PATH which will tell you the location from IFRS
SI_SIZE: will tell you the size.
But I would like to highlight one thing you need to check the instances of the document as well.
Don't just start deleting everything, it can create more problems with the system.
Take the backup of IFRS, OFRS and CMS DB as well.
My reply is just to tell how you can find the webi document according to size and IFRS path
Thanks,
Vivek
Edited by: Vivek Chauhan on Sep 12, 2011 1:50 PM -
where do I go to find the size of a slideshow in aperture so I know what size USB to export it to?
Click on the mail app, then at the top left side, click on yahoo/gmail/exchange whatever account your using.
then you should see all your mailboxes, you'll see inboxes and accounts, go into accounts to whatever email and then you should see your trash./ -
Hi gurus,
Can some one suggest me in finding the size of complete database and the free space left in the database .
as i am doing the refresh just need to gather the statistics .
thanks790072 wrote:
Hi gurus,
Can some one suggest me in finding the size of complete database and the free space left in the database .
as i am doing the refresh just need to gather the statistics .
thanks
1 select round(sum(df.bytes/(1024*1024))+sum(tf.bytes/(1024*1024))) TOTAL,
2 round(sum(fs.bytes/(1024*1024))) FREE
3* from dba_data_files df, dba_temp_files tf, dba_free_space fs
SQL> /
TOTAL FREE
6839688 56127
Maybe you are looking for
-
Is there a way to create my own web gallery template for bridge?
Is there a way to create my own web gallery template for bridge? I want to add custom data that is not in any of the templates. Pretty much, I'd like to create one from scratch...
-
Boot Camp Killed Time Machine?
I'm going to try to offer the short version of this story... Using Boot Camp I created a Windows partitiion and, using the Boot Camp instructions available from within the Boot Camp assistant, got XP Home installing. About halfway through the install
-
A mov file plays in 'Get Info' preview, but not in Quicktime
I recorded a talk to web cam yesterday using Quicktime Pro and edited out the overlong pauses and fluffs to produce a series of .mov clips. Today I copied and pasted the clips into one .mov file in Quicktime Pro. The first 12 clips were fine. The 13t
-
How can I create a long employment form without making the form widget drag?
How can I create a long employment form without making the form widget drag?
-
TextPane always scroll to the bottom when append text
How to avoid TextPane (inside scroll pane) to go to the bottom after append or set text. The current way I do is to scroll up again. This causes a noticable blink which I don't like very much. Could someone please point out if there is a setting I ca