Thursday, July 27, 2023

Database Tables notes

Heap Organized tables:
  •  A full scan of the table will retrieve the data as it hits it, not in the order of insertion.
  • Oracle will place the data where it fits, not in any order by date or transaction.
  • You should think of a heap organized table as a big unordered collection of rows
  • changing the ENABLE STORAGE IN ROW to DISABLE STORAGE IN ROW, which would disable the storage of the LOB data in the row with the structured data, causing it to be stored in another segment.
  • PCTFREE: Both ASSM and MSSM
  • INITRANS: Both ASSM and MSSM
  • FREELIST: MSSM only.
  • PCTUSED: MSSM only.
  • LOB data that is stored out of line in the LOB segment does not make use of the PCTFREE/PCTUSED parameters set for the table. These LOB blocks are managed differently: they are always filled to capacity and returned to the FREELIST only when completely empty.
CRS log location : /opt/app/oragrid/orabase/diag/crs/nmsjf1d12/crs/trace


[root@node1 sysctl.d]# sysctl -ar '\.rp_filter'
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.bond0.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.eth0.rp_filter = 1
net.ipv4.conf.eth1.rp_filter = 1
net.ipv4.conf.eth2.rp_filter = 1
net.ipv4.conf.eth3.rp_filter = 1
net.ipv4.conf.eth4.rp_filter = 1
net.ipv4.conf.eth5.rp_filter = 1
net.ipv4.conf.eth6.rp_filter = 1
net.ipv4.conf.eth7.rp_filter = 1
net.ipv4.conf.lo.rp_filter = 0




Click here to join the meeting     aws solution arc associate

shell: "time {{ oracle_base }}/product/{{ item.oracle_version_db }}/{{ item.home }}/bin/dbca -silent -createDatabase -templateName {{ dbca_templatename }} -gdbname {{ gdb }} -sid {{ sid }} -sysPassword {{ dba_password }} -systemPassword {{ dba_password }} -databaseconftype {{ item.oracle_db_type }} -nodelist {{ nodelist }}"
    with_items: "{{ oracle_databases }}"

aws arasc exam readiness --> Click here to join the meeting
gcp data engineer - >  Join the workshop  
gcp asc exam readiness: Join the workshop  

https://www.databricks.com/resources/learn/training/generative-ai-fundamentals

              Build Foundational knowledge of generative AI:- 3-4 hours (Self-Paced with knowledge assignment)

https://v2.accounts.accredible.com/login?app=recipient-portal&origin=https:%2F%2Fwww.credential.net%2F17cec98b-3b0c-41cf-b469-de4108baa9c3%3Fkey%3De8fd1c551d27f405bec94054c2194ea9435fac322bac51849c4cee76274c59

You have been assigned a Certification Exam Vouchers (GSI) voucher. ACE-GCP
Voucher: AWjj2W23jppA4Nmd

You have been assigned a *PCA/PCK - ACE - English voucher.  --> PCA-GCP
Voucher: APP52P23e95WZhZQ


Join the meeting now   -->17-Jun-2024


 https://testprep.cloudthat.com/login/signup.php

: Click on the link given here to access the course: https://testprep.cloudthat.com/course/view.php?id=1978 Step 4: Put the Enrolment key (code) “4SRE39PcUj” in the space provided.
 
Aws Solution architect associate training link oct-21 to oct-28th
https://teams.microsoft.com/l/meetup-join/19%3ameeting_MDQ4MWUzZTUtMjNhNy00ZTFiLWFlMjgtMjk4Yzg4NGQ0YmZm%40thread.v2/0?context=%7b%22Tid%22%3a%22815db2f7-1e3a-438f-8bdd-e55de825adee%22%2c%22Oid%22%3a%225a1243b9-21b4-423a-a8e0-c4f6b498eeb3%22%7d


    select a.username, a.sid,a.serial#, a.inst_id, a.program, a.machine,A.STATUS,a.sql_id,a.LAST_CALL_ET
from gv$session a,
gv$process b
where a.USERNAME not in('NL710F','SYS','DBSNMP','PUBLIC') AND A.STATUS='INACTIVE'
and a.inst_id = b.inst_id and a.paddr = b.addr order by a.LAST_CALL_ET,a.sql_id;

aws MLOps labs
==============

1. Create AWS Builder ID:

https://us-east-1.student.classrooms.aws.training/class/cninzrmGifPrKXSQUVxML3

- do not use any other signup/signin options.

- do use official @techm email ONLY.

- be patient with OTP (wait at least 5 minutes)

2. After login verify you see 6 labs. 

3. Click on "Student Guide" button (above list of labs), and from the next page (Vitalsource), click on "Continue without an account". Don't signup/signin again on Vitalsource page. 

4. In the Ebook, on the top right corner find 3 dots. From there you can fine print option, provide page range and download PDF file. Download may take some time. 


Vulnerability in the Oracle Database RDBMS Security component of Oracle Database Server.  Supported versions that are affected are 19.3-19.23. Easily exploitable vulnerability allows high privileged attacker having Execute on SYS.XS_DIAG privilege with network access via Oracle Net to compromise Oracle Database RDBMS Security.  Successful attacks of this vulnerability can result in takeover of Oracle Database RDBMS Security. CVSS 3.1 Base Score 7.2 (Confidentiality, Integrity and Availability impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).

FIG project queries

##### Service add & LOad Baclancing on Add Service ####### srvctl add service -s wcccdmt.farmersinsurance.com -r wcccdmtx1,wcccdmtx2,wcc...