Microsoft Transaction Server and Oracle 7.3.4/8.0.5
Hello all,
I have been working with VB COM objects in MTS and Oracle 7.3.4/8.0.5 for most of this year (2000), and I have things working with relative smoothness. However, I am having severe performance issues.
I have used the white paper Using Oracle with Microsoft Transaction Server and COM+ (http://support.microsoft.com/support/complus/mtsandoracle.asp), which got things rolling, but there is little/no information on how to gain performance. I am using the same DLLs against SQL Server databases, and the performance is very noticeably better.
Has anyone done any performance tuning in this type of scenario? Any tips for me?
null
Dyna, I have yet to hear of someone that has been able to successfully replicate data from Oracle 8i to 7.3.4 using Oracle Replication Services. I would sugest that you take a look at third-party solutions like DataMirror Transformation Server to help you out with this. More information is available on our web-site (www.datamirror.com) if you wish to investigate this further.
John Vandermay,
DataMirror Corporation.
Similar Messages
-
I'd like information regarding the implementation of Microsoft
Transaction Server and Forte on the same server. Also, any info about
problems encountered would be appreciated.
Thanks
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>For a general description see here:
http://searchwinit.techtarget.com/sDefinition/0,,sid1_gci213747,00.html
And Oracle's part is:
ORACLE SERVICE FOR MICROSOFT TRANSACTION SERVER (ORAMTS)
The following information applies to the Oracle Service for Microsoft
Transaction Server (ORAMTS) that interfaces with Oracle through its native
API, Oracle Call Interface (OCI), and also interfaces with the Microsoft
Transaction Server (MTS). ORAMTS is a COM-based transaction processing
service used to manage transactional COM components registered under
Microsoft Transaction Server (MTS) interacting with the Oracle database.
ORAMTS works with any of the following programmatic interfaces:
1. Oracle ODBC Driver
2. Oracle Provider for OLE DB
3. Oracle Objects for OLE (OO4O)
4. Oracle Data Provider for .NET (ODP.NET)
Werner -
Error while Installing Oracle Services for Microsoft Transaction Server
I downloaded "Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XP" and installed the personal edition. It did not install successfully and gave this error message:
Error while Installing Oracle Services for Microsoft Transaction Server
The specified key was not found while trying to GetValue
- stop installation of all products.
- stop installation of this component only.
The installation of Oracle 9i Database was unsuccessful
The Integration tools and client installed just fine from the same download. Why didn't the database install successfully? All the other components seemed to install just fine and the database appeared to be created - but I could not open it and there was not start menu option for DBA Studio.
I am running Windows 2000 professional with Service Pack 3 on a 2 GHz Pentium4 machine with 512MB Rambus RAM, 32bit color graphics ATI All-in-Wonder card, about 40GB of disk space, a local peer-to-peer network via cat5 cable to another Win2k P3 machine, and Creative Soundblaster Audigy card. Do I need to adjust any network settings? Would it help or hinder if I installed MS IIS? WinNT has a Microsoft Transaction Server (MTS) but Win2k has COM+ instead; does that make a difference in terms of the installer looking for MTS? Do I need to configure COM+ in some special way / change settings?HI Salman,
I am doing the following.
1. I am installing Oracle 10.2.01 Database(Not Client) on my windows Xp laptop. While installation i Choose the custom option and Check the Oracle Windows Interface. In that i check the "Install Oracle Services for Microsoft Transaction server" checkbox. The installation goes on fine till 99% and when it tries to install the
Oracle Services for Microsoft Transaction server it gives an error saying that "Microsoft Transaction server" was not found on the system.
I had previously installed the same on my laptop and it was working fine. but after uninstallation when i try to re install i get this problem.
If i go to the services.msc option in windows i still see the OracleMTSRecoveryService option even when i have uninstalled oracle. But when i try to start the services i get the following error
Could Not start the OracleMTSRecoveryService on the local computer.
Error 3: The system cannot find the file specified.
Any help on how to resolve this issue will be highly appreciated -
Understanding on Oracle services for Microsoft Transaction Server frm dba point of view
Hi ALL,
i read : -> https://docs.oracle.com/database/121/NTMTS/recovery.htm#NTMTS003
Need help to further confirm my understanding on what i read.
I am coming from the DBA angle... .
the functionality of the Microsoft Transaction server is integrated within the operating system as a COM+ server and as a .NET server, "
can i say these is the application servers ?
and the Microsoft Transaction distributed co -ordinator components is part of it.
Question, i don't install the Oracle Recovery Services on the above system right?
Question 2, as a dba, my only concern is to make sure the Oracle Services for Microsoft Transaction Server is installed. Is this correct ?
plus making sure to create the OraMTS administrator to run the recovery job to check for in-doubt transaction.
Question 3:
is this Oracle services for Microsoft Transaction Server used only when an application useses multiple databases in an env?
Can i say that when there is no user MTSSYS in my database, Oracle services for MTS is not used?
The reason why i ask is i am upgrading/ migrating my database and this database don't work with more then 1 database or the application does not work with more then 1 databases.
I ask the apps team all they say is that they are also not too sure. Thus need help/ advice.Daniel,
In pre-8.1.7.4.0 beta implementations, your application server e.g. IIS or MTX.EXE hosts MTS transactional components. When such components acquire OLEDB or ODBC connections to Oracle and external service setup for that database i.e. OracleMTSService<id> joins the MTS transaction on behalf of the Oracle database which quite often runs on a non-Windows platform e.g. Solaris. We restrict each database to have one and only such service. This brings in scalability and availability issues. In 8.1.7.4.0 we have embedded the transaction join and commit logic in the clientside dll. There is no OracleMTSService<id> for a given database. The only service needed is a recovery service one per Windows machine on which Oracle Svcs For MTS is installed. This service is automatically created on installation of the product and doesn't connect to the databases. Instead the involved databases connect to the service via HTTP to resolve any MTS-related transactions that are in-doubt. -
How can i config Oracle Services for Microsoft Transaction Server in 9.2
how can i config Oracle Services for Microsoft Transaction Server in 9.2
There's nothing to configure on the client side. On the database side you just need to run a script once to setup an ORAMTS admin account and some other infrastructure.
-
How to Uninstall oracle services for microsoft transaction server 64 bit
Dear All ,
I would like to know how to Uninstall only oracle services for microsoft transaction server from 11G installtion. I was trying to use "deinstall.bat" but which removes everything from the system. When i use "Oracle Universal Installer" but it doesn't let me do it. I am using Oracle 11G with patch 8 on Windows server 2008.
Any replies are highly appreciated.
ThanksHI Salman,
I am doing the following.
1. I am installing Oracle 10.2.01 Database(Not Client) on my windows Xp laptop. While installation i Choose the custom option and Check the Oracle Windows Interface. In that i check the "Install Oracle Services for Microsoft Transaction server" checkbox. The installation goes on fine till 99% and when it tries to install the
Oracle Services for Microsoft Transaction server it gives an error saying that "Microsoft Transaction server" was not found on the system.
I had previously installed the same on my laptop and it was working fine. but after uninstallation when i try to re install i get this problem.
If i go to the services.msc option in windows i still see the OracleMTSRecoveryService option even when i have uninstalled oracle. But when i try to start the services i get the following error
Could Not start the OracleMTSRecoveryService on the local computer.
Error 3: The system cannot find the file specified.
Any help on how to resolve this issue will be highly appreciated -
Guide to differences between SQL Server Transact SQL and Oracle PL/SQL
Does anyone know of a good book (or online guide) that has an in-depth comparison of the differences between SQL Server Transact SQL and Oracle PL/SQL? (Something more than a beginner's guide)
Hello,
Below links will surely be helpful
Discontinued features in SQL 2012
Depricated features in SQL Server 2012
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Differance between microsoft sql 7 server and oracle 8
can anybody give me the exact technical differances between microsoft 7 server and
oracle8 server ?hi,
below i listed few differences known to me.
Oracle is a multiplatform rdbms whereas sqlserver is restricted to NT server workstations.
Oracle does not include the concept of master db. All db runs independently, with their own data files,mem management, and control.
Sql server has much larger set of fundamental data types than oracle.
Oracle uses row-level locking whereas sqlserver uses page level locking.
Oracle is more mature product. It should be used for high throughput and availability and reliable backup and recovery.
hope it will give u some idea.
regards,
arun. -
hi,
im using microsoft transaction server & oracle server (version7) in my project. im getting one error ie.,
[Microsoft][ODBC driver for Oracle][Oracle]ORA-04031: unable to allocate 250016 bytes of shared memory ("unknown object","session heap","bind var buf")
if i remove my component from MTS, this error does't come.....
i have enough memory in my server. can any one tell what is the problem.......
thanks
siv
nullhi philip,
if i run out of transaction context, my MTS object is working properly... But at the same time , for each database communication, MTS is creating one '.trc' file in system32 directory which contains the text as
135310.388:459.459.1:
ORACLE XA: Version 7.3.4.0.0. RM name = 'Oracle_XA'.
135310.388:459.459.1:
xaoend: XA_RBROLLBACK; upisdt rtn ORA-23.
135310.388:459.459.1:
ORA-00023: session references process's private memory; cannot detach session
do u have any idea what is this..........
thanks
snethil -
DSNless connection to SQL Server and Oracle
hi,
how can i connect to SQl Server and Oracle without specifying the DSN.
zulfgiMy favorite reply again:
Someone wrote in a newsgroup about configuring some kind of "temporary DSN".
His example was for Excel, but it will maybe work the same way for other drivers:
db = DriverManager.getConnection(
"jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=c:/temp/test2.xls;DriverID=22;READONLY=false","","");
Also someone else suggested for SQLServer:
db = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=MyServerName;Database=MyDataBase","","");
Find out the right driver clause for Oracle; look at the names the control panel ODBC manager shows.
Regards,
Hartmut -
Hello,
I use Entity Framework code first approach.
My project is working fine with SQL Server. But, I want to access Oracle too. I want to switch SQL Server and Oracle in run time.
I am able to access Oracle using "Oracle.ManagedDataAccess.EntityFramework.dl" in a new project.
But, Is this possible to access SQL Server and Oracle in the same project.
Thanks,
MuruganThis should be possible with a Code-First workflow. In Code-First the database mapping layer is generated at runtime.
David
David http://blogs.msdn.com/b/dbrowne/ -
Different output of same query in SQL Server and Oracle
I have two tables table1 and table2
--table1 has two columns c1 int and c2 varchar. there are not constraints added in it. it has data as given below
c1 c2
6 d
5 j
102 g
4 g
103 f
3 h
501 j
1 g
601 n
2 m
--table2 has only one column c1 int. there are not constraints added in it. it has data as given below
c1
6
1
4
3
2
now when i run below given query in sql server and oracle it gives me different result
select *
from table1
inner join (SELECT ROW_NUMBER() OVER (order by c1 ASC) AS c1 from table2) table2 on table2.c1=table1.c1
sql server output
c1 c2 c1
1 g 1
2 m 2
3 h 3
4 g 4
5 j 5
oracle output
C1 C2 C1
5 j 5
4 g 4
3 h 3
1 g 1
2 m 2
If you notice the first column in both output. It is sorted in sql server and not in oracle.
Why it is behaving differently in oracle? Is there any way I can solve this in oracle?
Thanks,
JigsIt is NOT behaving "differently" in Oracle; you just haven't specified an order that you expect your results to be in, so you're going to get output in whatever order the database fancies displaying it (ie. no guarenteed order). This is an artifact of how the database chooses to put together the data, and different databases (or even datasets within the same database) can and most likely will behave differently.
Even SQL Server won't guarentee to always get your data in an ordered fashion if you exclude the order by clause, even if you think it has always output the data in an ordered fashion.
Your solution is to add an order by clause, in BOTH databases, to force the order of the output data. -
NVARCHAR - NVARCHAR2 datatype mapping between sql server and oracle.
Question regarding size allocation that occurs for NVARCHAR columns in sql server to NVARCHAR2 in Oracle in the migration tool.
The migration tool has converted NVARCHAR columns to be twice their size as NVARCH2 in Oracle. Example, a table whose column is mycol NVARCHAR(40) gets migrated as mycol NVARCHAR2(80).
In SQL Server land, the designation of a column as NVARCHAR(40) will physically store the column as 80 bytes. However, as I understand from this excerpt (taken from here: http://www.oracle.com/technology/oramag/oracle/03-nov/o63tech_glob.html), that Oracle in essence will do the same thing for NVARCHAR2:
To make it easy to allocate proper storage for Unicode values, Oracle9i Database introduced character semantics. You can now use a declaration such as VARCHAR2(3 CHAR), and Oracle will set aside the correct number of bytes to accommodate three characters in the underlying character set. In the case of AL32UTF8, Oracle will allocate 12 bytes, because the maximum length of a UTF-8 character encoding is four bytes (3 characters * 4 bytes/character = 12 bytes). On the other hand, if you're using AL16UTF16, in which case your declaration would be NVARCHAR2(3), Oracle allocates just six bytes (3 characters * 2 bytes/character = 6 bytes). One difference worth noting is that for UTF-8, a declaration using character semantics allows enough room for surrogate characters, whereas for UTF-16 that is not the case. A declaration such as NVARCHAR2(3) provides room for three UTF-16 code units, but a single supplementary character may consume two of those code units.
As I read this, NVARCHAR(40) in sql server should be equivalent to NVARCHAR2(40) in Oracle and not NVARCHAR2(80) as it gets translated to - am I missing something? We have a rather large database to migrate so I need to get this size allocation right (and I obviously don't want to truncate any data).
Thanks -Right - well, that's what I'm suggesting is that NVARCHAR(8) in SQL Server is equivalent to NVARCHAR2(8) in Oracle. Truncation will occur after 8 of any character, including, say, double byte Kanjii characters, which would physically store 16 bytes in the NVARCHAR(8) NVARCHAR2(8) column defn. I tried that in both SQL Server and Oracle, and the behavior is the same.
Also, technically, NVARCHAR2(8) and VARCHAR2(8 CHAR) is roughly the same in terms of behavior, except that in the first case, the physical storage is 16 bytes, while in the second case, it's 24 bytes (to account for 'supplemental' characters or true UTF-8 compliance). Same truncation occurs after 8 of -any- character be it single byte ascii or double byte kanjii, which is the behavior I expect.
Thanks for looking into this. What I decided to do was the following:
What was originally defined in SQL Server as varchar (and translated to VARCHAR2 with the CHAR designation), I removed the CHAR designation since I truly want that number of bytes to be stored, and not characters (for columns I do not care about UTF8 or 16 compliance - that will also mimic the same behavior I currently have on the SQL Server side. For anything that was nvarchar in SQL Server, I went ahead and created them as VARCHAR2 with the CHAR designation, with the same size (not double the value as was in SQL Server which the documentation says it gets translated to). I did this since we probably will need true UTF-8 compliance down the line, and since I had the hood open, it was easy enough to do. I could also have converted NVARCHAR(n) to NVARCHAR2(n) (and not n*2) as what was happening in the migration.
I tested strings in both cases, and I think I have my solution.
Edited by: kpw on Sep 24, 2008 11:21 AM -
Compare SQL Server and Oracle syntax
Hello, I am very new to the Oracle DB as I have been working with MS SQL Server for many years. I have a SQL statement that works fine in MSSQL but seems to not work in Oracle. Is this a syntax problem or do I need to look elsewhere?
DECLARE @as_master_key varchar(26)
EXEC [dbo].[GET_UNIQUE_MASTER_KEY]
@as_project_name = N'CMDEMO',
@as_database_site = N'CMPL',
@as_user_initials = N'SK',
@as_table = N'SUBMITTAL_CATEGORY',
@as_master_key =
@as_master_key
OUTPUT SELECT @as_master_key as N'master_key'
This is what I use in MSSQL and it works fine - but I am porting this application to an Oracle backend and it fails. Any suggestions?
Thanks in advance to this newbie. :)SQL Server and Oracle are two completely different RDBMS'.
You'd be best not to try and port SQL Server code to Oracle SQL or PL/SQL directly as it will not favour the power of Oracle's features correctly.
I'm not sure what your code is supposed to be doing (I find SQL Server code awful to read, and never understand the need for "@" before variable names, that just seems to show a lazy parser (or lazy coder who designed the parser)).
From what I can guess it's going to be something like...
SQL code...
create or replace sequence my_master_key;PL/SQL code...
DECLARE
as_master_key number;
as_project_name varchar2(20) := 'CMDEMO';
as_database_site varchar2(20) := 'CMPL';
as_user_initials varckar2(5) := 'SK';
as_table varchar2(30) := 'SUBMITTAL_CATEGORY';
BEGIN
select my_master_key.nextval
into as_master_key
from dual;
-- In 11g you could replace this select with just:
-- as_master_key = my_master_key.nextval;
END;This get's a unique sequence value into a variable and declares all the other variables. What you want to do with them after that I don't know. -
Database independant ETL in ODI for SQL Server and Oracle
Hi,
We have a requirement to create ETL which can be run for both SQL Server and Oracle.
We have some tables to be filled from operational database to data warehouse using business requirement.Our goal is to create code which should be database independant.
We will provide all DB details at the start of execution and it will code for as per provided details.
The same can be achieved by Talend.
I wanted to know if same can be achieved in ODI.
Any pointers regarding this would be helpful.
Thanks,
MaheshA quick trick: Provide one more value at the start of execution. It is something like a flag. For example db_flag. It can be either 'O' or 'S'.
Open both oracle and sql server KM. Copy one of the KM code to other KM and put an if condition to check the flag.
if (#DB_FLAG.equalsTo("O")){
Oracle code goes here...........
}else{
SQL Server code goes here...........
Its a pure KM customization.
Bhabani
http://dwteam.in
Maybe you are looking for
-
Why created package with SE80 can't be found in Transport Connection?
We want to transport our custom InfoCubes from Developement environment to Test environment: RSA1 -> Transport Connection, select an InfoCube we created and drag it over to the right frame, group it by "In Dataflow Before and Afterwards". The Packag
-
Dear all, I am currently dealing with a character displaying problem on the MAM. We will soon go live in China. Until now we only had European countries, with a Latin alphabet. Now however this changes, so we need to use Unicode to display all charac
-
How to bring data from Oracle based Non SAP System to SAP
Dear Friends, I have two servers, one is SAP and the other one is Non SAP with Oracle in backend. Please suggest how to take data from the NonSAP server to SAP server or how to connect the two. Please send the step-by-step configuration if possible.
-
Where can i find an old deleted apps, where can i find an old deleted apps
WHERE CAN I FIND MY OLD DELETED APPS ON MY IPHONE
-
Idsconfig, DSEE, and ldapclient error
I've used idsconfig on both Solaris 10 11/06 and Solaris Express b73 to generate a profile that uses proxy credentials and simple authentication. When I run ldapclient on a system to setup the client binding, I get this: [root@ldap-client1 ~]# ldapcl