<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Oracle Blog</title>
	<link>http://blog.oraclecontractors.com</link>
	<description>Oracle Blog from OracleContractors.com</description>
	<pubDate>Thu, 02 Sep 2010 10:41:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>
	<language>en</language>
			<item>
		<title>The installation order of the Oracle Retail Application Suite</title>
		<link>http://blog.oraclecontractors.com/?p=872</link>
		<comments>http://blog.oraclecontractors.com/?p=872#comments</comments>
		<pubDate>Thu, 02 Sep 2010 09:48:50 +0000</pubDate>
		<dc:creator>MakisSaridis</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<category>Oracle Retail</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=872</guid>
		<description><![CDATA[Oracle  Retail provides a full suite of applications that can cover the  requirements of the modern retailer. If you visit the Oracle Retail homepage you will be amazed by the variety of the applications that are available.
When  a retailer decides to go ahead with Oracle Retail they have to decide  which [...]]]></description>
			<content:encoded><![CDATA[<p>Oracle  Retail provides a full suite of applications that can cover the  requirements of the modern retailer. If you visit the Oracle Retail <a title="Oracle Retail Homepage" href="http://www.oracle.com/us/industries/retail/index.html">homepage</a> you will be amazed by the variety of the applications that are available.</p>
<p>When  a retailer decides to go ahead with Oracle Retail they have to decide  which applications they need and what the order of installation will be.  The decision for the first question the is entirely up to the retailer.  For the second question can be a little bit more complicated. The order  in which the various applications will be installed can determine the  success or failure of the entire project. There are dependencies between  projects and they need to be defined in advance. There are always  constraints from the customer side that affect the order of the  installation.</p>
<p>According to Oracle Retail the ideal order of installation of the entire Oracle Retail application suite is the following:</p>
<p>1. Oracle Retail Merchandising System (RMS), Oracle Retail Trade Management (RTM), Oracle Retail Sales Audit (ReSA)<br />
2. Oracle Retail Service Layer (RSL)<br />
3. Oracle Retail Extract, Transform, Load (RETL)<br />
4. Oracle Retail Active Retail Intelligence (ARI)<br />
5. Oracle Retail Warehouse Management System (RWMS)<br />
6. Oracle Retail Allocation<br />
7. Oracle Retail Invoice Matching (ReIM)<br />
8. Oracle Retail Price Management (RPM)<br />
9. Oracle Retail Central Office (ORCO)<br />
10. Oracle Retail Back Office (ORBO)<br />
11. Oracle Retail Store Inventory Management (SIM)<br />
12. Oracle Retail Integration Bus (RIB)<br />
13. Oracle Retail Point-of-Service (ORPOS)<br />
14. Oracle Retail Analytics Applications<br />
15. Oracle Retail Advanced Inventory Planning (AIP)<br />
16. Oracle Retail Predictive Application Server (RPAS)<br />
17. Oracle Retail Data Warehouse (RDW)<br />
18. Oracle Retail Workspace (ORW)
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=872</wfw:commentRss>
		</item>
		<item>
		<title>Longer than long</title>
		<link>http://blog.oraclecontractors.com/?p=871</link>
		<comments>http://blog.oraclecontractors.com/?p=871#comments</comments>
		<pubDate>Sun, 22 Aug 2010 09:46:25 +0000</pubDate>
		<dc:creator>JohnMcGhee</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=871</guid>
		<description><![CDATA[As the government cut-backs are started to bite into the contractor  market – at least in my neck of the woods – four contractors in my department, including myself,  are bidding a premature farewell as the local authority attempts to reduce costs in an effort to reduce its financial shortfall.
In my case it is no [...]]]></description>
			<content:encoded><![CDATA[<p>As the government cut-backs are started to bite into the contractor  market – at least in my neck of the woods – four contractors in my department, including myself,  are bidding a premature farewell as the local authority attempts to reduce costs in an effort to reduce its financial shortfall.</p>
<p>In my case it is no great surprise as my latest project  had been  running on borrowed time since the start of the UK general election campaign when both the Liberals and Conservatives pledged to scrap it if they won, so with the advent of the coalition it was a bit like dead- man walking.</p>
<p>Whilst preparing for my next assignment and congratulating myself that my current contract lasted nearly three years I discovered that this is relatively short-term. I now know of contractors who have lasted 4 or 5 years – with repeated extensions – in the same organisation and wonder if there are any even longer ones. Maybe there’s an Oracle Contractor somewhere out there who holds the record for the most long-lasting continuous contract. 
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=871</wfw:commentRss>
		</item>
		<item>
		<title>New Release White Paper Through Oracle Contractors Network</title>
		<link>http://blog.oraclecontractors.com/?p=870</link>
		<comments>http://blog.oraclecontractors.com/?p=870#comments</comments>
		<pubDate>Fri, 20 Aug 2010 05:57:08 +0000</pubDate>
		<dc:creator>RebeccaBragg</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<category>Training &amp; Certification Topics</category>

		<category>Support/Dev Management Subjects</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=870</guid>
		<description><![CDATA[Hello Everyone,
Happy Friday!!!
I am pleased to announce the next release in our extensive oracle related White Paper Library of:
Installing Oracle GRC Applications: Factors to Consider Before and/or During the Installation 
Authored by Roger Drolet
&#8216;The Objective of Roger&#8217;s paper is to not provide you with step by step instructions to install the Oracle GRC Application Controls [...]]]></description>
			<content:encoded><![CDATA[<p>Hello Everyone,</p>
<p>Happy Friday!!!</p>
<p>I am pleased to announce the next release in our extensive oracle related White Paper Library of:</p>
<p><strong>Installing Oracle GRC Applications: Factors to Consider Before and/or During the Installation </strong></p>
<p><strong>Authored by Roger Drolet</strong></p>
<p>&#8216;The Objective of Roger&#8217;s paper is to not provide you with step by step instructions to install the Oracle GRC Application Controls Suite.  Roger wrote this white paper to help you address some, not all, of the technical issues that you need to consider before and/or during the installation of the Oracle GRC Application Controls Suite.&#8217;</p>
<p>This paper is now available in our White Paper Library please regisiter or logon to request a copy today, Otherwise feel free to email me on <a href="mailto:rebecca.bragg@oraclecontractors.com">rebecca.bragg@oraclecontractors.com</a> for a copy.</p>
<p>A big thank you to Roger for putting together this paper.
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=870</wfw:commentRss>
		</item>
		<item>
		<title>New Release Demantra White Paper through Oracle Contractors Network</title>
		<link>http://blog.oraclecontractors.com/?p=869</link>
		<comments>http://blog.oraclecontractors.com/?p=869#comments</comments>
		<pubDate>Tue, 10 Aug 2010 00:16:58 +0000</pubDate>
		<dc:creator>RebeccaBragg</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<category>Supply Chain Management</category>

		<category>Training &amp; Certification Topics</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=869</guid>
		<description><![CDATA[I am pleased to announce the next release in our extensive oracle related White Paper Library of:
Fast Deployment of Oracle Demantra 7.3 on Windows Environment 
Authored by Horatiu Cirtita
Purpose of Horatiu’s Paper;
This papers intends to introduce readers into the world of demand planning envisioned by Oracle Demantra, a suite of tools that enables companies to [...]]]></description>
			<content:encoded><![CDATA[<p>I am pleased to announce the next release in our extensive oracle related White Paper Library of:</p>
<p><strong>Fast Deployment of Oracle Demantra 7.3 on Windows Environment </strong></p>
<p><strong>Authored by Horatiu Cirtita</strong></p>
<p>Purpose of Horatiu’s Paper;</p>
<p>This papers intends to introduce readers into the world of demand planning envisioned by Oracle Demantra, a suite of tools that enables companies to model future demand, define and optimise trade promotions, manage deductions and settlements and support Sales and Operations Planning (SOP), serving as a visual toolkit for those professionals that want to install and implement the latest release (Oracle Demantra 7.3).</p>
<p>Please feel free to drop by the White Paper library to request your copy of the White Paper today. Remember to email Horatiu with any feedback you may have relating to this white paper or post it to this blog!</p>
<p>Horatiu thank you for sharing your knowledge with us!
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=869</wfw:commentRss>
		</item>
		<item>
		<title>New Release White Paper through Oracle Contractors Network</title>
		<link>http://blog.oraclecontractors.com/?p=868</link>
		<comments>http://blog.oraclecontractors.com/?p=868#comments</comments>
		<pubDate>Tue, 03 Aug 2010 04:41:50 +0000</pubDate>
		<dc:creator>RebeccaBragg</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<category>Financial Management</category>

		<category>Oracle E-Business Suite</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=868</guid>
		<description><![CDATA[I am pleased to announce the next release in our extensive oracle related White Paper Library of:
Oracle EBS R12 Receivables Closing Period Procedures
Authored by Mohamed Nazih
Purpose of Mohamed&#8217;s Paper;
This paper will help you understand the steps, order, and reports required to close Oracle Receivables period. Proper closing each month helps minimizing year end time needed [...]]]></description>
			<content:encoded><![CDATA[<p>I am pleased to announce the next release in our extensive oracle related White Paper Library of:</p>
<p><strong>Oracle EBS R12 Receivables Closing Period Procedures</strong></p>
<p><strong>Authored by Mohamed Nazih</strong></p>
<p>Purpose of Mohamed&#8217;s Paper;</p>
<p>This paper will help you understand the steps, order, and reports required to close Oracle Receivables period. Proper closing each month helps minimizing year end time needed to issue financial statements.</p>
<p>Please feel free to drop by the White Paper library to request your copy of the White Paper today.</p>
<p>Remember to email Mohamed with any feedback you may have relating to this white paper or post it to this blog!</p>
<p>Thanks Mohamed <img src='http://blog.oraclecontractors.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=868</wfw:commentRss>
		</item>
		<item>
		<title>Oracle PIM/Inventory Question: If the item is created in Oracle PIM, should it be first created in the Master Organization within the inventory module?</title>
		<link>http://blog.oraclecontractors.com/?p=867</link>
		<comments>http://blog.oraclecontractors.com/?p=867#comments</comments>
		<pubDate>Fri, 23 Jul 2010 11:07:06 +0000</pubDate>
		<dc:creator>BobBarnett</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<category>Supply Chain Management</category>

		<category>Oracle E-Business Suite</category>

		<category>Oracle Product Information Management</category>

		<category>Oracle Retail</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=867</guid>
		<description><![CDATA[A question was asked by a beginner in PIM within another social networking site regarding items in Oracle EBS/PIM applications.  I thought it is a good question to put into the blog for PIM and EBS.  I hope I am correct. 
An item is ALWAYS created in a defined master organization in PIM. Though it is not coincidence that [...]]]></description>
			<content:encoded><![CDATA[<p>A question was asked by a beginner in PIM within another social networking site regarding items in Oracle EBS/PIM applications.  I thought it is a good question to put into the blog for PIM and EBS.  I hope I am correct. </p>
<p>An item is ALWAYS created in a defined master organization in PIM. Though it is not coincidence that it is an Oracle EBS configured master organization. It is mandatory to define the item in a master organization.</p>
<p>Do not concern yourself with the Inventory module. When you create an item in PIM, it is the same item that is created in the Inventory module. When you create an item in the Inventory module&#8217;s Master Item form, that same item is fully available in the PIM html forms. They both share the same mtl_system_items_b table as well as others.</p>
<p>It is only when you define attribute groups that you have additional information in PIM regarding the item.</p>
<p>In fact, item catalog categories and item catalog groups are the same thing. But, you get more functionality in PIM regarding their usage.</p>
<p>Please consider PIM as a mandatory module to purchase in your next upgrade or implementation.  It has proven to be highly useful in multiple industries. </p>
<p>Have a great one!</p>
<p>Bob 
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=867</wfw:commentRss>
		</item>
		<item>
		<title>Creating a Database link without adding an Entry to the tnsnames.org file</title>
		<link>http://blog.oraclecontractors.com/?p=866</link>
		<comments>http://blog.oraclecontractors.com/?p=866#comments</comments>
		<pubDate>Mon, 19 Jul 2010 08:01:45 +0000</pubDate>
		<dc:creator>MattCanning</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<category>Oracle Database</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=866</guid>
		<description><![CDATA[To share data between two databases, we can create a database link by running commands such as: 
create database link dblink1 connect to system identified by password1 using &#8216;ORCL1&#8242;;
These commands create a link called “dblink1” which connects as the user SYSTEM to a remote database - using the connect string “ORCL1”.  The connect string “ORCL1” is [...]]]></description>
			<content:encoded><![CDATA[<p>To share data between two databases, we can create a database link by running commands such as: </p>
<p>create database link dblink1 connect to system identified by password1 using &#8216;ORCL1&#8242;;</p>
<p>These commands create a link called “dblink1” which connects as the user SYSTEM to a remote database - using the connect string “ORCL1”.  The connect string “ORCL1” is an entry in the tnsnames.ora file.</p>
<p>Once we’ve created our link, we can then run commands to check that we can access the remote database.   If the account used for the database link has privileges to access v$database, then we are able to use the query below to check the name of the remote database. </p>
<p>select name from <a href="mailto:v$database@dblink1">v$database@dblink1</a>;</p>
<p>Alternatively, we could run a query to select data that we know only exists in the remote database.</p>
<p>Once our database link has been created, we then create a synonym (alias) for any remote objects referenced by the link. </p>
<p>e.g.  create synonym emp2 for <a href="mailto:scott.emp@dblink1">scott.emp@dblink1</a>; </p>
<p>This makes query writing more straightforward and also hides complexity from the end users.</p>
<p>Sometimes, for security or confidentiality reasons, we want to create a link, but don’t want to add an entry to the tnsnames.ora file.</p>
<p>To do this, we can create a link by specifying the full connection string, as shown below:</p>
<p>create database link dblink1 connect to system identified by password1 using &#8216;(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oserver1)(PORT=1526))(CONNECT_DATA<br />
=(SID=ORCL1)))&#8217;;</p>
<p>An alternative solution is to use the EZCONNECT naming method, which is available from Oracle 10g onwards:</p>
<p>create database link dblink1 connect to system identified by password1 using &#8216;oserver1:1526/ORCL1&#8242;;</p>
<p>Notes:</p>
<p>(i) This scenario assumes that even if we were using other methods for client name resolution - such as Oracle Internet Directory, or an Oracle Names Server - then we don’t want to add permanent entries to these either.<br />
(ii) For ease of explanation, we are assuming that GLOBAL_NAMES is set to be FALSE in both databases.  If it were set to TRUE, then our database link would need to have the same name as the global_name of the target database.  (Select * from global_name; - to check this value).<br />
(iii) The EZCONNECT syntax assumes that we have an entry for<br />
“EZCONNECT” in our sqlnet.ora file, as a valid naming method under the NAMES.DIRECTORY_PATH parameter.<br />
(iv) The tnsnames.ora file is usually located in   $ORACLE_HOME/network/admin on Unix or  %ORACLE_HOME%/network/admin on Windows. If we had set the TNS_ADMIN environment variable or registry key, then it would be at the location specified by this parameter.
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=866</wfw:commentRss>
		</item>
		<item>
		<title>Oracle Cost Management:  Choosing Method Hints</title>
		<link>http://blog.oraclecontractors.com/?p=865</link>
		<comments>http://blog.oraclecontractors.com/?p=865#comments</comments>
		<pubDate>Thu, 15 Jul 2010 15:35:39 +0000</pubDate>
		<dc:creator>BobBarnett</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<category>Supply Chain Management</category>

		<category>Oracle E-Business Suite</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=865</guid>
		<description><![CDATA[Just a thought for anyone having difficulties or dilemna in choosing cost method in Oracle EBS (or other software systems)
 
I have had clients complain that average costing changes the entire way they do “cost management”.  The complaint has been that average costing is impossible for them to manage.  Simply because they say systematically, they cannot [...]]]></description>
			<content:encoded><![CDATA[<p>Just a thought for anyone having difficulties or dilemna in choosing cost method in Oracle EBS (or other software systems)</p>
<p> </p>
<p>I have had clients complain that average costing changes the entire way they do “cost management”.  The complaint has been that average costing is impossible for them to manage.  Simply because they say systematically, they cannot trace back to the &#8220;per unit&#8221; cost calculation that established the current system derived &#8220;per unit&#8221; average cost.</p>
<p>I say, &#8220;let the computer do all the work&#8221; and &#8220;let the computer report its calculations in detail back to you&#8221;.  You should be watching changes anyway.</p>
<p> </p>
<p>People got to get used to faster reaction “moving average” with average costing methods.  This is as opposed to adjusting at the end of the year.  Standard costing is very slow to react.  Book value is “misrepresented” in standard costing because the computer and transaction are not adjusting the cost and value, people are.</p>
<p> </p>
<p>Monitoring changes in purchasing and mfg cost is better monitored and reflected in inventory value with average cost.  But since there is no real variance account balances, the client complains that they have no “off the shelf” way of knowing when things are not right.<br />
 </p>
<p>That is where bigger business intelligence monitoring takes over in average costing.  Monitoring specific events or jobs compared to historical performance in the past helps to make decisions.<br />
 </p>
<p>Two things:<br />
 </p>
<p>1)      Market commodity dependency on purchased material:  If price fluctuates greatly then go to average.  If customer price based on cost then go to layer costing.  If purchase price stable then stick with standard costing<br />
2)      If manufacturing can build the same thing in a lot of different ways producing relatively the same production costs then stick with standard costing.  If mfg can build the same thing in a lot of different ways producing large fluctuation in production costs then consider average to amortize it into total inventory value or consider layer costing to tie cost to specific lots or serial numbers of the same item. <br />
 </p>
<p>But there is naturally many other things to assist in the choice….<br />
 </p>
<p>Financially, standard cost causes more adjustments than average costing.  Operationally, average cost can hide increasing or decreasing trends in costs.  Layer costing requires more “tailor made” placement of cost in transactions (cost hook) but will help adjust trends. <br />
 </p>
<p>Accuracy(less to greater value representation):  Standard then Average then Layer (FIFO/LIFO)<br />
Maintenance (less to more after go-live):  Layer then Average then Standard<br />
Best practices and future direction (oldest to future): Standard to Average to Layer costing<br />
Cost to implement in Oracle(least to most upfront costs):  Average to Standard to Layer costing<br />
 </p>
<p>Long term trend in decreasing inventory cost: Standard<br />
Long term inventory holding: Standard or Layer<br />
Cost Based pricing in high competitive market: Layer<br />
Short term trend in decreasing inventory cost: Average<br />
Short term inventory holding: Average or Layer<br />
 </p>
<p>None of these are industry specific nor industry specific best practices.  These are just guidelines used to help me and my client choose.</p>
<p>Just don&#8217;t make the decision solely on how your current reports are used or &#8220;That&#8217;s the way we&#8217;ve been doing it for years&#8221;. 
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=865</wfw:commentRss>
		</item>
		<item>
		<title>Copying tablespaces between databases - Part 4</title>
		<link>http://blog.oraclecontractors.com/?p=864</link>
		<comments>http://blog.oraclecontractors.com/?p=864#comments</comments>
		<pubDate>Wed, 07 Jul 2010 07:06:37 +0000</pubDate>
		<dc:creator>MattCanning</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<category>Oracle Database</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=864</guid>
		<description><![CDATA[This is the final part of four blogs which discuss some of the methods that can be used to copy tablespaces between databases.  Part 1 worked through an example using export/import and part 2 used Datapump.
Part 3 discussed the use of RMAN (Recovery Manager) and in the final part we’ll be using DBMS_STREAMS_TABLESPACE_ADM to clone [...]]]></description>
			<content:encoded><![CDATA[<p>This is the final part of four blogs which discuss some of the methods that can be used to copy tablespaces between databases.  Part 1 worked through an example using export/import and part 2 used Datapump.</p>
<p>Part 3 discussed the use of RMAN (Recovery Manager) and in the final part we’ll be using DBMS_STREAMS_TABLESPACE_ADM to clone a tablespace.  </p>
<p>For all of this work, our local database is called ORCL and our remote database is ORCL2. </p>
<p>If you have carried out the procedures in parts 1, 2 or 3 then run the commands below on the local and remote databases, otherwise skip these drop commands.</p>
<p>Drop tablespace TTS_TEST including contents and datafiles;<br />
Drop tablespace TTS_TEST_IDX including contents and datafiles;<br />
Drop user tts_user cascade;</p>
<p>Create Example Tablespaces in the local database</p>
<p>We’ll begin by creating some tablespaces in our local database.  Run the commands below as SYSTEM.</p>
<p>CREATE TABLESPACE TTS_TEST DATAFILE<br />
&#8216;/u02/oradata/ORCL/TTS_TEST01.dbf&#8217; size 10M autoextend on maxsize 100M;</p>
<p>CREATE TABLESPACE TTS_TEST_IDX DATAFILE<br />
&#8216;/u02/oradata/ORCL/TTS_TEST_IDX01.dbf&#8217; size 10M autoextend on maxsize 100M;<br />
  <br />
Create an Example user in the local and remote databases</p>
<p>Now we’ll create an example user in our local and remote databases.</p>
<p>CREATE USER TTS_USER IDENTIFIED BY tester1 DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;</p>
<p> GRANT CREATE SESSION, CREATE TABLE TO TTS_USER;<br />
 <br />
Next - just on the local database – we’ll run the commands:</p>
<p>ALTER USER TTS_USER DEFAULT TABLESPACE TTS_TEST;<br />
ALTER USER TTS_USER QUOTA UNLIMITED ON TTS_TEST;<br />
ALTER USER TTS_USER QUOTA UNLIMITED ON TTS_TEST_IDX;</p>
<p>Create an Example Table in the local database</p>
<p>We can then create a very basic table with an associated index.  The table and index will be in separate tablespaces and will use the default storage options for the tablespace.  <br />
 <br />
CREATE TABLE TTS_USER.T1  (C1 NUMBER(10) ,  C2 VARCHAR2(10) )<br />
TABLESPACE TTS_TEST ;</p>
<p>ALTER TABLE TTS_USER.T1 ADD (CONSTRAINT t1_pk PRIMARY KEY(C1) USING INDEX TABLESPACE TTS_TEST_IDX);</p>
<p>INSERT INTO TTS_USER.T1 VALUES (1,&#8217;TESTROW1&#8242;);<br />
INSERT INTO TTS_USER.T1 VALUES (2,&#8217;TESTROW2&#8242;);<br />
COMMIT;</p>
<p>Using DBMS_STREAMS_TABLESPACE_ADM to clone tablespaces</p>
<p>You can create a clone of an existing tablespace and then attach it to a remote database.   (These methods would normally be used for tablespace versioning and are available from 10g Release 1).</p>
<p>Note: It is also possible to detach and then re-attach a tablespace, but as we wish to keep our original tablespace in this scenario, the DETACH option will not be discussed.   </p>
<p>(You should be aware that you can’t use these procedures for objects owned by SYS). </p>
<p>CLONE TABLESPACE</p>
<p>(i) Create an operating system and corresponding database directory for the new version of the tablespace.  </p>
<p>e.g.        mkdir /u01/oradata/ORCL/copy_datafiles</p>
<p>Then login to the database as SYS as sysdba and run the commands:</p>
<p>CREATE OR REPLACE DIRECTORY OBJ_COPY AS &#8216;/u01/oradata/ORCL/copy_datafiles&#8217;;</p>
<p>This will be used as the setting for the TABLESPACE_DIRECTORY_OBJECT parameter later on.</p>
<p>(ii) Create a clone of the tablespace.   (These commands also add a new version of the tablespace to a filegroup repository called TTS_TEST_FG, which is created automatically.</p>
<p>DECLARE</p>
<p>tbs_set DBMS_STREAMS_TABLESPACE_ADM.TABLESPACE_SET;</p>
<p>BEGIN<br />
tbs_set(1) := &#8216;TTS_TEST&#8217;;<br />
tbs_set(2) := &#8216;TTS_TEST_IDX&#8217;;<br />
DBMS_STREAMS_TABLESPACE_ADM.CLONE_TABLESPACES(<br />
tablespace_names => tbs_set,<br />
tablespace_directory_object => &#8216;OBJ_COPY&#8217;,<br />
file_group_name => &#8216;TTS_TEST_FG&#8217;,<br />
version_name => &#8216;V1&#8242;);<br />
END;<br />
/</p>
<p>Notes:  version_name and file_group_name can be set to anything you like.   If you need to change the name of the datafile later, then you can use   DBMS_FILE_GROUP.ALTER_FILE.</p>
<p>If you get any errors when running these procedures, run the query: </p>
<p>SELECT REASON FROM SYS.PLUGGABLE_SET_CHECK WHERE TS1_NAME IN (&#8217;TTS_TEST&#8217;, &#8216;TTS_TEST_IDX&#8217;);</p>
<p>(iii) A copy of the datafile, the export dumpfile and the logfile from this work will all go to the OBJ_COPY database directory.   The datafile has been cloned, but is not attached to the database, as we can only have one version of a tablespace attached and online at any time.</p>
<p>(iv) We can query DBA_FILE_GROUP_TABLESPACES and DBA_FILE_GROUP_FILES for information on this new version of the tablespace.</p>
<p>ATTACH TABLESPACE</p>
<p>To be able to use the cloned tablespace in another database, we now need to attach the tablespace.</p>
<p>(i) You can use these procedures when working with tablespaces that have previously been processed by DBMS_STREAMS_TABLESPACE_ADM. DETACH_TABLESPACE and CLONE_TABLESPACE procedures, or with files created by the RMAN or Datapump export transport tablespace commands.</p>
<p>(ii)       Copy the datafile to the datafile location of the remote database.  Copy the export dumpfile to the DATA_PUMP_DIR directory of the remote database.   </p>
<p>(iii)     In the remote database,  create a database directory pointing to the location of the new datafiles as SYS as sysdba:</p>
<p>CREATE OR REPLACE DIRECTORY OBJ_LOAD AS &#8216;/u02/oradata/ORCL2&#8242;;</p>
<p>This will be used as the setting for the TABLESPACE_DIRECTORY_OBJECT parameter later on.</p>
<p>(iv) Run the commands below against the remote database from the DATA_PUMP_DIR location, which contains the export dumpfile. This will attach the tablespace to the database.  (Amend the dump_file.file_name parameter to match the name of your export dumpfile before running the commands).<br />
set serveroutput on</p>
<p>DECLARE<br />
  tbs_files     dbms_streams_tablespace_adm.file_set;<br />
  cvt_files     dbms_streams_tablespace_adm.file_set;<br />
  dump_file     dbms_streams_tablespace_adm.file;<br />
  dp_job_name   VARCHAR2(30) := NULL;<br />
  ts_names       dbms_streams_tablespace_adm.tablespace_set;</p>
<p>BEGIN<br />
  dump_file.file_name :=  &#8216;expdat22.dmp&#8217;;<br />
  dump_file.directory_object := &#8216;DATA_PUMP_DIR&#8217;;<br />
   tbs_files( 1).file_name :=  &#8216;TTS_TEST01.dbf&#8217;;<br />
  tbs_files( 1).directory_object :=  &#8216;OBJ_LOAD&#8217;;<br />
   tbs_files( 2).file_name :=  &#8216;TTS_TEST_IDX01.dbf&#8217;;<br />
  tbs_files( 2).directory_object :=  &#8216;OBJ_LOAD&#8217;;<br />
   dbms_streams_tablespace_adm.attach_tablespaces(<br />
    datapump_job_name      => dp_job_name,<br />
    dump_file              => dump_file,<br />
    tablespace_files       => tbs_files,<br />
    converted_files        => cvt_files,<br />
    tablespace_names       => ts_names);<br />
  IF ts_names IS NOT NULL AND ts_names.first IS NOT NULL THEN<br />
    FOR i IN ts_names.first .. ts_names.last LOOP<br />
      dbms_output.put_line(&#8217;imported tablespace &#8216;|| ts_names(i));<br />
    END LOOP;<br />
  END IF;<br />
END;<br />
/</p>
<p>(v)  If you query DBA_TABLESPACES, you should now see that the tablespaces have been added to your remote database.   (Note: These commands won’t create a new file group in the remote database - they’ll just attach the tablespaces). </p>
<p>(vi) Finally we just need to put the tablespaces into read write mode.</p>
<p>ALTER TABLESPACE TTS_TEST READ WRITE;</p>
<p>ALTER TABLESPACE TTS_TEST_IDX READ WRITE;</p>
<p>Note: There is also a Transport Tablespace Wizard in Oracle Enterprise Manager for carrying out these tasks.</p>
<p>References</p>
<p>(i)  Oracle documentation at: <a href="http://www.oracle.com/technology/documentation/database.html">http://www.oracle.com/technology/documentation/database.html</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=864</wfw:commentRss>
		</item>
		<item>
		<title>How difficult is the market out there?</title>
		<link>http://blog.oraclecontractors.com/?p=863</link>
		<comments>http://blog.oraclecontractors.com/?p=863#comments</comments>
		<pubDate>Thu, 17 Jun 2010 15:38:59 +0000</pubDate>
		<dc:creator>Marco Rodogno</dc:creator>
		
		<category>- Global Oracle Contractors Network</category>

		<guid isPermaLink="false">http://blog.oraclecontractors.com/?p=863</guid>
		<description><![CDATA[Greetings all,
this might be talking about the obvious but how difficult is the market out there and what are the &#8216;Do and Don&#8217;t&#8217; that await us Contractors in the market.
I have been idling now for a few months and when I actually have a gig it turns out that the client has no intention of paying [...]]]></description>
			<content:encoded><![CDATA[<p>Greetings all,</p>
<p>this might be talking about the obvious but how difficult is the market out there and what are the &#8216;Do and Don&#8217;t&#8217; that await us Contractors in the market.</p>
<p>I have been idling now for a few months and when I actually have a gig it turns out that the client has no intention of paying me which results in more money to the solicitors to chase up payment in a number of courts.</p>
<p>I have been running my own company now for a couple of years and as a full time Contractor, in the past I was always &#8217;shelled&#8217; by an agency or an employer, I have enjoyed a good run until mid last year.</p>
<p>The market has been good until mid last year and then the &#8216;crisis&#8217; caused by the Banks and by Human Nature has hit all of us very hard. I heard form other Contractors that &#8216;Oracle is leaving many professional home&#8217; and that &#8216;SAP seems to have the upper hand&#8217; but in actual facts we are all in the same boat.</p>
<p>I guess we all look forward to the Oracle market picking up and indeed I am having more contacts with new projects however twice now this year this has happened and twice it went quiet again.</p>
<p>What do we think and how can we help the clients in a &#8216;win-win&#8217; situation rather than having a client driven market that squeezes out the profit from us? How can we maintain a reasonable rate rather then having to slash prices to a level where it is questionable whether it is actually more lucrative to be a contractor? </p>
<p>I look forward to your comments.</p>
<p>Marco.</p>
<p> 
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraclecontractors.com/?feed=rss2&amp;p=863</wfw:commentRss>
		</item>
	</channel>
</rss>
