Monday, December 29, 2008

Work unto death

Work unto death — I am with you, and when I am gone, my spirit will work with you. This life comes and goes —wealth, fame, enjoyments are only of a few days. It is better, far better to die on the field of duty, preaching the truth, than to die like a worldly worm. Advance!

— Swami Vivekananda

Sunday, December 28, 2008

The Lord knows the course of our thoughts ...

Deliver me, O Jesus,
From the desire of being loved,
From the desire of being extolled,
From the desire of being honored,
From the desire of being praised,
From the desire of being preferred,
From the desire of being consulted,
From the desire of being approved,
From the desire of being popular,
From the fear of being humiliated,
From the fear of being despised,
From the fear of suffering rebukes,
From the fear of being calumniated,
From the fear of being forgotten,
From the fear of being wronged,
From the fear of being ridiculed,
From the fear of being suspected.
(Mother Teresa, `Mother Teresa, A Simple Path')

The Lord knows the course of our thoughts. He
does not reveal Himself to us until we have surrendered
to Him our last worldly desire; until each of us
says: "Father, guide and possess me."
(Paramahansa Yogananda, `Spiritual Diary')

Thursday, September 11, 2008

os version details within database

select dbms_utility.port_string from dual;

I got the following output




1 row selected.

To check for Oracle block corruption

To check for Oracle block corruption :-

  • use DBV for each file

dbv file=/db_1/system01.dbf blocksize=8192

  • use rman

run {
allocate channel disk1 device type disk ;
allocate channel disk2 device type disk ;
backup validate check logical database;

select count(*) from v$database_block_corruption;

Query Tuning

Effective-Oracle-By-Design basic
Cost-Based-Oracle-Fundamentals advanced

Tuesday, September 2, 2008

One of the discussions with Swami Vivekananda

Q. — Whom can we call a Guru?

Swami Vivekananda — He who can tell your past and future is your Guru.

Q. — How can one have Bhakti?

Swami Vivekananda — There is Bhakti within you, only a veil of lust-and-wealth covers it, and as soon as that is removed Bhakti will manifest by itself.

Q. — What is the true meaning of the assertion that we should depend on ourselves?

Swami Vivekananda — Here self means the eternal Self. But even dependence on the non-eternal self may lead gradually to the right goal, as the individual self is really the eternal Self under delusion.

Q. — If unity is the only reality, how could duality which is perceived by all every moment have arisen?

Swami Vivekananda — Perception is never dual; it is only the representation of perception that involves duality. If perception were dual, the known could have existed independently of the knower, and vice versa.

Q. — How is harmonious development of character to be best effected?

Swami Vivekananda— By association with persons whose character has been so developed.

Q. — What should be our attitude to the Vedas?

Swami Vivekananda— The Vedas, i.e. only those portions of them which agree with reason, are to be accepted as authority. Other Shâstras, such as the Purânas etc., are only to be accepted so far as they do not go against the Vedas. All the religious thoughts that have come subsequent to the Vedas, in the world, in whatever part of it have been derived from the Vedas.

Q. — Is the division of time into four Yugas astronomical or arbitrary calculation?

Swami Vivekananda—There is no mention of such divisions in the Vedas. They are arbitrary assumptions of Paurânika times.

Q. — Is the relation between concepts and words necessary and immutable, or accidental and conventional?

Swami Vivekananda— The point is exceedingly debatable. It seems that there is a necessary relation, but not absolutely so, as appears from the diversity of language. There may be some subtle relation which we are not yet able to detect.

Q. — What should be the principle to be followed in working within India?

Swami Vivekananda— First of all, men should be taught to be practical and physically strong. A dozen of such lions will conquer the world, and not millions of sheep can do so. Secondly, men should not be taught to imitate a personal ideal, however great.

Then Swamiji went on to speak of the corruptions of some of the Hindu symbols. He distinguished between the path of knowledge and the path of devotion. The former belonged properly to the Aryas, and therefore was so strict in the selection of Adhikâris (qualified aspirants), and the latter coming from the South, or non-Aryan sources, made no such distinction.

Q. — What part will the Ramakrishna Mission take in the regenerating work of India?

Swami Vivekananda—From this Math will go out men of character who will deluge the world with spirituality. This will be followed by revivals in other lines. Thus Brahmins, Kshatriyas, and Vaishyas will be produced. The Shudra caste will exist no longer — their work being done by machinery. The present want of India is the Kshatriya force.

Q. — Is retrograde reincarnation from the human stage possible?

Swami Vivekananda—Yes. Reincarnation depends on Karma. If a man accumulates Karma akin to the beastly nature, he will be drawn thereto.

Q. — Does the Kundalini really exist in the physical body?

Swami Vivekananda—Shri Ramakrishna used to say that the so-called lotuses of the Yogi do not really exist in the human body, but that they are created within oneself by Yoga powers.

Q. — Can a man attain Mukti by image-worship?

Swami Vivekananda—Image-worship cannot directly give Mukti; it may be an indirect cause, a help on the way. Image-worship should not be condemned, for, with many, it prepares the mind for the realisation of the Advaita which alone makes man perfect.

Q. — What should be our highest ideal of character?

Swami Vivekananda—Renunciation.

Q. — How did Buddhism leave the legac
y of corruption in India?

Swami Vivekananda—The Bauddhas tried to make everyone in India a monk or a nun. We cannot expect that from every one. This led to gradual relaxation among monks and nuns. It was also caused by their imitating Tibetan and other barbarous customs in the name of religion. They went, to preach in those places and assimilated their corruptions, and then introduced them into India.

Q. — Is Maya without beginning and end?

Swami Vivekananda—Maya is eternal both ways, taken universally, as genus; but it is non-eternal individually.

Q. — Brahman and Maya cannot be cognised simultaneously. How could the absolute reality of either be proved as arising out of the one or the other?

Swami Vivekananda— It could be proved only by realisation. When one realises Brahman, for him Maya exists no longer, just as once the identity of the rope is found out, the illusion of the serpent comes no more.

Q. — What is Maya?

Swami Vivekananda—There is only one thing, call it by any name — matter, or spirit. It is difficult or rather impossible to think the one independent of the other. This is Maya, or ignorance.

Q. — What is Mukti (liberation)?

Swami Vivekananda— Mukti means entire freedom — freedom from the bandages of good and evil. A golden chain is as much a chain as an iron one. Shri Ramakrishna used to say that, to pick out one thorn which has stuck into the foot, another thorn is requisitioned, and when the thorn is taken out, both are thrown away. So the bad tendencies are to be counteracted by the good ones, but after that, the good tendencies have also to be conquered.

Q. — Can salvation (Mukti) be obtained without the grace of God?

Swami Vivekananda— Salvation has nothing to do with God. Freedom already is.

Q. — What is the proof of the self in us not being the product of the body etc.?

Swami Vivekananda— The "ego" like its correlative "non-ego", is the product of the body, mind etc. The only proof of the existence of the real Self is realisation.

Q. — Who is a true Jnani, and who is a true Bhakta?

Swami Vivekananda—The true Jnani is he who has the deepest love within his heart and at the same time is a practical seer of Advaita in his outward relations. And the true Bhakta (lover) is he who, realising his own soul as identified with the universal Soul, and thus possessed of the true Jnana within, feels for and loves everyone. Of Jnana and Bhakti he who advocates one and denounces the other cannot be either a Jnani or a Bhakta, but he is a thief and a cheat.

Q. — Why should a man serve Ishvara?

Swami Vivekananda— If you once admit that there is such a thing as Ishvara (God), you have numberless occasions to serve Him. Service of the Lord means, according to all the scriptural authorities, remembrance (Smarana). If you believe in the existence of God, you will be reminded of Him at every step of your life.

Q. — Is Mayavada different from Advaitavada?

Swami Vivekananda—No. They are identical. There is absolutely no other explanation of Advaitavada except Mayavada.

Q. — How is it possible for God who is infinite to be limited in the form of a man (as an Avatara)?

Swami Vivekananda—It is true that God is infinite, but not in the sense in which you comprehend it. You have confounded your idea of infinity with the materialistic idea of vastness. When you say that God cannot take the form of a man, you understand that a very, very large substance or form (as if material in nature), cannot be compressed into a very, very small compass. God's infinitude refers to the unlimitedness of a purely spiritual entity, and as such, does not suffer in the least by expressing itself in a human form.

Q. — Some say, "First of all become a Siddha (one who has realised the Truth), and then you have the right to Karma, or work for others", while others say that one should work for others even from the beginning. How can both these views be reconciled?

Swami Vivekananda— You are confusing one thing with the other. Karma means either service to humanity or preaching. To real preaching, no doubt, none has the right except the Siddha Purusha, i.e. one who has realised the Truth. But to service every one has the right, and not only so, but every one is under obligation to serve others, so long as he is accepting service from others.

Friday, August 22, 2008

Operation Trojan Horse in British India

According to a book released on October 28th, 2007 named "Some Hidden Facts: Martyrdom of Shaheed Bhagat Singh", it carries the subtitle “Secrets unfurled by an Intelligence Bureau Agent of British-India”, written by K.S.Kooner, the ‘execution’ of Bhagat Singh, Rajguru and Sukhdev marked the execution of a conspiracy code-named “Operation Trojan Horse”, which, in effect, facilitated the pacification of the British officers in general and the prospective in-laws of the late J P Saunders in particular. Accordingly, Bhagat Singh and his associates did go through the formality of ‘hanging’ but only to the extent of breaking their necks; semi-conscious, they were taken to the Lahore Cantonment where the ‘Death Squad’, comprising Saunder’s family, shot them to quench their thirst for revenge.
Since doing all this during day time could have invited a violent reaction from the people, the ‘execution’ was performed at night; for the same reason, the bullet-ridden bodies were neither sent for postmortem nor handed over to the relatives. Instead, most surreptitiously, these were taken in a lorry to a pre-fixed isolated place on a kutcha-road (6 miles away from Lahore, on the right bank of the Beas where it meets the Sutlej) and burnt to ashes. And, to put the people on the wrong track, some flesh and bones were half burnt and buried on the western bank of the Sutlej, near Hussainiwala. Two Indian agents were sent to Lahore to pose as volunteers and tell the Congress people that they had seen at Ganda Singh Wala a big burning pyre from a distance.

Believing the story, some people (including Bhagat’s sister Bibi Amar Kaur) reached the ‘hot’ spot, dug up the flesh and half-burnt bones (plus one big broken but uncharred bone which they surmised must have been the arm of Bhagat Singh, the tallest of the three) that lay buried there, and took these back to Lahore where the half-burnt stuff was ‘properly’ cremated on the bank of the Ravi in the midst of sloganeering crowds, all in tears.

This was precisely what the ‘Operation Trojan Horse’ meant to achieve — the British way of denying the martyrs the honour of a glorious farewell by the people.

Friday, July 18, 2008

Archive gap on oracle db

1) Query v$archive_gap;

2) Note difference between low sequence and high sequence.

