Comments for Vishal Gupta's Blog http://www.vishalgupta.com/blog Oracle encounters Sat, 23 May 2009 16:32:49 +0100 http://wordpress.org/?v=2.9.2 hourly 1 Comment on Slow drop user by Vishal Gupta http://www.vishalgupta.com/blog/2008/08/24/slow-drop-user/comment-page-1/#comment-74 Vishal Gupta Sat, 23 May 2009 16:32:49 +0000 http://vishalgupta.com/blog/?p=15#comment-74 David, I will have to check regarding extent size when i am in office again on Tuesday. David,

I will have to check regarding extent size when i am in office again on Tuesday.

]]>
Comment on Slow drop user by David Kurtz http://www.vishalgupta.com/blog/2008/08/24/slow-drop-user/comment-page-1/#comment-73 David Kurtz Thu, 21 May 2009 22:02:20 +0000 http://vishalgupta.com/blog/?p=15#comment-73 A PeopleSoft application database exists in a single schema in an Oracle database. Unfortunately, PeopleSoft sometimes uses those terms interchangeably. You have multiple PeopleSoft databases (schemas) in a single Oracle database. This is supported, but not recommended because of the additional complexity and lack of flexibility. And in your case it sounds like the shear size of the resultant data dictionary may also have a bearing. If you had only one PeopleSoft schema per database, then instead of refreshing schemas you can clone whole databases. If you are thinking of doing any performance testing on these refreshed schemas, then bear in mind that you have repacked the data in the tables, and rebuilt the indexes. Have the PeopleSoft tablespaces been created with a 1M uniform extent size (which is in the delivered DDL script)? A PeopleSoft application database exists in a single schema in an Oracle database. Unfortunately, PeopleSoft sometimes uses those terms interchangeably.

You have multiple PeopleSoft databases (schemas) in a single Oracle database. This is supported, but not recommended because of the additional complexity and lack of flexibility. And in your case it sounds like the shear size of the resultant data dictionary may also have a bearing. If you had only one PeopleSoft schema per database, then instead of refreshing schemas you can clone whole databases.

If you are thinking of doing any performance testing on these refreshed schemas, then bear in mind that you have repacked the data in the tables, and rebuilt the indexes.

Have the PeopleSoft tablespaces been created with a 1M uniform extent size (which is in the delivered DDL script)?

]]>
Comment on Slow drop user by Vishal Gupta http://www.vishalgupta.com/blog/2008/08/24/slow-drop-user/comment-page-1/#comment-71 Vishal Gupta Wed, 10 Dec 2008 23:48:06 +0000 http://vishalgupta.com/blog/?p=15#comment-71 John, Mine was a simple spool script created to drop all objects (except LOB and package bodies) from dba_objects for a schema. Nothing fancy in my script. John,

Mine was a simple spool script created to drop all objects (except LOB and package bodies) from dba_objects for a schema. Nothing fancy in my script.

]]>
Comment on Slow drop user by John Hallas http://www.vishalgupta.com/blog/2008/08/24/slow-drop-user/comment-page-1/#comment-70 John Hallas Tue, 09 Dec 2008 19:15:23 +0000 http://vishalgupta.com/blog/?p=15#comment-70 45 minutes for 100K objects is quite good. It takes us the same for 35K objects in the SYSADM schema. The drop user cascade command takes 48 hours (or so I have been told) Which script are you using for the drop objects as it sounds to be quicker than mine (which I will post tomorrow from work) John 45 minutes for 100K objects is quite good. It takes us the same for 35K objects in the SYSADM schema.
The drop user cascade command takes 48 hours (or so I have been told)

Which script are you using for the drop objects as it sounds to be quicker than mine (which I will post tomorrow from work)

John

]]>
Comment on Loading File into a Blob by Vishal Gupta http://www.vishalgupta.com/blog/2008/09/23/loading-file-into-a-blob/comment-page-1/#comment-69 Vishal Gupta Sat, 06 Dec 2008 10:27:49 +0000 http://www.vishalgupta.com/?p=105#comment-69 Nayeem, Example above was more directed towards DBAs. And dba would normally have access to server. Its using oracle directory object which is a directory on server. Nayeem,

Example above was more directed towards DBAs. And dba would normally have access to server. Its using oracle directory object which is a directory on server.

]]>
Comment on Loading File into a Blob by Vishal Gupta http://www.vishalgupta.com/blog/2008/09/23/loading-file-into-a-blob/comment-page-1/#comment-68 Vishal Gupta Sat, 06 Dec 2008 10:26:06 +0000 http://www.vishalgupta.com/?p=105#comment-68 Gus, table1 is just an example. It can be any table with a BLOB column. Lets say it has following definition. CREATE TABLE table1 (COL1 BLOB); Gus,

table1 is just an example. It can be any table with a BLOB column. Lets say it has following definition.

CREATE TABLE table1
(COL1 BLOB);

]]>
Comment on Loading File into a Blob by Naeeym http://www.vishalgupta.com/blog/2008/09/23/loading-file-into-a-blob/comment-page-1/#comment-64 Naeeym Tue, 04 Nov 2008 06:26:31 +0000 http://www.vishalgupta.com/?p=105#comment-64 How do I put the FILE in the TMP directory of the Server from a Client?? As I don't want the Client to have any direct share to Server Directory.. I don't want to user to Upload the file to the server from their client machine, and ask somebody else to load it from there. I want the user to insert directly into the BLOB.... Is there any way to use this Procedure from the Client?? I tried, but it seems Oracle does not support client call to DBMS_LOB. How do I put the FILE in the TMP directory of the Server from a Client?? As I don’t want the Client to have any direct share to Server Directory..

I don’t want to user to Upload the file to the server from their client machine, and ask somebody else to load it from there.

I want the user to insert directly into the BLOB….

Is there any way to use this Procedure from the Client??

I tried, but it seems Oracle does not support client call to DBMS_LOB.

]]>
Comment on My first post by Ankit Garg http://www.vishalgupta.com/blog/2008/08/23/my-first-post/comment-page-1/#comment-59 Ankit Garg Fri, 24 Oct 2008 04:12:33 +0000 http://vishalgupta.com/wordpress/?p=3#comment-59 good going bro..... good going bro…..

]]>
Comment on Loading File into a Blob by Gus Spier http://www.vishalgupta.com/blog/2008/09/23/loading-file-into-a-blob/comment-page-1/#comment-31 Gus Spier Wed, 15 Oct 2008 09:51:54 +0000 http://www.vishalgupta.com/?p=105#comment-31 What is the ddl for table1? Is this a table with a single column of type BLOB? What is the ddl for table1? Is this a table with a single column of type BLOB?

]]>
Comment on Slow Statspack Snapshots by Vishal Gupta http://www.vishalgupta.com/blog/2008/10/10/slow-statspack-snapshots/comment-page-1/#comment-28 Vishal Gupta Mon, 13 Oct 2008 18:52:28 +0000 http://www.vishalgupta.com/blog/?p=112#comment-28 It was Sander Westphal who identified that database had _optimizer_ignore_hints set to false. Good job Sander. It was Sander Westphal who identified that database had _optimizer_ignore_hints set to false. Good job Sander.

]]>