Forum Replies Created
-
AuthorPosts
-
5 de August de 2020 at 19:53 in reply to: ALTER SYSTEM CANCEL SQL in the middle of a transaction #2292639
matheusdba
KeymasterIt happens the same as if you kill a session in the middle of a transaction. It gets rolled back.
For more info about the command, here are the docs: https://docs.oracle.com/en/database/oracle/oracle-database/18/admin/managing-processes.html#GUID-7D8E5E00-515D-4338-8B86-C2044F6D2957matheusdba
KeymasterAmazon RDS manages the Oracle Wallet and Master Encryption Key for the DB Instance.
matheusdba
KeymasterThe following Enterprise Edition Options are currently supported under the BYOL model:
- Advanced Security (Transparent Data Encryption, Native Network Encryption)
- Partitioning
- Management Packs (Diagnostic, Tuning)
- Advanced Compression
matheusdba
KeymasterOracle Data Guard is a High Availability feature available for Enterprise Edition of Oracle database. Amazon RDS currently uses a different synchronous replication technology and automatic failover functionality to provide Multi-AZ deployments for Oracle DB Instances. Multi-AZ deployments are available for all Oracle database editions supported by Amazon RDS.
Keep in mind you do need to have both sides licensed, either through BYOL or AWS with license included.matheusdba
KeymasterOracle counts VMware as soft partition technology, so it must license for the entire server. After licensing, multiple instances of Oracle databases can be run with no additional charge.
See the following License example on the current Licensing Model for Oracle databases on VMware from VMwarews documentation (https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/oracle/oracle-databases-on-vmware-faq.pdf)
For Oracle’s licensing information access: http://www.oracle.com/corporate/pricing/index.html.27 de July de 2020 at 20:00 in reply to: Java: How to invoke a superclass version of an Overridden method? #2292629matheusdba
KeymasterTo invoke a superclass method that has been overridden in a subclass, you must either call the method directly through a superclass instance or use the super prefix in the subclass itself. From the point of view of the subclass, the super prefix provides an explicit reference to the superclass’ implementation of the method.
// From subclass super.overriddenMethod();
matheusdba
KeymasterNO, because main is a static method. A static method can’t be overridden in Java.
matheusdba
KeymasterYes, derived classes still can override the overloaded methods. Polymorphism can still happen. Compiler will not binding the method calls since it is overloaded, because it might be overridden now or in the future.
matheusdba
KeymasterEquals() method is defined in Object class in Java and used for checking the equality of two objects defined by business logic.
“==” or equality operator in Java is a binary operator provided by Java programming language and used to compare primitives and objects. public boolean equals(Object o) is the method provided by the Object class. The default implementation uses == operator to compare two objects. For example: method can be overridden like String class. equals() method is used to compare the values of two objects.matheusdba
KeymasterUnder preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. Under time slicing, a task executes for a predefined slice of time and then reenters the pool of ready tasks.
The scheduler then determines which task should execute next, based on priority and other factors.matheusdba
KeymasterGarbage collection does not guarantee that a program will not run out of memory. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection.
matheusdba
KeymasterWhen a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state.
matheusdba
KeymasterA simple way is to use datapump for this. You can even directly use impdp with a databaselink to the own database to do the “close”, like:
impdp system/manager schemas=A remap_schema=A:B network_link=MY_OWN_DB
Note that if you use dblink no parallel will be possible. In some cases it will be faster if you do expdp to a dumpfile with parallelism and then import it again with impdp in parallel too.
matheusdba
KeymasterBoth %TYPE and %ROWTYPE are used to define variables in PL/SQL as it is defined within the database. If the datatype or precision of a column changes, the program automatically picks up the new definition from the database without having to make any code changes.
The %TYPE and %ROWTYPE constructs provide data independence, reduces maintenance costs, and allows programs to adapt as the database changes to meet new business needs.
%TYPE
%TYPE is used to declare a field with the same type as that of a specified table’s column. Example:DECLARE v_EmpName emp.ename%TYPE; BEGIN SELECT ename INTO v_EmpName FROM emp WHERE ROWNUM = 1; DBMS_OUTPUT.PUT_LINE('Name = ' || v_EmpName); END; /%ROWTYPE
%ROWTYPE is used to declare a record with the same types as found in the specified database table, view or cursor. Examples:DECLARE v_emp emp%ROWTYPE; BEGIN v_emp.empno := 10; v_emp.ename := 'XXXXXXX'; END; /
matheusdba
KeymasterAutonomous Databases comes with over 30 machine learning algorithms implemented as SQL functions that leverage the strengths of the Oracle Autonomous Database. Oracle Machine Learning algorithms perform all processing inside the Autonomous Database and can mine data tables and views, star schema data including transactional data, aggregations, unstructured data i.e. CLOB data type (using Oracle Text to extract tokens) and spatial data.
Oracle Machine Learning for SQL functions takes full advantage of database parallelism for model build and model apply and honor all data and user privileges and security schemes. Data scientists can collaborate to build, evaluate and deploy machine learning models using Zeppelin based Oracle Machine Learning Notebooks. Oracle Machine Learning models can be included in SQL queries, BI dashboards and embedded in real-time applications.
This is a nice doc with more info about it: https://www.oracle.com/technetwork/database/options/advanced-analytics/oml19c-white-paper-5601561.pdf -
AuthorPosts