3) Copy the files to standby_archive_dest.

4) Do alter database register logfile for all the copied archive logs.

5) Managed recovery.

6) On the standby database, query the V$ARCHIVED_LOG view to verify the archived redo log was applied.


Doing the 4th step updates the standby control file. The MRP process is checking the control
file when the managed recovery is activated and applies the new archive logs in the stdby control
file. In normal log-shipping, the update to the control file is done by the RFS.

Friday, July 11, 2008

Have no fear - Swami Vivekananda

First, believe in the world—that there is meaning behind everything.

Don't look back—forward, infinite energy, infinite enthusiasm, infinite daring, and infinite patience—then alone can great deeds be accomplished.

This is the first lesson to learn: be determined not to curse anything outside, not to lay the blame upon anyone outside, but stand up, lay the blame on yourself. You will find that is always true. Get hold of yourself.

Tell the truth boldly, whether it hurts or not. Never pander to weakness. If truth is too much for intelligent people and sweeps them away, let them go; the sooner the better.

This life is a hard fact; work your way through it boldly, though it may be adamantine; no matter, the soul is stronger.

This I have seen in life—those who are overcautious about themselves fall into dangers at every step; those who are afraid of losing honor and respect, get only disgrace; and those who are always afraid of loss, always lose.

"Face the brutes." That is a lesson for all life—face the terrible, face it boldly. Like the monkeys, the hardships of life fall back when we cease to flee before them.

