does M1 chip supports oracle sqlplus database? - oracle

I am planning to buy a new macbook air M1.Just confused about that does it support Oracle sqlplus database because i am currently a 2nd year student of CSE.
If it supports M1 chip then how to configure it(steps require to setup oracle sqlplus data base in M1)

Currently Oracle only supports OSX for the instant client on x86 and ppc. See the oracle download site. When Oracle bought Sun, the stopped supporting the rdbms on OSX. The last support release on OSX was 10.2.0.5 on Snow Leopard and that release was not even completed because of the Sun deal.

Related

Appropriate Oracle download for hibernate-dialect org.hibernate.dialect.Oracle9Dialect

I am altering a legacy software implemented with java spring. Now the challenge is I want to determine the appropriate Database that was used during the initial development.
I have seen somewhere on the code that that the hibernate dialect was org.hibernate.dialect.Oracle9Dialect
So i want to use that piece information to determine which version of oracle to install.
Please i am new to Oracle, So a link to an appropriate url will be appreciated.
9 is an older version of Oracle Database that is no longer supported, and it is no longer available for download from Oracle's Database Software Downloads page. The Oracle9Dialect was deprecated back in 2008, so I wish you the best of luck with your legacy work because I'm sure it is long overdue.
You can request version 9 from Oracle if you have a valid Oracle Database product license (any version,) but if you do not, your options will likely only be third party hosts or acquiring installation media for version 9 by some other means. If you are working with an organization that has you supporting this legacy software, you may have some luck looking through old installation media or asking someone who has been with the company for a while.
From Oracle (bottom of Database Software Downloads page):
Oracle Database 10.2 and 11.1 are no longer available for download. The software is available as a media or FTP request for those customers who own a valid Oracle Database product license for any edition. To request access to these releases, follow the instructions in Oracle Support Document 1071023.1 (Requesting Physical Shipment or Download URL for Software Media) from My Oracle Support. NOTE: for Oracle Database 10.2, you should request 10.2.0.1 even if you want to install a later patch set. Once you install 10.2.0.1 you can then apply any 10.2 patch set. Similarly, for 11.1 request 11.1.0.6 which must be applied before installing 11.1.0.7. Patch sets can be downloaded from the Patches and Updates tab on My Oracle Support.

Go lang connect to Oracle 9i (using go-oci8)

I have a 32 bit Oracle DB (version 9i - 9.2.0.7.0), a 64 bit Mac and am trying to connect to it using go-oci8 with Go Lang (version go1.11.1 darwin/amd64).
I used SQL-Developer 4.0.2 to successfully connect to the DB and then enabled InstantClient connection through it using this tutorial. So I've got things running from the Oracle Client's side.
I'm using InstantClient Version 11.2.0.4.0 (32-bit) for MacOS (basic and SDK), I've used mainly this tutorial almost successfully. After everything, the error I'm getting is:
github.com/mattn/go-oci8 ld: warning: ignoring file /Users/myusername/Downloads/instantclient_11_2/libclntsh.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Users/myusername/Downloads/instantclient_11_2/libclntsh.dylib Undefined symbols for architecture x86_64:
And then a long stack of symbols. Basically the Go oci8 library is trying to use C (which is 64 bit) and tries to build 64 bit files, which will then be used by Go. If I try with the 64 bit version of InstantClient, I have no problems, but I get a "driver: bad connection" error which is because 64bit won't work to connect some reason.
I have no idea what to do to resole this issue - can I somehow force the build of 32 bit files while using go get -u -v github.com/mattn/go-oci8? Or somehow make the 64 bit InstantClient version connect to the old 32 bit Oracle DB?
Any kind of help on how to get this running would be much appreciated.
Edit: I've tried 10.2 Oracle Client, but I can't connect it with go-oci8 (I'm assuming it doesn't support it). The error I get is ../github.com/mattn/go-oci8/oci8.go:113:25: could not determine kind of name for C.OCI_SYSASM
Final edit for people who have the same problem (coming on to a very old Oracle Database) - you can't interface with the readily provided solutions using Go. The libraries listed to work with Oracle operate with Client versions 11.2 and up.
The architecture of the Oracle Client have to match so architecture of your application. I.e. if your Go Lang is 64-bit then the Oracle Client have to be also 64-bit. It does not matter whether the database is 32 or 64-bit.
I think the main problem is, you cannot connect with an Oracle 11.2 Client to a (20 years old!) Oracle 9i database.
Check Client / Server Interoperability Support Matrix for Different Oracle Versions (Doc ID 207303.1) for details.
It says:
For connections between 10.2 (or higher) and 9.2 the 9.2 end MUST be
at 9.2.0.4 or higher. Connections between 10.2 (or higher) and
9.2.0.1, 9.2.0.2 or 9.2.0.3 have never been supported.
You did not tell us which version of "Oracle 9i" your ar using.

