Size of data stored in the database
How can i find the total amount of space data occupies in the database?
Hi,
Check the dba_extents view which give u all the allocated extents and their sizes for all the objects in the database.
Good luck,
Fred
Similar Messages
-
How to get values/data stored in the database into a list-item.
how to get values/data stored in the database into a list-item.
i tried to make a list item without any values assigned to it...but i got the below error.
FRM-30191: No list items defined for required poplist.
or
FRM-32082: Invalid value for given item type.
List EMPNO
Item: EMPNO
Block: EMP
Form: MODULE5
FRM-30085: Unable to adjust form for output.
then according to some docs, i tried the the following for the trigger
when-new-form-instance
declare
rg_name varchar2(40) := 'emp_rec';
status number;
groupid recordgroup;
it_id item;
begin
it_id := Find_Item('empno');
groupid := create_group_from_query(rg_name, 'select empno from emp');
status := populate_group(groupid);
populate_list(it_id, groupid);
end;
but yet didnt work... :(
so how the heck do i get values fetched from the database table into the list item?for list items you need to values in the record group, one is the shown value and one is the returned value.
Check out the online help for the populate_list built-in.
You'll need something like select ename,ename from emp as the record group query. -
How Variant Configuraton data from Sales Order stored in the database
Hi,
I understand that the "variant configuration" data (chosen values for each characteristics assigned to material) from a sales order is stored separately with reference of an object in SAP.
Please let me know how SAP stores such data -source in the database tables.
This is required to draw a report of these charateristics values for various sales orders (Transactional data).
I also understand that there are function modules to retrieve this data, but the function modules are unable to retrieve data as accurately as the VA03 program.
Thank you for your advice.
Regards,
HemantHi ,
I do not know what a reference charactersitcs is,but there are all independant characeristics in terms of their values.
A guess it is because the VC data is changed after the sales order is created, the updated VC data is displayed properly only in VA02 or VA03 but other function modules fail to display the updated VC data.
I understand there is a relationship of instance -between sales order object and VC data object-which we need to update and then see the latest data.
Please let me know if anyone has debgged VA03 to know how the standard SAP program retrieves VC data in a sales order.
Thank you,
Hemant -
How is the data of Oracle BPM stored in the database
Hi,
I am new to Oracle BPM and I want to know where are the activity of my published processes stored in the database, if you have some articles or tips I will thank you a lot, I was looking for something in the internet but without sucess.
ThanksHave a look at the WF tables under the SOA Infra schema.
-
Download of files stored in the database
I am using FireFox and my users IE. Download of files stored in the database worked for me but not for my users. I recieve a choice of downloading the file or opening it with a full file name and file type. IE users have some strange behaviour - no name of the file and they can only save it to their local drive - some kind of weird microsoft security option. I was searching for it but couldn't find. Anyone here who would know where to search for it?
Denes KubicekHello Jens,
I am using the standard procedure from the manual:
CREATE OR REPLACE PROCEDURE download_my_file_pr (p_file IN NUMBER)
AS
v_mime VARCHAR2 (255);
v_length NUMBER;
v_file_name VARCHAR2 (2000);
lob_loc BLOB;
BEGIN
SELECT mime_type, blob_content, NAME, DBMS_LOB.getlength (blob_content)
INTO v_mime, lob_loc, v_file_name, v_length
FROM my_file_table
WHERE ID = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
-- set the size so the browser knows how much to download
HTP.p ('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
HTP.p ('Content-Disposition: attachment; filename="' || v_file_name || '"');
-- close the headers
OWA_UTIL.http_header_close;
-- download the BLOB
wpg_docload.download_file (lob_loc);
END download_my_file_pr;
Denes Kubicek -
Where is the value of report repository stored in the database?
Hi all,
One of our developers is trying to write a code that would send the output report (pdf)of a process through mail, typical work flow stuff.But the problem is that we are not supposed to hard code the value of report repositiry from where the report has to be picked.can anybody suggest a table in the database from where the value of report repository can be queried.
we tried using
select reportrepositorypt from pswebprofile.
but this doesnt return the correct path. we went to PIA->peopletools->webprofile ->webprofie configuration
here we updated the value in report repository field and saved it and queried again.
But this didnt solve our problem.
Its showing the previous value which is different from the actual report repository path.
all the servers are in solaris box.
please suggets.
Thanks!Right now, I am trying to send a PDF (XML Publisher report) as an email to our vendors (it is their ACH Advice).
What I have done so far is: Created an App Engine, one step to populate a state record with run control information and the second step that runs XML Publisher and creates PDF report(s) which are published to the Report Repository and saved to a file on our network. Now I think I just need to create a third step to recall the PDF(s) and send the PDF(s) out as emails to our vendors.
I have found that the PDF information from Report Repository is stored in the Database in the CDM_LIST_VW record (this is a view and the main underlying table is CDM_LIST, but this contains what I need for now, so I'm going to try using it first). The Report ID is stored in the CONTENTID field and the Report Description (description shown on the Report Repository -- which in our case contains the email address) is stored in the CONTENT_DESCR field. So I am going to try over the next week to write the logic to query the CDM_LIST_VW for the data needed for the email address and the ReportID to go and grab the file....The hardest part is finding the actual file but I am hoping that I can also find a URL on that table. I'd pull the file from the network, but XML Publisher writes them out into numbered folders where all the PDFs are named the XML Report Defn - thus same name). I have not tried any of this yet, but am hoping I'm on the right path.
I hope this helped answer your question.
Good Luck!
Jennifer -
What else are stored in the database buffer cache?
What else are stored in the database buffer cache except the data blocks read from datafiles?
That is a good idea.
SQL> desc v$BH;
Name Null? Type
FILE# NUMBER
BLOCK# NUMBER
CLASS# NUMBER
STATUS VARCHAR2(10)
XNC NUMBER
FORCED_READS NUMBER
FORCED_WRITES NUMBER
LOCK_ELEMENT_ADDR RAW(4)
LOCK_ELEMENT_NAME NUMBER
LOCK_ELEMENT_CLASS NUMBER
DIRTY VARCHAR2(1)
TEMP VARCHAR2(1)
PING VARCHAR2(1)
STALE VARCHAR2(1)
DIRECT VARCHAR2(1)
NEW CHAR(1)
OBJD NUMBER
TS# NUMBERTEMP VARCHAR2(1) Y - temporary block
PING VARCHAR2(1) Y - block pinged
STALE VARCHAR2(1) Y - block is stale
DIRECT VARCHAR2(1) Y - direct block
My question is what are temporary block and direct block?
Is it true that some blocks in temp tablespace are stored in the data buffer? -
Can Discoverer have link to display documents stored outside the database?
I posted a message some time ago called "Possible for Discoverer to display BLOB type documents stored in database?" and got great answer.
Now our customers are asking if it is possible, from Discoverer, to link somehow to a file stored outside the database on the Unix file system and get their computer to display it? Can anyone tell me if this is possible please?
The only thing I've seen in the documentation that may be related is in Oracle Business Intelligence Discoverer Configuration Guide, section 10.6 List of Discoverer user preferences. It says there that Discoverer preference ProtocolList can be set so that Discoverer hyperlinks can be set to use protocols such as telnet, but the default is HTTP, HTTPS, and FTP.
THank you in advance if you can help.
Regards,
Julie.Hi Rod,
I have tried the second method: "create a Oracle directory pointing to the Unix directory containing the files". I have had success with it, but I'd be grateful if you could advise me if you would have done this the same way as described below:
I put two Word docs and two text docs called clob_test1.txt, clob_test2.txt, blob_test1.doc, blob_test2 in the Unix directory corresponding to an Oracle directory called 'EIF'. I thought an extrenal table was needed so that Discoverer would have an object to write a queruy against. So I created a file called lob_test_data.txt with the following contents:
1,01-JAN-2006,text/plain,clob_test1.txt
2,02-JAN-2006,text/plain,clob_test2.txt
3,01-JAN-2006,application/msword,blob_test1.doc
4,02-JAN-2006,application/msword,blob_test2.
THen I created an external table using the following DDL:
CREATE TABLE jum_temp_lob_tab (
file_id NUMBER(10),
date_content DATE,
mime_type VARCHAR2(100),
blob_content BLOB
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY EIF
ACCESS PARAMETERS
RECORDS DELIMITED BY NEWLINE
BADFILE EIF:'lob_tab_%a_%p.bad'
LOGFILE EIF:'lob_tab_%a_%p.log'
FIELDS TERMINATED BY ','
MISSING FIELD VALUES ARE NULL
file_id CHAR(10),
date_content CHAR(11) DATE_FORMAT DATE MASK "DD-MON-YYYY",
mime_type CHAR(100),
blob_filename CHAR(100)
COLUMN TRANSFORMS (blob_content FROM LOBFILE (blob_filename) FROM (EIF) BLOB)
LOCATION ('lob_test_data.txt')
PARALLEL 2
REJECT LIMIT UNLIMITED
then created a Discoverer End User Layer folder against this external table, and used exactly the same technique as we did for downloading the BLOB from the database table (creating a new folder item containing a URL calling a database procedure which calls the Oracle code to download the doc). THis worked, but sometimes my PC didn't seem to know that the Word docs were Word docs and it needed to launch Word. Other times it did manage to do this OK. It always displayed the two .txt files as HTML docs.
Just wondered if you'd be good enough to critique this approach.
THank you, Julie. -
Running reports stored in the database
Hi guys,
Is it possible to have Reports 6i produce reports that are
stored in the database? Looking at the documentation, it would
appear the report definition files (RDF) must be stored in the
filesystem. I don't really want to be handing out filesystem
access (managing and it) to people - is there a way around this?
Thanks,
denty.user5780461 wrote:
Hi,
Would anyone have any recommendations regrading running reports based on the data stored in an oracle database. We will soon go live with a project using an oracle DB. We do not wish to run reports directly from the production DB as it will impact performance. Have you actually measured the impact? If not, you are just making assumptions that -- lacking any other informatin -- appear to be invalid.
Is there any recommended method/architecture for reporting suggested by oracle for this type of scenario?
You make it sound like some unusual scenario. What you've described so far (running reports against an OLTP database) is just bread and butter operations for Oracle.
One idea is too runs some scripts that will write the data to another database and from there we will runs out reporting queries. Are there any other potential solutions?
And how does reading the data to insert into some other database cause less contention than reading data for a report?
>
Many thanks,
Ro -
How to get the date fromat from the database?
I am using Oracle9i database and i want to get the format of the date that is stored in the database.
How do i do that?
Thanks,
Shrimonconcatenate sy-datum0(2) '01' sy-datum4(4) into v_firstdate.
or yo ucan use the fm:
HR_JP_MONTH_BEGIN_END_DATE
usage:
call function 'HR_JP_MONTH_BEGIN_END_DATE'
exporting
iv_date = sy-datum
importing
ev_month_begin_date = gv_begda
ev_month_end_date = gv_endda.
Regards,
Ravi
Message was edited by:
Ravi Kanth Talagana -
When I select from the LOV, it is not storing in the database
Have a field (Manager) where the user selects their manager from the select list(generated from the query below)
select FIRST_NAME || LAST_NAME d, MANAGER_ID r
from PERSONNEL
where TITLE = 'MGR'
order by 1
After the manager is selected and Apply changes is clicked, nothing is stored to the database.
Have the Manager field specifications set as:
Source Used: Only when current value is session state is null
Source Type: Database column
Maintain Session State: Per Session
Source Value or Expression: MANAGER_IDWell, how have you created this form... manually or using wizard. If you have used wizard, then it would have asked you to select the table and it would have created process to update the same.
If you have created this form manually then you need to add a processs to update this to database...
Regards,
Shijesh -
Error message PG009 : no data stored for the period
During upgrade testing from 4.7 to ECC6 noticing an error message PG009 with a suggested solution "In table T582A maintain the indicators 'Choose with start', 'Choose with end', 'Choose without date' for each infotype"
I am able to see recotds in 4.7, but however unable to view anything in ECC6. The message I get is No data stored for the time selected.We have the same problem - during upgrade phase. Any suggestions?
-
I loos my APPLE ID, Now I have a new one, how can get access to data stored in the old one?
Do you have the email & password of the old Apple ID?
-
I had backed up my IPhone 4s on iCloud on Jan 19. I am now trying to do another back up but it says the time required is 7 hours. It appears to long a time for 1GB of data stored on the iCloud. Can someone help me please?
To be honest, that sounds about right.
For example on my 8Mbps (megbits) down service I get around 0.4Mbps upload. That is the equivalent of (very approximately) 3Mb (megabytes) per minute or 180Mb per hour. Over 7 hours that would be just over 1Gb.
Obviously, it all depends on your connection speed, but that is certainly what I would expect, and that is why I use my computer for backing up, not iCloud. So much quicker. -
Image compressed and stored in the database.
Hi,
We have a tiff file stored in the database and then compressed using the following Intermedia Oracle method.
process ('compressionFormat=FAX4,maxScale=1696 2200'); and save it back in the database.
This oracle database is 8.1.7.4. The tiff file gets processed when we use TIFF file generated by old scanner but errors out with the TIFF file generated by latest scanners.
The error I get is ORA 29400 , IMG-00704.
There is a difference in TIFF version in the outputs generated by two scanners,
The compression option : TIFF modified G3 in the old one
while the new one has Lempel-Ziv
Also, the tiff is loaded and saved fine but the image gets corrupted after the intermedia process method is run.Thank you for your reply. I am glad to find that I did not miss an option. I was aware that I could move my pictures into some other folder, but you have forgotten the solution that I chose. That was to go back and use ZoomBrowser, which works to access photos in any folder I choose. In addition it loads promptly. I have only spent a brief time using the ImageBrowser but don't recall seeing any enhancements that over ZoomBrwoser. Perhaps if I was attempting to interface with other software but as a stand-alone product, well perhaps you could enlighten me as to what makes ImageBrowser EX a better product.. Regarding the Accept as Solution: are you implying that Canon restricts their search function to only those responses that the OP marks as accepted?
Maybe you are looking for
-
I am trying to add a button inside Lightbox to link to a PDF i created and the link name would have [PDF Version] so when the button is clciked it would open a new window that would have the PDF in it. What i am trying to do as an overall objective
-
Filters getting applied on a metric in report when that is not required
Issue: We have two metrics in the AP Report : DSO and Overall DSO DSO = Closing Amt / (Invoice Amt/#of Elapsed Days) Overall DSO = Closing Amt / (Invoice Amt/#of Elapsed Days) , but we have set the Logical Level on Dimensions Suplier , Comapny etc to
-
Create a CR for multiple processing with me as the current processor
Hi How to create a change request for multiple processing with myself as the current processor. I have created a change request for multiple processing and the ystem throws me the error that "There are no suitable change requests" Display help shows
-
How do you restore the system from a backup file that you created previously
I have a notebook, Pavilion g6 - 1031TX running windows 7 64bit OS, and ran the backup utility a few weeks ago before running a full system recovery to attemp to fix an issue - this issue was fixed by warranty, and now I need to recover everything fr
-
How do I permanently delete a purchase?
How do I permanently delete a purchase?