Those who work at a thing heart and soul not only achieve success in it but through their absorption in that they also realize the supreme truth—Brahman. Those who work at a thing with their whole heart receive help from God.

I, for one, thoroughly believe that no power in the universe can withhold from anyone anything they really deserve.

The whole secret of existence is to have no fear. Never fear what will become of you, depend on no one. Only the moment you reject all help are you free.

Fear is death, fear is sin, fear is hell, fear is unrighteousness, fear is wrong life. All the negative thoughts and ideas that are in the world have proceeded from this evil spirit of fear.

Sunday, June 29, 2008

spiritual flower

Do not look for a spiritual flower every day. Sow
the seed, water it with prayer and right endeavor.
When it sprouts, take care of the plant, pulling out the
weeds of doubt, indecision, and indifference that may
spring up around it. Some morning you will suddenly
behold your long-awaited spiritual flower of Realization.
(Paramahansa Yogananda)

Thursday, June 5, 2008

On Second thoughts in Pune

The anecdote is among the early days in pune when I was searching for a room. One day I went to a place called dahanukar colony in the kothrud area looking for a room. I had to urgently get a printout of the emails to my personal mail id listing the other places where I could enquire for accomodation. I was searching for a cyber cafe and looked high and low for one. After some enquiry and walkabout, I located a good-looking cyber cafe on the main road. Just after the entrance of the cyber-cafe two young (good-looking) ladies were standing in jeans and t-shirts.