How to install Db2 Express C on my MacOSX Yosemite?

How to install Db2 Express C on my MacOSX Yosemite?
MyApproach:
I searched various threads on StackOverflow but I am
not able to download the software from the link:
http://www-01.ibm.com/software/data/db2/express-c/download.html
It is because I am not able to see where the link is for Downloading DB2 for MacOS X Yosemite.
There are only these versions available (32 and 64 bit) of windows and Linux
1)And not particular link for MACOS X
Can anyone guide me Why I am also new to Mac?
#Edit
2)Am I doing Intallation Wrong.What are the causes.Please Explain me how to install all of them?
]2
Db2 Setup LaunchPad is showing blank.
I am also following this thread:
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014927797
But I don't know how to how to do the first step also.
How to create /etc/sysctl.conf. Create the file /etc/sysctl.conf if it does not exist.
DB2 Express-C for Mac OS X appears to be in a state of flux. It's not listed on the download page that you link to, but if you look at the main DB2 Express-C page (http://www-01.ibm.com/software/data/db2/express-c/index.html), you'll see the link near the bottom
DB2 Express-C for Mac OS X Officially Released (Feb 23, 2012)

Setting up the Oracle database on Macbook Pro (OS X Yosemite)

I see that Oracle 11g or 12c doesn't have the download files for OS X. However, there is a version of the SQL Developer available for OS X. What's the point of the SQL Developer when you don't have a database?
How do I install the Oracle database (preferable 12c or 11g Express Edition) on OS X?
You can't install the database server software directly on OS X1. Oracle made a decision some time ago not so support it any more, presumably because it wasn't used enough to justify the costs involved. I seem to recall its demise roughly coincided with Apple dropping their Xserve line, but I may have imagined that.
A client like SQL Developer is a very different proposition from a support perspective. SQL Developer is a Java application, and requires a JVM/JDK to be installed. Java's write-once-run-anywhere may not be entirely true, but it's still likely to be rather less work to support a relatively small Java application than a natively-compiled beast like an full RDBMS. They obviously have to do some work to have a .app bundle and there are some application difference from the Windows version, but they don't have to worry about different architecture, system libraries, etc. as that's the JVM's problem.
You can use SQL Developer on a Mac to connect to a database running on Windows or Unix/Linux etc., so it still has a place; the fact you can't have a local server running on the same hardware isn't really relevant for most people. It just allows developers to use a Mac instead of forcing them on to a Windows or Linux PC.
If you only have access to a Mac then the simplest route is still as noted before, to install VirtualBox and one of the pre-built VM images Oracle provides.
You can also install Windows or Linux on Bootcamp or in your own VM in Virtualbox, Parallels or VMWare; and then install Oracle natively. Using a pre-built image saves you needing to learn how to install the database server software, and also makes it easier to go back - if you really mess something up you can trash it and start again fairly simply.
If you're worried about performance or power use I'd suggest you start with a VM and see how you get on; you can always add Bootcamp later and even move the data across if you want to go down that route.
1 You could try to hack something together of course; it's been done before with 10g but I haven't seen anyone trying it recently so it may not be as easy on Yosemite and 11g/12c.
I ran Oracle Database 12c in my Mac via Docker by this way for development and testing https://koacervate.blogspot.com/2019/01/quick-start-fastest-way-to-run-instance.html.
Hope that is useful for you.
Regards,

Oracle client tools 11g for mac, imp command

Do you happen to now if imp oracle command is included in the oracle client tools 11g for MAC OS?
Actually I have download the packages but I can't seem to find it and I am wondering if there is a trick for this.
Thank you
What you have downloaded is the 'Instant Client'. This is basically a sub-set of the Oracle client, just for connecting to the database. Find out more.
The Instant Client does not include admin utilities such as IMP. For that you need the standard client, which is basically the full database software. However, 10g was the only version ever available for MAC OS. I guess the demand wasn't there. How many MAC OS servers are there?

Resources