I have GoldenGate version 11.1 on my z/OS and Linux servers. I need to upgrade the GoldenGate to version 12 on both the servers. The database that GG is interacting is DB2. I looked up on the internet for the instructions but to me they seem little complex.
My question is if it is possible for a standard GoldenGate developer to install/upgrade its version on both the servers or I will need a consultant from Oracle to do this activity for me? The good part of calling a Oracle consultant is I will get a lot of learning but the con is they charge a lot for this activity.
Please suggest.
Upgrading a replication system is not a straightforward task. As you have mentioned, there are many thing you need to be aware of. You need first to plan the upgrade process, test it and as a final task, implement it on the production replication system.
For example, GoldenGate 12 has different default values for some parameters than GoldenGate 11. You might need to check the PRM files and adapt them to the never version.
Everything about the upgrade process is written in the documentation and in the Oracle MOS notes. It is possible that all the work that is done during the upgrade is made by a mortal person.
You have to choose by yourself what level of risk you are willing to accept. And make a plan what to do if something goes wrong.
Upgrading can be a complex task and time consuming. The product team for Oracle GoldenGate is attempting to make it as easy and painless as possible.
Seeing that you are on Oracle GoldenGate 11g for Non-Oracle (DB2 for z/OS), the upgrade process can be a bit perplexing.
First, I would recommend you skip 12c and go to 19c. Oracle GoldenGate 19c has all the patches and fixes that 12c does not.
Second, the 12c/19c set of binaries for GoldenGate for Non-Oracle (DB2 for z/OS) is a different install. Starting in Oracle GoldenGate 12c for Non-Oracle (DB2 for z/OS) you can do the install on a Linux mid-tier machine. The only thing that gets installed on the z/OS platform is two (2) stored procedures. This approach opens up a lot of flexibility for the z/OS platform and lowers the overall MIPS processes. More information can be found here: https://docs.oracle.com/en/middleware/goldengate/core/19.1/gghdb/using-oracle-goldengate-db2-z-os.html
Upgrading the system would be the similar to what you have done in the past, but now it will be all linux based and provide you a cost savings by lowing MIPS.
Related
Please specify whether it is possible to track the SQL in Oracle launched queries?
If yes, you can, how to do it?
The essence of this, there are several employees, and you need to understand who and that runs, that is, some kind of username of users, where the start-up requests will be visible, who launched when I started, and how much time went to the execution of the query.
If I do not understand my question quite enough, ask. Thank you all for your attention!
If you are talking about real time performance monitoring of your database, then this will depend on a number of factors, including exactly which version of Oracle you have. Oracle is generally tooled to provide the kind of metrics you're talking about, but the most useful ones (in my experience) may require additional software and additional option licenses to make them visible.
SQL Developer has some basic functionality within its DBA connection options. It can also make ASH and ADDM reports more accessible. Other tools like Oracle Enterprise Manager and Foglight for Oracle provide more detailed metrics over time.
More recent versions of Oracle have more options built-in. Your best bet is to start with Oracle's "2 Day DBA + Performance Tuning Guide" for your version of the database:
Oracle 19c
Oracle 18c
Oracle 12cR2
Oracle 12cR1
I have an interview next week, It requires a person with expertise in PL/SQL and sybase basic. I have decent knowledge in PL/SQL and planning to learn sybase for the next few days. I was not able to find precise answers on sybase, kindly share your knowledge
1) Can we install sybase in windows laptop ? Windows 7.. any inputs for the same would be of great help
2) What is the most special feature of sybase, to be make it simple... y ppl use sybase when we have oracle/DB2/MS-SQL (NOM, asked to seek understanding).
3)Is there any language like PL/SQL for oracle with respect to sybase.
Thanks in Advance
1) You should be able to download a developers version of SAP ASE (The Sybase name was dropped a few years ago). I don't know about specific OS install options, but hopefully one will work for you, and if not get a VirtualBox VM to install it into.
2) It typically has lower administrative overhead then Oracle, but still a full enterprise dbms taking advantage of *nix stability. At one point TCO was also lower than Oracle & SQLServer, but I'm not sure if that is still the case. It also robust database replication support using SAP Replication Server, with lower overhead then many other replication options.
3) T-SQL is the SQL variant used by SAP/Sybase (as well as SQLServer).
It's been years since I've worked with DB2, but I just inherited a legacy appllication that reads/writes to DB2 via JDBC and it runs on an AS400. I don't have a lot of details yet on the platform or versions, but I am wondering is it generally possible to migrate a copy of the DB to either Windows or Linux version of DB2? The application accesses the data over a very slow pipe and I'd like to be able to cut a copy of the DB for local development. The JDBC driver used is:
com.ibm.as400.access.AS400JDBCDriver
If that helps...
Any/all replies are appreciated!
Update: I just found out that DB2 version is 7.1 and the platform is iSeries (should I be asking for additional details regarding the platform?)
~~ Cheers ~~
If you install iSeries Navigator (Database component at the least), you can drill into the needed schema (or schemas) and select the option to 'Generate SQL' for the various object types that SQL recognizes. The SQL can then be ported to whatever DBMS you'll use.
Of course, that's separate from any data. And there's significant chance that numerous objects won't make any sense to any other platform. There's a small chance that the "database" won't make much sense on a different platform. It'll depend on how long the database has existed (it might predate SQL), how progressive the developers were over the years, how much advantage they took of platform-specific features, etc.
The QA department that tests my apps at work uses an Oracle database that they all share. Things get really hairy w/ their cases getting changed. bug reported filed + I spend time just to find out the test case has been changed = time wasted.
What I'd like is for dev and qa to all have our own copy of Oracle running on our machines, so we can protect our data and chase our tails... less.
The problem, which I understand, is we don't have funding for all those licenses. Using an open source database won't work because we have all kinds of PL/SQL packages and triggers that I'm sure tie us to Oracle.
Does anyone know of a way (or maybe an open source product) to "fake" an Oracle database? There are no performance requirements at all. I don't mean mocking objects (we do use that for unit testing), but the actual "listening on a port for your request" RDMS. It's a longshot, but I have to ask.
Use Oracle Express for this purpose.
http://www.oracle.com/technetwork/products/express-edition/overview/index.html
Oracle Database 11g Express Edition
Free to develop, deploy, and distribute
Oracle Database 11g Express Edition (Oracle Database XE) is an
entry-level, small-footprint database based on the Oracle Database 11g
Release 2 code base. It's free to develop, deploy, and distribute;
fast to download; and simple to administer.
Oracle Database XE is a great starter database for:
Developers working on PHP, Java, .NET, XML, and Open Source
applications
DBAs who need a free, starter database for training and deployment
Independent Software Vendors (ISVs) and hardware vendors who want a
starter database to distribute free of charge
Educational institutions and students who need a free database for
their curriculum
With Oracle Database XE, you can now develop and deploy applications
with a powerful, proven, industry-leading infrastructure, and then
upgrade when necessary without costly and complex migrations.
Oracle Database XE can be installed on any size host machine with any
number of CPUs (one database per machine), but XE will store up to
11GB of user data, use up to 1GB of memory, and use one CPU on the
host machine.
Support is provided through a free Oracle Discussion Forum monitored
by Oracle employees as well as community experts.
You can use Oracle XE (Express Edition) which is free.
You can download it here.
Assuming that each developer needs less than 11 GB of data in their personal copy of the database, have you looked at using the free express edition of the Oracle database? You can install that on your local machine or even deploy it in production free of charge. You can't use enterprise edition features but basic PL/SQL should work exactly as it does in whatever edition of the database you're using now.
It's not obvious to me, however, that this is really the solution to the problem you're having. If test cases are getting changed without that information getting communicated to developers or test data that one person is relying on is being changed by some other person, creating more database instances with more copies of the same data isn't likely to be terribly helpful. If you have a local copy of the database, you need some way of getting the current version of all the objects (tables, packages, triggers, etc.). You need some way of getting the data that a particular tester is relying on. You need some way of moving your changes from your machine to the shared databases in a way that doesn't stomp on the changes other developers are making. None of these hurdles are insurmountable, but they do require a very solid build and deployment process-- otherwise, you end up with chaos where the version of code in your database is subtly different than the version of code in everyone else's database and the test data in your system has slightly different characteristics than the test data that QA is using leading to lots of bugs that are reproducible on one system but not another. If your current build and deployment process can't even ensure that test cases aren't changing while bugs are being investigated, I would tend to expect that adding more instances is going to make the problem worse, not better.
We have a Delphi 5 app connecting to an Oracle 8i database.
Most logic is siting in the database as Stored Procedures. Currently we are using the Borland Database Engine (BDE) to connect to Oracle via OCI client 9.2.
This app was originally written in '96 using Delphi 1 then upgraded to Delphi 5 in '99.
The plan is to upgrade to XE client and Oracle 11g.
What are what the options to simply replace the BDE with something else and keep the effort to a minimum?
So far I have seen:
AnyDAC (http://www.da-soft.com/anydac/)
devart ODAC (http://www.devart.com/odac/)
DOA (http://www.allroundautomations.com/)
I am not considering DBExpress as I do not believe that it will have the performance that we need.
Things that are important are:
ease of upgrade, e.g. wizard or some other tool to convert DBE components,
Good Performance.
I am leaning towards devart as they do have a migration tool (although it only does a partial job) and they have a direct TCP option to connect to database without the need for a client.
You will need to learn about the differences between BDE and other architectures. Whether you plan to move to dbExpress or not you should read and learn from this whitepaper.
The architecture of dbExpress is an intentional architecture, designed to address critical flaws not only in the BDE's lowest levels, but also in its upper levels (the TTable/TQuery components) and architecture. Understanding the reasons for those changes, and the limitations in the BDE that they address, is a key element in moving your app off the BDE, to anything.
As for your contention on performance, I like to see people use real data, not form opinions based on hand-waving, or adjectives like "fast" imparted upon objects, without experimental backing.
I have not personally used DOA, but if I wasn't going to use dbExpress, that would be the next thing I would evaluate, for Oracle-only environments. nevertheless, I wouldn't assume that dbExpress is slower, without testing both in my own environment.
Updated: Originally I mentioned Delphi OCI, but it turns out it's out of date, and not very active. DelphiOCI project on sourceforge, works with Delphi 7 and before, not on unicode delphi, and only with older (Oracle 8i and older) oracle versions... If this was able to work in my environment, I'd have tried it. Oh, and it's GPL. Okay. Not so great.
Both ODAC and DOA (although DOA development is pretty stale lateley) will give you access to Oracle features dbExpress and other generic DB access libraries will usually not allow access to. If your application does support Oracle only, and doesn't need to support other DBs, it's IMHO far better to exploit Oracle capabilites fully.
The ease of port depends on how you wrote you BDE component code. ODAC has tools to simplify BDE porting (I never used them, though), while AFAIK DOA has not.
DOA TOracleQuery is not a TDataset descendant, and thereby is not a direct TQuery replacement, although it has less overhead, and thereby has good performance, while TOracleDaset is the only dataset-like component.
I would not use the ODAC direct TCP connection to Oracle without the Oracle client but for very special needs - it is an unsupported (by Oracle) connection, I'd prefer to use Oracle Instant Client if a small (relatively...) footprint is needed, at least it is a fully supported option and let you (or your customers) open support request with Oracle if needed.