With thoughts of urgency about my room-search filled in my mind I went inside ,after opening the door and asked them matter-of-factly "What is the hourly rate?" . They were confused so I looked elsewhere inside the cyber-cafe and I realised that the manager was sitting slightly out of sight of the main entrance. He seemed to have overheard the conversation but waited for me to ask the same question again. Rs.10/- he said. When I was at my seat, he started giving a strange smile to me. He was still smiling at me when I left the cyber-café.

Only couple of days back, I realised what he was trying to interpret wrt to my question to the two ladies !!!! Very bad , wot say???

Friday, April 18, 2008

Weakening a bad habit - Paramhansa Yogananda

Habits of thought are mental magnets that draw to you certain things, people, and conditions. Weaken a bad habit by avoiding everything that occasioned it or stimulated it, without concentrating upon it in your zeal to avoid it. Then divert your mind to some good habit and steadily cultivate it until it becomes a dependable part of you.

Thursday, April 10, 2008

Devotion over reasoning

One should not reason too much; it is enough if one loves the Lotus
feet of the Mother. Too much reasoning throws the mind into
confusion. You get clear water if you drink from the surface of a
pool. Put your hand deeper and stir the water, and it becomes
muddy. Therefore pray to God for devotion.
(Ramakrishna, `The Gospel of Sri Ramakrishna' )

Friday, March 28, 2008

Research defined by Albert Einstein

If we knew what it was we were doing, it would not be called research, would it?

-Albert Einstein

Saturday, March 8, 2008

Doing copy of archive logs using a counter as a reference

until cancel


/usr/bin/touch /tmp/arc_cp_cntr_1

ls -l /tmp/arc_cp_cntr_1

sleep 15

find /oracle/oraarch01/ -name "*.arc" -newer /tmp/arc_cp_cntr_1|awk '{print "cp",$1,"/tmp/tmp_arch"}'|sh


Friday, February 29, 2008

Monday, February 25, 2008

Best Posture for Prayer

Three priests were discussing the best posture for prayers. The fist
one said, "I have tried all the postures several times and I think
that the best one is kneeling down. My best prayers come when I am
praying kneeling down." The second one said, "You are right, but all
the yogies and mystics recommend the cross-legged lotus posture
because that is most conducive to a relaxed mental state. The best I
have ever prayed is when I am in lotus posture" The third said,
"Agreed, but you know what, I have found that the weather has an
important role. My best prayers come when its sunny-bright and I am
looking up at the clear blue sky, whatever be the body posture."

An electrician was working close by and listening to the priests. He
came over and said to them, "For all you know fellows, the best prayer
I have ever said was hanging down by one leg from an electric pole in
a thunderstorm. And I bet none of you has ever prayed as good as I did
that day."

The moral of the story is "urgency". A great saint once said that you
will find God when you want Him as much as a drowning man wants air.
Its about how urgently, how desperately you want a response from God.
Correct postures have their place in spiritual discipline but nothing
can take the place of that burning urgency by which an electrician
prays while hanging by one leg from an electric pole in a
thunderstorm. We need to cultivate that intensity of desperation and
urgency in our search for God.

Sunday, February 24, 2008



The guru is the only one who understands you. I always thought that
if I just explained myself clearly people would realize what I was
trying to convey to them. It shocked me when they didn't. Twice
Paramahansaji said to me, "Don't expect others to understand you."
Apparently I needed to hear it twice.
(Mukti Mata, `Self-Realization magazine')

In the greatest torments of soul I am always alone, but no--not
alone, for I am with You, Jesus; but here I am speaking about (other)
people. None of them understands my heart, but this does not
surprise me anymore, whereas I used to be surprised when my
intentions were condemned and wrongly interpreted; no, this does not
surprise me now at all.
(Blessed Faustina, 'Divine Mercy in My Soul')

Be in the world as if you were a stranger or a traveler.
(Islam, Forty Hadith of an-Nawawi 40)

Saturday, February 16, 2008

Story of two sculptors

Two Sculptors

Once a king was looking for the best sculptor in his kingdom. Two excellent sculptors presented themselves to him and he needed to give them a test to decide who was best. He asked them to carve an image on two opposite walls of his palace. A curtain was hung between the walls so that they could not see each other’s work. After many months, both sculptors reported that they had finished the work and the king could view it.

Both the works were covered with curtains. First, one curtain was raised that revealed a
beautiful image and everyone clapped in appreciation. Then the opposite curtain was raised, here there was no image on the wall - instead the wall had been polished so finely that it gave a perfect reflection of the opposite image. In fact, it looked sharper than the original, as so much effort had been made in polishing the wall.

The second sculptor won the contest.

The story illustrates an interesting Vedantic tenet:

Really, we do not have to conjure up an image of ‘God’ in our minds. All we have to do is polish
the mind - just remove the blemishes. Purify it. That is our task. God already exists. It is just
that he is reflected more clearly in a pure mind.

Friday, February 15, 2008

Manasvi - meaning

manasvi means : A person who can control his heart.It derives the meaning from the one who can control his indriyas. That obviously can be no one else besides god himself. So manasvi is also used as synonym for god. Manasvi is a sanskrit name.

Tuesday, February 5, 2008

On the Self in the body - Kena Upanishad

The student inquires:
"Who makes my mind think?
Who fills my body with vitality?
Who causes my tongue to speak? Who is that
Invisible one who sees through my eyes
And hears through my ears?"

The teacher replies:
"The Self is the ear of the ear,
The eye of the eye, the mind of the mind,
The word of words, and the life of life.
Rising above the senses and the mind
And renouncing separate existence,
The wise realize the deathless Self."

-Kena Upanishad

Sunday, January 27, 2008

On pride as a Hindu-SV

Ay, when a man has begun to hate himself, then the last blow has come. When a man has begun to be ashamed of his ancestors, the end has come. Here am I, one of the least of the Hindu race, yet proud of my race, proud of my ancestors. I am proud to call myself a Hindu. I am proud that I am one of your worthy servants. I am proud that I am a countryman of yours, you the descendents of the sages, you the descendents of the most glorious Rishis the world ever saw. Therefore, have faith in yourself, be proud of your ancestors, instead of being ashamed of them.

-Swami Vivekananda

Friday, January 11, 2008


Fearlessness means faith in God: faith in His
protection, His justice, His wisdom, His mercy, His Love,
and His omnipresence. ...To be fit for Self-realization,
man must be fearless.
(Paramahansa Yogananda, `God Talks With Arjuna--The Bhagavad Gita')