Using crs_profile -create instead of srvctl add database
Hello,
Ct has created a new database he want to register it using crs_profile -create , i asked him to use srvctl, he asks about the effect of using crs_profile -create .
if you're managing Custom Applications. (use CLusterware manages some application)... crs_profile be you choice.
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/crschp.htm#RACAD611
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/crsref.htm#RACAD6008
If you're managing ora.* resources (example: asm, instance, db), you should use srvctl
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/srvctladmin.htm#RACAD5002
Oracle NOTE:
Do not use the Oracle Clusterware commands crs_register, crs_profile, crs_start or crs_stop on resources with names beginning with the prefix ora unless either Oracle Support asks you to, or unless Oracle has certified you as described in http://metalink.oracle.com. Server Control (SRVCTL) is the correct utility to use on Oracle resources.
Similar Messages
-
SWPM RAC DB instance install error on srvctl add database -d
Hello,
We are currently installing a distributed NW 7.31 system with Oracle RAC on ASM.
SCS ran successfully ,and now we are trying to install db instance.
During phase 'Create database' the installation stops with error code 1.
The log is:
WARNING 2014-04-28 19:14:00.451
CJSlibModule::writeWarning_impl()
Execution of the command "/oracle/ISP/112/bin/srvctl add database -d ISP -o /oracle/ISP/112 -p +ISP_DATA/ISP/spfileISP.ora -a ISP_DATA" finished with return code 1. Output:
/oracle/ISP/112/bin/srvctl: line 87: dirname: No such file or directory
/oracle/ISP/112/bin/srvctl: line 94: dirname: No such file or directory
/oracle/ISP/112/bin/srvctl: line 148: uname: No such file or directory
****ORACLE_HOME environment variable is not set.
ORACLE_HOME should be set to the main
directory that contains Oracle products.
Set and export ORACLE_HOME, then re-run.
ERROR 2014-04-28 19:14:00.454
CJSlibModule::writeError_impl()
CJS-30023 Process call '/oracle/ISP/112/bin/srvctl add database -d ISP -o /oracle/ISP/112 -p +ISP_DATA/ISP/spfileISP.ora -a ISP_DATA' exits with error code 1. For details see log file(s) srvctl.log.
I don't know why the SWPM asks for the spfile if this is a fresh installation. The only file that exists is initISP.ora
Perhaps SWPM was supposed to create an spfile<SID>.ora from init<SID>.ora?
I hope someone out there has encountered this before
Best Regards,
FabianHello,
I'm facing the same problem with SWPM:
An error occurred while processing option SAP NetWeaver 7.0 including Enhancement Package 2 > Software Life-Cycle Options > System Copy > Oracle > Target System Installation > Distributed System > Based on AS Java > Database Instance( Last error reported by the step: Process call '/oracle/DEP/112/bin/srvctl add database -d DEP -o /oracle/DEP/112 -p +DEVDEP01/DEP/spfileDEP.ora -a DEVDEP01' exits with error code 2. For details see log file(s) srvctl.log.)
[oracle@sapdtdb01 DB]$ cat srvctl.log
/oracle/DEP/112/bin/srvctl: line 87: dirname: No such file or directory
/oracle/DEP/112/bin/srvctl: line 94: dirname: No such file or directory
/oracle/DEP/112/bin/srvctl: line 148: uname: No such file or directory
PRCD-1025 : Failed to create database DEP
PRCT-1011 : Failed to run "srvctl". Detailed error: [/oracle/DEP/112/bin/srvctl: line 87: dirname: No such file or directory, /oracle/DEP/112/bin/srvctl: line 94: dirname: No such file or directory, /oracle/DEP/112/bin/srvctl: line 148: uname: No such file or directory]
Manualy I can execute and register the db:
/oracle/DEP/112/bin/srvctl add database -d DEP -o /oracle/DEP/112 -p +DEVDEP01/DEP/spfileDEP.ora -a DEVDEP01
I updated de .bash_profile and .bashrc
PATH=$PATH:$HOME/bin:/oracle/DEP/112/bin
ORACLE_HOME=/oracle/DEP/112
ORACLE_SID=DEP
ORACLE_BASE=/oracle/DEP
GRID_HOME=/crs/product/11.2.0.3/
LD_LIBRARY_PATH=/oracle/DEP/112/lib
export PATH
export ORACLE_HOME
export ORACLE_SID
export ORACLE_BASE
export LD_LIBRARY_PATH
Can you please advise?
Best regards
António -
Trying to add database 9i to cluster 11.2.0.1 gives errors
Hello,
Versions:
S.O: Solaris SPARC 64bit
database: 9.2.0.8
cluster: 11.2.0.1
I am trying to add and start a database 9.2.0.8 to a cluster 11.2.0.1.
The add database works fine: srvctl add database -d orcl -o /u01/app/oracle/product/9.2.0/dbhome_5 -p '/u01/app/oracle/product/9.2.0/dbhome_5/dbs/spfileorcl.ora';
The add instance also: srvctl add instance -d orcl -i orcl1 -n node1
But when I try to start the instance with srvctl start instance -d orcl -i oracl1 I get the following errors:
PRCR-1013 : Failed to start resource ora.orcl.db
PRCR-1064 : Failed to start resource ora.orc.db on node node1
CRS-5011: Check of resource "orcl" failed: details at "(:CLSN00007:)" in "/u01/app/11.2.0/grid/log/node1/agent/crsd/oraagent_oracle/oraagent_oracle.log"
CRS-2674: Start of 'ora.orcl.db' on 'node1' failed
GIM-00090: OS-dependent operation:open failed with status: 2
GIM-00091: OS failure message: No such file or directory
GIM-00092: OS failure occurred at: sskgmsmr_7
the log says:
2011-08-20 17:20:34.810: [ AGFW][11] Command: start for resource: ora.orcl.db 1 1 completed with status: SUCCESS
2011-08-20 17:20:34.811: [ AGFW][7] Executing command: check for resource: ora.orcl.db 1 1
2011-08-20 17:20:34.811: [ora.orcl.db][7] [check] Gimh::check OH /u01/app/oracle/product/9.2.0/dbhome_5 SID orcl1
2011-08-20 17:20:34.812: [ AGFW][9] Agent sending reply for: RESOURCE_START[ora.orcl.db 1 1] ID 4098:924247
2011-08-20 17:20:34.813: [ora.orcl.db][7] [check] GIMH: GIM-00104: Health check failed to connect to instance
GIM-00090: OS-dependent operation:open failed with status: 2
GIM-00091: OS failure message: No such file or directory
GIM-00092: OS failure occurred at: sskgmsmr_7
2011-08-20 17:20:34.813: [ora.orcl.db][7] [check] (:CLSN00007:)DbAgent::check failed gimh state 0
2011-08-20 17:20:34.813: [ora.orcl.db][7] [check] Exception type=2 string=CRS-5011: Check of resource "orcl"
failed: details at "(:CLSN00007:)" in "/u01/app/11.2.0/grid/log/vettel/agent/crsd/oraagent_oracle/oraagent_oracle.log"
2011-08-20 17:20:34.814: [ AGFW][9] Agent sending reply for: RESOURCE_START[ora.orcl.db 1 1] ID 4098:924247
2011-08-20 17:20:34.814: [ AGFW][7] check for resource: ora.orcl.db 1 1 completed with status: FAILED
2011-08-20 17:20:34.815: [ AGFW][9] ora.orcl.db 1 1 state changed from: STARTING to: FAILED
2011-08-20 17:20:34.815: [ AGFW][7] Executing command: res_attr_modified for resource: ora.orcl.db 1 1
2011-08-20 17:20:34.815: [ AGFW][9] Agent sending last reply for: RESOURCE_START[ora.orcl.db 1 1] ID 4098:924247
2011-08-20 17:20:34.816: [ora.orcl.db][7] [res_attr_modified] clsn_agent::modify {
2011-08-20 17:20:34.816: [ora.orcl.db][7] [res_attr_modified] clsn_agent::modify }
2011-08-20 17:20:34.816: [ AGFW][7] Command: res_attr_modified for resource: ora.orcl.db 1 1 completed with status: SUCCESS
2011-08-20 17:20:34.816: [ AGFW][9] config version updated to : 150 for ora.orcl.db 1 1
2011-08-20 17:20:34.816: [ AGFW][9] Agent sending last reply for: RESOURCE_MODIFY_ATTR[ora.orcl.db 1 1] ID 4355:924252
2011-08-20 17:20:35.829: [ AGFW][9] Agent received the message: RESOURCE_CLEAN[ora.orcl.db 1 1] ID 4100:924293
2011-08-20 17:20:35.829: [ AGFW][9] Preparing CLEAN command for: ora.orcl.db 1 1
2011-08-20 17:20:35.829: [ AGFW][9] ora.orcl.db 1 1 state changed from: FAILED to: CLEANING
2011-08-20 17:20:35.830: [ AGFW][7] Executing command: clean for resource: ora.orcl.db 1 1
output from srvctl config database -d orcl -a
Database unique name: orcl
Database name:
Oracle home: /u01/app/oracle/product/9.2.0/dbhome_5
Oracle user: oracle
Spfile: /u01/app/oracle/product/9.2.0/dbhome_5/dbs/spfileorcl.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: orcl
Database instances: orcl1
Disk Groups:
Services:
Database is enabled
Database is administrator managed
I tried to find a health check file for this database but none exists.
Can someone help me out? what file is it trying to find to give this error? "No such file or directory". How can I solve this issue?
Thank you.
Edited by: cibernauta on Aug 20, 2011 10:05 PMHello,
Then why to they say for example here the following:
The Oracle GSD (Global Service Daemon) process, ora.gsd, is typically offline. You must enable Oracle GSD manually if you plan to use an Oracle 9i Real Application Clusters database on the Oracle Clusterware 11g release 2 (11.2) cluster.
??? -
Srvctl config database won't show databases
by using
$ srvctl config database
I saw there is no result I expected. but I do have a couple of RAC databases are running, anywhere I missed to configure?
10.2.0.4 Rac AIX
thanks
Edited by: ROY123 on Nov 30, 2010 12:43 PMby using below:
select name,network_name,creation_date,goal,dtp,AQ_HA_NOTIFICATION,clb_goal from v$services;
I can find out the service name in this RAC
I think the previous dba shoudl do below, to add database...(register):
The configuration should have been performed during the database creation, but it can be performed subsequently using the following commands.
srvctl add database -d ORCL -o /u01/app/oracle/product/10.1.0/db_1
srvctl add instance -d ORCL -i ORCL1 -n server01
srvctl add instance -d ORCL -i ORCL2 -n server02
srvctl add instance -d ORCL -i ORCL3 -n server03
thanks -
Reinstall CRS - SrvCtl start database - PRKR-1001
CRS,RDBMS: 10.2.0.4
I have reinstall CRS whith new ocr and voting disk
but command
srvctl stop database -d TEST
show following error
PRKR-1001 : cluster database TEST does not exist
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: TEST
Have you any advice how may I add my TEST cluster database to CRS RegistryI found myself solution for this questionon on metalink.oracle.com Doc ID: 169454.1
$ srvctl add database -d <db_name> -o $ORACLE_HOME
$ srvctl add instance -d <db_name> -i <instance_name> -n <node1>
$ srvctl add instance -d <db_name> -i <instance_name> -n <node2>
$ srvctl config database -d <db_name> -
How can i create a new and tableless database using database configuration
How can i create a new and tableless database using database configuration
How can i create a new and tableless database using database configuration
Just don't install the sample schemas. See the installation guide
http://docs.oracle.com/cd/E11882_01/server.112/e10831/installation.htm
Using the Database Configuration Assistant
When you install Oracle Database with the Oracle Universal Installer, the sample schemas are installed by default if you select the Basic Installation option. Selecting the sample schemas option installs all five schemas (HR, OE, PM, IX, and SH) in the database. If you choose not to install the sample schemas at that time, you can add them later by following the instructions in section "Manually Installing Sample Schemas".
Choose a custom install and don't install the sample schemas.
All other schems/tables installed are REQUIRED by Oracle -
How can I get a report to use a DSN instead of a database name?
DSNs are great things. By using a DSN in a database connection string, you don't have to worry about what happens if you have to look at a different database, or if a database name changes. All you have to do is change the database the DSN points to, and everything that was built using that DSN still works.
Everything, that is, except Crystal Reports.
I am using CR XI. Our customer's database is named "Anneal", and it uses PostgreSQL. I have several copies of that database, taken at different times and for different purposes, on my machine: "Anneal", "AnnealTest", "Anneal_2_8_10", and on and on. I also have a DSN named "WinCaps". The reorts I have developed for this customer were set up to use an ODBC connection based on the WinCaps DSN. But if WinCaps pointed to the "AnnealTest" database when it the report was created, and then I delete the AnnealTest database and change the WinCaps DSN to point to a database named "Anneal", and then try to open the report, I get a complaint that the AnnealTest database does not exist! Yes, I know it doesn't exist. I am expecting CR to use the DSN I told it to use, which should get me to the Anneal database.
The fact that CR complains about the AnnealTest database tells me that internally, CR is retrieving the actual name of the database and storing that instead of storing the DSN name, completely defeating the purpose of the DSN.
Is there any way I can set up my report to use whatever database the DSN happens to be pointing to, instead of the database the DSN pointed to at design time?
Thanks very much!
Rob RichardsonHi Rob,
Crystal assumes you are setting location to the database and it stays that way when run. Yes we do keep the connection info in the RPT file.
There's a few options that may help. First, can you upgrade to CR XI R2? It' still supported...
Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
Second, in the report itself check on the Verify on first refresh, save the report and then test it on another PC connecting another database.
Next option to to try these registry key changes, usual warnign about altering the registry:
HKEY_CURRENT_USERSoftwareBusiness ObjectsSuite 11.0Crystal ReportsDatabaseOptions - VerifyWhenDBDriverUpgraded = Yes
And try changing this one also - DontAutoConvertODBC = Yes
Close the Designer first or your changes won't stay.
THey may have to simply verify the data manually and then save the report so the updated location info is saved in the Report.
Crystal is very database dependant obviously so asumming changes made to the DSN are automatically updated can cause a lot of issues for the end user also but it depends on your point of view. We consider this working as expected.
Thank you
Don -
Cannot start RAC DB using srvctl start database
Hello Fellows,
We used to have a 10.1.0.4 RAC DB on top of CRS 10.1.0.4 on top of Sun cluster 3.1 on both Sun Solaris SPARC 64-bit 5.9 nodes.
We :
- Unregisted the current RAC DB from the 10.1.0.4 CRS.
- Removed the CRS 10.1.0.4 permanently and cleanly
- Installed a new Clusterware 10.2.0.1 and patched to 10.2.0.4 + patch 8705958.
- CRS servcies are healthy and up :
$ crs_status.sh
ora.tibisdb1.LISTENER_TIBISDB1.lsnr ONLINE ....etc for all other services
Now we are trying to upgrade the RAC DB from 10.1.0.4 to 10.2.
When i started the DBUA it i chose the cluster mode and then DBUA tried to startup both DB instances but it failed. To reproduce this, i registed the databse TIBIS with the 2 instances to the CRS and then tried to startup the DB but it failed:
$ crs_status.sh
ora.TIBIS.TIBIS1.inst OFFLINE OFFLINE
ora.TIBIS.TIBIS2.inst OFFLINE OFFLINE
ora.TIBIS.db OFFLINE OFFLINE ...etc
$ srvctl start database -d TIBIS
PRKP-1001 : Error starting instance TIBIS1 on node tibisdb1
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:
SQL*Plus: Release 10.1.0.4.0 ...
Connected to an idle instance.
ORA-00603: ORACLE server session terminated by fatal error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:IPC init failed with status: 65
ORA-27301: OS failure message: Package not installed
ORA-27302: failure occurred at: skgxpcini
ORA-27303: additional information:libskgxpd.so called
tibisdb1:ora.TIBIS.TIBIS1.inst:libskgxp10.so should reference real implementation.
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> Disconnected
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS1.inst'.
PRKP-1001 : Error starting instance TIBIS2 on node tibisdb2
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS2.inst
BTW, i can open the instances fine through SQLPLUS.
I did a full SRVCTL trace for the command and got the same errors above only.
I also followed also Note :Note : 814896.1
1. cd $ORACLE_HOME/rdbms/lib
2. rename the original library (if exists)
mv libskgxp10.so libskgxp10.so.old
3. Relink to configure UDP for IPC
make -f ins_rdbms.mk rac_on ipc_udp ioracle
4. Check whether the library exists
ls -l $ORACLE_HOME/lib/libskgxp10.so
Same result when try to SRVCTL START DATABASE -D TIBIS
RECENT CHANGES:
- Unregisted the current 10.1.0.4 RAC DB from the 10.1.0.4 CRS.
- Removed the CRS 10.1.0.4 permanently and cleanly
- Installed a new Clusterware 10.2.0.1 and patched to 10.2.0.4 + patch 8705958.
- Try to upgrade/register the 101 RAC DB to 10.2 .
O/S DETAILS:
$ uname -a
SunOS tibisdb1 5.9 Generic_122300-29 sun4u sparc SUNW,Sun-Fire-V240
CLUSTERWARE:
Sun Cluster 3.1
Please advise,
Thank you.
FerasHello,
Thanks first for your following up and trying to help. I appreciate that.
Here is what you suggested :
$ srvctl start instance -d TIBIS -i TIBIS1
PRKP-1001 : Error starting instance TIBIS1 on node tibisdb1
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL*Plus: Release 10.1.0.4.0 - Production on Tue Nov 17 08:57:50 2009
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:Copyright (c) 1982, 2005, Oracle. All rights reserved.
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:Enter user-name: Connected to an idle instance.
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> ORA-00603: ORACLE server session terminated by fatal error
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27504: IPC error creating OSD context
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27300: OS system dependent operation:IPC init failed with status: 65
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27301: OS failure message: Package not installed
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27302: failure occurred at: skgxpcini
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27303: additional information: libskgxpd.so called
tibisdb1:ora.TIBIS.TIBIS1.inst:libskgxp10.so should reference real implementation.
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> Disconnected
tibisdb1:ora.TIBIS.TIBIS1.inst:
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS1.inst'.
$ $ORA_CRS_HOME/bin/crs_stat -p ora.TIBIS.TIBIS1.inst
NAME=ora.TIBIS.TIBIS1.inst
TYPE=application
ACTION_SCRIPT=/oracle/product/10.1.0/db_1/bin/racgwrap
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for Instance
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=tibisdb1
OPTIONAL_RESOURCES=
PLACEMENT=restricted
REQUIRED_RESOURCES=ora.tibisdb1.vip
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=0
STOP_TIMEOUT=0
UPTIME_THRESHOLD=7d
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=
USR_ORA_OPEN_MODE=
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=
$ CRS_HOME/bin/crs_stat -p ora.oradb.oradb1.inst | grep ACTION_SCRIPT
/usr/bin/ksh: CRS_HOME/bin/crs_stat: not found
$ $ORA_CRS_HOME/bin/crs_stat -p ora.TIBIS.TIBIS1.inst | grep ACTION_SCRIPT
ACTION_SCRIPT=/oracle/product/10.1.0/db_1/bin/racgwrap
$ ls -ltr /oracle/product/10.1.0/db_1/bin/racgwrap
-rwxr-x--x 1 oracle dba 629 Oct 17 14:23 /oracle/product/10.1.0/db_1/bin/racgwrap
$ more /oracle/product/10.1.0/db_1/bin/racgwrap
#!/bin/sh
# Wrapper script
ORACLE_HOME=/oracle/product/10.1.0/db_1
export ORACLE_HOME
ORACLE_BASE=/oracle/product/10.1.0/db_1
# export ORACLE_BASE if it is set
if [ ! -z "$ORACLE_BASE" ]
then
export ORACLE_BASE
fi
PATH=$ORACLE_HOME/bin:/usr/bin:$PATH
export PATH
# environment variable need to be set for executing
# lsnrctl, agentctl and sqlplus
ORA_RACG_EXEC_ENV="LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH"
export ORA_RACG_EXEC_ENV
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
#_USR_ORA_DEBUG=1
#export USRORA_DEBUG
$ORACLE_HOME/bin/racgmain "$@"
status=$?
exit $status
$Regarding the Oracle SR, they replied yesterday and requested logs..etc. Waiting for their feedback while trying to resolve this.
Please advise.
Thanks,
Feras -
How to create a user in UME Database using web dynpro java custom application
Hi,
Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
Please suggest me.
Thanks and Regards,
AmitHi Amit,
Generated Documentation (Untitled)
This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
Hope it helps,
D. -
Include or create a view in the database and use this view?
Well, I need to get related data of the main table from another related tables, so one way to do that is to use the Include method in Entity Framework to get this related data.
However, I am thinking in another option, create a view in the database and use this view in entity framework. In this way, I avoid the needed of the include, because I think that is expensive in resources. But I am no very sure about that.
I would like to know if the use of views on entity framework is a good idea to improve the performace or is better to use the include.
For example, if I use the include I have the advantage that I get only one the main record and all the related data I have in the navigation properties, so the info is more shorted.
Which is the advanteges and disadvantages of both methods to get related data in entity framework?
Thank so much.Hello ComptonAlvaro,
>>I would like to know if the use of views on entity framework is a good idea to improve the performace or is better to use the include.
If your view would use a Join syntax to query master-child relationship tables, it actually is similar with the Include() method which actually results a duplicate records from master table, you could check this
link for detail description.
>>Which is the advanteges and disadvantages of both methods to get related data in entity framework?
One visible difference is that records from Views are not editable by default(if you want edit them, you could refer to this
blog).
In your case, my suggestion that you could use the lazying load which will load the matter table once and disable the trace if you only need to display data.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to Use Sequence created in Oracle Database in SQL Ldr Control file
Hi,
I created a sequence in oracle database. How will use the sequence in SQL loader Control file.
Thanks in advanceHi,
You might get a good response to your post in the forum dedicated to data movement , including SQL*Loader . You can find it here Export/Import/SQL Loader & External Tables
Regards, -
how use jndi to create a organization and add a user to it¡£THANKS£¡
ÈçºÎ´´½¨Ò»¸ö×éÖ¯µ¥Î»,²¢½«Ò»¸öÓû§Ìí¼Ó½øËü¡£Ð»Ð»£¡Hi,
The command above about creating a group only works for the root site of the site collection, because the scope of the user group is site collection level, these groups
can be used in all the sites in this site collection.
With the existing groups in the root site, we can add users into them and grant specific permissions of a specific sub site to these groups.
Here is a demo about how to assign permission to a group using Client Object Model(though in C#) for your reference:
http://www.c-sharpcorner.com/UploadFile/54db21/set-permission-to-group-in-sharepoint-2010-programmatically/
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
If I can always use a passcode instead of Touch ID, how does Touch ID add security?
Am I missing something? Even if I have Touch ID enabled, I can always use my passcode instead of Touch ID. So, how does Touch ID *ADD* security?
I can understand always requiring passcode IN ADDITION to Touch ID at particularly sensitive moments (e.g. changing security), but by allwoing passcode to bypass Touch ID, it seems to me that Touch ID adds convenience but not security.
What am I missing?harolde1 wrote:
Does anyone know if Apple (or any of the iPhone vendors, such as Verizon, whom I have used) has claimed that Touch ID ADDS security? If so, can someone explain to me why this is not mis-represenation? I don't mean to be inflammatory, but the dictionary definition of misrepresentation is "the action or offence of giving a false or misleading account of the nature of something" (from Google).
This is a user-to-user technical support forum. Answering questions about what companies have or have not said and the legality of those statements is way outside the purview of this forum. Additionally, speculating on Apple's policies is specifically a violation of the Terms of Use of this forum.
However, I think the first paragraph of this overview from Apple gives a good idea of way "convenience" is nothing to belittle. If it encourages people to use passwords who would not otherwise do so, those people's phones are certainly more secure.
http://support.apple.com/kb/ht5949
Best of luck. -
I would really find a draw application "iDraw" maybe, very useful to create diagrams and overlays on photographs. Is Apple likely to add a module to ilife or iWorks? Failing that, can anyone suggest a freeware, or shareware app? I recall an app some years ago,Studio8 ? It would be really useful for work and home use. regards,alan b
Describe exactlhy what you want to do with photos? There are some apps, like Pages, that can add text and graphics over photos. Describe what you are wanting to do or post an example from somewhere else and we may be able to suggest an app.
OT -
Can Adobe Muse be used to create database driven websites?
Can Adobe Muse be used to create database driven websites, or is it only through "replace image through browse from your computer".
Hi Edgard,
I am afraid that this is not possible in Muse at this stage, I will recommend that you post this on our ideas section over here, Ideas for features in Adobe Muse, and let our devs team know of this requirement.
In muse you can only design static content. For any dynamic content that you need to render via DB, you will need to write custom code and insert it in Muse via 'object -> insert html' option or 'properties -> metadata -> html for head' option.
- Abhishek Maurya
Maybe you are looking for
-
How to know if transactions in AP has been posted to GL
This may be a stupid question but this is the issue. The client said they had posted entries from AP to GL for a particular account. 1.How to verify that the transactions related to that particular account has been duly transferred to GL? Can I use t
-
How to check where a table is used in other programes
Hi all, I am facing one problem... there is a z-table created long back and still being used to store data. There may be some transactions to fill / update this table. Those programs are not coming in where-used list. As per the requirement, i alread
-
Is the difference between the 3gs and the 5 sufficient to warrant the expenditure on changing? I am almost caught by the hype when all I really want is a phone with better reception and doesn't take two to three minutes to boot up after leaving an
-
Get the name of the jsp currently displayed
Hi, how can i get the name of the jsp currently displayed? Thanks.
-
How to flush Delta queue for future SAP upgrades/support pack !
Guys, I'm making documentation regards to " How to flush Delta Queues" in case SAP wanted to upgrade the system or any support pack. Please anyone let me know the effective way to flush out the delta queue in step by step methods. I really appreciate