ACS View 5 Remote Database
The online help and PDF doc seem a little vague about the remote database feature....I'm wondering whether it will write the entire View database every time or just the new data?
I notice the scheduled jobs is called Export which sounds like it might do the entire db. But, since you can go right down to 1hr intervals it would seem more logical for only new records to be exported - espcially if the database is large.
Thx
It is the delta of data that is exported at each interval
Note only a subset of the monitoring and reporting tables are exported.
You can find more details in Appendix A of the following document:
http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.1/sdk/sdk.pdf
Similar Messages
-
Query Rewrite to Utilize Materialized Views on a Remote Database
We have our materilized views stored at a remote database. Is there a way to utilize query rewrite to rewrite the queries issued on the local database such that queries will refer the materialized views at a remote db?
From the documentation, I already know that the base tables for MVs and MVs should eside in the same instance or the query should be submitted on the instance where MVs reside if base tables are residing in a different remote DB to benefit from query rewrite.
My aim is to utilize query rewrite to reduce the workload on a primary database by passing queries that can be rewritten to use MVs on a remote DB.
Thanks for the guidance,My aim is to utilize query rewrite to reduce the workload on a primary database by passing queries that can be rewritten to use MVs on a remote DB. If you know that MVs are not stale or acceptable of staled data and don't see network bandwidth problems (small set of result), You would try accessing MV tables directly on remote db using dblinks.
-
How to create materialized view log on remote database
How do you create materialized view logs on a remote database.
I tried
create materialized view log on global_express_views.vccs438_project_work_request@h92edwp with sequence, rowid ( columns...)
ERROR at line 1:
ora-00949 illegal reference to remote databaseHi,
I am not getting the error exactly. But have some suggestion:
If the schema owner does not own the master tables, then the schema owner must have the GLOBAL QUERY REWRITE privilege or the QUERY REWRITE object privilege on each table outside the schema.
Hope, this may help you?
Thanx.. Ratan -
View objects in remote database
Hi all,
Could anyone tell me how to view all tables in a remote database? I've created a db link to that remote database already. I'm trying to find one particular table.
Thanks in advance
stoneiidolOh right, thanks.
What do you suggest i should do if i want to find a table in the remote database and i've forgotten that table's name. Can i issue an sql statement to display all the tables in the remote database??
cheers
stoneiidol -
How to view all tables and column names from a remote database
Hey Guys,
I have a database in a remote server. I have the db link and the schema name.. Now i want to view all the tables in the remote database with column names.. I dont have access to that database using sql developer.. But i can view some tables using the db link..Is there any way i can view all the tables with the column names?user10683742 wrote:
Dont think i have DBA access..It gives the following error
ORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist"You don't have to have 'dba' access, per se. You just have to have SELECT ALL TABLES privilege. when you use a db_link, you are connecting to the remote db with the user defined in the link, and .. on that db .. you will have the privileges of the user defined in the db link. Exactly as if you had used sqlplus to connect to that db with that user. -
Unable to get parameter values from a remote database
I am linking to a remote database view via a synonym in Oracle and trying to retrieve parameter values from it. The username and password are the same for the local and remote database and I can run the SQL query using SQL plus against the database and values are returned. However, when I try and run the same query in Crystal Reports (XI) I receive an Oracle error:
"An attempt was made to connect or log in to a remote database using a connection description that could not be found.
Action:
Specify an existing database link. Query the data dictionary to see all existing database links. See your operating system-specific Net8 documentation for valid connection descriptors. "
How can it be that Crystal cannot run the query when it is valid in SQL plus?
Any tips/info would be appreciated.
many thanks
Claire
Oracle is version 10When running one of the reports in VS.Net this is the error I receive:
"A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in crystaldecisions.crystalreports.engine.dll
Additional information: Failed to retrieve data from the database.
Details: [Database Vendor Code: 2019 ]
Failed to retrieve data from the database.
Error in File C:\DOCUME1\CLAIRE1.REE\LOCALS~1\Temp\{0C6C6DD5-B958-4E10-A2AA-928C58E1B7CE}.rpt:
Failed to retrieve data from the database.
Details: [Database Vendor Code: 2019 ]"
When running the same report in Crystal Reports designer I receive this error message:
"Prompting failed with the following error message: 'List of Values failure: fail to get values. [Cause of error: Failed to retrieve data from the database. Details: [Database Vendor Code: 2019]. Failure to retrieve data from the database. Error in File UNKNOWN.RPT. Failure to retrieve data from the database. Details: [Database Vendor Code: 2019]]'.
Error source: prompt.dll Error code: 0x8004380D"
So this one is also failing in the designer.
All the parameters in the main report are static and the ones in the subreport are passed in from the main report. -
Problem while accessing object in remote database
Hi All,
We have a procedure "UPDATE_CONV_DETAILS" created in the remote databse in the "apps" schema. The synonym for the procedure is created in the billing schema(present in the remote database). A dblink is created the local database through which we are tring to access the remote object "UPDATE_CONV_DETAILS".
Dblink script:
create public database link PRE_TO_CEL
connect to BILLING
identified by BILLING
using 'MAP1';
When trying to access the object from the local machine using the schema name.object_name it works fine:
SQL> DESC APPS.UPDATE_CONV_DETAILS@PRE_TO_CEL
PROCEDURE APPS.UPDATE_CONV_DETAILS@PRE_TO_CEL
Argument Name Type In/Out Default?
IN_MOBILE VARCHAR2 IN
IN_SERVICE_CODE VARCHAR2 IN
IN_STATUS VARCHAR2 IN
OUT_ERROR_CODE NUMBER OUT
But when trying the access the same object using the synonym_name it gives the error:
SQL> DESC UPDATE_CONV_DETAILS@PRE_TO_CEL
ERROR:
ORA-04043: object APPS.UPDATE_CONV_DETAILS does not exist
Regards,
KirtiYou have two schema.
apps
billing
both reside in remote database.
there on procedure and on procedure u create one synonym and u want to access it.
ur remote database name is "map1"
on ur local database ur create one dblink to access remote database.
ORA-04043: object string does not exist
Cause: An object name was specified that was not recognized by the system. There are several possible causes:
- An invalid name for a table, view, sequence, procedure, function, package, or package body was entered. Since the system could not recognize the invalid name, it responded with the message that the named object does not exist.
- An attempt was made to rename an index or a cluster, or some other object that cannot be renamed.
Action: Check the spelling of the named object and rerun the code. (Valid names of tables, views, functions, etc. can be listed by querying the data dictionary.) -
Dw cs5 with existing wordpress site hosted on yahoo need help connecting to existing remote database
I am having trouble establishing a database connection. I can connect with test databases but am having trouble using dreamweaver wtih my existing wordpress website. Am I able to use dreamweaver to edit and live view my changes before uploading the changed files to my live site? Am I able to access my existing wordpress database with dreaweaver? I have imported it to my testing server/database but still seem to be having trouble establishing a connection with it (think maybe my folder hierarchy might be off).
macintosh HD/Applications/MAMP/htdocs/nwm/wp/index.php
"nwm" is the name of the folder that I have copied all of my site files to and the folder I have dreamweaver pointing to. "wp" is what I have all of the wordpress files in (the ones I copied from my yahoo server - including all my current theme files etc.)
I am trying to put the info into the mysql connection dialog box:
Connection Name: Testing (i am assuming this name is for my benefit only and doesn't actually matter)
MySQL Server: mysql
User Name: *****
Password: *****
Database: wp
and am getting this message
MySQL Error#: 2013
Lost connection to MySQL server at 'reading initial communication packet', system error 61
did some google seaches of the error. Tried turning off the firewall, and the advance tab allow mysql incoming (there were 2 one was allow one was not allow. I changed both to allow)
Cant really find anything on yahoo to help me out. Looked in phpmyadmin database named wp: wp_users to get the username and password (which due to previous look for help - I think the password was encrypted cuz it looked like a bunch of mumbo jumbo and am fairly certain I know the correct password).
Any help would be greatly appreciated!! I spent $50 on live chat last night trying to resolve the issue only to find out at the end that the guy really didn't understand my problem and doesn't have dreamweaver. I have also watched countless videos on Lynda.com and have been thru forum after forum. While this problem is only a couple weeks old since I just got CS5. I have been having trouble making any headway learning php since I cant seem to make it past the set up parts. I have done the php / mysql essential training on lynda.com with relative success except that I really dont want to work with any more exercise files so I didn't go on to the beyond the basics. I recently went thru most of the Dreamweaver CS5 and Wordpress 3. Also did the first 4 chapters of Dreamweaver CS5 with PHP and MySQL. I need to start integrating things into my live sites. I am also trying to work my way thru the learning php, mysql, javascript book by o'reily media by robin nixon (as fun as reading a math text book) can't get thru it since I can't relate any of it to my current sites/needs
I am on MacBookPro OSX 10.6.6
Installed MAMP to specification on all 20 tutorials I have tried including lynda.com
Tested the testing server and is working
Just installed dreamweaver cs5
have been using wordpress online to create and edit posts (recently upgraded to 3.? whatever the latest update was online which I believe update the files on my yahoo server?)
Have also installed wordpress on my computer (several times thru each tutorial trying to get this right.)
Am I expecting the impossible?If wordpress controls it's own connection why am I unable to use the live view. I have synced the remote site to my local computer so all the files should be just as they are online with the exception of the DB which contains most of the content.
I have done all of those steps. I have even exported the database from inside internet phpmyadmin and imported into computer phpmyadmin. When I hit live view I get one of couple of errors.
1. "One is that the dynamic related files could not be displayed due to an internal server error"
At some point I was able to view some sample files inside dreamweaver. But I would like to be able to view my real site files. I was able to "connect" to the local databases (not the copy of my real one - I think that maybe that was because it is somehow nested inside another db an am going try to reimport to new location). And then I changed the host/username/password trying to deal with the internal server error. Now instead I get the cannot connect to the database Error 2016 or whatever from the origianl post. Also, I am using yahoo if that matters and all I can find about what their server name is: mysql - is that correct?
I have been thru this so many times with so many different tutorials I am losing track of what is what.
2. Can I access my remote database within dreamweaver? I do not want to create dummy files (seems to be a waste of time). And while if it had worked exporting/importing a duplicate on to my computer would have satisfied me for a little while it also seems some what counter productive. Since every post and page is different if I were doing a daily updates etc how would I be able to change the formating or design of them if I can't access the remote files. Would I re- import everytime I want to work on it to get current database?
I am trying to be clear. I listed all the specs I could think as listed in your "how to get help fast post" (yes I read that at least twice too) of all of the steps and possible reasons for my problems. I also thought that the forum was on a seperate site so I didn't think it would count as a duplicate. I am frustrated to tears and am feeling incredibly stupid that after all this time and all these tutorials yes you are right I obviously am not understanding what is going on which is why I am on this forum. -
ORA-28150 when accessing data from a remote database
Portal Version: Portal 3.0.9.8.0
RDBMS Version: 8.1.6.3.0
OS/Vers. Where Portal is Installed:: Solaris 2.6
Error Number(s):: ORA-28150
I have a problem with using a database link to access a table in
a remote database. So long as the dblink uses explicit logins
then everything works correctly. When the dblink does not have a
username then I get the ORA-28150 message. The database link is
always public. A synonym is created locally that points to a
synonym in the remote database. I am using the same Oracle user
in both databases. The Oracle portal lightweight user has this
same Oracle user as its default schema. The contents of the
remote table are always visible to sqlplus, both when the link
has a username and when it doesn't have a username.
All the databases involved are on the same version of Oracle.
I'm not sure which Oracle login is being used to access the
remote database, if my lightweight user has a database schema
of 'xyz' then does portal use 'xyz' to access the remote
database? I would be very grateful for any help or pointers that
might help to solve this problem.
James
To further clarify this, both my local and remote databases
schemas are owned by the same login.
The remote table has a public synonym.
The link is public but uses default rather than explicit logins.
The local table has a public synonym that points to the remote
synonym via the database link.
If I change the link to have an explicit login then everything
works correctly.
I can view the data in the remote database with TOAD and with
sqlplus even when the database link has default login rather
than explicit login.
This seems to point to Portal as being the culprit. Can anyone
tell me whether default logins can be used across database links
with portal?
TIA
James832019 wrote:
One way to do this is by creating a database link and joining the two tables directly. But this option is ruled out. So please suggest me some way of doing this.Thus you MUST use two connection strings.
Thus you are going to be either constructing some intricate SQL dynamically or you are going to be dragging a lot of data over the wire and doing an in memory search.
Although realistically that is what the database link table would have done as well.
Might be better to look at moving the table data from one database to the other. Depends on size of course. -
Replicating clobs and blobs in a remote database across dblink
9iR2
When creating a materialized view in a warehouse pointing to a remote table in an OLTP environment, I got this error when trying to replicate a table with 3 clobs.
ORA-22992: cannot use LOB locators selected from remote tables
So, how does Oracle recommend replicating Blobs and Clobs in a remote database/warehouse? Evidently using materialized views doesnt work.MV replication is obsolete.
Move to 10gR2 and use Streams. -
Oracle VPD on Remote database using DBLINk
Hi All,
How can i apply row level security on a table that is available in another database using DBlink
we have two databases PDSSM and EVTA, and i would like to apply row level security on a table in EVTA from a schema in PDSSM using dblink. MXODSADM IS A SCHEMA IN EVTA AND MXEMBARGO IS A SCHEMA IN PDSSM. there is a dblink(EVTA.GMM.COM) between mxembargo and mxodsadm.
begin
dbms_rls.add_policy (
object_schema => 'MXODSADM',
object_name => 'vehicle_retail_sale',
policy_name => ' MXEMBARGO_EVTA_POLICY',
function_schema =>'MXEMBARGO',
policy_type => dbms_rls.SHARED_CONTEXT_SENSITIVE,
--policy_type => dbms_rls.STATIC,
policy_function => ' MXEMBARGO_EVTA_POLICY.MXEMBARGO_EVTA_PREDICATE',
statement_types => 'select, insert,update,delete',
update_check => TRUE,
enable => TRUE,
static_policy => TRUE
end;
I am a complete Database person and i need to do this in my application, can anyone provide me how can i do this using dblink.wojpik wrote:
hello
I have one short question to you.
Is that possible to create view at remote database using dblink? Following syntax returns error
create view ViewName@DbLinkDame (ColumnName) as
(select 1 from dual )
"ORA-00905:missing keyword"
Is that possible at all?
And particulary - is that possible when remote database is MSSQL and I am using heterogeneous services?
I really appreciate your help
best regards
Wojtek
Edited by: wojpik on Oct 21, 2009 3:59 AMI doubt you would be able to fire any ddl through database link. You have to connect to remote database to run any ddl even if it is Oracle or some other database.
Regards
Anurag -
Insert a blob in remote database using dblink
i have a view (it has a BLOB column) from where i need to select the records. After selecting i need to insert it into a synonym in the remote database through a db link.
if i execute the procedure i get error; ora-22992--cannot use LOB locators selected from remote table. My code is
INSERT INTO [email protected]
SELECT PID,RNO, PTYPE,blob_field
FROM view;
I dont wish to creat a temporary table and still wish to perform the above function.
So is there any method to do this. I tried with DBMS_LOB.APPEND but it didnt work out. Any solution will be greatly appreciated.
Thanks,
-Nitini have a view (it has a BLOB column) from where i need to select the records. After selecting i need to insert it into a synonym in the remote database through a db link.
if i execute the procedure i get error; ora-22992--cannot use LOB locators selected from remote table. My code is
INSERT INTO [email protected]
SELECT PID,RNO, PTYPE,blob_field
FROM view;
I dont wish to creat a temporary table and still wish to perform the above function.
So is there any method to do this. I tried with DBMS_LOB.APPEND but it didnt work out. Any solution will be greatly appreciated.
Thanks,
-Nitin -
Merge a remote database table using dblink
We have a merge statement running in source database which is merging to a table in remote database using db link. The remote table is partitonoed (interval) table.Source db is 10g and target is 11g.
this merge statement is failing with error saying,
error occurred at recursive SQL level 1
00942: table or view does not exist
ORA-02063: preceding 2 lines from ORCL_ONL_LIVE
If anyone have any idea about this error, please share with ususer585870 wrote:
We have a merge statement running in source database which is merging to a table in remote database using db link. The remote table is partitonoed (interval) table.Source db is 10g and target is 11g.
this merge statement is failing with error saying,
error occurred at recursive SQL level 1
00942: table or view does not exist
ORA-02063: preceding 2 lines from ORCL_ONL_LIVE
If anyone have any idea about this error, please share with us
How do you explain the ORA-00942 error first ? Are you able to select that table ? Can we see the merge statement ?
Nicolas. -
Remote Database connection error on local database while running a procedur
Dear Gurus,
I am trying to run a procedure to grant Select Access to all objects of a schema to all schema but getting below error messages:
Error report:
ORA-02019: connection description for remote database not found
This is on local database and all required privileges have been given to run this procedure but I dont understand why this error is being thrown every time. I am able to fetch all the tables directly (i.e. SELECT object_name FROM user_objects where OBJECT_TYPE IN('TABLE','VIEW','MATERIALIZED VIEW') AND STATUS='VALID')
Kindly let me know if you have any solution.
Procedure detail:
declare
sqltxt varchar(250);
cursor course_det is
SELECT object_name FROM user_objects where OBJECT_TYPE IN('TABLE','VIEW','MATERIALIZED VIEW') AND STATUS='VALID';
v_objnm user_objects.object_name%type;
begin
open course_det;
loop
fetch course_det into v_objnm;
exit when course_det%notfound;
sqltxt :='GRANT SELECT ON ' || v_objnm|| ' TO public with grant option';
EXECUTE IMMEDIATE sqltxt ;
end loop;
end;
System detail:
Oracle 11.2.0.3/Linux 5.3
Ragards.
Edited by: 877938 on Mar 20, 2013 12:27 AMHi,
It seems you are fetching records from one database to other. for that you need to create dblink for that.
Create dblink first and then try to fetch records using that dblink.
ORA-02019: connection description for remote database not found
Cause: An attempt was made to connect or log in to a remote database using a connection description that could not be found.
Action: Specify an existing database link. Query the data dictionary to see all existing database links. See your operating system-specific Net8 documentation for valid connection descriptors. -
Replicate some tables from local database server to Remote database sever
how can i replicate some tables from local database server(Oracle 8.1.7 on windows 2000 server) to a remote database server(Oracle 8.1.7 on Sun Solaris)
whenever there is some insertion or updation on the table of base(main) database it should get updated to the remote database server
or
on time base for example: every 2 hours
please help me!!!!It all depends on waht you are going to do with the data on the remote.
if tehre are no updates there, creating a simple materialized view on the remote to pull it's data from the local should suffice.
If there are updates on the remote, you will more than likely want to look into either Multi-master replication, or updatable materialized views.
Maybe you are looking for
-
RAW files from my Fujifilm X-Pro1 open with a blank white box
I'm using an iMac running OS X (ver. 10.9.3) and the newest version of PhotoShop CC and have checked to see that the most recent updates are current. In working with RAW files from my Fujifilm X-Pro1 I am able to bring up a RAW (RAF) image from Bridg
-
TV vs. Computer Monitor for Matrox
I'm exploring getting a Matrox Mini and am looking for a monitor to get for it. It seems that getting a 24" 1920 x 1080 computer monitor (like a Dell SP2309W, HDMI and currently $250) is much cheaper than getting a 1920 x 1080 flat panel TV. In the M
-
I have a few trivial Labview Control questions
1. I'm trying to customize the look of a boolean switch control with the CTL Editor, but I cannot seem to "Import picture" with transparent color information. the original switch has transparent colors, but the clipboard either doesnt store the trans
-
Hi all, I am in need to run a report by passing parameters from the back end. But i cant find the SRW package in my db. I searched it in my both 10g and 11 g databases. Can anyone put the code which involved in the SRW package so that i can
-
Communications Error trying to print to HP Photosmart C2780 via network
Setting up a new HP Photosmart C2780. Using latest drivers from vendor, running software update. Computers running 10.5 will set up and print to printer OK, but computers running 10.4.11 have a different setup procedure, and won't print once it has b