Can't see database views (Oracle 11g)
Hi,
Latest PowerQuery (PowerQuery_2.10.3598.81 (32-bit) [en-US]) don't show Views and Synonyms when connecting oracle db (11g)
Tables shown without problem.
What is the problem?
This will be fixed in the next release of Power Query, which is expected relatively early in April. We will show views but not synonyms.
Could you describe the relative importance or value to you of being able to use synonyms? Without any customer data, I decided to leave them out because our test server has 1172 tables, 493 views and 37954 synonyms -- and choosing an item from a list of
over 38,000 values is not very practical.
Similar Messages
-
Can we access Oracle 10g R2 database from Oracle 11g Client
Hi,
Can any1 tell me can we access Oracle 10g R2 database from Oracle 11g Client ? I m unable to find a Oracle Client 10g R2 for Windows 7 32 bit.
Below link is for Vista only
http://www.oracle.com/technetwork/database/10203vista-087538.html832812 wrote:
Hi,
Can any1 tell me can we access Oracle 10g R2 database from Oracle 11g Client ? I m unable to find a Oracle Client 10g R2 for Windows 7 32 bit.
Below link is for Vista only
http://www.oracle.com/technetwork/database/10203vista-087538.html
Check this note for client/server compatibility
Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1] -
Migrate peoplesoft sybase HRMS database to oracle 11g
Hi All,
I want to know if I can migrate a sybase peoplesoft HRMS database to oracle 11g using sql developer 3.0. I am trying to do this following the steps given in the link below but it is taking for ever for the convert step, I could see the messae saying building converted model.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SybaseMigration/SybaseMigration.htm
The sybase database is 55GB and the version is 12. There are around 20,000 tables in Sybase Database.
Please advise, if this is possible with SQL Developer??
If yes, how long this process might take(for each step in the above link), based on any past convertions of the same size database??
If this is not feasable with SQL Developer because of the complexity of the database, are there any other tools we can look into which might be faster/better than SQL Developer.
Please advise.
Thanks..Hi Dermot, Tanks for the reply.
"Do you know the number of views and procedures captured". Below is the ouput from some of the tables in migration repositary.
count from md_derivatives table, grouped by derived_type.
MD_CATALOGS 1
MD_USERS 1
MD_CONNECTIONS 2
MD_SCHEMAS 4
MD_TRIGGERS 40
MD_VIEWS 34316
MD_TABLES 48048
MD_INDEXES 55850
MD_INDEX_DETAILS 112043
MD_COLUMNS 766244
Count from md_views table 34316
Count from md_additional_properties table 110322
"Is there a chance the convert phase has hung, or does it refresh ever so ofter with details of another object being "migrated"?"
It is not hung. I can see the message 'Translating views' right now, and the View names change often but not fast roughly every minute. When I checked for what the session is doing, I could see the below two sql statements.
SELECT PROP_KEY, VALUE, PROPERTY_ORDER, CONNECTION_ID_FK
FROM MD_ADDITIONAL_PROPERTIES
WHERE REF_ID_FK = :1
ORDER BY PROPERTY_ORDER;
SELECT ID
FROM MD_TABLES -- Some times this is MD_VIEWS
WHERE SCHEMA_ID_FK = :1 AND UPPER (TABLE_NAME) = UPPER (:2)
"What is the current "Being migrated" information?"
Translating View xxx.
"Does the tablespaces your migration repository schema is based on have sufficient space?"
Yes, Since there is no data at this point, it is all done in one table space which is set to grow UNLIMITED. At this point the size of the table space is a little over 500M.
"Is SQL Developer being run on the same machine as the Oracle database containing the migration repository? (conversion can be alot quicker for procedure,view,trigger conversion if SQL Developer is on the same machine as the repository)"
NO. SQL developer is running on my machine but the migration repositary is in the database which is on HP-UX box. Below are some of the details of the server. Also, since the database in on HP-UX, I couldn't find SQL developer for UNIX. I also read in the release note of 3.0 that it is not supported with UNIX, Is that right? else is there a way I can install SQL developer on the Unix server and that might improve the performance!, if yes, please guide me with the steps to do this installation.
Server:
Processors: 4, CPU version: PA 8700 CPU module 3.1, clock Frequency: 750MHz, Hardware Model: 900/800/L3000-7x, Kernel width Support 64.
Physical Memory 8199.3 MB
Real Memory --> Active: 2990487.0 KB, Total: 3956471.8 KB
Virtual Memory --> Active: 5787735.5 KB, Total: 6864998.0 KB
Free Memory Pages: 127049 at 4 KB/page
Swap Space --> Avail: 4096 MB, Used: 4096 MB, Free: 0 MB
OS Identification: B.11.11 U
I see the below when I do a 'glance' on the server. Looks like it is using most of the memory and the Swap. These are the numbers from the server after the migration started, they stay consistent all time with very small variation.
CPU Util S SR RU U | 34% 31% 39%
Disk Util F F | 4% 4% 13%
Mem Util S SU UB B | 93% 93% 93%
Swap Util U UR R | 86% 86% 86%
PROCESS LIST Users= 1
User CPU Util Cum Disk Thd
Process Name PID PPID Pri Name ( 400% max) CPU IO Rate RSS Cnt
oraclefap 16560 1 178 oracle 97.9/98.3 132507 0.1/ 0.6 16.0mb 1
My Machine where SQL Developer is Running
Windows XP Professional SP3. 2GB Memoery. All this, time I was using around 1 Gb of memory while this process is running, Out of which SQL developer uses only 200 to 300 MB at any given point and the CPU is less than 5%.
"What version of Oracle database have you installed the migration repository in?"
Below is the Banner.
Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for HPUX: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Also please let me know about this request I have popsted. https://apex.oracle.com/pls/apex/f?p=43135:7:2259365896228241::NO:RP,7:P7_ID:29361
I would greatly appreciate any help. Thanks again. -
Can we use hints in oracle 11g version ?
can we use hints in oracle 11g version ? is it working ??
Why do you ask these questions? Have you looked at the SQL Reference Guide and Performance Tuning Guide for your Oracle version - both which covers using hints?
Have you see a statement that is not supported? Or does not work?
Or are you simply doing idle speculation and expecting forum members to spend their free time in answering a basic question where the answer is ridiculously simply to find? -
Primavera 6.2 SQL Database to Oracle 11g migration
Hi,
I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
Best Reagrds,user11108903 wrote:
Hi,
I used the migration tool to migrate a Primavera 6.2 SQL database to Oracle 11G DB. The migration tool runned successfully and I am able to login to the database using P6.2 client with no problem; however when attemptiong to update the license on the now Oracle database using the privuser account I get the following error "License could not be loaded because of error: List index out of bounds (247). Please make sure that you are using a privileged database login" the error comes up before I can browse to the location of licesne.txt file. Same procedure on a "native" Oracle P6.2 database works perfectly with no problem. Has any one run into this problem before? any help will be appreciated.
Best Reagrds,I have not seen that specifically but it appears that not all of the grants were correctly applied.
I would suggest running the schema validation tool which can be found on the knowledgebase as Solution ID: prim75459 as this will tell you what is missing/invalid.
Once you know that, you can pull the neccesary grants from the create scripts located in the cd1\install\database\scripts folder. -
Migrate peoplesoft sybase HR database to oracle 11g
Hi All,
We am looking to migrate from sybase 12 to Oracle 11g. We are not sure on which path to choose for this migration to be done. Ths sybase Database is around 55 GB. Below are few questions. Please let me know. The down time on this database can not be more than 2 days at the max.
1. What is the best and fastest way to do this, if there is one?
2. Any Documentation on steps involved in migration?
3. Do we have to use any 3rd party tools for this?
4. Can we achieve the data migration with sql loader, if yes is it the suggested way to do this and is there any documentation on this?
I tried sql developer to do the migration but it did not go well and finally found that it is not the way to migrate a Database with peoplesoft environment, below is the link to explain more about what I have done with sql developer.
If there is any other information required, below link has almost all the information.
Re: Migrate peoplesoft sybase HRMS database to oracle 11g
Thanks
Kranthi1) Build an Oracle Demo system patched to the same release level as the current production system.
2) Launch Application Designer and compare the production system to the demo system so you may capture the modifications.
3) Load a custom table with the tables listed in the MVPRDEXP.EXP in the production system. Run a script to create an export script for all PSRECDEFN where the RECTYPE is 0. This identifies all application data tables. You may want to dms export large tables in parallel.
4) DMS Import the exported data into the Oracle instance.
5) Reapply the modifications. -
Can i see logfile for oracle-xe on RHEL4 ( redhat OS ) ?
Can i see logfile for oracle-xe on RHEL4 ( redhat OS ) ?
Where the logfile store ?
i want to see if i got problem like
:can't connect oracle-xe
:can't access htmldb
:can't run complete
and others.
Thank you very much
pratchayaHello:
What logfiles are you refering to?
database logs (i.e.: alert.log... user dumps?)?
Their location can be queried from sqplus:
XE>show parameter dump_dest
NAME TYPE VALUE
background_dump_dest string /usr/lib/oracle/xe/app/oracle/
admin/XE/bdump
core_dump_dest string /usr/lib/oracle/xe/app/oracle/
admin/XE/cdump
user_dump_dest string /usr/lib/oracle/xe/app/oracle/
admin/XE/udumpListener's log can be queried with 'lsnrctl status' command:
$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Beta on 12-JAN-2006 09:07:15
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Beta
Start Date 12-JAN-2006 08:10:45
Uptime 0 days 0 hr. 56 min. 30 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...If your client can't connect, you should have a message with reason why (i.e.: TNS-xxxxx) and client side log.
Do you have any specific issue?
Let us know,
Andrea -
Can't see MySQL views in Crystal Reports in VS2010
I am creating a report in VS2010. I have used Database Expert to create a new ODBC connection and I can see my database and its tables but I can't see the views that are there. In Options for the connection I have both Tables and Views ticked. Can anyone help?
Hello Peter
Make sure you are using Service Pack 5 for CR for VS:
http://scn.sap.com/docs/DOC-7824
Make sure the ODBC datasource is a System DSN
Are you able to see the views if you try OLE DB?
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Share Your Knowledge in SCN Topic Spaces -
Creation of two databases in oracle 11g on linux
HI,
I need to create two databases in oracle 11g on linux.
how to set SID'S in .bash_profile and change the init.ora file.
pls anyone let me know
thanks
srinivasIf you have different databases on same node you could choose to not set ORACLE_SID in shell init file but use instead interactive oraenv Oracle script to set the right ORACLE_SID.
Please read Configuring the Operating System Environment Variables in http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/em_manage.htm#ADMQS12369
To create easily a database (ie without using your own scripts) try to use DBCA that will automatically take care of database initialization file: http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/install.htm#BABEIAID
Edited by: P. Forstmann on 5 août 2011 12:01 -
Exporting database from oracle 11g and then importing it in oracle 10g
Hi! there every one...
please tell me the way to export the data and my data structures i.e the complete database from Oracle 11g to older version(oracle 10g) and how to import it there..
i'm moving the database from one machine to another without lan, preferably via storage device...EXPORT FROM 11G to 10G.
1) log on to 11G box.
2) cd /<>/product/app/oracle/product/10.2/network/admin/
3) Get the connection string from tnsnames.ora for the respective instances
4) export ORACLE_HOME=/<>/app/oracle/product/10.2.0
5) export LD_LIBRARY_PATH=$ORACLE_HOME/lib
6) cd /<>/app/oracle/product/10.2.0/bin
7) #>./exp file= test.dmp ......
Username: user1@<connection_string>
Password:*******
8) Import as usual -
MS SQL Server system stored procedures can't be migrated into Oracle 11g
During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
create or replace
PROCEDURE spPwSysID_GetNextID
v_ID OUT NUMBER,
iv_SysType IN NVARCHAR2 DEFAULT NULL ,
iv_Cnt IN NUMBER DEFAULT NULL
AS
v_SysType NVARCHAR2(50) := iv_SysType;
v_Cnt NUMBER(10,0) := iv_Cnt;
v_result NUMBER(10,0);
BEGIN
--SQL Server BEGIN TRANSACTION;
utils.incrementTrancount;
v_Systype := UPPER(v_Systype) ;
IF v_Cnt < 1 THEN
v_Cnt := 1 ;
END IF;
v_result :=sp_getapplock(v_Resource => v_Systype,
v_LockMode => 'Exclusive') ;
IF v_result >= 0 THEN
BEGIN
SELECT ID
INTO v_ID
FROM PWSYSID
WHERE SysType = v_SysType;
IF SQL%ROWCOUNT = 1 THEN
UPDATE PwSysID
SET ID = ID + v_cnt
WHERE SysType = v_SysType;
ELSE
BEGIN
INSERT INTO PwSysID
( ID, SysType )
VALUES ( v_cnt + 1, v_SysType );
v_ID := 1 ;
END;
END IF;
v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
END;
ELSE
BEGIN
raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
END;
END IF;
utils.commit_transaction;
END;During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
create or replace
PROCEDURE spPwSysID_GetNextID
v_ID OUT NUMBER,
iv_SysType IN NVARCHAR2 DEFAULT NULL ,
iv_Cnt IN NUMBER DEFAULT NULL
AS
v_SysType NVARCHAR2(50) := iv_SysType;
v_Cnt NUMBER(10,0) := iv_Cnt;
v_result NUMBER(10,0);
BEGIN
--SQL Server BEGIN TRANSACTION;
utils.incrementTrancount;
v_Systype := UPPER(v_Systype) ;
IF v_Cnt < 1 THEN
v_Cnt := 1 ;
END IF;
v_result :=sp_getapplock(v_Resource => v_Systype,
v_LockMode => 'Exclusive') ;
IF v_result >= 0 THEN
BEGIN
SELECT ID
INTO v_ID
FROM PWSYSID
WHERE SysType = v_SysType;
IF SQL%ROWCOUNT = 1 THEN
UPDATE PwSysID
SET ID = ID + v_cnt
WHERE SysType = v_SysType;
ELSE
BEGIN
INSERT INTO PwSysID
( ID, SysType )
VALUES ( v_cnt + 1, v_SysType );
v_ID := 1 ;
END;
END IF;
v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
END;
ELSE
BEGIN
raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
END;
END IF;
utils.commit_transaction;
END; -
Snapshot standby database in oracle 11g r2 RAC
Folks,
i am just wondering if the process is same for standalone and RAC snapshot standby database.
We have a DR test
1 / I just converted the standalone DR on 11g to snapshot standby database for users to do some testing and reverted back to physical standby after test was done. i folllowed metalink note ID 443720.1
2/ now there is anotherDR test where we have 2 node prod and 2 node DR on oracle 11g rel2 RAC, so not sure we can follow the same process that i used for 11g standalone database. If somebody have done this on RAC, would you please provide the steps ?
Thanks in advance
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> !uname -a
Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/LinuxI haven't done a Snapshot Standby (RAC or non-RAC). But I see no reason why it shouldn't work with a RAC Standby either.
The command is a Database level command, not an Instance level command.
Hemant K Chitale -
Cannot see Database Views for a new Datasource
I need to bind some text fields to a Oracle Database View (not a Database Table, I can see them fine).
If I drill down into the Oracle Datasource, I don't see any of the required views.
Although the schema I am using do not own these views, I have a public synonym set up for the view. The schema I am using do have access to SELECT on the view.
Do anyone know if Creator will recognize these Oracle synonyms for the view? Or even better, does creator recognzie tables through Database Links?
Ritchie>
I'm using the jt400 driver w/ an AS400 DBI'm guessing that's the issue.
try this:
select your data source and right-click "view data".
Enter the special undocumented query
getmetadataand run.
This show the schema/table/view/etc metatdata returned by the db/driver.
Check the output section for getTables(null, null, "%", new String[] {"VIEW"}
Any rows?
If not, try another driver.
If there are VIEW rows, then it's a Creator bug - those bastards! :) -
Cloning A Database In Oracle 11g
Hi All,
I am cloning a database from one server to other server. I am using oracle 11g version:-
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Solaris: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
I am new to DBA and I need your help to perform this. I have done a installation of a database but cloning I am doing for the first time. The database size which I want to clone is of 6GB, so i won't think it will take much time to clone the database.
While checking in google I come to know that the same thing can be performed by RMAN. Can anyone of you suggest me how to do this activity step by step.
If you can share any links where I can see all of the steps it will be helpful.
Thanks in advance.
Regards,
Arijit937670 wrote:
Hi All,
I am cloning a database from one server to other server. I am using oracle 11g version:-
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Solaris: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
I am new to DBA Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
Go to tahiti.oracle.com.
Drill down to your product and version.
<b><i><u>BOOKMARK THAT LOCATION</u></i></b>
Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
Do the same with the SQL Reference Manual.
Do the same with the Utilities manual.
You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
Then set yourself a plan to dig deeper.
- Read a chapter a day from the Concepts Manual.
- Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
- Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
- When you have finished reading the Concepts Manual, do it again.
Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
and I need your help to perform this. I have done a installation of a database but cloning I am doing for the first time. The database size which I want to clone is of 6GB, so i won't think it will take much time to clone the database.
While checking in google I come to know that the same thing can be performed by RMAN. Can anyone of you suggest me how to do this activity step by step.
If you can share any links where I can see all of the steps it will be helpful.
In the above library, look for "Backup and Recovery User's Guide"
Thanks in advance.
Regards,
Arijit -
Procedure for creating logical standyby database for oracle 11g?
Hi all,
can anybody provide me docs /procedure for creating logical standby databse for oracle 11g standard edition.
AravindAravind,
1. The Oracle Standard Edition does not have standby mechanism, you should do it manually or go for Enterprise Edition.
2. It's rather a question for General Database Discussions instead of Peoplesoft.
Any further question regarding that point, please post out there.
Nicolas.
Maybe you are looking for
-
How to select records in ALV using FM
Hi guys, How to select records in ALV using FM. Not the OO method. Thx in advance! Kun
-
Should have known better than by an Apple Product
Since having this 400 dollar piece of crap I have wished that I haven't bought it. Should have gone with Creative Labs like I was going to in the first place. Again Apple has caused me to think twice about their products, man I am glad I didn't make
-
So i have a dead pixel on my MBP will apple place it if i go to the store?
Its a Late 2013 MBP and its the higher end 16gb ram model Ive only had it a few months so its under the one year warranty, and it had like 1 or 2 really annoying dead pixels. Will apple replace it or repair it if i take it in?
-
REUSE_ALV_FIELD_CATELOG_MERGE issue
Hi , This mentioned FM is creating dump . dump is "READ_REPORT_LINE_TOO_LONG" . I don't know why . please tell me if u know CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = repname i_internal_tabname = 'IT
-
Oracle jinitiator for Windows Vista
Hi All, Is oracle jinitiator 1.3.1.25 compatible to Windows Vista? We have Oracle E-Business Suite 11i (11.5.10). Whenever we access the application, in Windows XP, Internet Explorer 6 or 7, the oracle jinitiator launch without any problem. Now we ha