Тёмный

Load 5 Million Rows In Oracle |  

DBA Genesis
Подписаться 38 тыс.
Просмотров 18 тыс.
50% 1

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 97   
@aravindhreturns
@aravindhreturns 3 года назад
19:11 You : Yes, We do have. Me : What don't you have? 🤣
@dbagenesis
@dbagenesis 3 года назад
;) We will have everything to support DBAs around the world!
@himanshugarg4846
@himanshugarg4846 4 года назад
Hi Arun, will you upload any video in near future for the patching activity? How the psu and cpu patches differ from each other?
@dbagenesis
@dbagenesis 4 года назад
Noted! I will upload it soon.
@itisvikash
@itisvikash 4 года назад
@@dbagenesis thanks a ton Arun bhaiya. Do make this video non the patching in depth I mean, patching it's types, how patching on the RAC is different from patching on the Dataguard ?
@JigneshMakwana1
@JigneshMakwana1 4 года назад
Sorry Arun but I don't agree with the statement is to insert 5m records (video time 6:50) and do commit. we should have frequent commit.. i.e. commit after every 10k/10k .
@itisvikash
@itisvikash 4 года назад
I installed VMware on my laptop which has as host windows 7 . Now I created VMware machine and installed oracle Linux into it. The size of virtual hard disk grew to the 40 GB as I had created many databases but then I deleted all the databases. Now the size of the virtual hard disk is still 40 GB while it has no data into it. Can you tell me how to reclaim the size of virtual hard disk ?
@dbagenesis
@dbagenesis 4 года назад
Good question but I am not an virtualization platform expert. You will have to google it up or consult someone from vmware.
@sunilpuli9659
@sunilpuli9659 3 года назад
5M records if we put outside commit. We can get redo log error or buffer is full
@avid2395
@avid2395 4 года назад
please explain why need to set OS kernel parameter in standalone database and oracle RAC database ? please explain parameter wise.
@dbagenesis
@dbagenesis 4 года назад
Its a pre-requisite requirements by Oracle. Read Oracle documentation and search on google "Oracle installation pre-requisites". You will get to know each and every single parameter.
@matheenahamed2692
@matheenahamed2692 4 года назад
Thanks for 2nd session 👍
@sureshhello-zn4cw
@sureshhello-zn4cw 4 года назад
First comment sir Ur article are very helpful sir thanks
@vishalkunden4318
@vishalkunden4318 4 года назад
I have drop temp tablespace on primary database created new temp tablespace but same temp tablespace was not created on standy database.
@nihalnadaf8126
@nihalnadaf8126 4 года назад
Temp file not created automatically, coz no redo generation happens for the temp file. you should add manually.
@dbagenesis
@dbagenesis 4 года назад
Lets look at what Oracle has to say about it: The addition of temporary files to TEMP tablespaces in the primary site is not handled automatically through the normal redo apply mechanisms in the same way as regular datafiles if the parameter standby_file_management is set to AUTO. The DBA must manually synchronised the primary and standby tempfile configuration if they require both the sites to be the same.
@9890691169
@9890691169 4 года назад
Q2. As you said we should keep the old binaries for atleast 30days after upgrade. Should we keep comparability parameter to old one for 30days too so that if require we can downgrade the db.
@dbagenesis
@dbagenesis 4 года назад
Yes!
@Mahalakshmis-world
@Mahalakshmis-world 9 месяцев назад
How to overcome pga issue
@gauravgiri2020
@gauravgiri2020 4 года назад
You are doing a great job! We love you.
@dbagenesis
@dbagenesis 4 года назад
Thanks buddy !
@mahmudurkhan5754
@mahmudurkhan5754 4 года назад
Can you make some videos for Oracle EBS ?
@foreversn4117
@foreversn4117 4 года назад
your videos are so amazing really....greatly explained....please keep posting videos...
@dbagenesis
@dbagenesis 4 года назад
Thank you, I will
@piturothana
@piturothana 9 месяцев назад
Sir, any way to retrieve millions records in short period in oracle?
@zulalinho007
@zulalinho007 2 года назад
Hi What is the best way to migrate and upgrade 25 GB 9i database on redhat 3 to 19c on redhat 7? Thanks
@dbagenesis
@dbagenesis 2 года назад
Export and Import
@nihalnadaf8126
@nihalnadaf8126 4 года назад
If we issue rebuild index online. what steps goes on internally and whats, the reason high archive generation that time.
@dbagenesis
@dbagenesis 4 года назад
The INDEX REBUILD ONLINE is slow compared to INDEX REBUILD without the online clause. This is because with INDEX REBUILD ONLINE, it will wait for any existing DML commands that holds lock and proceed with index rebuild once the locks are released. When you run ALTER INDEX REBUILD command, it will acquire exclusive lock immediately and blocks all DMLs during the rebuild process. Tip: you can also use NOLOGGING clause with INDEX REBUILD to avoid high archive generation!
@nihalnadaf8126
@nihalnadaf8126 4 года назад
@@dbagenesis Thanks a lot arun! lots of things learn from you!😊
@ravir252
@ravir252 2 года назад
DBA is not a requirement now due to cloud adoption
@vigneshchinna358
@vigneshchinna358 4 года назад
I have one doubt. 2 DB in a single server. 1st DB register with listener 2nd DB register with local Lister No 1 DB is down. No2 is up and running. Even though connection is try to connect NO1 DB. Same host but different port no. Kindly give your valuable suggestions.
@dbagenesis
@dbagenesis 4 года назад
Could you describe in detail and when you say No 1 is done, is it DB or listener? Be specific
@vigneshchinna358
@vigneshchinna358 4 года назад
@@dbagenesis No 1 is DB
@veerareddy6723
@veerareddy6723 4 года назад
Hi Arun, Thank you so much for detailed explanation and your videos are very helpful. I have one doubt, in my procedure I am trying to insert data in temporary table by using select statement. How to improve the performance of this select statement. In select statement I am using aggregation function. This insert statement itself taking 30 to 45% of the time in procedure execution.
@dbagenesis
@dbagenesis 4 года назад
Look at select statement carefully and observer which Index is it using or if its going for full table scan. If possible, post the insert statement here. If not comfortable here, send it to support@dbagenesis.com
@SANDATA764
@SANDATA764 4 года назад
Your videos are helpful Thanks again
@harshavardhanrajuch4261
@harshavardhanrajuch4261 4 года назад
Hi sir, i have seen your video's it is very useful..
@Amoory-Kayan
@Amoory-Kayan 4 года назад
Hi Arun, thanks for your explaination, I have an issue and need your suggestion. My database is 12c, i have tables with partitions My issue, when I add a new partitions to the tables, the indexes got invalid and it took much time to compile, because its Global index, not local index. Could you please explain the difference between Global and local, and what will happen if I replaced the Global index with local index? Regards
@dbagenesis
@dbagenesis 4 года назад
Offcourse, it will take time. A global index is like one index for multiple table partitions. A local index is like one-to-one index partition for each table partition. At any given scenario, local index will be faster compared to Global index.
@Amoory-Kayan
@Amoory-Kayan 4 года назад
@@dbagenesis thanks for your quick reply
@mohdfaizan4663
@mohdfaizan4663 3 года назад
I have a query regarding tablespace High Water Mark. I have tablespace name AUDIT_DATA in my UAT and all my audit data will be stored in this tablespace, after a month the size of this tablespace is approx. 25G and I suppose to do the truncate the AUD$ table after taking the backup. But the physical space was not released after truncating the table, it remains shows 25G of the data file. What can I do to release the space also. Please help me, I have to do this job in the live database.
@matheenahamed2692
@matheenahamed2692 4 года назад
What is the Time limit for RMAN backup and what happens if RMAN backup becomes old? Where it will keep old rman backup?
@nihalnadaf8126
@nihalnadaf8126 4 года назад
Its depend on your RMAN backup retention policy or what recovery windows you decided. if backup get beyond the retention this become the obsolete one which means no longer needed.
@dbagenesis
@dbagenesis 4 года назад
See Nihal comment
@roshanjohn3076
@roshanjohn3076 4 года назад
@25:50-25:53 You mean the SID on Primary DB and Standby DB must be same? We used to set the SID on Primary and Standby DB different and it is a headache to change the data souce on application in case there is a switchover.
@dbagenesis
@dbagenesis 4 года назад
Hahaha.. I have been there. If thats that case, create a service (with TAF enabled) on your primary and allow clients to connect DG environment using the TAF service. The service will run only on active primary and you do not have to deal with different SIDs. When you perform swtichover / failover, the clients will auto connect to service because the service will auto come up on new primary. Check this article on how to setup TAF in data guard: support.dbagenesis.com/knowledge-base/client-connectivity-in-data-guard-configuration/
@roshanjohn3076
@roshanjohn3076 4 года назад
@@dbagenesis Thanks a lot Arun. I will implement same.
@PKBIJ82
@PKBIJ82 4 года назад
How can I change FQDN in oracle12c 2 node rac as my server is being relocated,please help!
@dbagenesis
@dbagenesis 4 года назад
You can use below command to just change the SCAN name: srvctl modify scan -n racnodepdb-orascan NOTE: There are many steps involved in order to move / modify scan when there is a change in subnet / network / scan ips etc...
@PKBIJ82
@PKBIJ82 4 года назад
@@dbagenesis Thanks
@udaykiran60
@udaykiran60 4 года назад
Thanks for your video, Here is my question if I want to learn on more databases administration which one I should take up , Right now two database admin revolving on my mind "oracle Big data cloud or Sql server " please suggest. . Thanks in advance. .
@dbagenesis
@dbagenesis 4 года назад
I am not sure about your background so cannot give you good suggestion on this but If you ask me for a good career for next 5 to 7 years would be Oracle Golden Gate! Database replication is a business requirement whether your DB is on physical servers of cloud.
@udaykiran60
@udaykiran60 4 года назад
@@dbagenesis Thanks Arun for your reply , My background is Oracle Apps dba and core dba.
@dbagenesis
@dbagenesis 4 года назад
You can and should go for Golden Gate along with "Cloud Migration" skillset.
@9890691169
@9890691169 4 года назад
if we have TDE implemented on a database can we still import it to another database?
@dbagenesis
@dbagenesis 3 года назад
You can use Oracle Data Pump to export and import tables that have encrypted columns. When you use Oracle Data Pump to export and import tables containing encrypted columns, it uses the ENCRYPTION parameter to enable encryption of data in dump file sets. The ENCRYPTION parameter allows the following values: ENCRYPTED_COLUMNS_ONLY: Writes encrypted columns to the dump file set in encrypted format DATA_ONLY: Writes all of the data to the dump file set in encrypted format METADATA_ONLY: Writes all of the metadata to the dump file set in encrypted format ALL: Writes all of the data and metadata to the dump file set in encrypted format NONE: Does not use encryption for dump file sets
@nasarkhan8956
@nasarkhan8956 3 года назад
Hey Arun, suppose we have 4gb SGA and we want to insert 50GB data into database with simple insert statements. How insert would process. I want to understand processing cycle.
@rehantayyab82
@rehantayyab82 4 года назад
did u show somewhere is this video how to load 5 million rows in a table ?
@dbagenesis
@dbagenesis 4 года назад
Nope, #dailyDBA show is only about QnA, I will be posting activity videos separately.
@amitshinde9724
@amitshinde9724 4 года назад
what are the difference between NETCA and NETMGR
@dbagenesis
@dbagenesis 4 года назад
Netca is a configuration Utility it is used to configure the tns and listener files. Netmgr is used to monitor the status of listener and find the connectivity issues.
@sai3276
@sai3276 4 года назад
Hi Arun, I'm fresher for DBA so kindly suggest me what kind of technology(course) can i learn to improve my DBA Career
@dbagenesis
@dbagenesis 4 года назад
First get OCA certified and then OCP. Once you complete both trainings, you get grate deal of hands on experience. Having working experience is very important! Later on you can choose to learn Oracle Golden Gate which will give you career stability for next 5 to 7 years!
@dbagenesis
@dbagenesis 4 года назад
Also, first finish all the free courses that we offer on our website: dbagenesis.com/courses
@sai3276
@sai3276 4 года назад
@@dbagenesis Thanks 😊
@srinivasaraov6343
@srinivasaraov6343 4 года назад
@@dbagenesis how to determine how much memory (sga and pga)is needed for my database instance interms of OLTP and DW Environments. And how to prevent memory leaks on both database instance and server level.
@Chitikireddyramesh
@Chitikireddyramesh 4 года назад
How to mining data using redo log files
@dbagenesis
@dbagenesis 4 года назад
Will be answering this in one of the upcoming episodes.
@Chitikireddyramesh
@Chitikireddyramesh 4 года назад
K thank so much
@vishalkunden4318
@vishalkunden4318 4 года назад
Strategy needs to be followed for better database performance.
@dbagenesis
@dbagenesis 4 года назад
Completely makes sense !
@mahmudurkhan5754
@mahmudurkhan5754 4 года назад
Keep continue sir
@matheenahamed2692
@matheenahamed2692 4 года назад
Can you please explain about types of protection modes in dataguard and their purpose?
@dbagenesis
@dbagenesis 4 года назад
Noted ! will be answering it in upcoming episodes.
@matheenahamed2692
@matheenahamed2692 4 года назад
@@dbagenesis Thanks ☺️
@rajsankar8185
@rajsankar8185 4 года назад
Sir we created a view which scan 5 lakhs records and its take 10 hrs which is very bad how to avoid it
@mahmudurkhan5754
@mahmudurkhan5754 4 года назад
Good job sir
@arupnaskar7433
@arupnaskar7433 3 года назад
Hi sir, I got error as ora-03113, unable to open database after mount. This happen after applied the patch. Also i have dataguard configured
@dbagenesis
@dbagenesis 3 года назад
Check server RAM and SWAP space.
@arpitseth96
@arpitseth96 4 года назад
Hello Arun, I want some suggestions from you that As a fresher would you recommend anyone for a oracle DBA..
@dbagenesis
@dbagenesis 4 года назад
Yup, if you are like me who hates programming, then yes, you should go for Oracle DBA career. But also if you think you just need to learn few concepts and settle your career in DBA, it won't last long. You must be constantly upgrading your skills and keep up with market changes.
@arpitseth96
@arpitseth96 4 года назад
@@dbagenesis i want to pursue Career in oracle but cofused as a fresher which version of oracle should i choose to learn first 11g? Or should i go with oracle 12c certification direct..
@dbagenesis
@dbagenesis 4 года назад
@@arpitseth96 First master any one version and all other versions will be a cake walk. Like for windows, if one learns any one version, all other versions become cake walk. You do not go for windows trainings everytime windows releases new version right !! Go for 12c for now and master it, forget about 11g, 18c and 19c versions ... !!! Become master of any one version first ;)
@arpitseth96
@arpitseth96 4 года назад
@@dbagenesis Thanks for your suggestions sir...😊
@roshanjohn3076
@roshanjohn3076 4 года назад
which commands do you use to get PGA/SGA stats?
@dbagenesis
@dbagenesis 4 года назад
Query to find memory used by each oracle session: ========================================== SELECT to_char(ssn.sid, '9999') || ' - ' || nvl(ssn.username, nvl(bgp.name, 'background')) || nvl(lower(ssn.machine), ins.host_name) "SESSION", to_char(prc.spid, '999999999') "PID/THREAD", to_char((se1.value/1024)/1024, '999G999G990D00') || ' MB' " CURRENT SIZE", to_char((se2.value/1024)/1024, '999G999G990D00') || ' MB' " MAXIMUM SIZE" FROM v$sesstat se1, v$sesstat se2, v$session ssn, v$bgprocess bgp, v$process prc, v$instance ins, v$statname stat1, v$statname stat2 WHERE se1.statistic# = stat1.statistic# and stat1.name = 'session pga memory' AND se2.statistic# = stat2.statistic# and stat2.name = 'session pga memory max' AND se1.sid = ssn.sid AND se2.sid = ssn.sid AND ssn.paddr = bgp.paddr (+) AND ssn.paddr = prc.addr (+); Also, check this script: www.dba-oracle.com/t_query_to_display_cpu_ram.htm
@roshanjohn3076
@roshanjohn3076 4 года назад
@@dbagenesis Thanks Arun :) Is the v$sga_dynamic_components ok? If the summation of the different SGA components from the current size is equal to the SGA_MAX_SIZE and the server is swapping, does this mean RAM has to increased?
@mendoncalan
@mendoncalan 3 года назад
How indexs works in Oracle?
@nayan8966
@nayan8966 4 года назад
Yes can you make a one vedio on 12c new features backup and recovery with RMAN in details...
@dbagenesis
@dbagenesis 4 года назад
Noted!
@komla4904
@komla4904 3 года назад
Great content !
@dbagenesis
@dbagenesis 3 года назад
Thank You!
@rajsankar8185
@rajsankar8185 4 года назад
Where we send you code
Далее
Avoid Hard Parsing in Oracle | #dailyDBA 15
30:18
Просмотров 8 тыс.
Query Running Slow | #dailyDBA 1
31:40
Просмотров 37 тыс.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
Living life on the edge 😳 #wrc
00:17
Просмотров 1,6 млн
Why Rebuild Indexes? | #dailyDBA 20
30:50
Просмотров 25 тыс.
Row Chaining in Oracle | #dailyDBA 7
35:26
Просмотров 8 тыс.
Rebuild Indexes Faster in Oracle | #dailyDBA 4
24:21
Просмотров 16 тыс.
When to go for Full Table Scan? | #dailyDBA 9
27:49
Просмотров 6 тыс.
Three SCAN IPs Resolving 8 Node RAC | #dailyDBA 10
26:09
Fix SQL Plan in Oracle | #dailyDBA 11
30:02
Просмотров 10 тыс.
Oracle Optimizer Cost | #dailyDBA 26
30:39
Просмотров 5 тыс.
SQL Profile vs SQL Plan Management | #dailyDBA 21
33:56
DB File Sequential Read | #dailyDBA 23
18:41
Просмотров 6 тыс.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45