Pictures In Oracle Database
Hi,
I want to store images into oracle database but i dont know how. I have a form from developer and a database.
Please help.
Grace
To store pictures in your database you need a table with a BLOB column and one application in oracle forms or java to load them. This code is a web servlet to display photos in a web page:
package kas.web.interfases.metrics;
* GetFoto.java
import java.io.*;
import java.sql.*;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import oracle.jdbc.driver.OracleDriver;
public class GetFoto extends HttpServlet {
public GetFoto() {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
doPost(request, response);
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
{ System.out.println("test");
try {
DriverManager.registerDriver(new OracleDriver());
catch(Exception exception) { }
try {
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@172.21.0.96:1521:PRESIDEN", "kas", "kas");
Statement stmt = conn.createStatement();
if(conn != null) {
String cod = request.getParameter("cod");
if(cod == null)
cod = "2";
String sql = "SELECT emf_foto1 FROM pla_emf_empfoto WHERE emf_codemp=" + cod;
if(!cod.equals("")) {
ResultSet rset = stmt.executeQuery(sql);
try {
if(rset.next()) { ////System.out.println("test2");
Blob ablob = rset.getBlob("emf_foto1");
response.setContentType("image/gif");
OutputStream out = response.getOutputStream();
long bloblen = ablob.length();
int buffersize = (int)bloblen;
int bytesRead = 0;
byte b[] = new byte[buffersize];
InputStream is = ablob.getBinaryStream();
while((bytesRead = is.read(b)) != -1)
out.write(b, 0, bytesRead);
is.close();
response.flushBuffer();
finally {
rset.close();
conn.close();
catch(SQLException sqlexception) {
System.out.println(sqlexception.toString());
Similar Messages
-
Store Pictures in Oracle databases
Please anybody can tell about that, how to store pictures or images in oracle database 9i.
To store pictures in your database you need a table with a BLOB column and one application in oracle forms or java to load them. This code is a web servlet to display photos in a web page:
package kas.web.interfases.metrics;
* GetFoto.java
import java.io.*;
import java.sql.*;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import oracle.jdbc.driver.OracleDriver;
public class GetFoto extends HttpServlet {
public GetFoto() {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
doPost(request, response);
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
{ System.out.println("test");
try {
DriverManager.registerDriver(new OracleDriver());
catch(Exception exception) { }
try {
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@172.21.0.96:1521:PRESIDEN", "kas", "kas");
Statement stmt = conn.createStatement();
if(conn != null) {
String cod = request.getParameter("cod");
if(cod == null)
cod = "2";
String sql = "SELECT emf_foto1 FROM pla_emf_empfoto WHERE emf_codemp=" + cod;
if(!cod.equals("")) {
ResultSet rset = stmt.executeQuery(sql);
try {
if(rset.next()) { ////System.out.println("test2");
Blob ablob = rset.getBlob("emf_foto1");
response.setContentType("image/gif");
OutputStream out = response.getOutputStream();
long bloblen = ablob.length();
int buffersize = (int)bloblen;
int bytesRead = 0;
byte b[] = new byte[buffersize];
InputStream is = ablob.getBinaryStream();
while((bytesRead = is.read(b)) != -1)
out.write(b, 0, bytesRead);
is.close();
response.flushBuffer();
finally {
rset.close();
conn.close();
catch(SQLException sqlexception) {
System.out.println(sqlexception.toString()); -
Move pictures in Jpg from a server to SAP (Oracle database) in BLOB
Hi SAP Friends,
We would like to know if this is possible.
We have pics in jpg/jpeg format in one server. We want to move these pics automatically once every hour to SAP Oracle database in BLOB format. The server has the capability to push these jpg files into BLOB format of Oracle database. We need to know if it is possible to send to SAP's Oracle database and store in BLOB format. If so, pl let us know how.
Pl let us know.
NiranjanYou are facing two things here:
a) Licensing issue
Check Note 581312 - Oracle database: licensing restrictions:
As of point 3, it follows that direct access to the Oracle database is only allowed for tools from the areas of system administration and monitoring. If other software is used, the following actions, among other things, are therefore forbidden at database level:
Creating database users
Create database objects
Querying/changing/creating data in the database
Using ODBC or other SAP external access methods
This depends on the contract and where you bought which licenses for Oracle.
b) Technical issues
It´s not a good idea to insert data into a SAP database without using SAP tools. Even if it´s a separate table(space) or "isolated" in a SAP understanding. You never know, how upgrades behave with that table, you may see the table in sense of SAP-DDIC consistency (Table without DDIC reference) etc.
If you want to insert JPEGs easily, you can use transaction CSADMIN, create a repository and write a small program, that uploads the data to the database using SAP standard interfaces. This will insure DATA integrity and will make sure, the data is accessible even after database/SAP system upgrades.
Markus -
How to insert an image file in Oracle database
hi
can you please tell me how to insert an image file into oracle database????
suppose there is one image file in c:\pictures\rose.jpg. how to insert that file into database? theoretically i know that will be BFILE type but i dont know how to insert that.
will be waiting for your reply........
thanks & regards,
PriyatoshHello,
The easiest way to load a blob is to use SQL loader.
This example comes from the utilities guide:
LOAD DATA
INFILE 'sample.dat'
INTO TABLE person_table
FIELDS TERMINATED BY ','
(name CHAR(20),
1 ext_fname FILLER CHAR(40),
2 "RESUME" LOBFILE(ext_fname) TERMINATED BY EOF)
Datafile (sample.dat)
Johny Quest,jqresume.txt,
Speed Racer,'/private/sracer/srresume.txt',
Secondary Datafile (jqresume.txt)
Johny Quest
500 Oracle Parkway
Secondary Datafile (srresume.txt)
Loading LOBs
10-18 Oracle Database Utilities
Speed Racer
400 Oracle Parkway
regards,
Ivo -
How to store and retrive images in oracle database
hi,
i am interested in storing some students pictures ( photos) into my oracle database, and i want to know since the images are considered as binary data and since BLOB and CBLOB and supported by oracle, how to insert and to select the picture from oracle from my swing-based application?
does anyone have a complete sample or tutorial doing that well!!
thxMira este link,
hay varios articulos interesantes.
http://www.oracle-base.com/articles/9i/Articles9i.php
tambien puedes consultar este link
http://tahiti.oracle.com/pls/db92/db92.homepage
completa los coampos solicitados con la palabra "Images"
hay un manual de LOBs muy completo -
How To Store pdf or doc file in Oracle Database using Java Jdbc?
can any one help me out How To Store pdf or doc file in Oracle Database using Java Jdbc in JSP/Serlet? i tried like anything. using blob also i tried. but i am able 2 store images in DB not files. please if u know or else if u have some code like this plz send that to me, and help me out plz. i need that urgent.
Hi.. i am not getting error, But i am not getting the original contents from my file. i am getting all ASCII vales, instead of my original data. here i am including my code.
for Adding PDF in DB i used image.jsp
Database table structure (table name. pictures )
Name Null? Type
ID NOT NULL NUMBER(11)
IMAGE BLOB
<%@ page language="java" import="java.util.*,java.sql.*,java.io.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
PreparedStatement ps,pstmt,psmnt;
ps = con.prepareStatement("INSERT INTO pictures VALUES(?,?)");
File file =
new File("D:/info.pdf");
FileInputStream fs = new FileInputStream(file);
ps.setInt(1,4);
ps.setBinaryStream(2,fs,fs.available());
int i = ps.executeUpdate();
if(i!=0){
out.println("<h2>PDF inserted successfully");
else{
out.println("<h2>Problem in image insertion");
catch(Exception e){
out.println("<h2>Failed Due To "+e);
%>
O/P: PDF inserted successfully
i tried to display that pdf using servlet. i am giving the code below.
import java.io.IOException;
import java.sql.*;
import java.io.*;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class DispPDF extends HttpServlet {
* The doGet method of the servlet. <br>
* This method is called when a form has its tag value method equals to get.
* @param request the request send by the client to the server
* @param response the response send by the server to the client
* @throws ServletException if an error occurred
* @throws IOException if an error occurred
public void service(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
//response.setContentType("text/html"); i commented. coz we cant use response two times.
//PrintWriter out = response.getWriter();
try{
InputStream sPdf;
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
PreparedStatement ps,pstmt,psmnt;
psmnt = con.prepareStatement("SELECT image FROM pictures WHERE id = ?");
psmnt.setString(1, "4"); // here integer number '4' is image id from the table.
ResultSet rs = psmnt.executeQuery();
if(rs.next()) {
byte[] bytearray = new byte[1048576];
//out.println(bytearray);
int size=0;
sPdf = rs.getBinaryStream(1);
response.reset();
response.setContentType("application/pdf");
while((size=sPdf.read(bytearray))!= -1 ){
//out.println(size);
response.getOutputStream().write(bytearray,0,size);
catch(Exception e){
System.out.println("Failed Due To "+e);
//out.println("<h2>Failed Due To "+e);
//out.close();
OP
PDF-1.4 %âãÏÓ 2 0 obj <>stream x+är á26S°00SIá2PÐ5´1ôÝ BÒ¸4Ü2KüsSSS4C²ê Pkø$VãGÒU×713CkW )(Ü endstream endobj 4 0 obj <>>>/MediaBox[0 0 595 842]>> endobj 1 0 obj <> endobj 3 0 obj <> endobj 5 0 obj <> endobj 6 0 obj <> endobj xref 0 7 0000000000 65535 f 0000000325 00000 n 0000000015 00000 n 0000000413 00000 n 0000000168 00000 n 0000000464 00000 n 0000000509 00000 n trailer <<01b2fa8b70ac262bfa939cc786f8770c>]/Root 5 0 R/Size 7/Info 6 0 R>> startxref 641 %%EOF
plz help me out. -
How to store image in the oracle database 10.2.
Hi.,
I am working on 10g ids. I have designed a form where there are two fields. Name and picture.
I want to keep details of the person with their photo.
I can simply put name but how to insert image in the picture field??
can you suggest ??
Thanks.
ShyamHi
To store your binary images in an Oracle database, you will need to create a column in your table defined with the BLOB datatype BLOB stands for Binary Large Object. Images from scanners, mpeg files, movie files and so on can all be stored in the BLOB column
sq>CREATE TABLE test_table (
id NUMBER,
image BLOB);then go to
[http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10796/toc.htm] -
Oracle SQL template to create re-usable DDL/DML Scripts for Oracle database
Hi,
I have a requirement to put together a Oracle SQL template to create re-usable DDL/DML Scripts for Oracle databases.
Only the Oracle DBA will be running the scripts so permissions is not an issue.
The workflow for any DDL is as follows:-
1) New Table
a. Check if the table exists from the system/admin views.
b. If table exists then give message "Table Exists"
c. If table does not exist then execute DDL code
2) Add Column
a. Check if Column exists for a given table from system/admin views
b. If column exists in the specified table,
b1. backup table.
b2. alter table to make changes to the column
b3. verify data or execute dml script convert from backup to the new change.
c. If Column does not exist
c1. backup table
c2. alter table to add column
c3. execute dml to populate column with default value.
The DML scripts are for populating base tables with data required for business operations.
3) Add new row
a. check if row exists by comparing old values of each column with new values to be added for the new record.
b. If exists, give message row exists
c. If not exists, add new record.
4) Update existing record (We have createtime columns in these tables so changes can be tracked)
a. check if row exists using primary key.
b. If exists,
b1. deactivate the record using the "active" column of the table
b2. Add new record with the changes required.
c. If does not exist, add new record with the changes required.
Could you please help with some ideas which can get this done accurately?
I have tried several ways, but I am not able to put together something that fulfills all requirements.
Thank you,First let me address your question. (This is the easy part.)
1. The existence of tables can be found in DBA_TABLES. Query it and and then use conditional logic and execute immediate to process the DDL.
2. The existence of table columns is found in DBA_TAB_COLUMNS. Query it and then conditionally execute your DDL. You can copy the "before picture" of the table using that same dba view, or even better, use DBMS_METADATA.
As for your DML scripts, they should be restartable, reversible, and re-run-able. They should "fail gracefully" on error, be written in such a way that they can run twice in a row without creating duplicate changes.
3. Adding appropriate constraints can prevent invalid duplicate rows. Also, you can usually add to the where clause so that the DML does only what it needs to do without even relying on the constraint (but the constraint is there as a safeguard). Look up the MERGE statement to learn how to do an UPSERT (update/insert), which will let you conditionally "deactivate" (update) or insert a record. Anything that you cannot do in SQL can be done with simple procedural code.
Now, to the heart of the matter...
You think I did not understand your requirements?
Please be respectful of people's comments. Many of us are professionals with decades of experience working with databases and Oracle technology. We volunteer our valuable time and knowledge here for free. It is extremely common for someone to post what they feel is an easy SQL or PL/SQL question without stating the real goal--the business objective. Experienced people will spot that the "wrong question" has been asked, and then cut to the chase.
We have some good questions for you. Not questions we need answers from, but questions you need to ask yourself and your team. You need to reexamine this post and deduce what those questions are. But I'll give you some hints: Why do you need to do what you are asking? And will this construct you are asking for even solve the root cause of your problems?
Then ponder the following quotations about asking the right question:
Good questions outrank easy answers.
— Paul Samuelson
The only interesting answers are those which destroy the questions.
— Susan Sontag
The scientific mind does not so much provide the right answers as ask the right questions.
— Claude Levi-Strauss
You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions.
— Mahfouz Naguib
One hears only those questions for which one is able to find answers.
— Friedrich Nietzsche
Be patient towards all that is unresolved in your heart and try to love the questions themselves.
— Rainer Maria Rilke
What people think of as the moment of discovery is really the discovery of the question.
— Jonas Salk
Judge a man by his questions rather than his answers.
— Voltaire
The ability to ask the right question is more than half the battle of finding the answer.
— Thomas J. Watson -
Hi.
Which is the best way (which format) to save a picture in the database. I have a table:
Picture (id(number), pic(long raw)).
I noticed that pictures stored in a database as long raw occupied about 30% more disk space as if they are stored in a file system. Is this true? I tried GIF format.
I'm using Form to store and retrive(view) pictures from a database.
Thanks, Miha.Pls check following MOS notes, you will get your answer
How to enter images in the HRMS Application [ID 103263.1]
Cannot Load Images in Oracle HRMS [ID 398926.1]
How To Upload 100 Employee Pictures in Oracle HRMS (Persons Screen) Via API [ID 602252.1]
from GUI
How To Load New Photographs to the Employee Directory [ID 452165.1]
regards, -
How to store the rich formated text and screendumps in Oracle database
Hi,
I will create an FAQ management system. Users can log into the system, search and view the FAQ and answers. To be intractive, the users can also create new FAQ and add the comments on FAQ answers.
The FAQ answers have rich formated text and the screendumps in the mid part of the answer. It should be presented in one page during user read/update the answers. How can I store the FAQ answer to Oracle database?
Best regards,
NingI used blob to store pictures.
The FAQ answer is the combination item of formated text and pictures. Can I use it to store?
If I decided to use blob, how can I present the FAQ answers to the web. How can I edit the answer on the web?
Thank you very much! -
Oracle Database 10g Express Edition installing on win2003 SP2
We are trying to install oracleXE on W2k3 SP2 and getting failed after diplaying "Publishing product information" at final stage. Noting is prompted after this step.
Many Thanks for the response. These are the few lines. Please let me know if you wish to view the complete log. plz share you mail id, so that i can share the complete log.
Property(S): RESOURCES = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\
Property(S): DE = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\de\
Property(S): DEFAULTS = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\admin\defaults\
Property(S): DELX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\delx\
Property(S): DEMO = C:\oraclexe\app\oracle\product\10.2.0\server\demo\
Property(S): DEMO1 = C:\oraclexe\app\oracle\product\10.2.0\server\nls\demo\
Property(S): DIRPROPERTY1 = D:\
Property(S): DOC1 = C:\oraclexe\app\oracle\product\10.2.0\server\doc\
Property(S): DOC3 = C:\oraclexe\app\oracle\product\10.2.0\server\precomp\doc\
Property(S): ODP.NET1 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\
Property(S): DOC6 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\doc\
Property(S): DesktopFolder = C:\Documents and Settings\All Users\Desktop\
Property(S): ENLX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\enlx\
Property(S): ES = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\es\
Property(S): ESLX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\eslx\
Property(S): FLASH_RECOVERY_AREA = C:\oraclexe\app\oracle\flash_recovery_area\
Property(S): FR = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\fr\
Property(S): FRLX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\frlx\
Property(S): FavoritesFolder = C:\Documents and Settings\-oper-lrajesh\Favorites\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): GIFS = C:\oraclexe\app\oracle\doc\dcommon\gifs\
Property(S): GlobalAssemblyCache = D:\
Property(S): HELP = C:\oraclexe\app\oracle\product\10.2.0\server\precomp\help\
Property(S): HELP1 = C:\oraclexe\app\oracle\product\10.2.0\server\sqlplus\admin\help\
Property(S): HELP2 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\help\
Property(S): ODBC = C:\oraclexe\app\oracle\product\10.2.0\server\odbc\
Property(S): HELP3 = C:\oraclexe\app\oracle\product\10.2.0\server\odbc\help\
Property(S): HTML = C:\oraclexe\app\oracle\doc\dcommon\html\
Property(S): HTML2 = C:\oraclexe\app\oracle\product\10.2.0\server\odbc\html\
Property(S): SCHEMA1 = C:\oraclexe\app\oracle\product\10.2.0\server\demo\schema\
Property(S): HUMAN_RESOURCES = C:\oraclexe\app\oracle\product\10.2.0\server\demo\schema\human_resources\
Property(S): IMG = C:\oraclexe\app\oracle\doc\img\
Property(S): IMG_TEXT = C:\oraclexe\app\oracle\doc\img_text\
Property(S): INCLUDE = C:\oraclexe\app\oracle\product\10.2.0\server\plsql\include\
Property(S): OCI = C:\oraclexe\app\oracle\product\10.2.0\server\OCI\
Property(S): INCLUDE2 = C:\oraclexe\app\oracle\product\10.2.0\server\OCI\include\
Property(S): OLEDB = C:\oraclexe\app\oracle\product\10.2.0\server\oledb\
Property(S): INCLUDE3 = C:\oraclexe\app\oracle\product\10.2.0\server\oledb\include\
Property(S): INSTALL3 = C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\install\
Property(S): ORACLEXE = C:\oraclexe\
Property(S): ProgramFilesFolder = C:\Program Files\
Property(S): ISMyCompanyDir = C:\Program Files\My Company Name\
Property(S): ISMyProductDir = C:\Program Files\My Company Name\My Product Name\
Property(S): IT = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\it\
Property(S): ITLX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\itlx\
Property(S): LOG1 = C:\oraclexe\app\oracle\product\10.2.0\server\log\
Property(S): IWINRBB09 = C:\oraclexe\app\oracle\product\10.2.0\server\log\iwinrbb09\
Property(S): JA = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\help\ja\
Property(S): JA1 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\ja\
Property(S): JA2 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\help\ja\
Property(S): JALX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\jalx\
Property(S): JDBC = C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\
Property(S): JLIB = C:\oraclexe\app\oracle\product\10.2.0\server\jlib\
Property(S): JLIB1 = C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\jlib\
Property(S): KO = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\ko\
Property(S): KOLX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\kolx\
Property(S): LDAP = C:\oraclexe\app\oracle\product\10.2.0\server\ldap\
Property(S): LIB = C:\oraclexe\app\oracle\product\10.2.0\server\OCI\lib\
Property(S): LIB1 = C:\oraclexe\app\oracle\product\10.2.0\server\precomp\lib\
Property(S): LIB2 = C:\oraclexe\app\oracle\product\10.2.0\server\opmn\lib\
Property(S): LIB3 = C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\lib\
Property(S): LIB4 = C:\oraclexe\app\oracle\product\10.2.0\server\LIB\
Property(S): LIB5 = C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\
Property(S): LIB6 = C:\oraclexe\app\oracle\product\10.2.0\server\oledb\lib\
Property(S): LOG = C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\log\
Property(S): LOG2 = C:\oraclexe\app\oracle\product\10.2.0\server\config\log\
Property(S): LocalAppDataFolder = C:\Documents and Settings\-oper-lrajesh\Local Settings\Application Data\
Property(S): SLAX = C:\oraclexe\app\oracle\product\10.2.0\server\slax\
Property(S): MESG = C:\oraclexe\app\oracle\product\10.2.0\server\slax\mesg\
Property(S): MESG1 = C:\oraclexe\app\oracle\product\10.2.0\server\oledb\mesg\
Property(S): MESG10 = C:\oraclexe\app\oracle\product\10.2.0\server\opmn\mesg\
Property(S): MESG11 = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\mesg\
Property(S): MESG13 = C:\oraclexe\app\oracle\product\10.2.0\server\sqlplus\mesg\
Property(S): MESG15 = C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\mesg\
Property(S): MESG2 = C:\oraclexe\app\oracle\product\10.2.0\server\plsql\mesg\
Property(S): MESG3 = C:\oraclexe\app\oracle\product\10.2.0\server\nls\mesg\
Property(S): MESG4 = C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\mesg\
Property(S): MESG5 = C:\oraclexe\app\oracle\product\10.2.0\server\odbc\mesg\
Property(S): XDK = C:\oraclexe\app\oracle\product\10.2.0\server\xdk\
Property(S): MESG6 = C:\oraclexe\app\oracle\product\10.2.0\server\xdk\mesg\
Property(S): ORACORE = C:\oraclexe\app\oracle\product\10.2.0\server\oracore\
Property(S): MESG7 = C:\oraclexe\app\oracle\product\10.2.0\server\oracore\mesg\
Property(S): MESG8 = C:\oraclexe\app\oracle\product\10.2.0\server\ldap\mesg\
Property(S): MIGRATE_DIR = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\migrate\
Property(S): MSVC = C:\oraclexe\app\oracle\product\10.2.0\server\OCI\lib\MSVC\
Property(S): ORACLE_CORPORATION = C:\Program Files\Oracle Corporation\
Property(S): MY_PRODUCT_NAME = C:\Program Files\Oracle Corporation\My Product Name\
Property(S): MyPicturesFolder = C:\Documents and Settings\-oper-lrajesh\My Documents\My Pictures\
Property(S): NLLX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\nllx\
Property(S): ODE = C:\oraclexe\app\oracle\product\10.2.0\server\ODE\
Property(S): _0.2.0 = C:\oraclexe\app\oracle\product\10.2.0\
Property(S): WindowsVolume = C:\
Property(S): ORACLE_XE = C:\Program Files\Oracle Corporation\Oracle XE\
Property(S): OUI = C:\oraclexe\app\oracle\product\10.2.0\server\cfgtoollogs\oui\
Property(S): OWM = C:\oraclexe\app\oracle\product\10.2.0\server\owm\
Property(S): PRODUCT = C:\oraclexe\app\oracle\product\
Property(S): PT_BR = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\pt-BR\
Property(S): PUBLIC3 = C:\oraclexe\app\oracle\product\10.2.0\server\oramts\public\
Property(S): PUBLISHERPOLICY = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\PublisherPolicy\
Property(S): PersonalFolder = C:\Documents and Settings\-oper-lrajesh\My Documents\
Property(S): PrimaryVolumePath = D:\
Property(S): ProgramFiles64Folder = D:\
Property(S): ProgramMenuFolder = C:\Documents and Settings\All Users\Start Menu\Programs\
Property(S): SAMPLE = C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\SAMPLE\
Property(S): SAMPLE2 = C:\oraclexe\app\oracle\product\10.2.0\server\admin\sample\
Property(S): SAMPLES = C:\oraclexe\app\oracle\product\10.2.0\server\OCI\samples\
Property(S): SCRIPTS1 = C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\
Property(S): SEEDDB = C:\oraclexe\app\oracle\product\10.2.0\server\config\seeddb\
Property(S): SRVM = C:\oraclexe\app\oracle\product\10.2.0\server\srvm\
Property(S): SendToFolder = C:\Documents and Settings\-oper-lrajesh\SendTo\
Property(S): StartMenuFolder = C:\Documents and Settings\All Users\Start Menu\
Property(S): StartupFolder = C:\Documents and Settings\All Users\Start Menu\Programs\Startup\
Property(S): System16Folder = C:\WINDOWS\system\
Property(S): System64Folder = D:\
Property(S): SystemFolder = C:\WINDOWS\system32\
Property(S): SourceDir = C:\DOCUME~1\-oper-lrajesh\Local Settings\Temp\1\_is15\
Property(S): TRACE = C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\trace\
Property(S): TRACE1 = C:\oraclexe\app\oracle\product\10.2.0\server\oramts\trace\
Property(S): TRACE2 = C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\trace\
Property(S): TempFolder = C:\DOCUME~1\-oper-lrajesh\Local Settings\Temp\
Property(S): TemplateFolder = C:\Documents and Settings\All Users\Templates\
Property(S): USERPROFILE = C:\Documents and Settings\-oper-lrajesh\
Property(S): VC71 = C:\oraclexe\app\oracle\product\10.2.0\server\OCI\lib\MSVC\vc71\
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): XA = C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\XA\
Property(S): XE2 = C:\oraclexe\app\oracle\flash_recovery_area\XE\
Property(S): XML = C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\xml\
Property(S): XXLX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\xxlx\
Property(S): ZHLX = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\zhlx\
Property(S): ZONEINFO = C:\oraclexe\app\oracle\product\10.2.0\server\oracore\zoneinfo\
Property(S): newfolder1 = C:\Documents and Settings\All Users\Start Menu\Programs\Oracle Database 10g Express Edition\
Property(S): newfolder2 = C:\Documents and Settings\All Users\Start Menu\Programs\Oracle Database 10g Express Edition\Get Help\
Property(S): _781042AB71DC4D58AEFDC83AFA6603C3 = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\delx\
Property(S): _7DB1B2C8944C4054BCC8C4500F37049C = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\enlx\
Property(S): _C47544281E2F4507BDADF8C3ECB1568E = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\eslx\
Property(S): _91B054F49ECC497AB485FC09F4A586A2 = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\frlx\
Property(S): _33DB7C9A5200482CB2F5310F002805A1 = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\itlx\
Property(S): _7CD34E90D6F04BC88D98DE349DFF3CFD = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\jalx\
Property(S): _4394EB4FE2AD4AC3977E96E14A074BE8 = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\kolx\
Property(S): _B93C978070284B47AB72A0BBF9AE0206 = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\nllx\
Property(S): _4CBEF1293D584608B7C996039CB10472 = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\xxlx\
Property(S): _35AF789A79614E4FB411E8DD5E191A99 = C:\oraclexe\app\oracle\product\10.2.0\server\ctx\data\zhlx\
Property(S): _125D15172A3E408AB30DF25DFACDA298 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\help\ja\
Property(S): _1D715EB43CA34692A8A7182FA7817BEC = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\de\
Property(S): _2CAB3BBCB9354C9387FC313D7A2C1EEB = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\es\
Property(S): _3904DD47B9F6426CAAC171797F64E1B3 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\fr\
Property(S): _DF56685F21CB4558BCD9A5B88ED4151E = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\it\
Property(S): _C5DE329B16584BAE9DE223D4510192D7 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\ja\
Property(S): _12900F77D1294A7EAFA13ADF5B599D1C = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\ko\
Property(S): _863AA42463B64FC2B896AE7A2D729BA1 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\pt-BR\
Property(S): _A62C1E6B40CC4EAB83EF4114BE8F5533 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\zh-CHS\
Property(S): _2AD8F73997334D64A411704F544084F7 = C:\oraclexe\app\oracle\product\10.2.0\server\ODP.NET\Resources\zh-CHT\
Property(S): ProductState = -1
Property(S): TRANSFORMSATSOURCE = 1
Property(S): TRANSFORMSSECURE = 1
Property(S): TRANSFORMS = |C:\DOCUME~1\-oper-lrajesh\Local Settings\Temp\1\_is15\1033.MST
Property(S): RecacheTransforms = C:\DOCUME~1\-oper-lrajesh\Local Settings\Temp\1\_is15\1033.MST
Property(S): PackageCode = {32D9C15A-C7C5-4D45-AAE0-B5DB53447098}
Property(S): ___________3 = ?,?????????
Property(S): ________p_3 = ?,???? %p?
Property(S): _Modify = &Modify
Property(S): ARPNOMODIFY = 1
Property(S): ARPPRODUCTICON = ARPPRODUCTICON.exe
Property(S): ARPURLINFOABOUT = http://www.oracle.com
Property(S): AvailableSpaceInDrive = 0
Property(S): Avvia__p_adesso. = Avvia %p adesso.
Property(S): Avvia__p_adesso.1 = Avvia %p adesso.
Property(S): BUILDTYPE = 87
Property(S): DWUSINTERVAL = 30
Property(S): DWUSLINK = CE9C27889E6CD79FFEACD0AF1EFB978FE98BA78FCE1CC08FCEABB7D8FE3CF788DECCE0FFD9AC
Property(S): DefaultUIFont = Tahoma8
Property(S): HOSTNAME = localhost
Property(S): ISSCRIPT_ENGINE_VERSION = 11.0.0.28844
Property(S): ISSCRIPT_VERSION_MISSING = The InstallScript engine is missing from this machine. If available, please run ISScript.msi, or contact your support personnel for further assistance.
Property(S): ISSCRIPT_VERSION_OLD = The InstallScript engine on this machine is older than the version required to run this setup. If available, please install the latest version of ISScript.msi, or contact your support personnel for further assistance.
Property(S): ISVROOT_PORT_NO = 0
Property(S): IS_COMPLUS_PROGRESSTEXT_COST = Costing COM+ application: [1]
Property(S): IS_COMPLUS_PROGRESSTEXT_INSTALL = Installing COM+ application: [1]
Property(S): IS_COMPLUS_PROGRESSTEXT_UNINSTALL = Uninstalling COM+ application: [1]
Property(S): IS_PROGMSG_XML_COSTING = Costing XML files...
Property(S): IS_PROGMSG_XML_CREATE_FILE = Creating XML file %s...
Property(S): IS_PROGMSG_XML_FILES = Performing XML file changes...
Property(S): IS_PROGMSG_XML_REMOVE_FILE = Removing XML file %s...
Property(S): IS_PROGMSG_XML_ROLLBACK_FILES = Rolling back XML file changes...
Property(S): IS_PROGMSG_XML_UPDATE_FILE = Updating XML file %s...
Property(S): IS_SQLSERVER_AUTHENTICATION = 0
Property(S): IS_SQLSERVER_USERNAME = sa
Property(S): Ja__ReadMe_Datei_jetzt_anzeigen. = Ja, ReadMe-Datei jetzt anzeigen.
Property(S): Ja__ReadMe_Datei_jetzt_anzeigen.1 = Ja, ReadMe-Datei jetzt anzeigen.
Property(S): Ja___p_jetzt_starten. = Ja, %p jetzt starten.
Property(S): Ja___p_jetzt_starten.1 = Ja, %p jetzt starten.
Property(S): MTSNOI = 1
Property(S): MTSPORTNUM = 2030
Property(S): Manufacturer = Oracle Corporation
Property(S): NLS_LANG = ENGLISH_UNITED KINGDOM.WE8MSWIN1252
Property(S): NewProperty1 = 0
Property(S): NewProperty10 = 0
Property(S): NewProperty11 = 0
Property(S): NewProperty12 = 0
Property(S): NewProperty13 = 0
Property(S): NewProperty14 = 0
Property(S): NewProperty15 = 0
Property(S): NewProperty16 = 0
Property(S): NewProperty17 = 0
Property(S): NewProperty18 = 0
Property(S): NewProperty19 = 0
Property(S): NewProperty2 = 0
Property(S): NewProperty3 = 0
Property(S): NewProperty4 = 0
Property(S): NewProperty5 = 0
Property(S): NewProperty6 = 0
Property(S): NewProperty7 = 0
Property(S): NewProperty8 = 0
Property(S): NewProperty9 = 0
Property(S): Oui__je_d_sire_lancer__p_maintenant. = Oui, je désire lancer %p maintenant.
Property(S): Oui__je_d_sire_lancer__p_maintenant.1 = Oui, je désire lancer %p maintenant.
Property(S): Oui__je_souhaite_lire_le_fichier_Lisez_moi. = Oui, je souhaite lire le fichier Lisez-moi.
Property(S): Oui__je_souhaite_lire_le_fichier_Lisez_moi.1 = Oui, je souhaite lire le fichier Lisez-moi.
Property(S): PROGMSG_IIS_CREATEAPPPOOL = Creating application pool %s
Property(S): PROGMSG_IIS_CREATEAPPPOOLS = Creating application Pools...
Property(S): PROGMSG_IIS_CREATEVROOT = Creating IIS virtual directory %s
Property(S): PROGMSG_IIS_CREATEVROOTS = Creating IIS virtual directories...
Property(S): PROGMSG_IIS_CREATEWEBSERVICEEXTENSION = Creating web service extension
Property(S): PROGMSG_IIS_CREATEWEBSERVICEEXTENSIONS = Creating web service extensions...
Property(S): PROGMSG_IIS_EXTRACT = Extracting information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTDONE = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTDONEz = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTzDONE = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_REMOVEAPPPOOL = Removing application pool
Property(S): PROGMSG_IIS_REMOVEAPPPOOLS = Removing application pools...
Property(S): PROGMSG_IIS_REMOVESITE = Removing web site at port %d
Property(S): PROGMSG_IIS_REMOVEVROOT = Removing IIS virtual directory %s
Property(S): PROGMSG_IIS_REMOVEVROOTS = Removing IIS virtual directories...
Property(S): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSION = Removing web service extension
Property(S): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSIONS = Removing web service extensions...
Property(S): PROGMSG_IIS_ROLLBACKAPPPOOLS = Rolling back application pools...
Property(S): PROGMSG_IIS_ROLLBACKVROOTS = Rolling back virtual directory and web site changes...
Property(S): PROGMSG_IIS_ROLLBACKWEBSERVICEEXTENSIONS = Rolling back web service extensions...
Property(S): ProductCode = {F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}
Property(S): ProductName = Oracle Database 10g Express Edition
Property(S): ProductVersion = 10.2.1015
Property(S): REBOOT = Suppress
Property(S): RequiredSpaceInDrive = 0
Property(S): STANDARD_USE_SETUPEXE = This installation cannot be run by directly launching the MSI package. You must run setup.exe.
Property(S): S___deseo_consultar_el_archivo_L_ame. = Sí, deseo consultar el archivo Léame.
Property(S): S___deseo_consultar_el_archivo_L_ame.1 = Sí, deseo consultar el archivo Léame.
Property(S): S___deseo_lanzar__p_ahora. = Sí, deseo lanzar %p ahora.
Property(S): S___deseo_lanzar__p_ahora.1 = Sí, deseo lanzar %p ahora.
Property(S): SecureCustomProperties = ISALWAYSINSTALLELEVATED;ISSETUPDRIVEN;ARPSYSTEMCOMPONENT;ARPNOMODIFY;ARPNOREMOVE;INSTALLDIR
Property(S): Sim__desejo_executar_o__p_agora. = Sim, desejo executar o %p agora.
Property(S): Sim__desejo_executar_o__p_agora.1 = Sim, desejo executar o %p agora.
Property(S): Sim__quero_visualizar_o_arquivo_Leiame. = Sim, quero visualizar o arquivo Leiame.
Property(S): Sim__quero_visualizar_o_arquivo_Leiame.1 = Sim, quero visualizar o arquivo Leiame.
Property(S): Visualizza_il_file_Leggimi. = Visualizza il file Leggimi.
Property(S): Visualizza_il_file_Leggimi.1 = Visualizza il file Leggimi.
Property(S): Yes__I_want_to_launch__p_now. = Yes, I want to launch %p now.
Property(S): Yes__I_want_to_launch__p_now.1 = Yes, I want to launch %p now.
Property(S): Yes__I_want_to_launch__p_now.2 = Yes, I want to launch %p now.
Property(S): Yes__I_want_to_launch__p_now.3 = Yes, I want to launch %p now.
Property(S): Yes__I_want_to_launch__p_now.4 = Yes, I want to launch %p now.
Property(S): Yes__I_want_to_launch__p_now.5 = Yes, I want to launch %p now.
Property(S): Yes__I_want_to_view_the_ReadMe_file. = Yes, I want to view the ReadMe file.
Property(S): Yes__I_want_to_view_the_ReadMe_file.1 = Yes, I want to view the ReadMe file.
Property(S): Yes__I_want_to_view_the_ReadMe_file.2 = Yes, I want to view the ReadMe file.
Property(S): Yes__I_want_to_view_the_ReadMe_file.3 = Yes, I want to view the ReadMe file.
Property(S): Yes__I_want_to_view_the_ReadMe_file.4 = Yes, I want to view the ReadMe file.
Property(S): Yes__I_want_to_view_the_ReadMe_file.5 = Yes, I want to view the ReadMe file.
Property(S): ___ReadMe__________. = ?, ReadMe ??? ?????.
Property(S): ___ReadMe__________.1 = ?, ReadMe ??? ?????.
Property(S): ___ReadMe____________ = ???ReadMe ???????????
Property(S): ___ReadMe____________1 = ???ReadMe ???????????
Property(S): ___________ = ?,?????????
Property(S): ___________1 = ?,?????????
Property(S): ___________2 = ?,?????????
Property(S): ________p_ = ?,???? %p?
Property(S): ________p_1 = ?,???? %p?
Property(S): ________p_2 = ?,???? %p?
Property(S): ________p________ = ?????? %p ???????
Property(S): ________p________1 = ?????? %p ???????
Property(S): ________p_____________. = ?, ?? '%p'?(?) ???????.
Property(S): ________p_____________.1 = ?, ?? '%p'?(?) ???????.
Property(S): ARPINSTALLLOCATION = C:\oraclexe\
Property(S): ProductLanguage = 1033
Property(S): COMPANYNAME = KPMG
Property(S): INSTALLLEVEL = 1
Property(S): INSTALLSHIELDSETUPLANGUAGE = 1033
Property(S): ISSETUPDRIVEN = 1
Property(S): ISSETUPFILESCOMPLETED = Completed
Property(S): ISSETUP_UISEQUENCE_PROCESSED = 1
Property(S): ROOTDRIVE = D:\
Property(S): SETUPEXEDIR = C:\temp\fabric manager
Property(S): SUPPORTDIR = C:\DOCUME~1\-oper-lrajesh\Local Settings\Temp\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}
Property(S): USERNAME = KPMG
Property(S): ARPSYSTEMCOMPONENT = 1
Property(S): ARPNOREMOVE = 1
Property(S): CURRENTDIRECTORY = C:\WINDOWS\system32
Property(S): CLIENTUILEVEL = 3
Property(S): CLIENTPROCESSID = 4636
Property(S): VersionDatabase = 200
Property(S): VersionMsi = 3.01
Property(S): WindowsBuild = 3790
Property(S): ServicePackLevel = 2
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 3
Property(S): RemoteAdminTS = 1
Property(S): NetHoodFolder = C:\Documents and Settings\-oper-lrajesh\NetHood\
Property(S): PrintHoodFolder = C:\Documents and Settings\-oper-lrajesh\PrintHood\
Property(S): RecentFolder = C:\Documents and Settings\-oper-lrajesh\Recent\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): Intel = 15
Property(S): PhysicalMemory = 2047
Property(S): VirtualMemory = 3152
Property(S): AdminUser = 1
Property(S): LogonUser = -oper-lrajesh
Property(S): UserSID = S-1-5-21-1965243242-631715425-1848903544-213045
Property(S): UserLanguageID = 2057
Property(S): ComputerName = UKWATAPP29
Property(S): SystemLanguageID = 2057
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): ColorBits = 16
Property(S): TTCSupport = 1
Property(S): Time = 10:45:57
Property(S): Date = 07/05/2009
Property(S): MsiNetAssemblySupport = 1.1.4322.2300
Property(S): MsiWin32AssemblySupport = 5.2.3790.3959
Property(S): RedirectedDllSupport = 2
Property(S): Privileged = 1
Property(S): DATABASE = C:\WINDOWS\Installer\3d91347.msi
Property(S): OriginalDatabase = C:\DOCUME~1\-oper-lrajesh\Local Settings\Temp\1\_is15\Oracle Database 10g Express Edition.msi
Property(S): UILevel = 2
Property(S): Preselected = 1
Property(S): ACTION = INSTALL
Property(S): ISStartupEvent = E4351944
Property(S): ff9ef67406aa11d5ab9800b0d02332eb = g
Property(S): CLEANUPUNINSTALLROLLBACK = Waiting
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): SOURCEDIR = C:\DOCUME~1\-oper-lrajesh\Local Settings\Temp\1\_is15\
Property(S): SourcedirProduct = {F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}
Property(S): ProductToBeRegistered = 1
MSI (s) (DC:0C) [10:45:57:884]: Note: 1: 1708
MSI (s) (DC:0C) [10:45:57:884]: Product: Oracle Database 10g Express Edition -- Installation operation failed.
MSI (s) (DC:0C) [10:45:57:884]: Attempting to delete file C:\WINDOWS\Installer\3d91348.mst
MSI (s) (DC:0C) [10:45:57:884]: Unable to delete the file. LastError = 32
MSI (s) (DC:0C) [10:45:57:900]: Cleaning up uninstalled install packages, if any exist
MSI (s) (DC:0C) [10:45:57:900]: MainEngineThread is returning 1602
MSI (s) (DC:D4) [10:45:57:916]: Destroying RemoteAPI object.
MSI (s) (DC:AC) [10:45:57:916]: Custom Action Manager thread ending.
=== Logging stopped: 07/05/2009 10:45:57 ===
MSI (c) (1C:40) [10:45:58:150]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (1C:40) [10:45:58:150]: MainEngineThread is returning 1602
=== Verbose logging stopped: 07/05/2009 10:45:58 === -
How to fetch the image file from oracle database and display it.
hi... i've inserted the image file into the oracle database... now i want to retreive it and want to display it... can anybody help me... pls
not a big deal dude... i fetched the image from database and saved it into my local hard disk.. but when tried to open it,ends up with no preview... dont know what d prob is... any idea... i've inserted the image as bytes n trying to fetch it as binary stream.. is that the problem... here im giving my insertion and retireving code.. jus go through it...
Insertion code:_
* To change this template, choose Tools | Templates
* and open the template in the editor.
package PMS;
import java.io.File;
import java.io.FileInputStream;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class Browse_java
static Connection con=null;
public static void main(String args[])
try{
System.out.println("(browse.java) just entered in to the class");
con = new PMS.DbConnection().getConnection();
System.out.println("(browse.java) connection string is"+con);
PreparedStatement ps = con.prepareStatement("INSERT INTO img_exp VALUES(?,?)");
System.out.println("(browse.java) prepare statement object is"+ps);
File file =new File("E:/vanabojanalu-/DSC02095.JPG");
FileInputStream fs = new FileInputStream(file);
System.out.println("lenth of file"+file.length());
byte blob[]=new byte[(byte)file.length()];
System.out.println("lenth of file"+blob.length);
fs.read(blob);
ps.setString(1,"E:/vanabojanalu-/DSC02095.JPG");
ps.setBytes(2, blob);
// ps.setBinaryStream(2, fs,(int)file.length());
System.out.println("(browse.java)length of picture is"+fs.available());
int i = ps.executeUpdate();
System.out.println("image inserted successfully"+i);
catch(Exception e)
e.printStackTrace();
finally
try {
con.close();
} catch (SQLException ex) {
ex.printStackTrace();
and Retrieving code is:
* To change this template, choose Tools | Templates
* and open the template in the editor.
package PMS;
import java.beans.Statement;
import java.io.*;
import java.net.*;
import java.sql.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import javax.servlet.*;
import javax.servlet.http.*;
import oracle.jdbc.OracleResultSet;
* @author Administrator
public class view_image2 extends HttpServlet {
* Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("image/jpeg");
//PrintWriter out = response.getWriter();
try
javax.servlet.http.HttpServletResponse res=null;;
int returnValue = 0;
Connection con = null;
PreparedStatement stmt = null;
ResultSet rs = null;
InputStream in = null;
OutputStream os = null;
Blob blob = null;
//String text;
//text=request.getParameter("text");
//Class.forName("com.mysql.jdbc.Driver");
con=new PMS.DbConnection().getConnection();
System.out.println("jus entered the class");
//String query = "SELECT B_IMAGE FROM img_exp where VC_IMG_PATH=?";
//conn.setAutoCommit(false);
PreparedStatement pst = con.prepareStatement("select b_image from img_exp where vc_img_path=?");
System.out.println("before executing the query");
pst.setString(1,"C:/Documents and Settings/Administrator/Desktop/Leader.jpg");
rs = pst.executeQuery();
//System.out.println("status of result set is"+rs.next());
System.out.println("finished writing the query");
int i=1;
if(rs.next())
System.out.println("in rs") ;
byte[] byte_image=rs.getBytes(1);
// byte blob_byte[]= new byte[(byte)blob.length()];
//System.out.println("length of byte is"+blob_byte);
//String len1 = (Oracle.sql.blob)rs.getString(1);
//System.out.println("value of string is"+len1);
//int len = len1.length();
//byte [] b = new byte[len];
//in = rs.getBinaryStream(1);
int index = in.read(byte_image, 0, byte_image.length);
System.out.println("value of in and index are"+in+" "+index);
FileOutputStream outImej = new FileOutputStream("C://"+i+".JPG");
//FileOutputStream fos = new FileOutputStream (imgFileName);
BufferedOutputStream bos = new BufferedOutputStream (outImej);
//byte [] byte_array = new byte [blob_byte.length]; //assuming 512k size; you can vary
//this size depending upon avlBytes
//int bytes_read = in.read(blob_byte);
bos.write(index);
/*while (index != -1)
outImej.write(blob_byte, 0, index);
index = in.read(blob_byte, 0, blob_byte.length);
//System.out.println("==========================");
//System.out.println(index);
//System.out.println(outImej);
//System.out.println("==========================");
/*ServletOutputStream sout = response.getOutputStream(outImej);
for(int n = 0; n < blob_byte.length; n++) {
sout.write(blob_byte[n]);
sout.flush();
sout.close();*/
outImej.close();
//i++;
else
returnValue = 1;
catch(Exception e)
System.out.println("SQLEXCEPTION : " +e);
finally {
//out.close();
// <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
* Handles the HTTP <code>GET</code> method.
* @param request servlet request
* @param response servlet response
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
* Handles the HTTP <code>POST</code> method.
* @param request servlet request
* @param response servlet response
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
* Returns a short description of the servlet.
public String getServletInfo() {
return "Short description";
// </editor-fold>
} -
Possible to use ServiceCenter's Oracle database for Content Management?
Hi,
I have a quick question, and I would really appreciate if any of you have a quick answer for me.
My company is sourcing for a Content Management option as a complement to the object information that can be stored in ServiceCenter's CMDB. We are working towards a complete information storage solution, where the CMDB is the obvious master for all object information.
Our ServiceCenter/CMDB solution is run on an Oracle database. We have an interest in possibly using an Oracle Content Management solution on top of the existing Oracle database.
A question was raised if the Content Management solution can use ServiceCenter's Oracle database for storing documents, ie act as a Content Management database?
The documents need to be fully searchable from Oracle's Content Management product. The solution should support storage of a large amount of data and documents and be scalable. It is critical that this in no way lower ServiceCenter's performance.
Please bear in mind that I'm not a technician, but involved in the portal/Content Management aspect of the project. I'm also responsible for the user environment of our ServiceCenter-implementation.
Best regards
Leila Blomqvist
EDB Business Partner Sweden ABHi Harsha,
Are you going to use the same ERP server for Content server as well? Are you planning to store the documents of this ECC system to the content server only?
If yes, what is the use of that, Anyways all the documents will be stored on this server only for this ECC system. Please go through the link given by Mr Saxena above, that will give you a clear picture of how the content server works.
You can install content server with Max DB although you already have oracle installed on your linux server.
I would suggest you to check the stuff about content server and get your concepts cleared up before going ahead. if you are not clear, you may end up crashing your existing ERP system as well.
AC -
How to load a java script in oracle database
Is it possible to load d java script in Oracle database. while the object type is
java resource ..RENUJP wrote:
I meant to load a javascript to oracle database not to oracle appliocation.
like loadjava....
I can load a javascript to oracle database.. but i can't call it...Please re-read the comments above, especially the part about this not being a javascript nor oracle forum. Exactly what part about this information don't you understand? -
Query in timesten taking more time than query in oracle database
Hi,
Can anyone please explain me why query in timesten taking more time
than query in oracle database.
I am mentioning in detail what are my settings and what have I done
step by step.........
1.This is the table I created in Oracle datababase
(Oracle Database 10g Enterprise Edition Release 10.2.0.1.0)...
CREATE TABLE student (
id NUMBER(9) primary keY ,
first_name VARCHAR2(10),
last_name VARCHAR2(10)
2.THIS IS THE ANONYMOUS BLOCK I USE TO
POPULATE THE STUDENT TABLE(TOTAL 2599999 ROWS)...
declare
firstname varchar2(12);
lastname varchar2(12);
catt number(9);
begin
for cntr in 1..2599999 loop
firstname:=(cntr+8)||'f';
lastname:=(cntr+2)||'l';
if cntr like '%9999' then
dbms_output.put_line(cntr);
end if;
insert into student values(cntr,firstname, lastname);
end loop;
end;
3. MY DSN IS SET THE FOLLWING WAY..
DATA STORE PATH- G:\dipesh3repo\db
LOG DIRECTORY- G:\dipesh3repo\log
PERM DATA SIZE-1000
TEMP DATA SIZE-1000
MY TIMESTEN VERSION-
C:\Documents and Settings\dipesh>ttversion
TimesTen Release 7.0.3.0.0 (32 bit NT) (tt70_32:17000) 2007-09-19T16:04:16Z
Instance admin: dipesh
Instance home directory: G:\TimestTen\TT70_32
Daemon home directory: G:\TimestTen\TT70_32\srv\info
THEN I CONNECT TO THE TIMESTEN DATABASE
C:\Documents and Settings\dipesh> ttisql
command>connect "dsn=dipesh3;oraclepwd=tiger";
4. THEN I START THE AGENT
call ttCacheUidPwdSet('SCOTT','TIGER');
Command> CALL ttCacheStart();
5.THEN I CREATE THE READ ONLY CACHE GROUP AND LOAD IT
create readonly cache group rc_student autorefresh
interval 5 seconds from student
(id int not null primary key, first_name varchar2(10), last_name varchar2(10));
load cache group rc_student commit every 100 rows;
6.NOW I CAN ACCESS THE TABLES FROM TIMESTEN AND PERFORM THE QUERY
I SET THE TIMING..
command>TIMING 1;
consider this query now..
Command> select * from student where first_name='2155666f';
< 2155658, 2155666f, 2155660l >
1 row found.
Execution time (SQLExecute + Fetch Loop) = 0.668822 seconds.
another query-
Command> SELECT * FROM STUDENTS WHERE FIRST_NAME='2340009f';
2206: Table SCOTT.STUDENTS not found
Execution time (SQLPrepare) = 0.074964 seconds.
The command failed.
Command> SELECT * FROM STUDENT where first_name='2093434f';
< 2093426, 2093434f, 2093428l >
1 row found.
Execution time (SQLExecute + Fetch Loop) = 0.585897 seconds.
Command>
7.NOW I PERFORM THE SIMILAR QUERIES FROM SQLPLUS...
SQL> SELECT * FROM STUDENT WHERE FIRST_NAME='1498671f';
ID FIRST_NAME LAST_NAME
1498663 1498671f 1498665l
Elapsed: 00:00:00.15
Can anyone please explain me why query in timesten taking more time
that query in oracle database.
Message was edited by: Dipesh Majumdar
user542575
Message was edited by:
user542575TimesTen
Hardware: Windows Server 2003 R2 Enterprise x64; 8 x Dual-core AMD 8216 2.41GHz processors; 32 GB RAM
Version: 7.0.4.0.0 64 bit
Schema:
create usermanaged cache group factCache from
MV_US_DATAMART
ORDER_DATE DATE,
IF_SYSTEM VARCHAR2(32) NOT NULL,
GROUPING_ID TT_BIGINT,
TIME_DIM_ID TT_INTEGER NOT NULL,
BUSINESS_DIM_ID TT_INTEGER NOT NULL,
ACCOUNT_DIM_ID TT_INTEGER NOT NULL,
ORDERTYPE_DIM_ID TT_INTEGER NOT NULL,
INSTR_DIM_ID TT_INTEGER NOT NULL,
EXECUTION_DIM_ID TT_INTEGER NOT NULL,
EXEC_EXCHANGE_DIM_ID TT_INTEGER NOT NULL,
NO_ORDERS TT_BIGINT,
FILLED_QUANTITY TT_BIGINT,
CNT_FILLED_QUANTITY TT_BIGINT,
QUANTITY TT_BIGINT,
CNT_QUANTITY TT_BIGINT,
COMMISSION BINARY_FLOAT,
CNT_COMMISSION TT_BIGINT,
FILLS_NUMBER TT_BIGINT,
CNT_FILLS_NUMBER TT_BIGINT,
AGGRESSIVE_FILLS TT_BIGINT,
CNT_AGGRESSIVE_FILLS TT_BIGINT,
NOTIONAL BINARY_FLOAT,
CNT_NOTIONAL TT_BIGINT,
TOTAL_PRICE BINARY_FLOAT,
CNT_TOTAL_PRICE TT_BIGINT,
CANCELLED_ORDERS_COUNT TT_BIGINT,
CNT_CANCELLED_ORDERS_COUNT TT_BIGINT,
ROUTED_ORDERS_NO TT_BIGINT,
CNT_ROUTED_ORDERS_NO TT_BIGINT,
ROUTED_LIQUIDITY_QTY TT_BIGINT,
CNT_ROUTED_LIQUIDITY_QTY TT_BIGINT,
REMOVED_LIQUIDITY_QTY TT_BIGINT,
CNT_REMOVED_LIQUIDITY_QTY TT_BIGINT,
ADDED_LIQUIDITY_QTY TT_BIGINT,
CNT_ADDED_LIQUIDITY_QTY TT_BIGINT,
AGENT_CHARGES BINARY_FLOAT,
CNT_AGENT_CHARGES TT_BIGINT,
CLEARING_CHARGES BINARY_FLOAT,
CNT_CLEARING_CHARGES TT_BIGINT,
EXECUTION_CHARGES BINARY_FLOAT,
CNT_EXECUTION_CHARGES TT_BIGINT,
TRANSACTION_CHARGES BINARY_FLOAT,
CNT_TRANSACTION_CHARGES TT_BIGINT,
ORDER_MANAGEMENT BINARY_FLOAT,
CNT_ORDER_MANAGEMENT TT_BIGINT,
SETTLEMENT_CHARGES BINARY_FLOAT,
CNT_SETTLEMENT_CHARGES TT_BIGINT,
RECOVERED_AGENT BINARY_FLOAT,
CNT_RECOVERED_AGENT TT_BIGINT,
RECOVERED_CLEARING BINARY_FLOAT,
CNT_RECOVERED_CLEARING TT_BIGINT,
RECOVERED_EXECUTION BINARY_FLOAT,
CNT_RECOVERED_EXECUTION TT_BIGINT,
RECOVERED_TRANSACTION BINARY_FLOAT,
CNT_RECOVERED_TRANSACTION TT_BIGINT,
RECOVERED_ORD_MGT BINARY_FLOAT,
CNT_RECOVERED_ORD_MGT TT_BIGINT,
RECOVERED_SETTLEMENT BINARY_FLOAT,
CNT_RECOVERED_SETTLEMENT TT_BIGINT,
CLIENT_AGENT BINARY_FLOAT,
CNT_CLIENT_AGENT TT_BIGINT,
CLIENT_ORDER_MGT BINARY_FLOAT,
CNT_CLIENT_ORDER_MGT TT_BIGINT,
CLIENT_EXEC BINARY_FLOAT,
CNT_CLIENT_EXEC TT_BIGINT,
CLIENT_TRANS BINARY_FLOAT,
CNT_CLIENT_TRANS TT_BIGINT,
CLIENT_CLEARING BINARY_FLOAT,
CNT_CLIENT_CLEARING TT_BIGINT,
CLIENT_SETTLE BINARY_FLOAT,
CNT_CLIENT_SETTLE TT_BIGINT,
CHARGEABLE_TAXES BINARY_FLOAT,
CNT_CHARGEABLE_TAXES TT_BIGINT,
VENDOR_CHARGE BINARY_FLOAT,
CNT_VENDOR_CHARGE TT_BIGINT,
ROUTING_CHARGES BINARY_FLOAT,
CNT_ROUTING_CHARGES TT_BIGINT,
RECOVERED_ROUTING BINARY_FLOAT,
CNT_RECOVERED_ROUTING TT_BIGINT,
CLIENT_ROUTING BINARY_FLOAT,
CNT_CLIENT_ROUTING TT_BIGINT,
TICKET_CHARGES BINARY_FLOAT,
CNT_TICKET_CHARGES TT_BIGINT,
RECOVERED_TICKET_CHARGES BINARY_FLOAT,
CNT_RECOVERED_TICKET_CHARGES TT_BIGINT,
PRIMARY KEY(ORDER_DATE, TIME_DIM_ID, BUSINESS_DIM_ID, ACCOUNT_DIM_ID, ORDERTYPE_DIM_ID, INSTR_DIM_ID, EXECUTION_DIM_ID,EXEC_EXCHANGE_DIM_ID),
READONLY);
No of rows: 2228558
Config:
< CkptFrequency, 600 >
< CkptLogVolume, 0 >
< CkptRate, 0 >
< ConnectionCharacterSet, US7ASCII >
< ConnectionName, tt_us_dma >
< Connections, 64 >
< DataBaseCharacterSet, AL32UTF8 >
< DataStore, e:\andrew\datacache\usDMA >
< DurableCommits, 0 >
< GroupRestrict, <NULL> >
< LockLevel, 0 >
< LockWait, 10 >
< LogBuffSize, 65536 >
< LogDir, e:\andrew\datacache\ >
< LogFileSize, 64 >
< LogFlushMethod, 1 >
< LogPurge, 0 >
< Logging, 1 >
< MemoryLock, 0 >
< NLS_LENGTH_SEMANTICS, BYTE >
< NLS_NCHAR_CONV_EXCP, 0 >
< NLS_SORT, BINARY >
< OracleID, NYCATP1 >
< PassThrough, 0 >
< PermSize, 4000 >
< PermWarnThreshold, 90 >
< PrivateCommands, 0 >
< Preallocate, 0 >
< QueryThreshold, 0 >
< RACCallback, 0 >
< SQLQueryTimeout, 0 >
< TempSize, 514 >
< TempWarnThreshold, 90 >
< Temporary, 1 >
< TransparentLoad, 0 >
< TypeMode, 0 >
< UID, OS_OWNER >
ORACLE:
Hardware: Sunos 5.10; 24x1.8Ghz (unsure of type); 82 GB RAM
Version 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
Schema:
CREATE MATERIALIZED VIEW OS_OWNER.MV_US_DATAMART
TABLESPACE TS_OS
PARTITION BY RANGE (ORDER_DATE)
PARTITION MV_US_DATAMART_MINVAL VALUES LESS THAN (TO_DATE(' 2007-11-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D1 VALUES LESS THAN (TO_DATE(' 2007-11-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D2 VALUES LESS THAN (TO_DATE(' 2007-11-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D3 VALUES LESS THAN (TO_DATE(' 2007-12-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D1 VALUES LESS THAN (TO_DATE(' 2007-12-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D2 VALUES LESS THAN (TO_DATE(' 2007-12-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D3 VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D1 VALUES LESS THAN (TO_DATE(' 2008-01-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D2 VALUES LESS THAN (TO_DATE(' 2008-01-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D3 VALUES LESS THAN (TO_DATE(' 2008-02-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_MAXVAL VALUES LESS THAN (MAXVALUE)
LOGGING
NOCOMPRESS
TABLESPACE TS_OS
NOCACHE
NOCOMPRESS
NOPARALLEL
BUILD DEFERRED
USING INDEX
TABLESPACE TS_OS_INDEX
REFRESH FAST ON DEMAND
WITH PRIMARY KEY
ENABLE QUERY REWRITE
AS
SELECT order_date, if_system,
GROUPING_ID (order_date,
if_system,
business_dim_id,
time_dim_id,
account_dim_id,
ordertype_dim_id,
instr_dim_id,
execution_dim_id,
exec_exchange_dim_id
) GROUPING_ID,
/* ============ DIMENSIONS ============ */
time_dim_id, business_dim_id, account_dim_id, ordertype_dim_id,
instr_dim_id, execution_dim_id, exec_exchange_dim_id,
/* ============ MEASURES ============ */
-- o.FX_RATE /* FX_RATE */,
COUNT (*) no_orders,
-- SUM(NO_ORDERS) NO_ORDERS,
-- COUNT(NO_ORDERS) CNT_NO_ORDERS,
SUM (filled_quantity) filled_quantity,
COUNT (filled_quantity) cnt_filled_quantity, SUM (quantity) quantity,
COUNT (quantity) cnt_quantity, SUM (commission) commission,
COUNT (commission) cnt_commission, SUM (fills_number) fills_number,
COUNT (fills_number) cnt_fills_number,
SUM (aggressive_fills) aggressive_fills,
COUNT (aggressive_fills) cnt_aggressive_fills,
SUM (fx_rate * filled_quantity * average_price) notional,
COUNT (fx_rate * filled_quantity * average_price) cnt_notional,
SUM (fx_rate * fills_number * average_price) total_price,
COUNT (fx_rate * fills_number * average_price) cnt_total_price,
SUM (CASE
WHEN order_status = 'C'
THEN 1
ELSE 0
END) cancelled_orders_count,
COUNT (CASE
WHEN order_status = 'C'
THEN 1
ELSE 0
END
) cnt_cancelled_orders_count,
-- SUM(t.FX_RATE*t.NO_FILLS*t.AVG_PRICE) AVERAGE_PRICE,
-- SUM(FILLS_NUMBER*AVERAGE_PRICE) STAGING_AVERAGE_PRICE,
-- COUNT(FILLS_NUMBER*AVERAGE_PRICE) CNT_STAGING_AVERAGE_PRICE,
SUM (routed_orders_no) routed_orders_no,
COUNT (routed_orders_no) cnt_routed_orders_no,
SUM (routed_liquidity_qty) routed_liquidity_qty,
COUNT (routed_liquidity_qty) cnt_routed_liquidity_qty,
SUM (removed_liquidity_qty) removed_liquidity_qty,
COUNT (removed_liquidity_qty) cnt_removed_liquidity_qty,
SUM (added_liquidity_qty) added_liquidity_qty,
COUNT (added_liquidity_qty) cnt_added_liquidity_qty,
SUM (agent_charges) agent_charges,
COUNT (agent_charges) cnt_agent_charges,
SUM (clearing_charges) clearing_charges,
COUNT (clearing_charges) cnt_clearing_charges,
SUM (execution_charges) execution_charges,
COUNT (execution_charges) cnt_execution_charges,
SUM (transaction_charges) transaction_charges,
COUNT (transaction_charges) cnt_transaction_charges,
SUM (order_management) order_management,
COUNT (order_management) cnt_order_management,
SUM (settlement_charges) settlement_charges,
COUNT (settlement_charges) cnt_settlement_charges,
SUM (recovered_agent) recovered_agent,
COUNT (recovered_agent) cnt_recovered_agent,
SUM (recovered_clearing) recovered_clearing,
COUNT (recovered_clearing) cnt_recovered_clearing,
SUM (recovered_execution) recovered_execution,
COUNT (recovered_execution) cnt_recovered_execution,
SUM (recovered_transaction) recovered_transaction,
COUNT (recovered_transaction) cnt_recovered_transaction,
SUM (recovered_ord_mgt) recovered_ord_mgt,
COUNT (recovered_ord_mgt) cnt_recovered_ord_mgt,
SUM (recovered_settlement) recovered_settlement,
COUNT (recovered_settlement) cnt_recovered_settlement,
SUM (client_agent) client_agent,
COUNT (client_agent) cnt_client_agent,
SUM (client_order_mgt) client_order_mgt,
COUNT (client_order_mgt) cnt_client_order_mgt,
SUM (client_exec) client_exec, COUNT (client_exec) cnt_client_exec,
SUM (client_trans) client_trans,
COUNT (client_trans) cnt_client_trans,
SUM (client_clearing) client_clearing,
COUNT (client_clearing) cnt_client_clearing,
SUM (client_settle) client_settle,
COUNT (client_settle) cnt_client_settle,
SUM (chargeable_taxes) chargeable_taxes,
COUNT (chargeable_taxes) cnt_chargeable_taxes,
SUM (vendor_charge) vendor_charge,
COUNT (vendor_charge) cnt_vendor_charge,
SUM (routing_charges) routing_charges,
COUNT (routing_charges) cnt_routing_charges,
SUM (recovered_routing) recovered_routing,
COUNT (recovered_routing) cnt_recovered_routing,
SUM (client_routing) client_routing,
COUNT (client_routing) cnt_client_routing,
SUM (ticket_charges) ticket_charges,
COUNT (ticket_charges) cnt_ticket_charges,
SUM (recovered_ticket_charges) recovered_ticket_charges,
COUNT (recovered_ticket_charges) cnt_recovered_ticket_charges
FROM us_datamart_raw
GROUP BY order_date,
if_system,
business_dim_id,
time_dim_id,
account_dim_id,
ordertype_dim_id,
instr_dim_id,
execution_dim_id,
exec_exchange_dim_id;
-- Note: Index I_SNAP$_MV_US_DATAMART will be created automatically
-- by Oracle with the associated materialized view.
CREATE UNIQUE INDEX OS_OWNER.MV_US_DATAMART_UDX ON OS_OWNER.MV_US_DATAMART
(ORDER_DATE, TIME_DIM_ID, BUSINESS_DIM_ID, ACCOUNT_DIM_ID, ORDERTYPE_DIM_ID,
INSTR_DIM_ID, EXECUTION_DIM_ID, EXEC_EXCHANGE_DIM_ID)
NOLOGGING
NOPARALLEL
COMPRESS 7;
No of rows: 2228558
The query (taken Mondrian) I run against each of them is:
select sum("MV_US_DATAMART"."NOTIONAL") as "m0"
--, sum("MV_US_DATAMART"."FILLED_QUANTITY") as "m1"
--, sum("MV_US_DATAMART"."AGENT_CHARGES") as "m2"
--, sum("MV_US_DATAMART"."CLEARING_CHARGES") as "m3"
--, sum("MV_US_DATAMART"."EXECUTION_CHARGES") as "m4"
--, sum("MV_US_DATAMART"."TRANSACTION_CHARGES") as "m5"
--, sum("MV_US_DATAMART"."ROUTING_CHARGES") as "m6"
--, sum("MV_US_DATAMART"."ORDER_MANAGEMENT") as "m7"
--, sum("MV_US_DATAMART"."SETTLEMENT_CHARGES") as "m8"
--, sum("MV_US_DATAMART"."COMMISSION") as "m9"
--, sum("MV_US_DATAMART"."RECOVERED_AGENT") as "m10"
--, sum("MV_US_DATAMART"."RECOVERED_CLEARING") as "m11"
--,sum("MV_US_DATAMART"."RECOVERED_EXECUTION") as "m12"
--,sum("MV_US_DATAMART"."RECOVERED_TRANSACTION") as "m13"
--, sum("MV_US_DATAMART"."RECOVERED_ROUTING") as "m14"
--, sum("MV_US_DATAMART"."RECOVERED_ORD_MGT") as "m15"
--, sum("MV_US_DATAMART"."RECOVERED_SETTLEMENT") as "m16"
--, sum("MV_US_DATAMART"."RECOVERED_TICKET_CHARGES") as "m17"
--,sum("MV_US_DATAMART"."TICKET_CHARGES") as "m18"
--, sum("MV_US_DATAMART"."VENDOR_CHARGE") as "m19"
from "OS_OWNER"."MV_US_DATAMART" "MV_US_DATAMART"
where I uncomment a column at a time and rerun. I improved the TimesTen results since my first post, by retyping the NUMBER columns to BINARY_FLOAT. The results I got were:
No Columns ORACLE TimesTen
1 1.05 0.94
2 1.07 1.47
3 2.04 1.8
4 2.06 2.08
5 2.09 2.4
6 3.01 2.67
7 4.02 3.06
8 4.03 3.37
9 4.04 3.62
10 4.06 4.02
11 4.08 4.31
12 4.09 4.61
13 5.01 4.76
14 5.02 5.06
15 5.04 5.25
16 5.05 5.48
17 5.08 5.84
18 6 6.21
19 6.02 6.34
20 6.04 6.75
Maybe you are looking for
-
I am trying to help my Father with a new monitor and possibly a graphics card. Will an ATI Radeon 7000 PCI graphics card work in a G4 400mhz sawtooth? Thanks for the help.
-
Gmail integration does not work correctly
I always had a working integration of my Gmail account. eMails were sent using gmail.com, every sent eMail was saved in the "Sent" folder. Three weeks ago, sent eMails did not appear in the "Sent" folder anymore, and eMails were mailed by srs.bis.eu.
-
Saving for Word - and having it come out correctly
I have prepared a lengthy Word Processing document in Pages '09. It runs 19 pages, and pages 6 & 7 are 2 columns, the rest are single column. When I save to Word, and I have others open in Word on their Windows computers, it loses the 2-column format
-
I have fitted a MSI GTX960 Gaming 4GB in my Dell XPS8700, it is a great upgrade from gtx745 ! At the moment, referring to reviews/benchmarks the extra 2GB really doesn't make a huge difference...only betting on longer run, games will want more memory
-
BT Infinity - constant outages
I just switched to BT Infinity from BT Total a week ago and have had constant problems with outages every day, having to wait several hours for a return of connectivity. I've spent much time messing around with the new hub, thinking there was some pr