The goal of testing is to reach minimum bug number and using time effectively
as person/day.
Monday, 20 October 2014
What are Verification and Validation in software world?
Verification is that the process of evaluating work-products (not the actual final product) of a development phase to determine whether they meet the specified requirements for that phase.
Activity of Verification: Reviews, Walkthroughs and Inspections
Question: Are we building the product right?
Validation is that the process of evaluating software during or at the end of the development process to determine whether it satisfies specified business requirements.
Activity of Validation: Testing
Question: Are we building the right product?
Ref: http://softwaretestingfundamentals.com/verification-vs-validation/
Activity of Verification: Reviews, Walkthroughs and Inspections
Question: Are we building the product right?
Validation is that the process of evaluating software during or at the end of the development process to determine whether it satisfies specified business requirements.
Activity of Validation: Testing
Question: Are we building the right product?
Ref: http://softwaretestingfundamentals.com/verification-vs-validation/
Labels:
testing,
validation,
verification
How to know SuSE release version?
Only run this command in terminal;
$ cat /etc/SuSE-release
or
$ cat -n /etc/SuSE-release
(-n) to see rows numbers as well
$ cat /etc/SuSE-release
or
$ cat -n /etc/SuSE-release
(-n) to see rows numbers as well
Sunday, 19 October 2014
How to define and drop temporary tablespace?
Please execute the commands as "sys";
SQL> CREATE TEMPORARY TABLESPACE ALPER_TS_TEMP TEMPFILE
'C:\tablespaces\data_01.dbf'
SIZE 8000M
AUTOEXTEND OFF
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M;
To alter the tablespace:
SQL> ALTER TABLESPACE ALPER_TS_TEMP ADD TEMPFILE 'C:\tablespaces\data_temp_new_02.dbf' size 128m;
To drop the tablespace:
SQL> DROP TABLESPACE ALPER_TS_TEMP INCLUDING CONTENTS AND DATAFILES;
Used Oracle Version and OS: Oracle XE and Win7
Ref: http://onlineappsdba.com/index.php/2008/02/08/tablespace-and-datafiles-in-oracle-database-back-to-basics/
SQL> CREATE TEMPORARY TABLESPACE ALPER_TS_TEMP TEMPFILE
'C:\tablespaces\data_01.dbf'
SIZE 8000M
AUTOEXTEND OFF
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M;
To alter the tablespace:
SQL> ALTER TABLESPACE ALPER_TS_TEMP ADD TEMPFILE 'C:\tablespaces\data_temp_new_02.dbf' size 128m;
To drop the tablespace:
SQL> DROP TABLESPACE ALPER_TS_TEMP INCLUDING CONTENTS AND DATAFILES;
Used Oracle Version and OS: Oracle XE and Win7
Ref: http://onlineappsdba.com/index.php/2008/02/08/tablespace-and-datafiles-in-oracle-database-back-to-basics/
Labels:
oracle,
temporary tablespace
How to run .sql file in sqlplus?
Press Windows button + R and press cmd then click "OK".
Write down "below command" and press enter
Full path approach
echo exit | sqlplus hr/hr @C:\sql\example.sql
Oracle path approach
echo exit | sqlplus hr/hr @?/example.sql
? -> $ORACLE_HOME
Example sql: select * from employees;
Used Oracle Version and OS: Oracle XE and Win7
Write down "below command" and press enter
Full path approach
echo exit | sqlplus hr/hr @C:\sql\example.sql
Oracle path approach
echo exit | sqlplus hr/hr @?/example.sql
? -> $ORACLE_HOME
Example sql: select * from employees;
Used Oracle Version and OS: Oracle XE and Win7
How to change a specified string inside all files by recursively?
Only run this command in terminal;
$ find . -type f -exec sed -i 's/'old'/'new'/g' {} \;
You can also use escape character to use '/'.
$ find . -type f -exec sed -i 's/'\\/old'/'\\/new'/g' {} \;
(\\ -> escape characters)
$ find . -type f -exec sed -i 's/'old'/'new'/g' {} \;
You can also use escape character to use '/'.
$ find . -type f -exec sed -i 's/'\\/old'/'\\/new'/g' {} \;
(\\ -> escape characters)
Labels:
linux
How to connect into RMAN tool in Windows?
Press Windows button + R and press cmd then click "OK".
Write down "rman" and press enter
Lastly run that command to connect environment.
RMAN> connect target /
connected to target database: XE (DBID=2732638794)
Write down "rman" and press enter
Lastly run that command to connect environment.
RMAN> connect target /
connected to target database: XE (DBID=2732638794)
Wednesday, 15 October 2014
How to see database open-mode information?
Please execute the commands as "sys";
SQL> SELECT open_mode FROM v$database;
SQL> SELECT open_mode FROM v$database;
Labels:
oracle
How to see database tablespaces?
Please execute the commands as "sys";
SQL> SELECT * FROM v$tablespace;
SQL> SELECT * FROM v$tablespace;
Labels:
oracle
How to see database instance information?
Please execute the commands as "sys";
SQL> SELECT * FROM v$instance;
To see db startup time:
SQL>
SELECT to_char(startup_time,'DD-MON-YYYY HH24:MI:SS') "DB Startup Time"
FROM v$instance;
SQL> SELECT * FROM v$instance;
To see db startup time:
SQL>
SELECT to_char(startup_time,'DD-MON-YYYY HH24:MI:SS') "DB Startup Time"
FROM v$instance;
Labels:
oracle
How to see version of database?
Please execute the commands as "sys";
SQL> select version from v$instance;
SQL> select version from v$instance;
Labels:
oracle
How to see resource limits?
Please execute the commands as "sys";
SQL> SELECT * FROM v$resource_limit;
SQL> SELECT * FROM v$resource_limit;
Labels:
oracle
How to see all tablespace quotas?
Please execute the commands as "sys";
SQL> SELECT * FROM DBA_TS_QUOTAS;
SQL> SELECT * FROM DBA_TS_QUOTAS;
Labels:
oracle
How to see all profiles and assigned limits?
Please execute the commands as "sys";
SQL> SELECT * FROM DBA_PROFILES ORDER BY PROFILE;
SQL> SELECT * FROM DBA_PROFILES ORDER BY PROFILE;
How to configure EM (Enterprose Manager) if has any problem?
On linux terminal;
set ORACLE_SID=<YOURSID>
emca -deconfig dbcontrol db -repos drop;
then;
emca -config dbcontrol db -repos create;
or
emca -config dbcontrol db -repos recreate;
set ORACLE_SID=<YOURSID>
emca -deconfig dbcontrol db -repos drop;
then;
emca -config dbcontrol db -repos create;
or
emca -config dbcontrol db -repos recreate;
Tuesday, 14 October 2014
How to delete archive log files until specific time in RMAN?
RMAN> delete archivelog until time ‘SYSDATE-10’;
i: it will delete them until 10 days ago
Also it has a no prompt option;
RMAN> delete noprompt archivelog until time ‘SYSDATE-10′;
i: it will delete them until 10 days ago
Also it has a no prompt option;
RMAN> delete noprompt archivelog until time ‘SYSDATE-10′;
Subscribe to:
Posts (Atom)