<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.zutshigroup.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Zutshi Group LLC - tech:rdbms</title>
        <description></description>
        <link>https://www.zutshigroup.com/</link>
        <lastBuildDate>Thu, 04 Jun 2026 17:46:26 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://www.zutshigroup.com/_media/wiki/dokuwiki.svg</url>
            <title>Zutshi Group LLC</title>
            <link>https://www.zutshigroup.com/</link>
        </image>
        <item>
            <title>RDBMS</title>
            <link>https://www.zutshigroup.com/tech/rdbms/main?rev=1718985844&amp;do=diff</link>
            <description>RDBMS
rdbms index</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 21 Jun 2024 16:04:04 +0000</pubDate>
        </item>
        <item>
            <title>Quick mysql primer</title>
            <link>https://www.zutshigroup.com/tech/rdbms/mysql_hints?rev=1718985844&amp;do=diff</link>
            <description>Quick mysql primer

mysql connection test



os&gt; mysql -u root -p
Password: &lt;PASSWORD&gt;
mysql&gt;use mysql
mysql&gt;show tables;
mysql&gt;select * from user
mysql&gt;exit


Backup a database



mysqldump --user=root --password=&lt;PASSWORD&gt; --database &lt;DBNAME&gt; &gt; /backup/path/&lt;DBNAME&gt;.bkp</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 21 Jun 2024 16:04:04 +0000</pubDate>
        </item>
        <item>
            <title>Oracle Database Links</title>
            <link>https://www.zutshigroup.com/tech/rdbms/ora_dblinks?rev=1718985844&amp;do=diff</link>
            <description>Oracle Database Links

Create db link:



create public database link &lt;LINK_NAME&gt; 
connect to &lt;USER&gt; identified by &lt;PASS&gt; 
using &#039;&lt;HOST&gt;:&lt;PORT&gt;/&lt;SID&gt;&#039;;


Example:


create public database link STAGE 
connect to STAGE identified by STAGE 
using &#039;aos.su.local:1521/AOS&#039;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 21 Jun 2024 16:04:04 +0000</pubDate>
        </item>
        <item>
            <title>Oracle Invalid Objects</title>
            <link>https://www.zutshigroup.com/tech/rdbms/ora_invalid_objects?rev=1718985844&amp;do=diff</link>
            <description>Oracle Invalid Objects

Note:  Run SQL below as SYS (connect as sysdba)

Are there any invalid objects?



select owner,object_type,object_name from dba_objects where status != &#039;VALID&#039; order by owner, object_type;


Rebuild all invalid PACKAGE/PACKAGE BODY etc.</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 21 Jun 2024 16:04:04 +0000</pubDate>
        </item>
        <item>
            <title>Set Oracle Profile PASSWORD_LIFE_TIME to &quot;UNLIMITED&quot;</title>
            <link>https://www.zutshigroup.com/tech/rdbms/ora_password_lifetime_unlimited?rev=1718985844&amp;do=diff</link>
            <description>Set Oracle Profile PASSWORD_LIFE_TIME to &quot;UNLIMITED&quot;

The SQL below is for the DEFAULT profile.

Set PASSWORD_LIFE_TIME to UNLIMITED for Profile DEFAULT



alter profile DEFAULT limit PASSWORD_LIFE_TIME UNLIMITED;


See all properties for profile



select * from DBA_PROFILES where PROFILE = &#039;DEFAULT&#039;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 21 Jun 2024 16:04:04 +0000</pubDate>
        </item>
        <item>
            <title>Oracle STATS (schema,table)</title>
            <link>https://www.zutshigroup.com/tech/rdbms/ora_stats?rev=1718985844&amp;do=diff</link>
            <description>Oracle STATS (schema,table)

Stats for a complete schema e.g. SYSADM



BEGIN
   DBMS_STATS.GATHER_SCHEMA_STATS( OWNNAME =&gt; &#039;SYSADM&#039;, ESTIMATE_PERCENT =&gt; NULL, BLOCK_SAMPLE =&gt; FALSE, DEGREE =&gt; 32, GRANULARITY =&gt; &#039;ALL&#039;, CASCADE =&gt; TRUE );
END;
/


Stats for a table e.g. PS_R_PER507</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 21 Jun 2024 16:04:04 +0000</pubDate>
        </item>
        <item>
            <title>SQL Server - &quot;Managing database users and logins&quot;</title>
            <link>https://www.zutshigroup.com/tech/rdbms/sp_change_users_login?rev=1718985844&amp;do=diff</link>
            <description>SQL Server - &quot;Managing database users and logins&quot;

In Microsoft SQL Server there are two forms of “User ID&#039;s”:

	*  There is a SQL Server “Login” which aloows the user to connect to the SQL Server.  This data is usually found under the “Security</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 21 Jun 2024 16:04:04 +0000</pubDate>
        </item>
    </channel>
</rss>
